From stuart at lexacorp.com.pg Wed Oct 1 00:31:10 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 01 Oct 2003 15:31:10 +1000 Subject: [AccessD] This is weird - what's the cause? In-Reply-To: Message-ID: <3F7AF33E.14003.19E6DAF@localhost> On 30 Sep 2003 at 20:33, Kathryn Bassett wrote: > The A2K race database is zipped and available at: > http://ac100.com/finish/2003Ac100.zip > It's been brought to my attention that runner with bib #69 doesn't show up on either Most Current Times (Bib Order) or on Most Current Times (Who's Ahead). Both of those use qryProgressReport which is based on calculations from some of the others. > > qryRunnerTimes1A and qryRunnerTimes2 and qryRunnerTimes2A and qryRunnerTimes3 all show runner with bib 69, but qryProgressReport dumps that bib number. I never noticed it myself, but someone tracking the runner called it to my attention when asking why he wasn't on website. > > So, what causes him to get dumped from the list? > Record 16747 in tblRunnersTimes has no RT-IDCP. That is the linking record for Runner 69 through qryRunner2A. You have an inner join on RT-IDCP and tblCheckpoint in qryProgressReport. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jmoss111 at bellsouth.net Wed Oct 1 01:17:13 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Wed, 1 Oct 2003 01:17:13 -0500 Subject: [AccessD] This is weird - what's the cause? References: Message-ID: <000f01c387e3$a77710f0$15ba5041@hive> Kathryn, It might not the answer to why its not populated but its the cause: #69 is missing because of of a nonmatch in the join for LINK. Look at row 16747 in tblRunnerTimes, which is missing an entry in RT-IDCP. It's the only one like that in the table, and when its populated 69 appears in qryProgressReport. Jim ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Tuesday, September 30, 2003 10:33 PM Subject: [AccessD] This is weird - what's the cause? > The A2K race database is zipped and available at: > http://ac100.com/finish/2003Ac100.zip > It's been brought to my attention that runner with bib #69 doesn't show up on either Most Current Times (Bib Order) or on Most Current Times (Who's Ahead). Both of those use qryProgressReport which is based on calculations from some of the others. > > qryRunnerTimes1A and qryRunnerTimes2 and qryRunnerTimes2A and qryRunnerTimes3 all show runner with bib 69, but qryProgressReport dumps that bib number. I never noticed it myself, but someone tracking the runner called it to my attention when asking why he wasn't on website. > > So, what causes him to get dumped from the list? > > -- > 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 martyconnelly at shaw.ca Wed Oct 1 01:34:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 30 Sep 2003 23:34:32 -0700 Subject: [AccessD] Info Interesting use of InfoPath References: <3F7AF33E.14003.19E6DAF@localhost> Message-ID: <3F7A7578.9000007@shaw.ca> If you were wondering about uses for InfoPath. Rather than use Access to link to a webservice. This method with InfoPath allows a user to quickly link to a webservice via XML with no coding. The webservice could be a ASP.Net hook to an old Cobol legacy app to edit or add data.. Dynamically Data-bind in InfoPath By Thiru Thangarathinam http://www.developer.com/net/article.php/3082431 From andy at minstersystems.co.uk Wed Oct 1 03:10:57 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Oct 2003 09:10:57 +0100 Subject: [AccessD] Project Official Start In-Reply-To: Message-ID: <00da01c387f3$8b473c10$b274d0d5@minster33c3r25> Talk of walking away is fine if you have someone else to walk to. If you have a choice, say, of this client or going out of business then you have to carry on. We had a client who wanted to do this and we managed to talk them out of the penalty clause thing. Don't try to impose one on them (they won't agree) but instead explain that it's not in THEIR best interest. It goes like this: With a penalty clause in place you will be forced to turn down ALL change requests. Financially you will HAVE to do what is in the spec (which they will have to agree and sign up for before the clock starts ticking of course) and not a jot more. Add this field? No, sorry. Knock up an extra report? No chance. Say that while normally there would be some latitude to be flexible in this case you won't be able to. You will bring it in on-time, sure, and they'll be pleased about that, but will they get just what they want? Your experience (and everyone else's) shows that when a customer sees a system, or just a screen, the first thing he wants to do is ask for this or that to change. With financial penalties in the frame this will not be an option. And spell that out in the contract. And if something works as per spec but is not what they imagined - tough. It might scare them off the idea. It did ours. If it doesn't work then the other question is, of course, can you do it in the time? Do you have people working on it who will bust a gut to make sure you're inside the time limit? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hadyn Morgan > Sent: 01 October 2003 05:39 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Project Official Start > > > The client does not want to pay for the time to write a spec. > We have spent the last 2 weeks doing this at our own cost. > It is based on a web application that was built and paid for > on an hourly basis, because again they did not want to pay > for a spec. ~40% of the cost of it could have been avoided > on the stuff they requested then changed their minds about. > > They have paid a premium so far (our largest customer to > date), and I would like to keep them as a client. Then again > I don't want to be royally screwed either :( > > Hadyn > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Christopher Hawkins > Sent: Wednesday, 1 October 2003 15:49 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Project Official Start > > > You can still walk away from a client like this, and should - > 1999 be damned. > > IMHO, a client that is trying to negotiate penalty clauses > before defining what it is the developer is supposed to be > developing is a client looking to screw a developer and get > something for nothing. This is a HUGE red flag. > > -Christopher- > > ---- Original Message ---- > From: Developer at ultradnt.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] Project Official Start > Date: Tue, 30 Sep 2003 23:38:42 -0400 > > >Remember the good old days of 1999 when you could just walk > away from a > >client like this? > > > >BTW - I'm a newbie, just signed on the list. (NYC-based independent > >contractor: Access, VB, SQL, MS-Office training, and when I > can't get > >out of it, a little networking) > > > >Short answer is, when both sides have signed, that's your begin date. > > > >As for the penalty, YES - get their responsibilities in > writing ... I > >have a client who pays me to keep re-importing their old > system's data > >because by the time they check the import, it's a month out of date > >and > >they want all the new entries from the old system in the new system > >... > >This is going on like this for six months, It's boring as hell and > >keeping me from getting started on their .net based intranet, but > >... As > >long as they are paying, it doesn't matter. In your case, though, > >since > >they are making noise about not paying, make sure that the "clock > >stops" > >when you are waiting for them to test or review or deploy or > >whatever. > >Try to get the wording to be a count of days from execution, since > >you > >could lose a month just getting the lawyers from both sides to accept > >the document ("project will be completed 77 days from execution of > >this > >contract", for example). > > > >Hth, > >Steve > > > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hadyn Morgan > >Sent: Tuesday, September 30, 2003 10:22 PM > >To: AccessD at databaseadvisors.com > >Subject: [AccessD] Project Official Start > > > > > >When do you say a project has started? I have a client that > has said > >'Yes' to a project, but has not signed off the spec, or the > quote, and > >now wants to negotiate penalty clauses before they sign (if we don't > >deliver on time to the proposed end date (11 weeks from start of > >project) they reduce total payment by 8% for each full week we are > >late). I have managed to get them to exclude Acts of God etc, and > >have > >suggested that if they are to blame for the delay we should be > >allowed > >to charge them for the extra time. > > > >Any thoughts? > > > >Kind regards > >Hadyn > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > --- > Incoming > mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Oct 1 03:04:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Oct 2003 10:04:23 +0200 Subject: [AccessD] Project Official Start In-Reply-To: References: Message-ID: <1364909819.20031001100423@cactus.dk> Hi Hadyn This "yes" is nothing more than a "Declaration of Intention" which on its own has some value though not being an agreement. I would not sign or negotiate anything before specs are settled as these are the foundation for any further discussion. Whether you or the client carries the cost for writing the specs doesn't matter. Then, don't accept 8%. Where does this figure come from? If you can't avoid it, go for 3% for each 14 days so you can reach a compromise at about 5% each 10 days (which, by the way, is just as arbitrary as 3% or 8% or 1 or 2 weeks). Further, only major missing items from the specs (do include a list of these in the final agreement) should release this penalty, not minor tweaks as correction of spelling errors in menu items and the like. Also, have a firm agreement on how long time the client can use for approving your app after you have installed a revised version. And, if the client cannot approve it, he has to specify in writing exactly what is missing according to the specs. If he delays this action, the same amount of days are added to your 11 weeks up to a maximum of, say, one week per approval after which your app will be regarded as approved whether the client has signed or not. /gustav > When do you say a project has started? I have a client that has said 'Yes' > to a project, but has not signed off the spec, or the quote, and now wants > to negotiate penalty clauses before they sign (if we don't deliver on time > to the proposed end date (11 weeks from start of project) they reduce total > payment by 8% for each full week we are late). I have managed to get them > to exclude Acts of God etc, and have suggested that if they are to blame for > the delay we should be allowed to charge them for the extra time. > Any thoughts? > Kind regards > Hadyn From sdssoftware at optusnet.com.au Wed Oct 1 04:39:21 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 1 Oct 2003 19:39:21 +1000 Subject: [AccessD] Project Official Start References: <1364909819.20031001100423@cactus.dk> Message-ID: <002f01c387ff$e5291170$6501a8c0@user> Great advice from Gustav and Andy - with this client I think the spec is going to be an absolute must.....without it, how will you agree that the system (as commissioned) has been delivered? It's going to be as much for you as them - they could keep coming back to you otherwise and that could prove very costly if you have a penalty clause. (and 8% sounds way too high.....) Kath ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 6:04 PM Subject: Re: [AccessD] Project Official Start Hi Hadyn This "yes" is nothing more than a "Declaration of Intention" which on its own has some value though not being an agreement. I would not sign or negotiate anything before specs are settled as these are the foundation for any further discussion. Whether you or the client carries the cost for writing the specs doesn't matter. Then, don't accept 8%. Where does this figure come from? If you can't avoid it, go for 3% for each 14 days so you can reach a compromise at about 5% each 10 days (which, by the way, is just as arbitrary as 3% or 8% or 1 or 2 weeks). Further, only major missing items from the specs (do include a list of these in the final agreement) should release this penalty, not minor tweaks as correction of spelling errors in menu items and the like. Also, have a firm agreement on how long time the client can use for approving your app after you have installed a revised version. And, if the client cannot approve it, he has to specify in writing exactly what is missing according to the specs. If he delays this action, the same amount of days are added to your 11 weeks up to a maximum of, say, one week per approval after which your app will be regarded as approved whether the client has signed or not. /gustav > When do you say a project has started? I have a client that has said 'Yes' > to a project, but has not signed off the spec, or the quote, and now wants > to negotiate penalty clauses before they sign (if we don't deliver on time > to the proposed end date (11 weeks from start of project) they reduce total > payment by 8% for each full week we are late). I have managed to get them > to exclude Acts of God etc, and have suggested that if they are to blame for > the delay we should be allowed to charge them for the extra time. > Any thoughts? > Kind regards > Hadyn _______________________________________________ AccessD mailing list 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 Oct 1 04:50:27 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 1 Oct 2003 19:50:27 +1000 Subject: [AccessD] Project Official Start References: <1364909819.20031001100423@cactus.dk> <002f01c387ff$e5291170$6501a8c0@user> Message-ID: <001e01c38801$71cdbf80$6501a8c0@user> Haydn, and if the time spent in coming up with a proper spec is going to make the whole thing unprofitable for you, I would at least consider doing: a) - Lists of fields to be stored b) - Sample screen designs (even if it's just in pen - but better if mocked up electronically) c) - Sample report designs. d) Make sure that the criteria and sorts / filters for reports are mentioned. (eg. this report will be able to be run for a) one client or b) all clients, and will be sorted (ascending) by client surname. e) Same for forms if applicable and if filters are to be used, explain how they will work and how they can be reset etc. f) Any processing (eg. input or output processes / links to external systems / files) should be detailed if applic. Once the client sees this and are asked to sign off the designs then they will have a very good idea of their commitment to you and may even ask for a more detailed spec. HTH Kath ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 7:39 PM Subject: Re: [AccessD] Project Official Start Great advice from Gustav and Andy - with this client I think the spec is going to be an absolute must.....without it, how will you agree that the system (as commissioned) has been delivered? It's going to be as much for you as them - they could keep coming back to you otherwise and that could prove very costly if you have a penalty clause. (and 8% sounds way too high.....) Kath ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 6:04 PM Subject: Re: [AccessD] Project Official Start Hi Hadyn This "yes" is nothing more than a "Declaration of Intention" which on its own has some value though not being an agreement. I would not sign or negotiate anything before specs are settled as these are the foundation for any further discussion. Whether you or the client carries the cost for writing the specs doesn't matter. Then, don't accept 8%. Where does this figure come from? If you can't avoid it, go for 3% for each 14 days so you can reach a compromise at about 5% each 10 days (which, by the way, is just as arbitrary as 3% or 8% or 1 or 2 weeks). Further, only major missing items from the specs (do include a list of these in the final agreement) should release this penalty, not minor tweaks as correction of spelling errors in menu items and the like. Also, have a firm agreement on how long time the client can use for approving your app after you have installed a revised version. And, if the client cannot approve it, he has to specify in writing exactly what is missing according to the specs. If he delays this action, the same amount of days are added to your 11 weeks up to a maximum of, say, one week per approval after which your app will be regarded as approved whether the client has signed or not. /gustav > When do you say a project has started? I have a client that has said 'Yes' > to a project, but has not signed off the spec, or the quote, and now wants > to negotiate penalty clauses before they sign (if we don't deliver on time > to the proposed end date (11 weeks from start of project) they reduce total > payment by 8% for each full week we are late). I have managed to get them > to exclude Acts of God etc, and have suggested that if they are to blame for > the delay we should be allowed to charge them for the extra time. > Any thoughts? > Kind regards > Hadyn _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdssoftware at optusnet.com.au Wed Oct 1 04:54:16 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 1 Oct 2003 19:54:16 +1000 Subject: [AccessD] Messages re spam Message-ID: <003c01c38801$f9cef2a0$6501a8c0@user> I am getting messages from accessd-bounces at databaseadvisors.com addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] Project Official Startsaying that a message has been identified as spam. Is everyone getting this? 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 gustav at cactus.dk Wed Oct 1 04:58:31 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Oct 2003 11:58:31 +0200 Subject: [AccessD] Pull Most Recent In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801D9FD20@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FD20@srciml1.ds.doc.state.or.us> Message-ID: <8411758037.20031001115831@cactus.dk> Hi Gowey On a more serious note, here is a function taking advantage of the nice ParamArray feature. It can be used for any (reasonable) amount (including zero) input values: Public Function DateMax(ParamArray avarDates() As Variant) As Date ' Return maximum date/time value of elements in ' array avarDates(). ' If no elements of array avarDates() are dates, ' value of cdatEmpty is returned. ' ' 2003-09-30. Cactus Data ApS, CPH. ' Return value for an empty array. Const cdatEmpty As Date = #1/1/100# Dim varDate As Variant Dim varDateMax As Variant For Each varDate In avarDates() If IsDate(varDate) Then If VarType(varDate) <> vbDate Then varDate = CDate(varDate) End If If varDate > varDateMax Then varDateMax = varDate End If End If Next If IsEmpty(varDateMax) Then varDateMax = cdatEmpty End If DateMax = varDateMax End Function For your display textbox, use =DateMax(Me!txtBox1, Me!txtBox2, ... , Me!txtBox6) /gustav > This is probably an easy one but I am stumped... > I have 6 fields within my table that have dates in them, how can > I pull and display on a form which field has the most recent date in it? From roz.clarke at donnslaw.co.uk Wed Oct 1 05:12:36 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 1 Oct 2003 11:12:36 +0100 Subject: [AccessD] Messages re spam Message-ID: <61F915314798D311A2F800A0C9C83188047C648F@dibble.observatory.donnslaw.co.uk> not me -----Original Message----- From: Kath Pelletti [mailto:sdssoftware at optusnet.com.au] Sent: 01 October 2003 10:54 To: AccessD at databaseadvisors.com Subject: [AccessD] Messages re spam I am getting messages from accessd-bounces at databaseadvisors.com addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] Project Official Startsaying that a message has been identified as spam. Is everyone getting this? 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 Mark.Mitsules at ngc.com Wed Oct 1 05:26:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 1 Oct 2003 06:26:06 -0400 Subject: [AccessD] Web Control Properties ect.... Message-ID: Robert, Not sure exactly what you were looking for. A search on MSDN turned up this (watch for wrap): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/ht ml/msdn_firstax.asp ...but the title reads "Microsoft(r) Internet Explorer WebControls are not currently supported.". Mark -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Tuesday, September 30, 2003 9:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web Control Properties ect.... Hoooowdy All, A2K Where might I find information about properties and such Are there any examples around? Thanks..... Robert Gracie www.servicexp.com From andy at minstersystems.co.uk Wed Oct 1 05:31:11 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Oct 2003 11:31:11 +0100 Subject: [AccessD] Messages re spam In-Reply-To: <61F915314798D311A2F800A0C9C83188047C648F@dibble.observatory.donnslaw.co.uk> Message-ID: <00f701c38807$222a4510$b274d0d5@minster33c3r25> Nor me. Which of us have they fingered as a spammer? I plead not guilty m'lud. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: 01 October 2003 11:13 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Messages re spam not me -----Original Message----- From: Kath Pelletti [mailto:sdssoftware at optusnet.com.au] Sent: 01 October 2003 10:54 To: AccessD at databaseadvisors.com Subject: [AccessD] Messages re spam I am getting messages from accessd-bounces at databaseadvisors.com addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] Project Official Startsaying that a message has been identified as spam. Is everyone getting this? 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 roz.clarke at donnslaw.co.uk Wed Oct 1 06:04:39 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 1 Oct 2003 12:04:39 +0100 Subject: FW: [AccessD] Web Control Properties ect.... Message-ID: <61F915314798D311A2F800A0C9C83188047C6494@dibble.observatory.donnslaw.co.uk> Forwarded message due to auto-discard. I don't know why it would have been discarded... -----Original Message----- From: Robert Gracie [mailto:Robert at servicexp.com] Sent: 01 October 2003 11:22 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Web Control Properties ect.... Drew, The last copy I have is from April 2001, and I can't seem to find anything on it in this version. However I'm not exactly sure what key words to use.. Any ideas!! 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: Wednesday, October 01, 2003 12:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web Control Properties ect.... Do you have the MSDN? It's explained in there. Drew -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Tuesday, September 30, 2003 8:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web Control Properties ect.... Hoooowdy All, A2K Where might I find information about properties and such Are there any examples around? Thanks..... Robert Gracie www.servicexp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Wed Oct 1 06:46:05 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 01 Oct 2003 21:46:05 +1000 Subject: FW: [AccessD] Web Control Properties ect.... In-Reply-To: <61F915314798D311A2F800A0C9C83188047C6494@dibble.observatory.donnslaw.co.uk> Message-ID: <3F7B4B1D.11883.2F5AEB8@localhost> > > Drew, > The last copy I have is from April 2001, and I can't seem to find anything > on it in this version. However I'm not exactly sure what key words to use.. > > Any ideas!! > > Robert Gracie > www.servicexp.com > Try searching on "webbrowser" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From ssharkins at bellsouth.net Wed Oct 1 06:53:39 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 1 Oct 2003 07:53:39 -0400 Subject: [AccessD] form on top question References: <2F8793082E00D4119A1700B0D0216BF802227271@main2.marlow.com> Message-ID: <006801c38813$84098b40$220110ac@SUSANONE> Well, right now, I just don't have any place to put another screen, even a flat one -- without seriously reworking my office layout. I have a corner desk and I keep books and files and etc. on either side of me. It would be a real nuisance for no more than I would use it. But, I admit, it is an intriguing idea. I want another desk just like this one put beside it -- and then, it might be possible. Oh Bill................ ;) Susan H. > Buy another video card, and a flat screen. > > Drew > > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Tuesday, September 30, 2003 11:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] form on top question > > > Sounds like an interesting solution, but would require a major overhaul for > me here -- my office just isn't set up that way. I wouldn't know how to > implement it anyway -- but sounds cool. ;) > > Susan H. > > > > I use two monitors. > > One for the form - one for the code. I can then effectively change the > code > > while the form is open. I can also copy/cut and paste from two separate > > documents. Web page, Word, Excel or even two code windows from Access. > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Wed Oct 1 06:55:09 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 1 Oct 2003 07:55:09 -0400 Subject: [AccessD] form on top question References: <2F8793082E00D4119A1700B0D0216BF80222726C@main2.marlow.com> Message-ID: <006b01c38813$87854480$220110ac@SUSANONE> I'll take a look -- thank you Drew. Smells like an article to me. :) Susan H. > Susan, I just sent you (off list) an Access 97 database that does what you > want. There's a form and a module involved (don't really need the module, > you could put all of the code on the form, just got lazy and used a module > from the old version of the MiniCalendar). From ssharkins at bellsouth.net Wed Oct 1 06:56:45 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 1 Oct 2003 07:56:45 -0400 Subject: [AccessD] Project Official Start References: Message-ID: <007001c38813$8af2a5e0$220110ac@SUSANONE> > They have paid a premium so far (our largest customer to date), and I would > like to keep them as a client. Then again I don't want to be royally > screwed either :( =========OK, then you've done business with them before and I gather this is the first time you've had either problem -- with both the specs and the penalty clause. Any idea what's put that bee in their bonnet? Although I like Andy's idea -- genius. :) Susan H. From john at winhaven.net Wed Oct 1 09:12:56 2003 From: john at winhaven.net (John B.) Date: Wed, 1 Oct 2003 09:12:56 -0500 Subject: [AccessD] Messages re spam In-Reply-To: <003c01c38801$f9cef2a0$6501a8c0@user> Message-ID: Kathy, A similr thing happened to me a few years ago. I was having client mail show up with "SPAM" in the subject. It took awhile but I found out my ISP was beginning a free(and mandatory) SPAM filtering service and had failed to mention it to anyone! You might want to check with your ISP/Mail Server Administrator (whichever you have). HTH John B. "SPAM Filtering is an exact guess - not an exact science" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, October 01, 2003 4:54 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Messages re spam I am getting messages from accessd-bounces at databaseadvisors.com addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] Project Official Startsaying that a message has been identified as spam. Is everyone getting this? 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 delliker at hotmail.com Wed Oct 1 09:24:34 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 01 Oct 2003 10:24:34 -0400 Subject: [AccessD] Whats thae darn command line for decompile /A2K Message-ID: I have about 20 versions in my command line thingie, from my last attempt. None seem to work (at least I'm not getting the "your application has been ...something or other...to the latest version.....yada yada" - Can anyone provide me the command line for the decompile? Thanks as always, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From john at winhaven.net Wed Oct 1 09:12:56 2003 From: john at winhaven.net (John B.) Date: Wed, 1 Oct 2003 09:12:56 -0500 Subject: [AccessD] Messages re spam In-Reply-To: <003c01c38801$f9cef2a0$6501a8c0@user> Message-ID: Kathy, A similr thing happened to me a few years ago. I was having client mail show up with "SPAM" in the subject. It took awhile but I found out my ISP was beginning a free(and mandatory) SPAM filtering service and had failed to mention it to anyone! You might want to check with your ISP/Mail Server Administrator (whichever you have). HTH John B. "SPAM Filtering is an exact guess - not an exact science" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, October 01, 2003 4:54 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Messages re spam I am getting messages from accessd-bounces at databaseadvisors.com addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] Project Official Startsaying that a message has been identified as spam. Is everyone getting this? 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: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbhuffman at mdh.org Wed Oct 1 09:32:35 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed, 1 Oct 2003 09:32:35 -0500 Subject: [AccessD] Whats thae darn command line for decompile /A2K Message-ID: <0FFC98AA5943D211A2E90000F87A5B48026B1DEF@NEWMAN_EXC> It should just be the {database path} /decompile. I use the {full path to the executable} {database path} /decompile Jarad Huffman -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, October 01, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Whats thae darn command line for decompile /A2K I have about 20 versions in my command line thingie, from my last attempt. None seem to work (at least I'm not getting the "your application has been ...something or other...to the latest version.....yada yada" - Can anyone provide me the command line for the decompile? Thanks as always, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.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 Oct 1 10:15:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Oct 2003 08:15:29 -0700 Subject: [AccessD] Whats thae darn command line for decompile /A2K Message-ID: For Access to process a command line switch like /decompile, you must include the path to the Access executable in the shortcut. Here's a typical shortcut I have in my SendTo folder so it's available from the shortcut menu: "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "%1" /decompile That allows me to specify the database to be decompiled on the fly. Charlotte Foust -----Original Message----- From: Huffman, Jarad B. [mailto:jbhuffman at mdh.org] Sent: Wednesday, October 01, 2003 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Whats thae darn command line for decompile /A2K It should just be the {database path} /decompile. I use the {full path to the executable} {database path} /decompile Jarad Huffman -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, October 01, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Whats thae darn command line for decompile /A2K I have about 20 versions in my command line thingie, from my last attempt. None seem to work (at least I'm not getting the "your application has been ...something or other...to the latest version.....yada yada" - Can anyone provide me the command line for the decompile? Thanks as always, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Wed Oct 1 10:15:51 2003 From: tomadatn at bellsouth.net (Tom) Date: Wed, 1 Oct 2003 10:15:51 -0500 Subject: [AccessD] Project Official Start References: <1364909819.20031001100423@cactus.dk> Message-ID: <001f01c3882e$e6e8b770$a0cdfea9@AdamsXP1> Just say no. However if you can't ... >if the client cannot approve it, he has to specify in writing exactly >what is missing according to the specs This is a big - big deal here. Your having to go back to the specs and rethink everything is a bummer - time waster - and a crock. I usually ask for this each step of the way - as I stage my projects. I define what's released and ready for them to test each step of the way - they have 1 week to test and submit a list of problems. I'm usually lenient on letting them add stuff until the final submission. Then their list becomes IT!!!! and I work through all the items. Be sure to mark new and revised requirements as such and put on a change order that is outside the cost and time deadline. Document each step thoroughly and keep 3 1/2 copies at least. Also make sure you're getting paid in stages. After all this, they will still try to screw you. Be afraid. Be very afraid. ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 01, 2003 3:04 AM Subject: Re: [AccessD] Project Official Start > Hi Hadyn > > This "yes" is nothing more than a "Declaration of Intention" which on > its own has some value though not being an agreement. > > I would not sign or negotiate anything before specs are settled as > these are the foundation for any further discussion. Whether you or > the client carries the cost for writing the specs doesn't matter. > > Then, don't accept 8%. Where does this figure come from? If you can't > avoid it, go for 3% for each 14 days so you can reach a compromise at > about 5% each 10 days (which, by the way, is just as arbitrary as 3% > or 8% or 1 or 2 weeks). Further, only major missing items from the > specs (do include a list of these in the final agreement) should > release this penalty, not minor tweaks as correction of spelling > errors in menu items and the like. > > Also, have a firm agreement on how long time the client can use for > approving your app after you have installed a revised version. And, if > the client cannot approve it, he has to specify in writing exactly > what is missing according to the specs. If he delays this action, the > same amount of days are added to your 11 weeks up to a maximum of, > say, one week per approval after which your app will be regarded as > approved whether the client has signed or not. > > /gustav > > > > When do you say a project has started? I have a client that has said 'Yes' > > to a project, but has not signed off the spec, or the quote, and now wants > > to negotiate penalty clauses before they sign (if we don't deliver on time > > to the proposed end date (11 weeks from start of project) they reduce total > > payment by 8% for each full week we are late). I have managed to get them > > to exclude Acts of God etc, and have suggested that if they are to blame for > > the delay we should be allowed to charge them for the extra time. > > > Any thoughts? > > > Kind regards > > Hadyn > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 1 10:30:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 1 Oct 2003 11:30:16 -0400 Subject: [AccessD] Whats thae darn command line for decompile /A2K Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F654@TTNEXCHSRV1.hshhp.com> Let's not forget the registry tweak that adds Compact and Decompile options on right-click of an mdb. Available on Dev Ashish's site at http://www.mvps.org/access/resources/downloads.htm. Look for Access Reg. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 01, 2003 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Whats thae darn command line for decompile /A2K For Access to process a command line switch like /decompile, you must include the path to the Access executable in the shortcut. Here's a typical shortcut I have in my SendTo folder so it's available from the shortcut menu: "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "%1" /decompile That allows me to specify the database to be decompiled on the fly. Charlotte Foust -----Original Message----- From: Huffman, Jarad B. [mailto:jbhuffman at mdh.org] Sent: Wednesday, October 01, 2003 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Whats thae darn command line for decompile /A2K It should just be the {database path} /decompile. I use the {full path to the executable} {database path} /decompile Jarad Huffman -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, October 01, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Whats thae darn command line for decompile /A2K I have about 20 versions in my command line thingie, from my last attempt. None seem to work (at least I'm not getting the "your application has been ...something or other...to the latest version.....yada yada" - Can anyone provide me the command line for the decompile? Thanks as always, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Wed Oct 1 11:21:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 1 Oct 2003 11:21:47 -0500 Subject: [AccessD] form on top question Message-ID: <2F8793082E00D4119A1700B0D0216BF802227286@main2.marlow.com> Okay, let me know how it goes. Also, if you aren't using Access 97, let me know, I'll see what works in 2000. Drew -----Original Message----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: 10/1/03 6:55 AM Subject: Re: [AccessD] form on top question I'll take a look -- thank you Drew. Smells like an article to me. :) Susan H. > Susan, I just sent you (off list) an Access 97 database that does what you > want. There's a form and a module involved (don't really need the module, > you could put all of the code on the form, just got lazy and used a module > from the old version of the MiniCalendar). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 1 11:22:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 01 Oct 2003 09:22:57 -0700 Subject: FW: [AccessD] Web Control Properties ect.... References: <3F7B4B1D.11883.2F5AEB8@localhost> Message-ID: <3F7AFF61.3040800@shaw.ca> http://www.microsoft.com/officedev/index/webbrows.htm http://www.microsoft.com/AccessDev/Articles/SolFrm97.htm#PROGRAMMINGTHEWEBBROWSERACTIVEX Or you should have a sample mdb with the Access install called solutions.mdb with webbrowser control form samples. Unhide the database window and look for forms starting with Web if you go through the splash form selection it does a check for IE4.0 to install solutions if you cant find it http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bapp2000/html/mdbdownload.asp http://support.microsoft.com/default.aspx?scid=kb;en-us;165212 Stuart McLachlan wrote: >>Drew, >> The last copy I have is from April 2001, and I can't seem to find anything >>on it in this version. However I'm not exactly sure what key words to use.. >> >>Any ideas!! >> >>Robert Gracie >>www.servicexp.com >> >> >> > >Try searching on "webbrowser" > > From bchacc at san.rr.com Wed Oct 1 13:37:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Oct 2003 11:37:18 -0700 Subject: [AccessD] Interrupting processing Message-ID: <00e601c3884b$0b1cd6f0$6601a8c0@HAL9002> Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Oct 1 14:24:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 1 Oct 2003 14:24:54 -0500 Subject: [AccessD] Interrupting processing Message-ID: <2F8793082E00D4119A1700B0D0216BF80222728E@main2.marlow.com> Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Subscriptions at servicexp.com Wed Oct 1 17:29:45 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 1 Oct 2003 18:29:45 -0400 Subject: FW: [AccessD] Web Control Properties ect.... In-Reply-To: <3F7AFF61.3040800@shaw.ca> Message-ID: A big thanks to everyone!! Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Wednesday, October 01, 2003 12:23 PM To: Access Developers discussion and problem solving Subject: Re: FW: [AccessD] Web Control Properties ect.... http://www.microsoft.com/officedev/index/webbrows.htm http://www.microsoft.com/AccessDev/Articles/SolFrm97.htm#PROGRAMMINGTHEWEBBR OWSERACTIVEX Or you should have a sample mdb with the Access install called solutions.mdb with webbrowser control form samples. Unhide the database window and look for forms starting with Web if you go through the splash form selection it does a check for IE4.0 to install solutions if you cant find it http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bapp2000/ht ml/mdbdownload.asp http://support.microsoft.com/default.aspx?scid=kb;en-us;165212 Stuart McLachlan wrote: >>Drew, >> The last copy I have is from April 2001, and I can't seem to find anything >>on it in this version. However I'm not exactly sure what key words to use.. >> >>Any ideas!! >> >>Robert Gracie >>www.servicexp.com >> >> >> > >Try searching on "webbrowser" > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dfe at nudgeeinternational.com Wed Oct 1 17:29:56 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Thu, 2 Oct 2003 08:29:56 +1000 Subject: [AccessD] Can't open any more databases Message-ID: I have a ACC2002 db that opens many forms and queries etc. I don't believe I am anywhere near the 2048 max table references. It's a split database. I have a form (Form A) open which contains a tab control with a form and subform on at least each of the ten tabs. Clicking on a button on one of these tabs, hides this main form (Form A - with all of it's open forms etc) and opens another form (Form B) with a tab control and a bunch of forms. Each tab (seven tabs). I can happily click on a couple of the tabs and everything is fine. As soon as I click on one of the last tabs which contain 3 subforms I get the dreaded "Can't open any more databases" message. I have read a lot of posts on this (incl. www.mvps.org/access/bugs/bugs0010.htm) and have thoroughly checked my code to ensure that all my recordset objects are closed after use. I temporarily rectified it by closing the calling form (Form A) instead of hiding it, thus closing some of the table references. Form B works perfectly now. I only get the error if too many forms are open which have obviously opened too many table references. The drawback is that it is slow to open Form B because it is closing Form A and when I close Form B, I have to wait for it to re-open Form A again and filter to the record the user was working on before they clicked the button to take then to Form B. My question: Is there anything else that I could do that I may not have considered? I believe that at most I have about 60-80 table references open at any instant (knowing that it's a split database let's double that to 160 references). Even if I am conservative and say I have caused 500 table references and double that to 1000, it is still nowhere near the limit of 2048. I believe it is a hardcoded limit of Jet 3.6. Am I barking up the wrong tree completely? Cheers in advance for any assistance or advice. David ???? Brisbane Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Wed Oct 1 17:38:19 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 1 Oct 2003 18:38:19 -0400 Subject: [AccessD] Can't open any more databases References: Message-ID: <003701c3886c$b75bfb50$220110ac@SUSANONE> Can't open any more databasesThe one time I ran into this, I ended up redoing my form to get rid of the subforms -- never did find the culprit. I was told it could be resolved with a simple switch on the Novell server (which did seem to be the culprit) -- but IT refused. Susan H. It's a split database. I have a form (Form A) open which contains a tab control with a form and subform on at least each of the ten tabs. Clicking on a button on one of these tabs, hides this main form (Form A - with all of it's open forms etc) and opens another form (Form B) with a tab control and a bunch of forms. Each tab (seven tabs). I can happily click on a couple of the tabs and everything is fine. As soon as I click on one of the last tabs which contain 3 subforms I get the dreaded "Can't open any more databases" message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuxedo_man at hotmail.com Wed Oct 1 18:27:04 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Wed, 01 Oct 2003 23:27:04 +0000 Subject: [AccessD] Whats thae darn command line for decompile /A2K Message-ID: msaccess.exe /decompile "c:\database_name.mdb" >From: "Don Elliker" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Whats thae darn command line for decompile /A2K >Date: Wed, 01 Oct 2003 10:24:34 -0400 > >I have about 20 versions in my command line thingie, from my last attempt. >None seem to work (at least I'm not getting the "your application has been >...something or other...to the latest version.....yada yada" - Can anyone >provide me the command line for the decompile? >Thanks as always, >_D > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >High-speed Internet access as low as $29.95/month (depending on the local >service providers in your area). Click here. https://broadband.msn.com > >_______________________________________________ >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 Wed Oct 1 18:30:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 1 Oct 2003 19:30:02 -0400 Subject: [AccessD] Can't open any more databases In-Reply-To: Message-ID: Can't open any more databasesIn fact the number is no where near that, at least for a2K. Something like 128. This includes ALL queries (combos, lists, recordsets, forms, subforms, reports etc) open at one time. I ran into this in a very complex form when they had several other forms open. One thing I'd suggest if it works for you is "Just in time" subforms on the tabs. The idea is to load the subforms on tabs as they are clicked on and unload them as the next tab is clicked on. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton Sent: Wednesday, October 01, 2003 6:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't open any more databases I have a ACC2002 db that opens many forms and queries etc. I don?t believe I am anywhere near the 2048 max table references. It?s a split database. I have a form (Form A) open which contains a tab control with a form and subform on at least each of the ten tabs. Clicking on a button on one of these tabs, hides this main form (Form A - with all of it?s open forms etc) and opens another form (Form B) with a tab control and a bunch of forms. Each tab (seven tabs). I can happily click on a couple of the tabs and everything is fine. As soon as I click on one of the last tabs which contain 3 subforms I get the dreaded ?Can?t open any more databases? message. I have read a lot of posts on this (incl. www.mvps.org/access/bugs/bugs0010.htm) and have thoroughly checked my code to ensure that all my recordset objects are closed after use. I temporarily rectified it by closing the calling form (Form A) instead of hiding it, thus closing some of the table references. Form B works perfectly now. I only get the error if too many forms are open which have obviously opened too many table references. The drawback is that it is slow to open Form B because it is closing Form A and when I close Form B, I have to wait for it to re-open Form A again and filter to the record the user was working on before they clicked the button to take then to Form B. My question: Is there anything else that I could do that I may not have considered? I believe that at most I have about 60-80 table references open at any instant (knowing that it?s a split database let?s double that to 160 references). Even if I am conservative and say I have caused 500 table references and double that to 1000, it is still nowhere near the limit of 2048. I believe it is a hardcoded limit of Jet 3.6. Am I barking up the wrong tree completely? Cheers in advance for any assistance or advice. David ???? Brisbane Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Oct 1 19:16:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Oct 2003 17:16:26 -0700 Subject: [AccessD] Interrupting processing References: <2F8793082E00D4119A1700B0D0216BF80222728E@main2.marlow.com> Message-ID: <01c801c3887a$6bb7a150$6601a8c0@HAL9002> Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 carbonnb at sympatico.ca Wed Oct 1 21:01:34 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 01 Oct 2003 22:01:34 -0400 Subject: [AccessD] Messages re spam In-Reply-To: <003c01c38801$f9cef2a0$6501a8c0@user> Message-ID: <3F7B4EBE.15962.1A161F8@localhost> On 1 Oct 2003 at 19:54, Kath Pelletti wrote: > I am getting messages from accessd-bounces at databaseadvisors.com > addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] > Project Official Startsaying that a message has been identified as > spam. > > Is everyone getting this? I'm not getting this either. If you still have the e-mail and could forward it directly to me, making sure the complete set of internet headers are intact, I will look into it. You can send it to carbonnb at sympatico.ca -- Bryan Carbonnell - carbonnb at sympatico.ca Blessed are they who can laugh at themselves, for they shall never cease to be amused. From demulling at centurytel.net Wed Oct 1 21:56:56 2003 From: demulling at centurytel.net (Demulling) Date: Wed, 1 Oct 2003 21:56:56 -0500 Subject: [AccessD] Interrupting processing References: <00e601c3884b$0b1cd6f0$6601a8c0@HAL9002> Message-ID: <002901c38890$d8826c00$38c4e6cf@bedroom> http://www.mvps.org/access/api/api0030.htm ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Wednesday, October 01, 2003 1:37 PM Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 Oct 1 23:20:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Oct 2003 21:20:25 -0700 Subject: [AccessD] Interrupting processing References: <00e601c3884b$0b1cd6f0$6601a8c0@HAL9002> <002901c38890$d8826c00$38c4e6cf@bedroom> Message-ID: <024f01c3889c$80cdc2f0$6601a8c0@HAL9002> Aha! That works perfectly. I made the declare Public in a module so that it would work for all of the reports. Many thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Demulling To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 7:56 PM Subject: Re: [AccessD] Interrupting processing http://www.mvps.org/access/api/api0030.htm ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Wednesday, October 01, 2003 1:37 PM Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 demulling at centurytel.net Wed Oct 1 23:34:57 2003 From: demulling at centurytel.net (Demulling) Date: Wed, 1 Oct 2003 23:34:57 -0500 Subject: [AccessD] Interrupting processing References: <00e601c3884b$0b1cd6f0$6601a8c0@HAL9002><002901c38890$d8826c00$38c4e6cf@bedroom> <024f01c3889c$80cdc2f0$6601a8c0@HAL9002> Message-ID: <002501c3889e$89959dc0$c9cbe6cf@bedroom> No problem, about time I gave something back to a list that has helped me out so much. ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 11:20 PM Subject: Re: [AccessD] Interrupting processing Aha! That works perfectly. I made the declare Public in a module so that it would work for all of the reports. Many thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Demulling To: Access Developers discussion and problem solving Sent: Wednesday, October 01, 2003 7:56 PM Subject: Re: [AccessD] Interrupting processing http://www.mvps.org/access/api/api0030.htm ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Wednesday, October 01, 2003 1:37 PM Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 sdssoftware at optusnet.com.au Thu Oct 2 01:47:54 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 2 Oct 2003 16:47:54 +1000 Subject: [AccessD] Messages re spam References: <3F7B4EBE.15962.1A161F8@localhost> Message-ID: <001b01c388b1$1b8425a0$6501a8c0@user> Thanks Bryan - it looks like it was only me - I got two but haven't kept them. If they re-appear then I will forward one on to you. Kath ----- Original Message ----- From: Bryan Carbonnell To: Access Developers discussion and problem solving Sent: Thursday, October 02, 2003 12:01 PM Subject: Re: [AccessD] Messages re spam On 1 Oct 2003 at 19:54, Kath Pelletti wrote: > I am getting messages from accessd-bounces at databaseadvisors.com > addressed to postman at afsweb.com re (Archive Copy) Re: [AccessD] > Project Official Startsaying that a message has been identified as > spam. > > Is everyone getting this? I'm not getting this either. If you still have the e-mail and could forward it directly to me, making sure the complete set of internet headers are intact, I will look into it. You can send it to carbonnb at sympatico.ca -- Bryan Carbonnell - carbonnb at sympatico.ca Blessed are they who can laugh at themselves, for they shall never cease to be amused. _______________________________________________ AccessD mailing list 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 Oct 2 01:56:37 2003 From: john at winhaven.net (John B.) Date: Thu, 2 Oct 2003 01:56:37 -0500 Subject: [AccessD] explicit type Message-ID: Just cleaning some code and I was wondering how much difference is it going to make if I declare this: Const conPropNotFoundError = 3270 If Err = conPropNotFoundError Then... versus this: Const conPropNotFoundError as Long = 3270 If Err = conPropNotFoundError Then... From stephen at bondsoftware.co.nz Thu Oct 2 01:25:57 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 02 Oct 2003 18:25:57 +1200 Subject: [AccessD] OT: Clipper Message-ID: <70F3D727890C784291D8433E9C418F29088474@server.bondsoftware.co.nz> Well, much ado about nothing - they got it sorted before I could get there. Thanks for the input all. Stephen -----Original Message----- From: Stephen Bond Sent: Monday, 29 September 2003 9:04 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Clipper Thanks Andy and Arthur - probably later this week after I've been to have a look-see. Stephen Bond -----Original Message----- From: Arthur Fuller [ mailto:artful at rogers.com] Sent: Sunday, 28 September 2003 6:12 a.m. To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Clipper I wrote two books about Clipper, and am close friends with its original author. I can probably tell you anything you need to know. Your dBASE skills will port to the extent that the authors of the system did not exploit Clipper-specific language. By version 5 Clipper was a lot different than dBASE, with OOP constructs, UDFs and a lot more. As for fixing the indexes, that depends on the RDD that was used. (Replaceable Database Driver). You can discover this by looking at the #include files. In most cases, you could write a simple program that walks through the list of tables and recreates the indexes, but that assumes that you know which columns were indexed. Let me know if you need further assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Thursday, September 25, 2003 5:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Clipper I have had a request to look at a Clipper system where (apparently) the indexes have become corrupted. The prospective client is a distance away and I want to evaluate my chances of succeeding before I travel. I did a lot of dBaseIII / IV stuff quite a few years ago, but nothing in Clipper. Back in those days, I had the impression that dBase and Clipper were very similar, and with Clipper you could 'compile' the processing module(s). Can someone tell me how well my dBase skills will port to Clipper? And if it's a 'compiled' system, is the source held separately? And are the indexes in Clipper like the indexes in dBase which are easy to re-construct? Any middle-aged fellow travellers out there who can help? Tips, Tricks, Traps? Cheers Stephen _______________________________________________ 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.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Thu Oct 2 04:39:18 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Oct 2003 19:39:18 +1000 Subject: [AccessD] explicit type In-Reply-To: Message-ID: <3F7C7EE6.24982.2968C7B@localhost> On 2 Oct 2003 at 1:56, John B. wrote: > Just cleaning some code and I was wondering how much difference is it going > to make if I declare this: > Const conPropNotFoundError = 3270 > If Err = conPropNotFoundError Then... > versus this: > Const conPropNotFoundError as Long = 3270 > If Err = conPropNotFoundError Then... > If you don't declare it explicitly, it will be declared as a Variant with all of the overhead of storing/interpreting variants. How much depends on how you are using it. The more you use the constant, the more overhead you incur. As a general rule - declare all variables and constants as the most efficient data type for its purpose and only use variants if they are unavoidable. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jimdettman at earthlink.net Thu Oct 2 05:45:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 2 Oct 2003 06:45:54 -0400 Subject: [AccessD] Can't open any more databases In-Reply-To: Message-ID: Can't open any more databasesDavid, <> Yes but "table references" is probably not what you think it is. Not only does it mean every open table, but it also applies to every field reference (which is in of itself a table reference). It can add up a lot quicker then you think, especially with multiple subforms. <> From what you describe, it certainly sounds like you are bumping into the limit. And yes, the bad news is that the limit is internal to Access and cannot be modified. Your only choice is to reduce the complexity of what's going on. The other then that Susan mentioned is in regards to locks. It is possible that you are running out of locks and therefore cannot open another database because you can't place a user lock. This applies only to Novell environments. To test this out, place both the FE and BE on the same station and try the operation again. If the error still occurs, then it's not related to locking. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton Sent: Wednesday, October 01, 2003 6:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't open any more databases I have a ACC2002 db that opens many forms and queries etc. I don?t believe I am anywhere near the 2048 max table references. It?s a split database. I have a form (Form A) open which contains a tab control with a form and subform on at least each of the ten tabs. Clicking on a button on one of these tabs, hides this main form (Form A - with all of it?s open forms etc) and opens another form (Form B) with a tab control and a bunch of forms. Each tab (seven tabs). I can happily click on a couple of the tabs and everything is fine. As soon as I click on one of the last tabs which contain 3 subforms I get the dreaded ?Can?t open any more databases? message. I have read a lot of posts on this (incl. www.mvps.org/access/bugs/bugs0010.htm) and have thoroughly checked my code to ensure that all my recordset objects are closed after use. I temporarily rectified it by closing the calling form (Form A) instead of hiding it, thus closing some of the table references. Form B works perfectly now. I only get the error if too many forms are open which have obviously opened too many table references. The drawback is that it is slow to open Form B because it is closing Form A and when I close Form B, I have to wait for it to re-open Form A again and filter to the record the user was working on before they clicked the button to take then to Form B. My question: Is there anything else that I could do that I may not have considered? I believe that at most I have about 60-80 table references open at any instant (knowing that it?s a split database let?s double that to 160 references). Even if I am conservative and say I have caused 500 table references and double that to 1000, it is still nowhere near the limit of 2048. I believe it is a hardcoded limit of Jet 3.6. Am I barking up the wrong tree completely? Cheers in advance for any assistance or advice. David ???? Brisbane Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Oct 2 08:29:40 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 09:29:40 -0400 Subject: [AccessD] CBO Not In List Message-ID: I want to use the NotInList to open an initial data entry form if the person searched for isn't in the database, else open a tabbed form if they are. I have this working using NotInList to open the IDE form and the after update to open the tabbed form to the record of the person found in the combo. However, what I want to do now is to have the combo start beeping as the person types if the item is not in the list. IOW, NotInList only fires as the user EXITS the combo and the item is not in the list. However if the user is typing in a person's name - JOHN COLBY, and by the time she types the O in COLBY the combo is not finding the name, the combo should start beeping so that the user is notified to stop typing and tab out to trigger NotInList and open the data entry form - or even programatically tab out and trigger the NotInList. It seems like it could be accomplished by checking the insertion point and the length of the data in the combo. If the data exists, the insertion point is in the middle of the data that the combo is following, whereas as soon as the data is not found, the insertion point is at the end of the data. IOW, if the insertion point is at the end of the data TWICE, then we are at a true "not found" and trigger NotInList. In fact it seems like the combo should have been built this way to begin with. Has anyone ever done this? John W. Colby www.colbyconsulting.com From gustav at cactus.dk Thu Oct 2 08:56:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Oct 2003 15:56:49 +0200 Subject: [AccessD] CBO Not In List In-Reply-To: References: Message-ID: <427315647.20031002155649@cactus.dk> Hi John Have a look in the archive for "Type Ahead in ListBox", Feb. 2002. I guess you could use the same technique for a combobox perhaps by setting AutoExpand to False. Insert a DoCmd.Beep after this line: If .NoMatch Then /gustav > I want to use the NotInList to open an initial data entry form if the person > searched for isn't in the database, else open a tabbed form if they are. I > have this working using NotInList to open the IDE form and the after update > to open the tabbed form to the record of the person found in the combo. > However, what I want to do now is to have the combo start beeping as the > person types if the item is not in the list. IOW, NotInList only fires as > the user EXITS the combo and the item is not in the list. However if the > user is typing in a person's name - JOHN COLBY, and by the time she types > the O in COLBY the combo is not finding the name, the combo should start > beeping so that the user is notified to stop typing and tab out to trigger > NotInList and open the data entry form - or even programatically tab out and > trigger the NotInList. > It seems like it could be accomplished by checking the insertion point and > the length of the data in the combo. If the data exists, the insertion > point is in the middle of the data that the combo is following, whereas as > soon as the data is not found, the insertion point is at the end of the > data. IOW, if the insertion point is at the end of the data TWICE, then we > are at a true "not found" and trigger NotInList. In fact it seems like the > combo should have been built this way to begin with. > Has anyone ever done this? > John W. Colby > www.colbyconsulting.com From bchacc at san.rr.com Thu Oct 2 09:06:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Oct 2003 07:06:12 -0700 Subject: [AccessD] CBO Not In List References: Message-ID: <005901c388ee$56412610$6601a8c0@HAL9002> In the OnChange even of a combo box called cboAssetType I put the following code: rstAssetType.FindFirst "fldAssetTypeDescription LIKE '" & cboAssetType.Text & "*'" If rstAssetType.NoMatch = True Then MsgBox "There is No Asset Type With That Description", vbExclamation SendKeys Chr(8) cboAssetType.Dropdown End If Of course, the recordset rstAssetType has already beed opened in the OnOpen event of the form which maintains asdsset types. HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Thursday, October 02, 2003 6:29 AM Subject: [AccessD] CBO Not In List > I want to use the NotInList to open an initial data entry form if the person > searched for isn't in the database, else open a tabbed form if they are. I > have this working using NotInList to open the IDE form and the after update > to open the tabbed form to the record of the person found in the combo. > > However, what I want to do now is to have the combo start beeping as the > person types if the item is not in the list. IOW, NotInList only fires as > the user EXITS the combo and the item is not in the list. However if the > user is typing in a person's name - JOHN COLBY, and by the time she types > the O in COLBY the combo is not finding the name, the combo should start > beeping so that the user is notified to stop typing and tab out to trigger > NotInList and open the data entry form - or even programatically tab out and > trigger the NotInList. > > It seems like it could be accomplished by checking the insertion point and > the length of the data in the combo. If the data exists, the insertion > point is in the middle of the data that the combo is following, whereas as > soon as the data is not found, the insertion point is at the end of the > data. IOW, if the insertion point is at the end of the data TWICE, then we > are at a true "not found" and trigger NotInList. In fact it seems like the > combo should have been built this way to begin with. > > Has anyone ever done this? > > 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 john at winhaven.net Thu Oct 2 09:51:12 2003 From: john at winhaven.net (John B.) Date: Thu, 2 Oct 2003 09:51:12 -0500 Subject: [AccessD] explicit type In-Reply-To: <3F7C7EE6.24982.2968C7B@localhost> Message-ID: Stuart, Thanks, I can't even remember what my issue was now, wrote that a 2:00 AM... I ran FMS Analyzer on an app and found that none of my constants have ever been explicitly typed - even those from procedures I obtained from other people, ADH, etc. Maybe that was the issue: Why don't they do it why? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Thursday, October 02, 2003 4:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] explicit type > > > On 2 Oct 2003 at 1:56, John B. wrote: > > > Just cleaning some code and I was wondering how much difference > is it going > > to make if I declare this: > > Const conPropNotFoundError = 3270 > > If Err = conPropNotFoundError Then... > > versus this: > > Const conPropNotFoundError as Long = 3270 > > If Err = conPropNotFoundError Then... > > > > If you don't declare it explicitly, it will be declared as a Variant > with all of the overhead of storing/interpreting variants. > > How much depends on how you are using it. The more you use the > constant, the more overhead you incur. As a general rule - declare > all variables and constants as the most efficient data type for its > purpose and only use variants if they are unavoidable. > > > > > > > > > -- > 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 Jdemarco at hshhp.org Thu Oct 2 10:04:03 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 2 Oct 2003 11:04:03 -0400 Subject: [AccessD] explicit type Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F66B@TTNEXCHSRV1.hshhp.com> I've only just got into that habit in the past year or so. A lot code in articles and books seems to be written without explicitly typing constants especially with regard to API calls. Maybe that's got a bit to do with it (not blaming authors here just making an observation). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Thursday, October 02, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type Stuart, Thanks, I can't even remember what my issue was now, wrote that a 2:00 AM... I ran FMS Analyzer on an app and found that none of my constants have ever been explicitly typed - even those from procedures I obtained from other people, ADH, etc. Maybe that was the issue: Why don't they do it why? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Thursday, October 02, 2003 4:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] explicit type > > > On 2 Oct 2003 at 1:56, John B. wrote: > > > Just cleaning some code and I was wondering how much difference > is it going > > to make if I declare this: > > Const conPropNotFoundError = 3270 > > If Err = conPropNotFoundError Then... > > versus this: > > Const conPropNotFoundError as Long = 3270 > > If Err = conPropNotFoundError Then... > > > > If you don't declare it explicitly, it will be declared as a Variant > with all of the overhead of storing/interpreting variants. > > How much depends on how you are using it. The more you use the > constant, the more overhead you incur. As a general rule - declare > all variables and constants as the most efficient data type for its > purpose and only use variants if they are unavoidable. > > > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From hsimpson88 at hotmail.com Thu Oct 2 10:04:53 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 02 Oct 2003 09:04:53 -0600 Subject: [AccessD] CBO Not In List Message-ID: I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person >searched for isn't in the database, else open a tabbed form if they are. I >have this working using NotInList to open the IDE form and the after update >to open the tabbed form to the record of the person found in the combo. > >However, what I want to do now is to have the combo start beeping as the >person types if the item is not in the list. IOW, NotInList only fires as >the user EXITS the combo and the item is not in the list. However if the >user is typing in a person's name - JOHN COLBY, and by the time she types >the O in COLBY the combo is not finding the name, the combo should start >beeping so that the user is notified to stop typing and tab out to trigger >NotInList and open the data entry form - or even programatically tab out >and >trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point and >the length of the data in the combo. If the data exists, the insertion >point is in the middle of the data that the combo is following, whereas as >soon as the data is not found, the insertion point is at the end of the >data. IOW, if the insertion point is at the end of the data TWICE, then we >are at a true "not found" and trigger NotInList. In fact it seems like the >combo should have been built this way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Thu Oct 2 10:13:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 11:13:42 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: Ok, my solution: Where cboperson is a combo box, with AutoExpand and LimitToList set true, of a list of people in the database. tfrmPeople is a tabbed form of people in the database, and frmPAIntake is a form for entering new people in the database. Basically the combo change event checks the selected length. As you type in the combo, if a match is being found there is selected text after the cursor. If you reach a point where the data entered no longer matches anything in the list, there is no selected length so pop up a message box asking if they want to open an IDE form. If they find the person desired they just hit enter or tab and AfterUpdate fires, causing the tab form to open, with a where clause that finds the PE ID (goes to that person). ' 'If AfterUpdate fires, then the user selected existing data to edit. ' Private Sub cboPerson_AfterUpdate() DoCmd.OpenForm "tfrmPeople", , , "PE_ID=" & cboPerson End Sub ' 'The change event fires only when the data in the combo changes in response to keyboard input ' 'Check for data selected. If data is still selected then we are still finding matching data ' Private Sub cboPerson_Change() If cboPerson.SelLength = 0 Then cboPerson = "" DoCmd.Beep If MsgBox("Person not found. Open intake form?", vbDefaultButton1 + vbYesNo, "DATABASE SEARCH") = vbYes Then DoCmd.OpenForm "frmPAIntake" End If End If End Sub ' 'Performing the checks above should minimize actually getting the NotInList 'However if we do, then "Ask and Open" ' Private Sub cboPerson_NotInList(NewData As String, Response As Integer) Response = acDataErrContinue cboPerson = "" If MsgBox("Person not found. Open intake form?", vbDefaultButton1 + vbYesNo, "DATABASE SEARCH") = vbYes Then DoCmd.OpenForm "frmPAIntake" End If End Sub 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: Thursday, October 02, 2003 9:30 AM To: AccessD Subject: [AccessD] CBO Not In List I want to use the NotInList to open an initial data entry form if the person searched for isn't in the database, else open a tabbed form if they are. I have this working using NotInList to open the IDE form and the after update to open the tabbed form to the record of the person found in the combo. However, what I want to do now is to have the combo start beeping as the person types if the item is not in the list. IOW, NotInList only fires as the user EXITS the combo and the item is not in the list. However if the user is typing in a person's name - JOHN COLBY, and by the time she types the O in COLBY the combo is not finding the name, the combo should start beeping so that the user is notified to stop typing and tab out to trigger NotInList and open the data entry form - or even programatically tab out and trigger the NotInList. It seems like it could be accomplished by checking the insertion point and the length of the data in the combo. If the data exists, the insertion point is in the middle of the data that the combo is following, whereas as soon as the data is not found, the insertion point is at the end of the data. IOW, if the insertion point is at the end of the data TWICE, then we are at a true "not found" and trigger NotInList. In fact it seems like the combo should have been built this way to begin with. Has anyone ever done this? 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 Thu Oct 2 10:16:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 11:16:14 -0400 Subject: [AccessD] explicit type In-Reply-To: Message-ID: I don't know why developers don't do this but I do. Much of the reason of using a specific type is to force VB to use a specific data type to hold whatever is being stored, which in turn prevents doing stupid things like storing currency in strings etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. Sent: Thursday, October 02, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type Stuart, Thanks, I can't even remember what my issue was now, wrote that a 2:00 AM... I ran FMS Analyzer on an app and found that none of my constants have ever been explicitly typed - even those from procedures I obtained from other people, ADH, etc. Maybe that was the issue: Why don't they do it why? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Thursday, October 02, 2003 4:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] explicit type > > > On 2 Oct 2003 at 1:56, John B. wrote: > > > Just cleaning some code and I was wondering how much difference > is it going > > to make if I declare this: > > Const conPropNotFoundError = 3270 > > If Err = conPropNotFoundError Then... > > versus this: > > Const conPropNotFoundError as Long = 3270 > > If Err = conPropNotFoundError Then... > > > > If you don't declare it explicitly, it will be declared as a Variant > with all of the overhead of storing/interpreting variants. > > How much depends on how you are using it. The more you use the > constant, the more overhead you incur. As a general rule - declare > all variables and constants as the most efficient data type for its > purpose and only use variants if they are unavoidable. > > > > > > > > > -- > 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 jcolby at colbyconsulting.com Thu Oct 2 10:22:10 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 11:22:10 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person >searched for isn't in the database, else open a tabbed form if they are. I >have this working using NotInList to open the IDE form and the after update >to open the tabbed form to the record of the person found in the combo. > >However, what I want to do now is to have the combo start beeping as the >person types if the item is not in the list. IOW, NotInList only fires as >the user EXITS the combo and the item is not in the list. However if the >user is typing in a person's name - JOHN COLBY, and by the time she types >the O in COLBY the combo is not finding the name, the combo should start >beeping so that the user is notified to stop typing and tab out to trigger >NotInList and open the data entry form - or even programatically tab out >and >trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point and >the length of the data in the combo. If the data exists, the insertion >point is in the middle of the data that the combo is following, whereas as >soon as the data is not found, the insertion point is at the end of the >data. IOW, if the insertion point is at the end of the data TWICE, then we >are at a true "not found" and trigger NotInList. In fact it seems like the >combo should have been built this way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 kaupca at chevrontexaco.com Thu Oct 2 10:41:37 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 2 Oct 2003 10:41:37 -0500 Subject: [AccessD] FW: How to set flag Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5@bocnte2k4.boc.chevrontexaco.net> > I have a database with some code that runs only on Wednesday. No > problem do that with If Weekday(DATE) = 4 . > What I need to do is set some kind flag so that the first time the > database opens on Wednesday the code runs but not on subsequent > openings. I am at a loss of how to do this. Maybe I need to track > openings of database? 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 cfoust at infostatsystems.com Thu Oct 2 10:45:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 08:45:55 -0700 Subject: [AccessD] CBO Not In List Message-ID: Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 2 10:48:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 08:48:14 -0700 Subject: [AccessD] explicit type Message-ID: I generally type my constants, but I think it is unusual in printed code for the same reason that error handling is often left out. Since constants can't be changed, it doesn't seem terribly wrong to skip typing them. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Thursday, October 02, 2003 6:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type Stuart, Thanks, I can't even remember what my issue was now, wrote that a 2:00 AM... I ran FMS Analyzer on an app and found that none of my constants have ever been explicitly typed - even those from procedures I obtained from other people, ADH, etc. Maybe that was the issue: Why don't they do it why? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Thursday, October 02, 2003 4:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] explicit type > > > On 2 Oct 2003 at 1:56, John B. wrote: > > > Just cleaning some code and I was wondering how much difference > is it going > > to make if I declare this: > > Const conPropNotFoundError = 3270 > > If Err = conPropNotFoundError Then... > > versus this: > > Const conPropNotFoundError as Long = 3270 > > If Err = conPropNotFoundError Then... > > > > If you don't declare it explicitly, it will be declared as a Variant > with all of the overhead of storing/interpreting variants. > > How much depends on how you are using it. The more you use the > constant, the more overhead you incur. As a general rule - declare > all variables and constants as the most efficient data type for its > purpose and only use variants if they are unavoidable. > > > > > > > > > -- > 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 Alun.Garraway at otto.de Thu Oct 2 11:03:06 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Thu, 2 Oct 2003 18:03:06 +0200 Subject: AW: [AccessD] FW: How to set flag Message-ID: hallo Chester, For this sort of thing I use a table with a date field, when I run the code or update data I write the date to this field then in the code check to see if todays date = the date in the field. if true exit sub if false run code hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kaup, Chester A Gesendet: Donnerstag, 2. Oktober 2003 17:42 An: accessd at databaseadvisors.com Betreff: [AccessD] FW: How to set flag I have a database with some code that runs only on Wednesday. No problem do that with If Weekday(DATE) = 4 . What I need to do is set some kind flag so that the first time the database opens on Wednesday the code runs but not on subsequent openings. I am at a loss of how to do this. Maybe I need to track openings of database? 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 gustav at cactus.dk Thu Oct 2 11:04:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Oct 2003 18:04:58 +0200 Subject: [AccessD] FW: How to set flag In-Reply-To: <193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5@bocnte2k4.boc.chevrontexaco.net> References: <193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5@bocnte2k4.boc.chevrontexaco.net> Message-ID: <18035004163.20031002180458@cactus.dk> Hi Chester Set a flag (field in table) to today's date when finished. Then, run only if weekday = Wednesday and Date > datFlag. /gustav >> I have a database with some code that runs only on Wednesday. No >> problem do that with If Weekday(DATE) = 4 . >> What I need to do is set some kind flag so that the first time the >> database opens on Wednesday the code runs but not on subsequent >> openings. I am at a loss of how to do this. Maybe I need to track >> openings of database? Thanks From jcolby at colbyconsulting.com Thu Oct 2 11:11:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 12:11:20 -0400 Subject: [AccessD] explicit type In-Reply-To: Message-ID: Charlotte, >Since constants can't be changed, it doesn't seem terribly wrong to skip typing them. One of the reasons for even having typed data is to prevent inadvertently assigning the data to a variable of the wrong type. If you don't type a constant, AFAIK it ends up a variant. Variants are horribly slow, and can cause (or allow) coercion to a different data type etc. By stating that "this constant is a string", or "this constant is a currency", you prevent programming bugs creeping in. And then there is the speed issue of using variants, memory storage of the variant etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type I generally type my constants, but I think it is unusual in printed code for the same reason that error handling is often left out. Since constants can't be changed, it doesn't seem terribly wrong to skip typing them. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Thursday, October 02, 2003 6:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type From jcolby at colbyconsulting.com Thu Oct 2 11:12:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 12:12:11 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: Hmmm... I suppose so. OTOH many people (touch typists) don't watch the screen as they are typing so they don't know they have entered a mistake - or found data not in the list - until they finally look at the combo some time later. If something happened IMMEDIATELY... I could beep the user, prevent the excess characters from being entered in the combo (so they don't have to visually find the error point) etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 2 11:17:08 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 2 Oct 2003 11:17:08 -0500 Subject: [AccessD] FW: How to set flag In-Reply-To: <193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5@bocnte2k4.boc.chevrontexaco.net> Message-ID: FW: How to set flagEverytime it opens you could check the day and the flag. If the day <> Wednesday then set the flag = false (or whatever) and exit the function. If day = Wednesday and flag = false then run the code and set the flag = true. Next time day = Wednesday and flag = true so skip the code. The reason I say to set the flag = false any other day of the week is that this would almost gaurantee that the flag is reset even if the app isn't opened every day. Of course, to avoid that you could store the number of the week when the code last ran and compare it to the the new week number on the next Wednesday. If the week numbers do not match then run the code. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kaup, Chester A Sent: Thursday, October 02, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] FW: How to set flag I have a database with some code that runs only on Wednesday. No problem do that with If Weekday(DATE) = 4 . What I need to do is set some kind flag so that the first time the database opens on Wednesday the code runs but not on subsequent openings. I am at a loss of how to do this. Maybe I need to track openings of database? 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 Thu Oct 2 11:19:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Oct 2003 09:19:51 -0700 Subject: [AccessD] FW: How to set flag References: <193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5@bocnte2k4.boc.chevrontexaco.net> Message-ID: <00f401c38901$024477c0$6601a8c0@HAL9002> FW: How to set flagSimplest thing, I think would be to create a one field table where, when you run the code, it stores the current date. Then every time the database is opened you could check that date and run the code if it hadn't already been run that day. Rocky ----- Original Message ----- From: Kaup, Chester A To: accessd at databaseadvisors.com Sent: Thursday, October 02, 2003 8:41 AM Subject: [AccessD] FW: How to set flag I have a database with some code that runs only on Wednesday. No problem do that with If Weekday(DATE) = 4 . What I need to do is set some kind flag so that the first time the database opens on Wednesday the code runs but not on subsequent openings. I am at a loss of how to do this. Maybe I need to track openings of database? 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: From cfoust at infostatsystems.com Thu Oct 2 11:36:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 09:36:49 -0700 Subject: [AccessD] explicit type Message-ID: I agree on the speed issue and variants, but we are talking about constants, not variables, and constants are not dynamic. Since the programmer has to populate the constant and logically does so when he/she creates the thing, is it really likely they will assign the wrong kind of data to it? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 8:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type Charlotte, >Since constants can't be changed, it doesn't seem terribly wrong to >skip typing them. One of the reasons for even having typed data is to prevent inadvertently assigning the data to a variable of the wrong type. If you don't type a constant, AFAIK it ends up a variant. Variants are horribly slow, and can cause (or allow) coercion to a different data type etc. By stating that "this constant is a string", or "this constant is a currency", you prevent programming bugs creeping in. And then there is the speed issue of using variants, memory storage of the variant etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type I generally type my constants, but I think it is unusual in printed code for the same reason that error handling is often left out. Since constants can't be changed, it doesn't seem terribly wrong to skip typing them. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Thursday, October 02, 2003 6:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 2 11:41:26 2003 From: Developer at UltraDNT.com (Developer) Date: Thu, 2 Oct 2003 12:41:26 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: <003b01c38904$06196d30$7001a8c0@COA3> As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 2 11:50:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 09:50:31 -0700 Subject: [AccessD] CBO Not In List Message-ID: That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Thu Oct 2 12:12:13 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 02 Oct 2003 10:12:13 -0700 Subject: [AccessD] CBO Not In List Message-ID: <3F7C5C6C.F1620A21@nanaimo.ark.com> Hey All Hope this is of some help. If you use the On Change event of the combo box you can check to see if the info typed in exists . Simple example Dim Db as database Dim Rst as recordset Dim Sql as string sql="select store from company where store=""" & me!mycombo.text & "*" & """;" set db=currentdb() set rst=db.openrecordset(sql,dbopendynaset) if rst.recordcount=0 then docmd.beep endif rst.close From jcolby at colbyconsulting.com Thu Oct 2 12:00:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 13:00:12 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 2 12:07:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 10:07:13 -0700 Subject: [AccessD] CBO Not In List Message-ID: You mean the search is on multiple fields or the user can enter a value like either a numeric ID or a customer name? I handled the latter situation in the past by using a "pre-combo" textbox to enter the first characters of the search criteria and then populated the combo with the matching list so they could continue the search there. That way, if they entered numbers, I could populate the combo differently than if they entered letters. It also reduced the items in the list to a manageable number. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 9:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Oct 2 12:33:15 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 02 Oct 2003 12:33:15 -0500 Subject: [AccessD] Re: How to set flag In-Reply-To: <200310021548.h92Fmpe25030@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031002122851.024172a0@pop3.highstream.net> Chester, Create a table called tsys_SystemSettings Have one field in it LastRunDate, Date datatype After running your process, replace the last run date with the current date. When opening the database, check to see if it is today() or LastRunDate + 7 then take the appropriate action. Today - Ignore Not LastRunDate + 7 - Ignore = LastRunDate + 7 - Run again Robert At 10:48 AM 10/2/2003 -0500, you wrote: >Date: Thu, 2 Oct 2003 10:41:37 -0500 >From: "Kaup, Chester A" >Subject: [AccessD] FW: How to set flag >To: accessd at databaseadvisors.com >Message-ID: > ><193572B4E0FC1744BEDFEE63F82CEC9E011E3ED5 at bocnte2k4.boc.chevrontexaco.net> > >Content-Type: text/plain; charset="us-ascii" > > > I have a database with some code that runs only on Wednesday. No > > problem do that with If Weekday(DATE) = 4 . > > What I need to do is set some kind flag so that the first time the > > database opens on Wednesday the code runs but not on subsequent > > openings. I am at a loss of how to do this. Maybe I need to track > > openings of database? Thanks > > > > No trees were killed in the sending of this message. However a large > > number of electrons were terribly inconvenienced. From jcolby at colbyconsulting.com Thu Oct 2 12:35:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 13:35:54 -0400 Subject: [AccessD] explicit type In-Reply-To: Message-ID: No, constants are not dynamic however AFAIK if you don't state their type, then they are created using a variant. That variant can be passed to an integer or a string or a date or a currency. Thus you could cause type conversions that were unintended by passing the constant to a function (for example). If the constant is currency stored as a string, you cannot pass it to a currency variable without specifically typecasting it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type I agree on the speed issue and variants, but we are talking about constants, not variables, and constants are not dynamic. Since the programmer has to populate the constant and logically does so when he/she creates the thing, is it really likely they will assign the wrong kind of data to it? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 8:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type Charlotte, >Since constants can't be changed, it doesn't seem terribly wrong to >skip typing them. One of the reasons for even having typed data is to prevent inadvertently assigning the data to a variable of the wrong type. If you don't type a constant, AFAIK it ends up a variant. Variants are horribly slow, and can cause (or allow) coercion to a different data type etc. By stating that "this constant is a string", or "this constant is a currency", you prevent programming bugs creeping in. And then there is the speed issue of using variants, memory storage of the variant etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type I generally type my constants, but I think it is unusual in printed code for the same reason that error handling is often left out. Since constants can't be changed, it doesn't seem terribly wrong to skip typing them. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Thursday, October 02, 2003 6:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] explicit type _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Oct 2 12:42:04 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 13:42:04 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: Message-ID: The search is on something like: LastName & ", " & FirstName & " : " & Zip They would have to enter it all correctly (and it not be in there) in order to open a data entry form and then parse it out into the correct fields etc. I just find that it isn't in the list and ask if they want the form opened. If they do they have to enter ALL the data from scratch. I tried the parse and start with that in the form and it just wasn't worth my time to do it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 1:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List You mean the search is on multiple fields or the user can enter a value like either a numeric ID or a customer name? I handled the latter situation in the past by using a "pre-combo" textbox to enter the first characters of the search criteria and then populated the combo with the matching list so they could continue the search there. That way, if they entered numbers, I could populate the combo differently than if they entered letters. It also reduced the items in the list to a manageable number. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 9:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 2 12:48:38 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 12:48:38 -0500 Subject: [AccessD] Interrupting processing Message-ID: <2F8793082E00D4119A1700B0D0216BF802227296@main2.marlow.com> Quite honestly, never have used a keyboard 'breaker'. I always provide a 'cancel' or 'pause' button on a form displaying the 'current' processes. But I guess you could have it fire on the KeyUp event, with KeyPreview turned on. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 7:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 rl_stewart at highstream.net Thu Oct 2 12:55:09 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 02 Oct 2003 12:55:09 -0500 Subject: [AccessD] Re: CBO Not in List In-Reply-To: <200310021700.h92H0Ye25764@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031002125325.0241eaf0@pop3.highstream.net> Tony, You need to be careful of using recordcount. It is better to do this: if rs.eof and rs.bof then The only time both are true is if the recordset is empty. Robert At 12:00 PM 10/2/2003 -0500, you wrote: >Date: Wed, 24 Sep 2003 00:55:26 -0700 >From: Tony Septav >Subject: [AccessD] CBO Not in List >To: accessd at databaseadvisors.com >Message-ID: <3F714DED.907D33D2 at nanaimo.ark.com> >Content-Type: text/plain; charset=us-ascii > >Hey All >Hope this is of some help. > >If you use the On Change event of the combo box you can check to see if >the info typed in exists >. > >Simple example > >Dim Db as database >Dim Rst as recordset >Dim Sql as string > >sql="select store from company where store=""" & me!mycombo.text & "*" >& """;" > >set db=currentdb() >set rst=db.openrecordset(sql,dbopendynaset) > >if rst.recordcount=0 then > docmd.beep >endif > >rst.close From askolits at ot.com Thu Oct 2 13:24:35 2003 From: askolits at ot.com (John Skolits) Date: Thu, 2 Oct 2003 14:24:35 -0400 Subject: [AccessD] OT - Registrering DLL's In-Reply-To: <16626259.1064921087446.JavaMail.www@wwinf3004> Message-ID: Here ya' go. Found this on the web. To use it, just paste all the code below the line into a module. Then, run the code: call RegDLL("c:\winnt\system32\COMDLG32.OCX",TRUE). You can put any dll file in there you want. Include the path. Place a true or false in there if you want a message box to show up. John Skolits _____________________________________________ Option Compare Database Option Explicit Private Declare Function LoadLibraryA Lib "kernel32" (ByVal lLibFileName As String) As Long Private Declare Function CreateThread Lib "kernel32" (lThreadAttributes As Any, _ ByVal lStackSize As Long, ByVal lStartAddress As Long, ByVal larameter As Long, _ ByVal lCreationFlags As Long, lThreadID As Long) As Long Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, _ ByVal lMilliseconds As Long) As Long Private Declare Function GetProcAddress Lib "kernel32" (ByVal hModule As Long, _ ByVal lProcName As String) As Long Private Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" _ (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal Msg As Long, _ ByVal wParam As Long, ByVal lParam As Long) As Long Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long Private Declare Function GetExitCodeThread Lib "kernel32" (ByVal hThread As Long, lExitCode As Long) As Long Private Declare Sub ExitThread Lib "kernel32" (ByVal lExitCode As Long) Function RegDLL(strDLL_Name As String, Optional bolShowMsg As Boolean) If RegisterComponent(strDLL_Name) = True Then If bolShowMsg Then MsgBox "Component Successfully Registered" Else If bolShowMsg Then MsgBox "Failed to Registered Component" End If End Function 'Purpose : This function registers and Unregisters OLE components 'Inputs : sFilePath The path to the DLL/OCX or ActiveX EXE ' bRegister If True Registers the control, ' else unregisters control 'Outputs : Returns True if successful 'Author : Andrewb 'Date : 04/09/2000 'Notes : This is the API equivalent of RegSvr32.exe. 'Revisions : 1/Jan/2002. Updated to include code for registering ActiveX Exes. Function RegisterComponent(ByVal sFilePath As String, Optional bRegister As Boolean = True) As Boolean Dim lLibAddress As Long, lProcAddress As Long, lThreadID As Long, _ lSuccess As Long, lExitCode As Long, lThread As Long Dim sRegister As String Const clMaxTimeWait As Long = 20000 'Wait 20 secs for register to complete On Error GoTo ErrFailed If Len(sFilePath) > 0 And Len(Dir(sFilePath)) > 0 Then 'File exists If UCase$(Right$(sFilePath, 3)) = "EXE" Then 'Register/Unregister ActiveX EXE If bRegister Then 'Register EXE Shell sFilePath & " /REGSERVER", vbHide Else 'Unregister ActiveX EXE Shell sFilePath & " /UNREGSERVER", vbHide End If RegisterComponent = True Else 'Register/Unregister DLL If bRegister Then sRegister = "DllRegisterServer" Else sRegister = "DllUnRegisterServer" End If 'Load library into current process lLibAddress = LoadLibraryA(sFilePath) If lLibAddress Then 'Get address of the DLL function lProcAddress = GetProcAddress(lLibAddress, sRegister) If lProcAddress Then lThread = CreateThread(ByVal 0&, 0&, ByVal lProcAddress, ByVal 0&, 0&, lThread) If lThread Then 'Created thread and wait for it to terminate lSuccess = (WaitForSingleObject(lThread, clMaxTimeWait) = 0) If Not lSuccess Then 'Failed to register, close thread Call GetExitCodeThread(lThread, lExitCode) Call ExitThread(lExitCode) RegisterComponent = False Else 'Successfully registered component RegisterComponent = True Call CloseHandle(lThread) End If End If Call FreeLibrary(lLibAddress) Else 'Object doesn't expose OLE interface Call FreeLibrary(lLibAddress) End If End If End If End If Exit Function ErrFailed: Debug.Print Err.Description Debug.Assert False On Error GoTo 0 End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Oct 2 13:36:22 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Oct 2003 11:36:22 -0700 Subject: [AccessD] Interrupting processing References: <2F8793082E00D4119A1700B0D0216BF802227296@main2.marlow.com> Message-ID: <014401c38914$14582ca0$6601a8c0@HAL9002> Drew: Is the button Click event active while the program is in a long loop? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 10:48 AM Subject: RE: [AccessD] Interrupting processing Quite honestly, never have used a keyboard 'breaker'. I always provide a 'cancel' or 'pause' button on a form displaying the 'current' processes. But I guess you could have it fire on the KeyUp event, with KeyPreview turned on. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 7:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 jcolby at colbyconsulting.com Thu Oct 2 13:38:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 14:38:18 -0400 Subject: [AccessD] control labels Message-ID: In my framework I use the background color of a combo to denote that the combo has dbl-click (open a data entry form) functionality. In order to do this I use the following function to find any given control's label: '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: John W. Colby '.Created : 6/17/02 11:22:19 AM ' 'Finds the label that "belongs to" any given control. ' Function CtlLbl(ctlFindLbl As Control) As Label On Error GoTo Err_CtlLbl Dim ctl As Control For Each ctl In ctlFindLbl.Controls If ctl.ControlType = acLabel Then Set CtlLbl = ctl End If Next ctl Exit_CtlLbl: Exit Function Err_CtlLbl: Select Case err Case 0 '.insert Errors you wish to ignore here Resume Next Case Else '.All other errors will trap Beep MsgBox err.Description, , "Error in Function Utils.CtlLbl" Resume Exit_CtlLbl End Select Resume 0 '.FOR TROUBLESHOOTING End Function My combo class has a private label variable. I use the function above to find the label and set the class' label variable. dim mlbl as label Set mlbl = CtlLbl(mcbo) Having done this, the class can now directly manipulate the properties of the label associated with the combo such as back color, forecolor, font etc. For example if mcbo.text < 0 then mlbl.backcolor = vbRed else mlbl.backcolor = vbGreen endif The problem is controls on a continuous form where the label is in the page or form header don't have a label per se (in their controls collection), and thus the function returns a null. IOW I can't manipulate a label for a COLUMN of controls the same way I can for an independent label directly attached to a control. And yes, I know the example above makes no sense for a column of combos since different records could plus or negative. However I want to be able to say a column of combos can be dbl-clicked to open a data entry form, and in this context it does make sense. So I added a function to the combo class to allow me to pass in a reference to a label, which is then stored in the label variable in the class. ' 'Connects a label to a combo - used for continuous forms where the label is in the header etc. ' Function ConnectLabel(llbl As Label) Set mlbl = llbl End Function I can now "assign" a label to a class instance using the syntax: colCombos.Item("cboIDPT").ConnectLabel lblIDPT Therefore any code in the class that attempts to manipulate the label of the control (combo in this case) "finds" a label to manipulate even though there isn't one in the control.controls collection. And IT WORKS! John W. Colby www.colbyconsulting.com From chizotz at charter.net Thu Oct 2 13:43:38 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 02 Oct 2003 14:43:38 -0400 Subject: [AccessD] OT: Engagement Pictures In-Reply-To: Message-ID: Hello Everyone, At the request of my fiance (still feels odd to say that) I put some of our engagement evening pictures on the web for her family to see. Here is the link if anyone here is interested. http://webpages.charter.net/chizotz/engaged.html Yeah, the hairy-faced guy is me and the older lady in one picture is my mom. Ron From hsimpson88 at hotmail.com Thu Oct 2 14:20:40 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 02 Oct 2003 13:20:40 -0600 Subject: [AccessD] CBO Not In List Message-ID: I concluded the opposite when it came to the names of people. I did not concatenate a zip code because I didn't want duplicate person records everytime someone uses a different address (mailing vs physical vs work vs weekend vs summer...). As I don't generally use a 'New Record' button, the only annomaly is that it is necessary to misspell a name if there really are two people with identical names. This is especially true for things like companies with the same name but different locations. Users appreciate the fact that you parse names so they need not rekey things twice. I didn't consider it not 'worth my time' because it is used in every application I write. When I was first working with Access 97, I read a Wrox book called something like Beginning Access VBA and it had an example of an elaborate parser that pulled Mr/Mrs - Names - middle names - last names - Jr/Sr and then titles and degrees. I dummied that one down about 500% back in '97 and still use it today and it still works just as satifactorily now as it did then. I probably invested over an hour into the routine at the time because coding was new to me and Access 97 didn't have some of the newer string functions that more recent versions have, but I learned something and built a reusable tool. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 13:42:04 -0400 > >The search is on something like: LastName & ", " & FirstName & " : " & Zip > >They would have to enter it all correctly (and it not be in there) in order >to open a data entry form and then parse it out into the correct fields >etc. > >I just find that it isn't in the list and ask if they want the form opened. >If they do they have to enter ALL the data from scratch. I tried the parse >and start with that in the form and it just wasn't worth my time to do it. > >John W. Colby >www.colbyconsulting.com > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From hsimpson88 at hotmail.com Thu Oct 2 14:20:40 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 02 Oct 2003 13:20:40 -0600 Subject: [AccessD] CBO Not In List Message-ID: I concluded the opposite when it came to the names of people. I did not concatenate a zip code because I didn't want duplicate person records everytime someone uses a different address (mailing vs physical vs work vs weekend vs summer...). As I don't generally use a 'New Record' button, the only annomaly is that it is necessary to misspell a name if there really are two people with identical names. This is especially true for things like companies with the same name but different locations. Users appreciate the fact that you parse names so they need not rekey things twice. I didn't consider it not 'worth my time' because it is used in every application I write. When I was first working with Access 97, I read a Wrox book called something like Beginning Access VBA and it had an example of an elaborate parser that pulled Mr/Mrs - Names - middle names - last names - Jr/Sr and then titles and degrees. I dummied that one down about 500% back in '97 and still use it today and it still works just as satifactorily now as it did then. I probably invested over an hour into the routine at the time because coding was new to me and Access 97 didn't have some of the newer string functions that more recent versions have, but I learned something and built a reusable tool. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 13:42:04 -0400 > >The search is on something like: LastName & ", " & FirstName & " : " & Zip > >They would have to enter it all correctly (and it not be in there) in order >to open a data entry form and then parse it out into the correct fields >etc. > >I just find that it isn't in the list and ask if they want the form opened. >If they do they have to enter ALL the data from scratch. I tried the parse >and start with that in the form and it just wasn't worth my time to do it. > >John W. Colby >www.colbyconsulting.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 greggs at msn.com Thu Oct 2 14:41:54 2003 From: greggs at msn.com (Greggs) Date: Thu, 2 Oct 2003 14:41:54 -0500 Subject: [AccessD] Autosave???? In-Reply-To: Message-ID: In A97 when editing forms, reports, and queries they automatically save on exit... I get no choice. What causes that? I can move th DB to another system and the problem goes away. Thanks! Gregg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Oct 2 14:41:05 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 2 Oct 2003 21:41:05 +0200 Subject: [AccessD] OT - Registrering DLL's Message-ID: should that not be regsvr32 ??? I always used this. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Skolits Verzonden: donderdag 2 oktober 2003 20:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT - Registrering DLL's Here ya' go. Found this on the web. To use it, just paste all the code below the line into a module. Then, run the code: call RegDLL("c:\winnt\system32\COMDLG32.OCX",TRUE). You can put any dll file in there you want. Include the path. Place a true or false in there if you want a message box to show up. John Skolits _____________________________________________ Option Compare Database Option Explicit Private Declare Function LoadLibraryA Lib "kernel32" (ByVal lLibFileName As String) As Long Private Declare Function CreateThread Lib "kernel32" (lThreadAttributes As Any, _ ByVal lStackSize As Long, ByVal lStartAddress As Long, ByVal larameter As Long, _ ByVal lCreationFlags As Long, lThreadID As Long) As Long Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, _ ByVal lMilliseconds As Long) As Long Private Declare Function GetProcAddress Lib "kernel32" (ByVal hModule As Long, _ ByVal lProcName As String) As Long Private Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" _ (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal Msg As Long, _ ByVal wParam As Long, ByVal lParam As Long) As Long Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long Private Declare Function GetExitCodeThread Lib "kernel32" (ByVal hThread As Long, lExitCode As Long) As Long Private Declare Sub ExitThread Lib "kernel32" (ByVal lExitCode As Long) Function RegDLL(strDLL_Name As String, Optional bolShowMsg As Boolean) If RegisterComponent(strDLL_Name) = True Then If bolShowMsg Then MsgBox "Component Successfully Registered" Else If bolShowMsg Then MsgBox "Failed to Registered Component" End If End Function 'Purpose : This function registers and Unregisters OLE components 'Inputs : sFilePath The path to the DLL/OCX or ActiveX EXE ' bRegister If True Registers the control, ' else unregisters control 'Outputs : Returns True if successful 'Author : Andrewb 'Date : 04/09/2000 'Notes : This is the API equivalent of RegSvr32.exe. 'Revisions : 1/Jan/2002. Updated to include code for registering ActiveX Exes. Function RegisterComponent(ByVal sFilePath As String, Optional bRegister As Boolean = True) As Boolean Dim lLibAddress As Long, lProcAddress As Long, lThreadID As Long, _ lSuccess As Long, lExitCode As Long, lThread As Long Dim sRegister As String Const clMaxTimeWait As Long = 20000 'Wait 20 secs for register to complete On Error GoTo ErrFailed If Len(sFilePath) > 0 And Len(Dir(sFilePath)) > 0 Then 'File exists If UCase$(Right$(sFilePath, 3)) = "EXE" Then 'Register/Unregister ActiveX EXE If bRegister Then 'Register EXE Shell sFilePath & " /REGSERVER", vbHide Else 'Unregister ActiveX EXE Shell sFilePath & " /UNREGSERVER", vbHide End If RegisterComponent = True Else 'Register/Unregister DLL If bRegister Then sRegister = "DllRegisterServer" Else sRegister = "DllUnRegisterServer" End If 'Load library into current process lLibAddress = LoadLibraryA(sFilePath) If lLibAddress Then 'Get address of the DLL function lProcAddress = GetProcAddress(lLibAddress, sRegister) If lProcAddress Then lThread = CreateThread(ByVal 0&, 0&, ByVal lProcAddress, ByVal 0&, 0&, lThread) If lThread Then 'Created thread and wait for it to terminate lSuccess = (WaitForSingleObject(lThread, clMaxTimeWait) = 0) If Not lSuccess Then 'Failed to register, close thread Call GetExitCodeThread(lThread, lExitCode) Call ExitThread(lExitCode) RegisterComponent = False Else 'Successfully registered component RegisterComponent = True Call CloseHandle(lThread) End If End If Call FreeLibrary(lLibAddress) Else 'Object doesn't expose OLE interface Call FreeLibrary(lLibAddress) End If End If End If End If Exit Function ErrFailed: Debug.Print Err.Description Debug.Assert False On Error GoTo 0 End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Oct 2 14:51:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 14:51:20 -0500 Subject: [AccessD] CBO Not In List Message-ID: <2F8793082E00D4119A1700B0D0216BF802227297@main2.marlow.com> Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Oct 2 14:52:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 2 Oct 2003 20:52:01 +0100 Subject: [AccessD] Autosave???? In-Reply-To: Message-ID: <00cf01c3891e$a57ea330$b274d0d5@minster33c3r25> Gregg I think this happens when you've Set Warnings Off and not set them back on. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greggs > Sent: 02 October 2003 20:42 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Autosave???? > > > In A97 when editing forms, reports, and queries they > automatically save on exit... I get no choice. What causes > that? I can move th DB to another system and the problem goes away. > > Thanks! > > Gregg > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From DWUTKA at marlow.com Thu Oct 2 15:00:38 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 15:00:38 -0500 Subject: [AccessD] Interrupting processing Message-ID: <2F8793082E00D4119A1700B0D0216BF802227298@main2.marlow.com> It's active whenever your loop hit's a doevents statement. That's what DoEvents is for! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, October 02, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Drew: Is the button Click event active while the program is in a long loop? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 10:48 AM Subject: RE: [AccessD] Interrupting processing Quite honestly, never have used a keyboard 'breaker'. I always provide a 'cancel' or 'pause' button on a form displaying the 'current' processes. But I guess you could have it fire on the KeyUp event, with KeyPreview turned on. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 7:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 Jdemarco at hshhp.org Thu Oct 2 15:01:42 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 2 Oct 2003 16:01:42 -0400 Subject: [AccessD] CBO Not In List Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99020EBCC0@TTNEXCHSRV1.hshhp.com> Are you implying that you've successfully done this? Any custom ocx I've written (and others) don't quite work as well in Access as VB (A97 in my experience). I can't remember the shortcomings offhand but as an example, I was at an Advisor.com event a few years back and the topic was creating custom controls in VB6. The speaker got bold after mentioning how this control would work in any development tool that supported ActiveX and decided to show us how he could drop it on an Access form and use it. I had already tried this bright idea and had a strong feeling it would fail and it did. Sorry for no details. I guess if someone wanted I could dig up my results. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Thu Oct 2 15:11:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 15:11:21 -0500 Subject: [AccessD] CBO Not In List Message-ID: <2F8793082E00D4119A1700B0D0216BF802227299@main2.marlow.com> Yes, I have written custom controls that work in Access 97. (Not a combo box though...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, October 02, 2003 3:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Are you implying that you've successfully done this? Any custom ocx I've written (and others) don't quite work as well in Access as VB (A97 in my experience). I can't remember the shortcomings offhand but as an example, I was at an Advisor.com event a few years back and the topic was creating custom controls in VB6. The speaker got bold after mentioning how this control would work in any development tool that supported ActiveX and decided to show us how he could drop it on an Access form and use it. I had already tried this bright idea and had a strong feeling it would fail and it did. Sorry for no details. I guess if someone wanted I could dig up my results. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 bchacc at san.rr.com Thu Oct 2 15:50:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Oct 2003 13:50:50 -0700 Subject: [AccessD] Interrupting processing References: <2F8793082E00D4119A1700B0D0216BF802227298@main2.marlow.com> Message-ID: <01a401c38926$dcfee240$6601a8c0@HAL9002> aha. got it. Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 1:00 PM Subject: RE: [AccessD] Interrupting processing It's active whenever your loop hit's a doevents statement. That's what DoEvents is for! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, October 02, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Drew: Is the button Click event active while the program is in a long loop? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 10:48 AM Subject: RE: [AccessD] Interrupting processing Quite honestly, never have used a keyboard 'breaker'. I always provide a 'cancel' or 'pause' button on a form displaying the 'current' processes. But I guess you could have it fire on the KeyUp event, with KeyPreview turned on. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 7:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 wdhindman at bellsouth.net Thu Oct 2 15:54:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 2 Oct 2003 16:54:43 -0400 Subject: [AccessD] CBO Not In List References: Message-ID: <001601c38927$67df8ea0$6001a8c0@dejpolsys> ...hhhmmm ...I approach this differently JC ...I almost always use a separate text box to set the cbo row source ...using the change event on the text box to count the records found as each character beyond two or three (choose your number) is typed into the text box ...if the ListCount is zero, I can do a number of things depending upon the app ...this way I can limit the records found to a reasonable size and still have be very responsive to the user making changes ...watch the wrap :) Me!txtSearchExpression = Me!txtEntry.Text & "*" lstFound.RowSource = "SELECT DISTINCTROW tblCompany.CompanyID, tblCompany.CompanyName, tblCompany.City, tblCompany.StateOrProvince, tblCompany.Country FROM tblCompany WHERE (((tblCompany.CompanyName) Like [txtSearchExpression])) ORDER BY tblCompany.CompanyName;" lstFound.Requery Dim i As Integer i = lstFound.ListCount Me!txtCount = i William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Thursday, October 02, 2003 11:13 AM Subject: RE: [AccessD] CBO Not In List > Ok, my solution: > > Where cboperson is a combo box, with AutoExpand and LimitToList set true, of > a list of people in the database. tfrmPeople is a tabbed form of people in > the database, and frmPAIntake is a form for entering new people in the > database. > > Basically the combo change event checks the selected length. As you type in > the combo, if a match is being found there is selected text after the > cursor. If you reach a point where the data entered no longer matches > anything in the list, there is no selected length so pop up a message box > asking if they want to open an IDE form. If they find the person desired > they just hit enter or tab and AfterUpdate fires, causing the tab form to > open, with a where clause that finds the PE ID (goes to that person). > > ' > 'If AfterUpdate fires, then the user selected existing data to edit. > ' > Private Sub cboPerson_AfterUpdate() > DoCmd.OpenForm "tfrmPeople", , , "PE_ID=" & cboPerson > End Sub > ' > 'The change event fires only when the data in the combo changes in response > to keyboard input > ' > 'Check for data selected. If data is still selected then we are still > finding matching data > ' > Private Sub cboPerson_Change() > If cboPerson.SelLength = 0 Then > cboPerson = "" > DoCmd.Beep > If MsgBox("Person not found. Open intake form?", vbDefaultButton1 + > vbYesNo, "DATABASE SEARCH") = vbYes Then > DoCmd.OpenForm "frmPAIntake" > End If > End If > End Sub > ' > 'Performing the checks above should minimize actually getting the NotInList > 'However if we do, then "Ask and Open" > ' > Private Sub cboPerson_NotInList(NewData As String, Response As Integer) > Response = acDataErrContinue > cboPerson = "" > If MsgBox("Person not found. Open intake form?", vbDefaultButton1 + > vbYesNo, "DATABASE SEARCH") = vbYes Then > DoCmd.OpenForm "frmPAIntake" > End If > End Sub > > 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: Thursday, October 02, 2003 9:30 AM > To: AccessD > Subject: [AccessD] CBO Not In List > > > I want to use the NotInList to open an initial data entry form if the person > searched for isn't in the database, else open a tabbed form if they are. I > have this working using NotInList to open the IDE form and the after update > to open the tabbed form to the record of the person found in the combo. > > However, what I want to do now is to have the combo start beeping as the > person types if the item is not in the list. IOW, NotInList only fires as > the user EXITS the combo and the item is not in the list. However if the > user is typing in a person's name - JOHN COLBY, and by the time she types > the O in COLBY the combo is not finding the name, the combo should start > beeping so that the user is notified to stop typing and tab out to trigger > NotInList and open the data entry form - or even programatically tab out and > trigger the NotInList. > > It seems like it could be accomplished by checking the insertion point and > the length of the data in the combo. If the data exists, the insertion > point is in the middle of the data that the combo is following, whereas as > soon as the data is not found, the insertion point is at the end of the > data. IOW, if the insertion point is at the end of the data TWICE, then we > are at a true "not found" and trigger NotInList. In fact it seems like the > combo should have been built this way to begin with. > > Has anyone ever done this? > > 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 Oct 2 15:57:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 15:57:14 -0500 Subject: [AccessD] form on top question Message-ID: <2F8793082E00D4119A1700B0D0216BF80222729B@main2.marlow.com> Sounds like a plan. Does it do what you wanted it to do? Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Wednesday, October 01, 2003 6:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] form on top question I'll take a look -- thank you Drew. Smells like an article to me. :) Susan H. > Susan, I just sent you (off list) an Access 97 database that does what you > want. There's a form and a module involved (don't really need the module, > you could put all of the code on the form, just got lazy and used a module > from the old version of the MiniCalendar). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Oct 2 15:57:32 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 2 Oct 2003 16:57:32 -0400 Subject: [AccessD] OT: Engagement Pictures References: Message-ID: <001b01c38927$cc99d7b0$6001a8c0@dejpolsys> ...ok ...so now we know two things ...you have great taste ...she has poor taste! ...congratulations :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Ron Allen" To: "Access Developers discussion and problem solving" Sent: Thursday, October 02, 2003 2:43 PM Subject: [AccessD] OT: Engagement Pictures > Hello Everyone, > > At the request of my fiance (still feels odd to say > that) I put some of our engagement evening pictures on > the web for her family to see. Here is the link if anyone > here is interested. > > http://webpages.charter.net/chizotz/engaged.html > > Yeah, the hairy-faced guy is me and the older lady in one > picture is my mom. > > Ron > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From greggs at msn.com Thu Oct 2 16:19:23 2003 From: greggs at msn.com (Greggs) Date: Thu, 2 Oct 2003 16:19:23 -0500 Subject: [AccessD] Autosave???? In-Reply-To: <00cf01c3891e$a57ea330$b274d0d5@minster33c3r25> Message-ID: That was it! Can't tell you how long I would have looked for that. Thanks Andy! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Thursday, October 02, 2003 2:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Autosave???? Gregg I think this happens when you've Set Warnings Off and not set them back on. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greggs > Sent: 02 October 2003 20:42 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Autosave???? > > > In A97 when editing forms, reports, and queries they > automatically save on exit... I get no choice. What causes > that? I can move th DB to another system and the problem goes away. > > Thanks! > > Gregg > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Oct 2 16:18:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 16:18:45 -0500 Subject: [AccessD] Interrupting processing Message-ID: <2F8793082E00D4119A1700B0D0216BF80222729E@main2.marlow.com> Just be careful with that statement, because a LOT of events can occur, when you call DoEvents, so if you have something that may interfere, watch out.... Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, October 02, 2003 3:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing aha. got it. Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 1:00 PM Subject: RE: [AccessD] Interrupting processing It's active whenever your loop hit's a doevents statement. That's what DoEvents is for! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, October 02, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Drew: Is the button Click event active while the program is in a long loop? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, October 02, 2003 10:48 AM Subject: RE: [AccessD] Interrupting processing Quite honestly, never have used a keyboard 'breaker'. I always provide a 'cancel' or 'pause' button on a form displaying the 'current' processes. But I guess you could have it fire on the KeyUp event, with KeyPreview turned on. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 7:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interrupting processing Not sure I understand. Do I use KeyPreview to trap the keystroke of the hotkey? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 01, 2003 12:24 PM Subject: RE: [AccessD] Interrupting processing Just put in a Global boolean variable, and check it in your processes (If MyBool=True then AskToCancel). Put a DoEvents in that process, and then have your 'hotkey' set that variable to true. That should do the trick. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 01, 2003 1:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Interrupting processing Dear List: I have an application with a lot of reports that take a considerable time to run. I always put a couple of text boxes on the calling form saying "Processing record: xxxxx of yyyyy" and update it so the user knows there's something going on and how much longer it will be before the report comes up. What I would like to do is to have a hotkey - probably the ESCape key - which would interrupt the processing, pop up a message box saying "Processing Interrupted. Continue? (Yes/No)" and if the user elects to continue have the code pick up where it was interrupted. Is this possible? 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 jcolby at colbyconsulting.com Thu Oct 2 17:11:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 18:11:28 -0400 Subject: [AccessD] CBO Not In List In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227297@main2.marlow.com> Message-ID: My combo box class is part of my framework. In essence I do extend the functionality of the combo by loading a class to handle it. If I build an OCX I have to distribute it, register it etc. 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, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Oct 2 17:12:24 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 2 Oct 2003 18:12:24 -0400 Subject: [AccessD] form on top question References: <2F8793082E00D4119A1700B0D0216BF80222729B@main2.marlow.com> Message-ID: <003e01c38932$d097b840$220110ac@SUSANONE> Haven't even tried it yet Drew. I'm sorry! I'm off on something completely different now. Susan H. > Sounds like a plan. Does it do what you wanted it to do? > > Drew From dfe at nudgeeinternational.com Thu Oct 2 17:17:49 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Fri, 3 Oct 2003 08:17:49 +1000 Subject: [AccessD] Can't open any more databases Message-ID: Thanks for your feedback and advice John. The MVPS article (although referring to ACC97) indirectly led me to believe that Jet 3.6 allowed 2048 references since the old Jet allowed 1024. Given what you have mentioned, I would be most definitely over the 128 limit then. I have tried the 'Just in time' method and have found it to be painfully slow. The user clicks on a tab and has to wait for the records to be filtered into the subform. I put the recordsource SQL string in a Case statement linked to the tab control. Perhaps I need to review the filtering or something. Cheers David ???? Brisbane Australia Your message was: Date: Wed, 1 Oct 2003 19:30:02 -0400 From: "John Colby" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Can't open any more databasesIn fact the number is no where near that, at least for a2K. Something like 128. This includes ALL queries (combos, lists, recordsets, forms, subforms, reports etc) open at one time. I ran into this in a very complex form when they had several other forms open. One thing I'd suggest if it works for you is "Just in time" subforms on the tabs. The idea is to load the subforms on tabs as they are clicked on and unload them as the next tab is clicked on. John W. Colby www.colbyconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Oct 2 17:22:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 17:22:35 -0500 Subject: [AccessD] CBO Not In List Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272A1@main2.marlow.com> True. Just an option though. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 5:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List My combo box class is part of my framework. In essence I do extend the functionality of the combo by loading a class to handle it. If I build an OCX I have to distribute it, register it etc. 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, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dfe at nudgeeinternational.com Thu Oct 2 17:23:03 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Fri, 3 Oct 2003 08:23:03 +1000 Subject: [AccessD] Can't open any more databases Message-ID: Thanks for your advice and feedback Susan. I'm running on Win 2000 server, not Novell. I am satisfied that I am overstressing the Jet engine because of the number of forms, queries and other things that I have open at the same time. I have tried the 'Just in Time' method of reducing the number of open table references, but it was very slow. I will let you know how I solved it properly, if I ever do. The MVPS site had an interesting article which explained the problem, but Jet 3.6 didn't seem to solve it. Cheers David ???? Brisbane Australia Your message was : Date: Wed, 1 Oct 2003 18:38:19 -0400 From: "Susan Harkins" Subject: Re: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: <003701c3886c$b75bfb50$220110ac at SUSANONE> Content-Type: text/plain; charset="iso-8859-1" Can't open any more databases. The one time I ran into this, I ended up redoing my form to get rid of the subforms -- never did find the culprit. I was told it could be resolved with a simple switch on the Novell server (which did seem to be the culprit) -- but IT refused. Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Oct 2 17:31:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 15:31:12 -0700 Subject: [AccessD] Can't open any more databases Message-ID: Why are they waiting for records to be filtered? Aren't you also setting the master and child links for the subforms? That is generally a much faster way to filter a subform than changing the recordsource. Charlotte Foust -----Original Message----- From: David Fenton [mailto:dfe at nudgeeinternational.com] Sent: Thursday, October 02, 2003 2:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't open any more databases Thanks for your feedback and advice John. The MVPS article (although referring to ACC97) indirectly led me to believe that Jet 3.6 allowed 2048 references since the old Jet allowed 1024. Given what you have mentioned, I would be most definitely over the 128 limit then. I have tried the 'Just in time' method and have found it to be painfully slow. The user clicks on a tab and has to wait for the records to be filtered into the subform. I put the recordsource SQL string in a Case statement linked to the tab control. Perhaps I need to review the filtering or something. Cheers David ???? Brisbane Australia Your message was: Date: Wed, 1 Oct 2003 19:30:02 -0400 From: "John Colby" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Can't open any more databasesIn fact the number is no where near that, at least for a2K. Something like 128. This includes ALL queries (combos, lists, recordsets, forms, subforms, reports etc) open at one time. I ran into this in a very complex form when they had several other forms open. One thing I'd suggest if it works for you is "Just in time" subforms on the tabs. The idea is to load the subforms on tabs as they are clicked on and unload them as the next tab is clicked on. John W. Colby www.colbyconsulting.com From wdhindman at bellsouth.net Thu Oct 2 17:33:26 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 2 Oct 2003 18:33:26 -0400 Subject: [AccessD] Can't open any more databases References: Message-ID: <002601c38935$321980b0$6001a8c0@dejpolsys> RE: [AccessD] Can't open any more databases...something wrong there David ...I use JIT to speed up a db, not slow it down :((( William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: David Fenton To: accessd at databaseadvisors.com Sent: Thursday, October 02, 2003 6:17 PM Subject: RE: [AccessD] Can't open any more databases Thanks for your feedback and advice John. The MVPS article (although referring to ACC97) indirectly led me to believe that Jet 3.6 allowed 2048 references since the old Jet allowed 1024. Given what you have mentioned, I would be most definitely over the 128 limit then. I have tried the 'Just in time' method and have found it to be painfully slow. The user clicks on a tab and has to wait for the records to be filtered into the subform. I put the recordsource SQL string in a Case statement linked to the tab control. Perhaps I need to review the filtering or something. Cheers David ???? Brisbane Australia Your message was: Date: Wed, 1 Oct 2003 19:30:02 -0400 From: "John Colby" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Can't open any more databasesIn fact the number is no where near that, at least for a2K. Something like 128. This includes ALL queries (combos, lists, recordsets, forms, subforms, reports etc) open at one time. I ran into this in a very complex form when they had several other forms open. One thing I'd suggest if it works for you is "Just in time" subforms on the tabs. The idea is to load the subforms on tabs as they are clicked on and unload them as the next tab is clicked on. 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 dfe at nudgeeinternational.com Thu Oct 2 17:33:50 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Fri, 3 Oct 2003 08:33:50 +1000 Subject: [AccessD] Can't open any more databases (Concluded) Message-ID: Thank you for your excellent insights Jim, Looks like it's back to the drawing board. I'm definitely pushing the limits of the table references then. What do you make of the MVPS article the, where they refer to 1024 references? When I noticed that Susan was referring to a specific problem that occurs on Novell, I knew that since I'm on Win2000 server it wouldn't help. I have temporarily solved the problem by closing other forms that happened to be open at the same time, thereby closing some references. I will experiment with refining the record source under the open subforms on the offending form. But since I can never predict what forms the user might have open, I'd prefer to work towards a more robust solution so that I can be 100% certain the user will never see the error message. Anyway, thanks for your valued help. Cheers David Fenton ???? Brisbane Australia Your message was: Date: Thu, 2 Oct 2003 06:45:54 -0400 From: "Jim Dettman" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Can't open any more databases David, <> Yes but "table references" is probably not what you think it is. Not only does it mean every open table, but it also applies to every field reference (which is in of itself a table reference). It can add up a lot quicker then you think, especially with multiple subforms. <> From what you describe, it certainly sounds like you are bumping into the limit. And yes, the bad news is that the limit is internal to Access and cannot be modified. Your only choice is to reduce the complexity of what's going on. The other then that Susan mentioned is in regards to locks. It is possible that you are running out of locks and therefore cannot open another database because you can't place a user lock. This applies only to Novell environments. To test this out, place both the FE and BE on the same station and try the operation again. If the error still occurs, then it's not related to locking. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Oct 2 17:36:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 17:36:42 -0500 Subject: [AccessD] form on top question Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272A2@main2.marlow.com> Oh well, that was fun to make! Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, October 02, 2003 5:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] form on top question Haven't even tried it yet Drew. I'm sorry! I'm off on something completely different now. Susan H. > Sounds like a plan. Does it do what you wanted it to do? > > Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dfe at nudgeeinternational.com Thu Oct 2 17:56:38 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Fri, 3 Oct 2003 08:56:38 +1000 Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) Message-ID: Charlotte and William, you have both got me thinking! Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). When the user clicks on each tab I assign an SQL string to the recordsource of the subforms under that tabb, the form opens the record source and each child subform does it's master/child filtering. All is well, but it IS slow. Is this the accepted way to do it? Because if you are saying it should be faster, then I'd like to do it properly so that it IS faster on my application. I must be doing something wrong. A sample of my code: ... Case 6 ' Transfers IN 'Simple procedure to remove recordsources from forms hidden when user leaves previous tab ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsIN.Form) 'Set up the recordsource strings for the three visible subforms (master and two children) Dim rsIN As String 'Master subform recordsource Dim rsINfromDetails As String 'child 1 subform recordsource Dim rsINtoDetails As String 'child 2 subform recordsource 'Assign the strings to the variables rsIN = "SELECT tbl_Transfer.Trf_ID AS TransferID, tbl_Transfer.Trf_Num AS TrfNumber, tbl_Transfer.Trf_Printed AS Printed, tbl_Transfer.Trf_Date AS DateIssued, tbl_Transfer.Trf_Description, tbl_Transfer.Trf_Enrol_ID_out AS fromEnrolID, tbl_Transfer.Trf_Enrol_ID_in AS toEnrolID, tbl_Transfer.Trf_Amount AS AmtTransferred FROM tbl_Transfer;" rsINfromDetails = "qryEN_FI_TransferDetailsOUT" rsINtoDetails = "qryEN_FI_TransferDetailsIN" 'Assign recordsources to the three subforms under tab user just clicked on mainTrfINfrm.RecordSource = rsIN 'Where mainTrfINform is a form object previously set detailTrfINfrom.RecordSource = rsINfromDetails detailTrfINto.RecordSource = rsINtoDetails etc.... Any ideas? Cheers David ???? Ext 0751 Your messages: Date: Thu, 2 Oct 2003 15:31:12 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Why are they waiting for records to be filtered? Aren't you also setting the master and child links for the subforms? That is generally a much faster way to filter a subform than changing the recordsource. Charlotte Foust ........................................................................................................................................................................ Date: Thu, 2 Oct 2003 18:33:26 -0400 From: "William Hindman" Subject: Re: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: <002601c38935$321980b0$6001a8c0 at dejpolsys> Content-Type: text/plain; charset="iso-8859-1" RE: [AccessD] Can't open any more databases...something wrong there David ...I use JIT to speed up a db, not slow it down :((( William Hindman -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Oct 2 18:02:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Oct 2003 16:02:12 -0700 Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) Message-ID: No, the fast way is to use an unbound subform control and set its sourceobject in code to a particular subform, not a bound subform control with a change to the recordsource. If you use SQL strings like that, it means that the SELECT statements are not optimized in Access 2000 and 2002 and can lead to significant delays in loading the form. Charlotte Foust -----Original Message----- From: David Fenton [mailto:dfe at nudgeeinternational.com] Sent: Thursday, October 02, 2003 2:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) Charlotte and William, you have both got me thinking! Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). When the user clicks on each tab I assign an SQL string to the recordsource of the subforms under that tabb, the form opens the record source and each child subform does it's master/child filtering. All is well, but it IS slow. Is this the accepted way to do it? Because if you are saying it should be faster, then I'd like to do it properly so that it IS faster on my application. I must be doing something wrong. A sample of my code: ... Case 6 ' Transfers IN 'Simple procedure to remove recordsources from forms hidden when user leaves previous tab ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsIN.Form) 'Set up the recordsource strings for the three visible subforms (master and two children) Dim rsIN As String 'Master subform recordsource Dim rsINfromDetails As String 'child 1 subform recordsource Dim rsINtoDetails As String 'child 2 subform recordsource 'Assign the strings to the variables rsIN = "SELECT tbl_Transfer.Trf_ID AS TransferID, tbl_Transfer.Trf_Num AS TrfNumber, tbl_Transfer.Trf_Printed AS Printed, tbl_Transfer.Trf_Date AS DateIssued, tbl_Transfer.Trf_Description, tbl_Transfer.Trf_Enrol_ID_out AS fromEnrolID, tbl_Transfer.Trf_Enrol_ID_in AS toEnrolID, tbl_Transfer.Trf_Amount AS AmtTransferred FROM tbl_Transfer;" rsINfromDetails = "qryEN_FI_TransferDetailsOUT" rsINtoDetails = "qryEN_FI_TransferDetailsIN" 'Assign recordsources to the three subforms under tab user just clicked on mainTrfINfrm.RecordSource = rsIN 'Where mainTrfINform is a form object previously set detailTrfINfrom.RecordSource = rsINfromDetails detailTrfINto.RecordSource = rsINtoDetails etc.... Any ideas? Cheers David ???? Ext 0751 Your messages: Date: Thu, 2 Oct 2003 15:31:12 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Why are they waiting for records to be filtered? Aren't you also setting the master and child links for the subforms? That is generally a much faster way to filter a subform than changing the recordsource. Charlotte Foust ........................................................................................................................................................................ Date: Thu, 2 Oct 2003 18:33:26 -0400 From: "William Hindman" Subject: Re: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: <002601c38935$321980b0$6001a8c0 at dejpolsys> Content-Type: text/plain; charset="iso-8859-1" RE: [AccessD] Can't open any more databases...something wrong there David ...I use JIT to speed up a db, not slow it down :((( William Hindman From jcolby at colbyconsulting.com Thu Oct 2 18:48:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 2 Oct 2003 19:48:29 -0400 Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) In-Reply-To: Message-ID: Just in Time (off shoot of Can't open any more databases)>Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). I think you are not using JIT at all. JIT means that the SOURCE OBJECT property of the subform control on a tab is empty. IOW, if you could see the tab, the entire subform would not be there at all, you couldn't see the text boxes on the subform etc. It sounds like you are saying that you have the subforms loaded, but then load the RECORDSOURCE (DATA) to the subform? I don't mess with the recordsource of the subform at all under normal circumstances. Each subform has a recordsource that is usually a saved query. The recoursource property always references the query - and is saved that way, i.e. if you open the subform in design view you would see the query name or SQL statement. I assign the form name to the SOURCE OBJECT property. What this does is actually LOAD the subform into the tab at the instant that the source object property is set. Since the subform has a recordsource property, it loads its data when the form loads. For some reason I then have to read out the Link child and master field properties and write them right back in. I don't know what you consider painfully slow of course but in general a subform takes 1/2 second to one second to load. It can be more of course depending on how many combos and lists are on the subform - they also have to load their data. Of course if the subforms have tabs (Yep, I've done that) then they are also JIT to avoid having to load all of those subforms at one time. The entire point of JIT subforms is to reduce load time of the parent form, since any tab the user never clicks on never loads the subforms on that tab. It can make a world of difference. Bottom line, if the user is going to see the subform, then it has to load and they have to wait for that load. The point is that in forms where they only NORMALLY use a few of many tabs, the subforms on the other tabs never load so the user never has to wait for those subforms to load. I actually use an application global sysvar to decide whether to unload the subforms once loaded (when the user clicks to another tab). Sometimes it makes sense, others it doesn't. I then use form specific sysvars to over-ride the global sysvar if I need a specific form to buck the global trend. IOW I can decide that in general, the subforms WILL unload when the user clicks on a different tab, but for frmXXX the subforms will NOT unload. Application SysVars are a real neat trick for customizing an app in this manner. John W. Colby www.colbyconsulting.com John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton Sent: Thursday, October 02, 2003 6:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) Charlotte and William, you have both got me thinking! Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). When the user clicks on each tab I assign an SQL string to the recordsource of the subforms under that tabb, the form opens the record source and each child subform does it?s master/child filtering. All is well, but it IS slow. Is this the accepted way to do it? Because if you are saying it should be faster, then I?d like to do it properly so that it IS faster on my application. I must be doing something wrong. A sample of my code: Case 6 ' Transfers IN ?Simple procedure to remove recordsources from forms hidden when user leaves previous tab ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsIN.Form) ?Set up the recordsource strings for the three visible subforms (master and two children) Dim rsIN As String ?Master subform recordsource Dim rsINfromDetails As String ?child 1 subform recordsource Dim rsINtoDetails As String ?child 2 subform recordsource ?Assign the strings to the variables rsIN = "SELECT tbl_Transfer.Trf_ID AS TransferID, tbl_Transfer.Trf_Num AS TrfNumber, tbl_Transfer.Trf_Printed AS Printed, tbl_Transfer.Trf_Date AS DateIssued, tbl_Transfer.Trf_Description, tbl_Transfer.Trf_Enrol_ID_out AS fromEnrolID, tbl_Transfer.Trf_Enrol_ID_in AS toEnrolID, tbl_Transfer.Trf_Amount AS AmtTransferred FROM tbl_Transfer;" rsINfromDetails = "qryEN_FI_TransferDetailsOUT" rsINtoDetails = "qryEN_FI_TransferDetailsIN" ?Assign recordsources to the three subforms under tab user just clicked on mainTrfINfrm.RecordSource = rsIN ?Where mainTrfINform is a form object previously set detailTrfINfrom.RecordSource = rsINfromDetails detailTrfINto.RecordSource = rsINtoDetails etc . Any ideas? Cheers David ???? Ext 0751 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Oct 2 18:56:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 2 Oct 2003 19:56:46 -0400 Subject: [AccessD] CBO Not In List Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F67F@TTNEXCHSRV1.hshhp.com> ...and all custom properties, methods, and events appeared where they should be? As I recall the issue I had (and the speaker at the event I mentioned) was either custom events not appearing in the custom object's event list (and not appearing in the property window's event list) were therefore inaccessible. Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 4:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Yes, I have written custom controls that work in Access 97. (Not a combo box though...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, October 02, 2003 3:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Are you implying that you've successfully done this? Any custom ocx I've written (and others) don't quite work as well in Access as VB (A97 in my experience). I can't remember the shortcomings offhand but as an example, I was at an Advisor.com event a few years back and the topic was creating custom controls in VB6. The speaker got bold after mentioning how this control would work in any development tool that supported ActiveX and decided to show us how he could drop it on an Access form and use it. I had already tried this bright idea and had a strong feeling it would fail and it did. Sorry for no details. I guess if someone wanted I could dig up my results. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 DWUTKA at marlow.com Thu Oct 2 19:15:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 2 Oct 2003 19:15:31 -0500 Subject: [AccessD] CBO Not In List Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272A6@main2.marlow.com> Events showed up on the code page, but the property page didn't show anything.... Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, October 02, 2003 6:57 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List ...and all custom properties, methods, and events appeared where they should be? As I recall the issue I had (and the speaker at the event I mentioned) was either custom events not appearing in the custom object's event list (and not appearing in the property window's event list) were therefore inaccessible. Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 4:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Yes, I have written custom controls that work in Access 97. (Not a combo box though...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, October 02, 2003 3:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Are you implying that you've successfully done this? Any custom ocx I've written (and others) don't quite work as well in Access as VB (A97 in my experience). I can't remember the shortcomings offhand but as an example, I was at an Advisor.com event a few years back and the topic was creating custom controls in VB6. The speaker got bold after mentioning how this control would work in any development tool that supported ActiveX and decided to show us how he could drop it on an Access form and use it. I had already tried this bright idea and had a strong feeling it would fail and it did. Sorry for no details. I guess if someone wanted I could dig up my results. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, October 02, 2003 3:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List Just build a new combo box John. Grin. Blow the dust off of VB 6.0, and make an .ocx. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 12:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's true for data entry, but I am building a search combo for data that is more than one field, thus a form has to open. And my original solution isn't working for all instances. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List That's generally the way I handle it as well, although I may create the basic new record from code and then pop up a form so they can add any additional data that's needed if the situation warrants it. Charlotte Foust -----Original Message----- From: Developer [mailto:Developer at ultradnt.com] Sent: Thursday, October 02, 2003 8:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] CBO Not In List As a terrible typist, I agree with Charlotte. I actually like that it waits until you leave; in some apps I grab that "NewData", pop a msgbox, and if the user responds yes, perform an insert of the NewData (avoiding the input form) , grab the new id, re-query the cbo, and select the newly added item. If they answer No, I clear what they typed and drop down the cbo. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 02, 2003 11:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List Wouldn't that get annoying if someone was simply not a very good typist? Waiting for the afterupdate event at least allows the user to correct their typing errors. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, October 02, 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] CBO Not In List >The behavior you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Precisely, and that is what I was trying to say. If the properties for LimitToList and AutoExpand are set true, then some event (LimitToList?) should IMMEDIATELY fire if the user is no longer matching data in the combo. In fact it only seems to fire if the user attempts to LEAVE the combo and the data doesn't match something in the list. Seems silly to me to not fire immediately. 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: Thursday, October 02, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] CBO Not In List I have implemented a similar scheme based on a callback combo source. When the form initially loads, it opens with a narrow set of values and as items are not found in the list, the combo is repopulated with a progressively wider range of possible values. The logic behind the method was that users spent over 95% of their time working on active records but occasionally needed to look up records that might become active, records that have been closed and records that have been archived all from a single lookup. It the item ulimately was 'not in list', the procedure allowed for adding the item. The approach allowed for checking a single record 'current' flag for each globally available list source meaning that the data was all cached locally and only refreshed when a single record time stamp indicated the necessity resulting in a drastic reduction in overall LAN congestion. I disagree with your statement that the combo should beep when a not in list is discovered. One of the parameters for the not in list is the contents of the combo when the list fires and I always use this parameter to populate fields in the new record. It would be very annoying to users accustomed to entering new records in a combo to have it beep 30 or 50 times at them as they add new records. I believe that the purpose of the implementation of the event is to allow users to enter new records directly into the combo rather than notify them to get out, yet still use the combo as a record locator. The counter argument to allowing such easy entry of new items is that miskeyed or misspelled text strings are easily accidentally entered as duplicate records but it is possible to use the same, 'as you type' record checking routine to search for likely matches and for the ultimate not in list event to first pop a list of soundex matches from which to choose before permitting the addition of the record. None of my data entry forms have a 'new record' button as I make them search/add new records via combo boxes exclusively. I also find it peculiar that those who argue that misspellings and the ease of adding new records in this fashion makes for the liklihood of accidental duplicate records, it is just as easy for a person to punch the new record button on a data entry form and never see whether the record had been previously entered. Also, the use of a single record table flag to indicate that records have been edited or added ensures that if the possiblity exists of multiple users getting the same data concurrently and each adding the same record since there combo was last filled is greatly reduced. The behaviour you propose would be more beneficial for combos that are limited to list, enabling users to get early warning that their entry is invalid or miskeyed. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] CBO Not In List >Date: Thu, 2 Oct 2003 09:29:40 -0400 > >I want to use the NotInList to open an initial data entry form if the >person searched for isn't in the database, else open a tabbed form if >they are. I have this working using NotInList to open the IDE form and >the after update to open the tabbed form to the record of the person >found in the combo. > >However, what I want to do now is to have the combo start beeping as >the person types if the item is not in the list. IOW, NotInList only >fires as the user EXITS the combo and the item is not in the list. >However if the user is typing in a person's name - JOHN COLBY, and by >the time she types the O in COLBY the combo is not finding the name, >the combo should start beeping so that the user is notified to stop >typing and tab out to trigger NotInList and open the data entry form - >or even programatically tab out and trigger the NotInList. > >It seems like it could be accomplished by checking the insertion point >and the length of the data in the combo. If the data exists, the >insertion point is in the middle of the data that the combo is >following, whereas as soon as the data is not found, the insertion >point is at the end of the data. IOW, if the insertion point is at the >end of the data TWICE, then we are at a true "not found" and trigger >NotInList. In fact it seems like the combo should have been built this >way to begin with. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 bbruen at bigpond.com Thu Oct 2 19:29:23 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 03 Oct 2003 10:29:23 +1000 Subject: [AccessD] Project Official Start In-Reply-To: <1364909819.20031001100423@cactus.dk> Message-ID: <022101c38945$658a5860$7d1b8a90@bbb888> Also, ask them if they are willing to pay you 8% per day BONUS for completion early. When they give you the usual reply you can then start negotiating the completion requirements - i.e. no bonus then no penalty. Otherwise thank them for the opportunity for discussing a good example of a win-lose negotiation technique and refer them to any of the management skills courses offered after 1640. Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, 1 October 2003 6:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Project Official Start Hi Hadyn This "yes" is nothing more than a "Declaration of Intention" which on its own has some value though not being an agreement. I would not sign or negotiate anything before specs are settled as these are the foundation for any further discussion. Whether you or the client carries the cost for writing the specs doesn't matter. Then, don't accept 8%. Where does this figure come from? If you can't avoid it, go for 3% for each 14 days so you can reach a compromise at about 5% each 10 days (which, by the way, is just as arbitrary as 3% or 8% or 1 or 2 weeks). Further, only major missing items from the specs (do include a list of these in the final agreement) should release this penalty, not minor tweaks as correction of spelling errors in menu items and the like. Also, have a firm agreement on how long time the client can use for approving your app after you have installed a revised version. And, if the client cannot approve it, he has to specify in writing exactly what is missing according to the specs. If he delays this action, the same amount of days are added to your 11 weeks up to a maximum of, say, one week per approval after which your app will be regarded as approved whether the client has signed or not. /gustav > When do you say a project has started? I have a client that has said > 'Yes' to a project, but has not signed off the spec, or the quote, and > now wants to negotiate penalty clauses before they sign (if we don't > deliver on time to the proposed end date (11 weeks from start of > project) they reduce total payment by 8% for each full week we are > late). I have managed to get them to exclude Acts of God etc, and > have suggested that if they are to blame for the delay we should be > allowed to charge them for the extra time. > Any thoughts? > Kind regards > Hadyn _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Oct 2 19:34:22 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 03 Oct 2003 10:34:22 +1000 Subject: [AccessD] Project Official Start In-Reply-To: Message-ID: <022201c38946$17fabc10$7d1b8a90@bbb888> This may help, see especially the reference to C3 in the wiki www.iconixsw.com/aliceinusecaseland.html Rgrds Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan Sent: Wednesday, 1 October 2003 2:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Project Official Start The client does not want to pay for the time to write a spec. We have spent the last 2 weeks doing this at our own cost. It is based on a web application that was built and paid for on an hourly basis, because again they did not want to pay for a spec. ~40% of the cost of it could have been avoided on the stuff they requested then changed their minds about. They have paid a premium so far (our largest customer to date), and I would like to keep them as a client. Then again I don't want to be royally screwed either :( Hadyn -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Wednesday, 1 October 2003 15:49 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Project Official Start You can still walk away from a client like this, and should - 1999 be damned. IMHO, a client that is trying to negotiate penalty clauses before defining what it is the developer is supposed to be developing is a client looking to screw a developer and get something for nothing. This is a HUGE red flag. -Christopher- ---- Original Message ---- From: Developer at ultradnt.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Project Official Start Date: Tue, 30 Sep 2003 23:38:42 -0400 >Remember the good old days of 1999 when you could just walk away from a >client like this? > >BTW - I'm a newbie, just signed on the list. (NYC-based independent >contractor: Access, VB, SQL, MS-Office training, and when I can't get >out of it, a little networking) > >Short answer is, when both sides have signed, that's your begin date. > >As for the penalty, YES - get their responsibilities in writing ... I >have a client who pays me to keep re-importing their old system's data >because by the time they check the import, it's a month out of date >and >they want all the new entries from the old system in the new system >... >This is going on like this for six months, It's boring as hell and >keeping me from getting started on their .net based intranet, but >... As >long as they are paying, it doesn't matter. In your case, though, >since >they are making noise about not paying, make sure that the "clock >stops" >when you are waiting for them to test or review or deploy or >whatever. >Try to get the wording to be a count of days from execution, since >you >could lose a month just getting the lawyers from both sides to accept >the document ("project will be completed 77 days from execution of >this >contract", for example). > >Hth, >Steve > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan >Sent: Tuesday, September 30, 2003 10:22 PM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Project Official Start > > >When do you say a project has started? I have a client that has said >'Yes' to a project, but has not signed off the spec, or the quote, and >now wants to negotiate penalty clauses before they sign (if we don't >deliver on time to the proposed end date (11 weeks from start of >project) they reduce total payment by 8% for each full week we are >late). I have managed to get them to exclude Acts of God etc, and >have >suggested that if they are to blame for the delay we should be >allowed >to charge them for the extra time. > >Any thoughts? > >Kind regards >Hadyn > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Oct 2 19:38:05 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 2 Oct 2003 20:38:05 -0400 Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) References: Message-ID: <003301c38946$9e338b40$6001a8c0@dejpolsys> Just in Time (off shoot of Can't open any more databases)David ...rather than write a tome on what you are and are not doing, please go to www.colbyconsulting.com and dl JC's JIT sample db ...its documented pretty well ...each of us has their own flavor of this but JC's will get you on a much faster path ...HTH :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: David Fenton To: accessd at databaseadvisors.com Sent: Thursday, October 02, 2003 6:56 PM Subject: [AccessD] Just in Time (off shoot of Can't open any more databases) Charlotte and William, you have both got me thinking! Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). When the user clicks on each tab I assign an SQL string to the recordsource of the subforms under that tabb, the form opens the record source and each child subform does it's master/child filtering. All is well, but it IS slow. Is this the accepted way to do it? Because if you are saying it should be faster, then I'd like to do it properly so that it IS faster on my application. I must be doing something wrong. A sample of my code: . Case 6 ' Transfers IN 'Simple procedure to remove recordsources from forms hidden when user leaves previous tab ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsOUT.Form) ClearRecordSource (Forms!frmEN_AddEnrolmentFees!sfrmTransferDetailsIN.Form) 'Set up the recordsource strings for the three visible subforms (master and two children) Dim rsIN As String 'Master subform recordsource Dim rsINfromDetails As String 'child 1 subform recordsource Dim rsINtoDetails As String 'child 2 subform recordsource 'Assign the strings to the variables rsIN = "SELECT tbl_Transfer.Trf_ID AS TransferID, tbl_Transfer.Trf_Num AS TrfNumber, tbl_Transfer.Trf_Printed AS Printed, tbl_Transfer.Trf_Date AS DateIssued, tbl_Transfer.Trf_Description, tbl_Transfer.Trf_Enrol_ID_out AS fromEnrolID, tbl_Transfer.Trf_Enrol_ID_in AS toEnrolID, tbl_Transfer.Trf_Amount AS AmtTransferred FROM tbl_Transfer;" rsINfromDetails = "qryEN_FI_TransferDetailsOUT" rsINtoDetails = "qryEN_FI_TransferDetailsIN" 'Assign recordsources to the three subforms under tab user just clicked on mainTrfINfrm.RecordSource = rsIN 'Where mainTrfINform is a form object previously set detailTrfINfrom.RecordSource = rsINfromDetails detailTrfINto.RecordSource = rsINtoDetails etc.. Any ideas? Cheers David ???? Ext 0751 Your messages: Date: Thu, 2 Oct 2003 15:31:12 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Why are they waiting for records to be filtered? Aren't you also setting the master and child links for the subforms? That is generally a much faster way to filter a subform than changing the recordsource. Charlotte Foust ........................................................ Date: Thu, 2 Oct 2003 18:33:26 -0400 From: "William Hindman" Subject: Re: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: <002601c38935$321980b0$6001a8c0 at dejpolsys> Content-Type: text/plain; charset="iso-8859-1" RE: [AccessD] Can't open any more databases...something wrong there David ...I use JIT to speed up a db, not slow it down :((( William Hindman ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Thu Oct 2 19:46:56 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 2 Oct 2003 20:46:56 -0400 Subject: [AccessD] force Null date/time data type value Message-ID: <002c01c38947$d9d368e0$220110ac@SUSANONE> I'm using INSERT INTO to append records. When a text string isn't appropriate, I can use a zero-length string, but not the dates -- I've found no way to force a Null value using INSERT INTO. Any help? Susan H. From bbruen at bigpond.com Thu Oct 2 20:16:26 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 03 Oct 2003 11:16:26 +1000 Subject: FW: [AccessD] Project Official Start Message-ID: <000001c3894b$f917b9a0$7d1b8a90@bbb888> Woops! Too quick on the send button. I am currently neck deep in a consultancy project for a large company who are looking to "shortcut" system development methods as there current methods have become too bogged down in detail and have resulted in a situation where the price of a development is too high because of the development methodology, the number of people involved and the level of detail required in every deliverable at each stage of a process that has become soooo waterfall it's crippling. They however, have a good attitude to the fact that systems must be built from a design which comes from an agreed set of requirements. The problem is that the process has become and end in itself - i.e. every issue has a resolution of "follow the process" but the process itself doesn't answer the questions: 1) What are we trying to build 2) How are we going to build it 3) How long will it take When I arrived the developers, strangely enough, are the ones that were crying - "we don't need requirements and design documents". After some weeks of getting them to explain how they were going to answer the above fundamental questions without some level of documentation and providing them with options that may just allow that - the so called "agile" methods like eXtreme programming and the like - we came across the following amusing little tale: www.iconixsw.com/aliceinusecaseland.html Of particular interest regarding the "don't want to pay for a spec" clients is section 25. However the real point of this message is the spectacular failure of the C3 project at Chrysler - so much for extreme programming! The link for that story is at http://c2.com.cgi.wiki?CthreeProjectTerminated and relates the tale of woe (?) Kent Beck is spreading about the failure of that project and as far as I'm concerned the failure of the "its 2 o'clock, why aren't we coding" brigade and all their fancy ideas... I would also like to point out to Hadyn the famous CHAOS report from The Standish Group, which although a bit dated still is relevant regarding the facts: 1) MOST IT projects fail - in their study in 1996 only 26% of projects completed on time and within budget. 2) A significant number of the failures were due to REQUIREMENTS related aspects, such as "unclear requirements", "incomplete requirements", "realistic expectations", "clear vision and objectives". (these total around a third of the cited primary failure reasons) I would like to include the site for the "Chaos report" but I cant find it. Hth Bruce -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Friday, 3 October 2003 10:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Project Official Start This may help, see especially the reference to C3 in the wiki www.iconixsw.com/aliceinusecaseland.html Rgrds Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan Sent: Wednesday, 1 October 2003 2:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Project Official Start The client does not want to pay for the time to write a spec. We have spent the last 2 weeks doing this at our own cost. It is based on a web application that was built and paid for on an hourly basis, because again they did not want to pay for a spec. ~40% of the cost of it could have been avoided on the stuff they requested then changed their minds about. They have paid a premium so far (our largest customer to date), and I would like to keep them as a client. Then again I don't want to be royally screwed either :( Hadyn -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Wednesday, 1 October 2003 15:49 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Project Official Start You can still walk away from a client like this, and should - 1999 be damned. IMHO, a client that is trying to negotiate penalty clauses before defining what it is the developer is supposed to be developing is a client looking to screw a developer and get something for nothing. This is a HUGE red flag. -Christopher- ---- Original Message ---- From: Developer at ultradnt.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Project Official Start Date: Tue, 30 Sep 2003 23:38:42 -0400 >Remember the good old days of 1999 when you could just walk away from a >client like this? > >BTW - I'm a newbie, just signed on the list. (NYC-based independent >contractor: Access, VB, SQL, MS-Office training, and when I can't get >out of it, a little networking) > >Short answer is, when both sides have signed, that's your begin date. > >As for the penalty, YES - get their responsibilities in writing ... I >have a client who pays me to keep re-importing their old system's data >because by the time they check the import, it's a month out of date >and >they want all the new entries from the old system in the new system >... >This is going on like this for six months, It's boring as hell and >keeping me from getting started on their .net based intranet, but >... As >long as they are paying, it doesn't matter. In your case, though, >since >they are making noise about not paying, make sure that the "clock >stops" >when you are waiting for them to test or review or deploy or >whatever. >Try to get the wording to be a count of days from execution, since >you >could lose a month just getting the lawyers from both sides to accept >the document ("project will be completed 77 days from execution of >this >contract", for example). > >Hth, >Steve > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan >Sent: Tuesday, September 30, 2003 10:22 PM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Project Official Start > > >When do you say a project has started? I have a client that has said >'Yes' to a project, but has not signed off the spec, or the quote, and >now wants to negotiate penalty clauses before they sign (if we don't >deliver on time to the proposed end date (11 weeks from start of >project) they reduce total payment by 8% for each full week we are >late). I have managed to get them to exclude Acts of God etc, and >have >suggested that if they are to blame for the delay we should be >allowed >to charge them for the extra time. > >Any thoughts? > >Kind regards >Hadyn > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Oct 2 20:32:45 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 2 Oct 2003 21:32:45 -0400 Subject: [AccessD] Project Official Start References: <000001c3894b$f917b9a0$7d1b8a90@bbb888> Message-ID: <000801c3894e$3f6dca00$6001a8c0@dejpolsys> http://www.standishgroup.com/chaos/toc.php William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Bruce Bruen" To: "'AccessD'" Sent: Thursday, October 02, 2003 9:16 PM Subject: FW: [AccessD] Project Official Start > Woops! Too quick on the send button. > > I am currently neck deep in a consultancy project for a large company > who are looking to "shortcut" system development methods as there > current methods have become too bogged down in detail and have resulted > in a situation where the price of a development is too high because of > the development methodology, the number of people involved and the level > of detail required in every deliverable at each stage of a process that > has become soooo waterfall it's crippling. > > They however, have a good attitude to the fact that systems must be > built from a design which comes from an agreed set of requirements. The > problem is that the process has become and end in itself - i.e. every > issue has a resolution of "follow the process" but the process itself > doesn't answer the questions: > 1) What are we trying to build > 2) How are we going to build it > 3) How long will it take > > When I arrived the developers, strangely enough, are the ones that were > crying - "we don't need requirements and design documents". After some > weeks of getting them to explain how they were going to answer the above > fundamental questions without some level of documentation and providing > them with options that may just allow that - the so called "agile" > methods like eXtreme programming and the like - we came across the > following amusing little tale: www.iconixsw.com/aliceinusecaseland.html > > Of particular interest regarding the "don't want to pay for a spec" > clients is section 25. However the real point of this message is the > spectacular failure of the C3 project at Chrysler - so much for extreme > programming! The link for that story is at > http://c2.com.cgi.wiki?CthreeProjectTerminated and relates the tale of > woe (?) Kent Beck is spreading about the failure of that project and as > far as I'm concerned the failure of the "its 2 o'clock, why aren't we > coding" brigade and all their fancy ideas... > > I would also like to point out to Hadyn the famous CHAOS report from The > Standish Group, which although a bit dated still is relevant regarding > the facts: > 1) MOST IT projects fail - in their study in 1996 only 26% of > projects completed on time and within budget. > 2) A significant number of the failures were due to REQUIREMENTS > related aspects, such as "unclear requirements", "incomplete > requirements", "realistic expectations", "clear vision and objectives". > (these total around a third of the cited primary failure reasons) > > I would like to include the site for the "Chaos report" but I cant find > it. > > Hth > Bruce > > > > -----Original Message----- > From: Bruce Bruen [mailto:bbruen at bigpond.com] > Sent: Friday, 3 October 2003 10:34 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Project Official Start > > > This may help, see especially the reference to C3 in the wiki > www.iconixsw.com/aliceinusecaseland.html > > Rgrds > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan > Sent: Wednesday, 1 October 2003 2:39 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Project Official Start > > > The client does not want to pay for the time to write a spec. We have > spent the last 2 weeks doing this at our own cost. It is based on a web > application that was built and paid for on an hourly basis, because > again they did not want to pay for a spec. ~40% of the cost of it could > have been avoided on the stuff they requested then changed their minds > about. > > They have paid a premium so far (our largest customer to date), and I > would like to keep them as a client. Then again I don't want to be > royally screwed either :( > > Hadyn > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher > Hawkins > Sent: Wednesday, 1 October 2003 15:49 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Project Official Start > > > You can still walk away from a client like this, and should - 1999 be > damned. > > IMHO, a client that is trying to negotiate penalty clauses before > defining what it is the developer is supposed to be developing is a > client looking to screw a developer and get something for nothing. This > is a HUGE red flag. > > -Christopher- > > ---- Original Message ---- > From: Developer at ultradnt.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] Project Official Start > Date: Tue, 30 Sep 2003 23:38:42 -0400 > > >Remember the good old days of 1999 when you could just walk away from a > > >client like this? > > > >BTW - I'm a newbie, just signed on the list. (NYC-based independent > >contractor: Access, VB, SQL, MS-Office training, and when I can't get > >out of it, a little networking) > > > >Short answer is, when both sides have signed, that's your begin date. > > > >As for the penalty, YES - get their responsibilities in writing ... I > >have a client who pays me to keep re-importing their old system's data > >because by the time they check the import, it's a month out of date > >and > >they want all the new entries from the old system in the new system > >... > >This is going on like this for six months, It's boring as hell and > >keeping me from getting started on their .net based intranet, but > >... As > >long as they are paying, it doesn't matter. In your case, though, > >since > >they are making noise about not paying, make sure that the "clock > >stops" > >when you are waiting for them to test or review or deploy or > >whatever. > >Try to get the wording to be a count of days from execution, since > >you > >could lose a month just getting the lawyers from both sides to accept > >the document ("project will be completed 77 days from execution of > >this > >contract", for example). > > > >Hth, > >Steve > > > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hadyn Morgan > >Sent: Tuesday, September 30, 2003 10:22 PM > >To: AccessD at databaseadvisors.com > >Subject: [AccessD] Project Official Start > > > > > >When do you say a project has started? I have a client that has said > >'Yes' to a project, but has not signed off the spec, or the quote, and > >now wants to negotiate penalty clauses before they sign (if we don't > >deliver on time to the proposed end date (11 weeks from start of > >project) they reduce total payment by 8% for each full week we are > >late). I have managed to get them to exclude Acts of God etc, and > >have > >suggested that if they are to blame for the delay we should be > >allowed > >to charge them for the extra time. > > > >Any thoughts? > > > >Kind regards > >Hadyn > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at touchtelindia.net Fri Oct 3 00:28:01 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 3 Oct 2003 10:58:01 +0530 Subject: [AccessD] force Null date/time data type value References: <002c01c38947$d9d368e0$220110ac@SUSANONE> Message-ID: <002101c3896f$596e1e70$e3edf73d@winxp> Susan, Let the table T_Books consist of fields Author(text), Title(text) and RefDate(date type). Both the following statements will append a record having Null value in the date field - (a) If default value of RefDate is not Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title, RefDate) " & _ "Values('AAA', 'TTT' , Null) ;" (b) If default value of RefDate is already set as Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title) " & _ "Values('AAA', 'TTT') ;" Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Friday, October 03, 2003 06:16 Subject: [AccessD] force Null date/time data type value I'm using INSERT INTO to append records. When a text string isn't appropriate, I can use a zero-length string, but not the dates -- I've found no way to force a Null value using INSERT INTO. Any help? Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liam at energyexhausts.co.uk Fri Oct 3 01:23:15 2003 From: liam at energyexhausts.co.uk (Liam Meadows) Date: Fri, 3 Oct 2003 07:23:15 +0100 Subject: [AccessD] MDB vs SQL ODBC Message-ID: <125066531861D043863CE6453EE8509EB782@energys1.energy.local> Hi All Just a quick Question, Am I right in thinking that if you use an Access MDB with FE/BE over a network the Front End has to pull the Back End over to the local machine then action it ? If so does an SQL Server ODBC Back End Behave in the same way ? Regards Liam From stuart at lexacorp.com.pg Fri Oct 3 01:25:23 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 Oct 2003 16:25:23 +1000 Subject: [AccessD] MDB vs SQL ODBC In-Reply-To: <125066531861D043863CE6453EE8509EB782@energys1.energy.local> Message-ID: <3F7DA2F3.24241.54291A5B@localhost> On 3 Oct 2003 at 7:23, Liam Meadows wrote: > Hi All > Just a quick Question, Am I right in thinking that if you use an Access > MDB with FE/BE over a network the Front End has to pull the Back End > over to the local machine then action it ? > If so does an SQL Server ODBC Back End Behave in the same way ? > It behaves the same way if you just link the tables and manipulate the data in your front end using standard queries, recordsets etc The big advantage of SQL Server is that you can use Views and Stored Procedures. In that case, the work is done by the BE and all that gets sent over the network is the result set -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From R.Griffiths at bury.gov.uk Fri Oct 3 04:13:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 3 Oct 2003 10:13:00 +0100 Subject: [AccessD] A97 OpenRecordSet Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F283@MAILGATE.bury.gov.uk> Hi Group When you open a DAO recordset Set rs=db.OpenRecordSet(MySQL,dbOpenDynaset,[options],[lockedits]) does anyone know the default settings for the other two parameters options and lockedits Many thanks Richard From andy at minstersystems.co.uk Fri Oct 3 04:59:55 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 3 Oct 2003 10:59:55 +0100 Subject: [AccessD] A97 OpenRecordSet Message-ID: <20031003095952.E6C722346C8@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Oct 3 05:28:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Oct 2003 12:28:06 +0200 Subject: [AccessD] MDB vs SQL ODBC In-Reply-To: <125066531861D043863CE6453EE8509EB782@energys1.energy.local> References: <125066531861D043863CE6453EE8509EB782@energys1.energy.local> Message-ID: <8912798262.20031003122806@cactus.dk> Hi Liam > Just a quick Question, Am I right in thinking that if you use an Access > MDB with FE/BE over a network the Front End has to pull the Back End > over to the local machine then action it ? No, only data needed are retrieved. What data is needed is strongly dependant of what data you request and which indexes you have built. /gustav From askolits at ot.com Fri Oct 3 06:20:06 2003 From: askolits at ot.com (John Skolits) Date: Fri, 3 Oct 2003 07:20:06 -0400 Subject: [AccessD] OT - Registrering DLL's Message-ID: Bericht Shell with regserv32" That does in fact work but this is cleaner. On occasion I have had problems with it not registering the dll. I never figured out why. This worked. So I rather than spend a lot of time figuring it out, I just use this code. The other nice thing is this will tell me if the registration was successful. I never figured out how to get the 'shell' command to do that. There probably is an obvious answer to that but I never saw it. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, October 02, 2003 3:41 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's should that not be regsvr32 ??? I always used this. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Skolits Verzonden: donderdag 2 oktober 2003 20:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT - Registrering DLL's Here ya' go. Found this on the web. To use it, just paste all the code below the line into a module. Then, run the code: call RegDLL("c:\winnt\system32\COMDLG32.OCX",TRUE). You can put any dll file in there you want. Include the path. Place a true or false in there if you want a message box to show up. John Skolits -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Fri Oct 3 07:49:08 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 3 Oct 2003 08:49:08 -0400 Subject: [AccessD] Can't open any more databases In-Reply-To: Message-ID: RE: [AccessD] Can't open any more databasesDavid, The table reference limit is 2048 for JET 3.6 and up. See my earlier post. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton Sent: Thursday, October 02, 2003 6:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't open any more databases Thanks for your feedback and advice John. The MVPS article (although referring to ACC97) indirectly led me to believe that Jet 3.6 allowed 2048 references since the old Jet allowed 1024. Given what you have mentioned, I would be most definitely over the 128 limit then. I have tried the ?Just in time? method and have found it to be painfully slow. The user clicks on a tab and has to wait for the records to be filtered into the subform. I put the recordsource SQL string in a Case statement linked to the tab control. Perhaps I need to review the filtering or something. Cheers David ???? Brisbane Australia Your message was: Date: Wed, 1 Oct 2003 19:30:02 -0400 From: "John Colby" Subject: RE: [AccessD] Can't open any more databases To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Can't open any more databasesIn fact the number is no where near that, at least for a2K. Something like 128. This includes ALL queries (combos, lists, recordsets, forms, subforms, reports etc) open at one time. I ran into this in a very complex form when they had several other forms open. One thing I'd suggest if it works for you is "Just in time" subforms on the tabs. The idea is to load the subforms on tabs as they are clicked on and unload them as the next tab is clicked on. John W. Colby www.colbyconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From liam at energyexhausts.co.uk Fri Oct 3 08:04:35 2003 From: liam at energyexhausts.co.uk (Liam Meadows) Date: Fri, 3 Oct 2003 14:04:35 +0100 Subject: [AccessD] bit quite today ? Scrolling Marquee Message-ID: <125066531861D043863CE6453EE8509EB783@energys1.energy.local> Bit light on post's today or is it just me ? Also What would be the best way to do a scrolling marquee kind of thin in an access form, like a ticker news thingy ? Liam -------------- next part -------------- An HTML attachment was scrubbed... URL: From rl_stewart at highstream.net Fri Oct 3 08:13:05 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 03 Oct 2003 08:13:05 -0500 Subject: [AccessD] Re: A97 OpenRecordSet In-Reply-To: <200310030913.h939Dpe26181@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031003080908.0254a888@pop3.highstream.net> Direct from HELP (MSA 2002): Settings You can use one of the following constants for the type argument. ConstantDescription dbOpenTableOpens a table-type Recordset object (Microsoft Jet workspaces only). dbOpenDynamicOpens a dynamic-type Recordset object, which is similar to an ODBC dynamic cursor. (ODBCDirect workspaces only) dbOpenDynasetOpens a dynaset-type Recordset object, which is similar to an ODBC keyset cursor. dbOpenSnapshotOpens a snapshot-type Recordset object, which is similar to an ODBC static cursor. dbOpenForwardOnly Opens a forward-only-type Recordset object. Note If you open a Recordset in a Microsoft Jet workspace and you don't specify a type, OpenRecordset creates a table-type Recordset, if possible. If you specify a linked table or query, OpenRecordset creates a dynaset-type Recordset. In an ODBCDirect workspace, the default setting is dbOpenForwardOnly. You can use a combination of the following constants for the options argument. ConstantDescription dbAppendOnlyAllows users to append new records to the Recordset, but prevents them from editing or deleting existing records (Microsoft Jet dynaset-type Recordset only). dbSQLPassThroughPasses an SQL statement to a Microsoft Jet-connected ODBC data source for processing (Microsoft Jet snapshot-type Recordset only). dbSeeChangesGenerates a run-time error if one user is changing data that another user is editing (Microsoft Jet dynaset-type Recordset only). This is useful in applications where multiple users have simultaneous read/write access to the same data. dbDenyWritePrevents other users from modifying or adding records (Microsoft Jet Recordset objects only). dbDenyReadPrevents other users from reading data in a table (Microsoft Jet table-type Recordset only). dbForwardOnlyCreates a forward-only Recordset (Microsoft Jet snapshot-type Recordset only). It is provided only for backward compatibility, and you should use the dbOpenForwardOnly constant in the type argument instead of using this option. dbReadOnlyPrevents users from making changes to the Recordset (Microsoft Jet only). The dbReadOnly constant in the lockedits argument replaces this option, which is provided only for backward compatibility. dbRunAsyncRuns an asynchronous query (ODBCDirect workspaces only). dbExecDirectRuns a query by skipping SQLPrepare and directly calling SQLExecDirect (ODBCDirect workspaces only). Use this option only when you?re not opening a Recordset based on a parameter query. For more information, see the "Microsoft ODBC 3.0 Programmer?s Reference." dbInconsistentAllows inconsistent updates (Microsoft Jet dynaset-type and snapshot-type Recordset objects only). dbConsistentAllows only consistent updates (Microsoft Jet dynaset-type and snapshot-type Recordset objects only). Note The constants dbConsistent and dbInconsistent are mutually exclusive, and using both causes an error. Supplying a lockedits argument when options uses the dbReadOnly constant also causes an error. You can use the following constants for the lockedits argument. ConstantDescription dbReadOnlyPrevents users from making changes to the Recordset (default for ODBCDirect workspaces). You can use dbReadOnly in either the options argument or the lockedits argument, but not both. If you use it for both arguments, a run-time error occurs. dbPessimisticUses pessimistic locking to determine how changes are made to the Recordset in a multiuser environment. The page containing the record you're editing is locked as soon as you use the Edit method (default for Microsoft Jet workspaces). dbOptimisticUses optimistic locking to determine how changes are made to the Recordset in a multiuser environment. The page containing the record is not locked until the Update method is executed. dbOptimisticValueUses optimistic concurrency based on row values (ODBCDirect workspaces only). dbOptimisticBatchEnables batch optimistic updating (ODBCDirect workspaces only). Remarks In a Microsoft Jet workspace, if object refers to a QueryDef object, or a dynaset- or snapshot-type Recordset, or if source refers to an SQL statement or a TableDef that represents a linked table, you can't use dbOpenTable for the type argument; if you do, a run-time error occurs. If you want to use an SQL pass-through query on a linked table in a Microsoft Jet-connected ODBC data source, you must first set the Connect property of the linked table's database to a valid ODBC connection string. If you only need to make a single pass through a Recordset opened from a Microsoft Jet-connected ODBC data source, you can improve performance by using dbOpenForwardOnly for the type argument. If object refers to a dynaset- or snapshot-type Recordset, the new Recordset is of the same type object. If object refers to a table-type Recordset object, the type of the new object is a dynaset-type Recordset. You can't open new Recordset objects from forward-only?type or ODBCDirect Recordset objects. At 04:13 AM 10/3/2003 -0500, you wrote: >Date: Fri, 3 Oct 2003 10:13:00 +0100 >From: "Griffiths, Richard" >Subject: [AccessD] A97 OpenRecordSet >To: "'AccessD at databaseadvisors.com'" >Message-ID: > <52339DF8DCA2A544AF660C8217EB7DCD0227F283 at MAILGATE.bury.gov.uk> >Content-Type: text/plain > >Hi Group > >When you open a DAO recordset > >Set rs=db.OpenRecordSet(MySQL,dbOpenDynaset,[options],[lockedits]) > >does anyone know the default settings for the other two parameters options >and lockedits > >Many thanks > >Richard From PBudge at cbsol.com Fri Oct 3 08:27:47 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Fri, 3 Oct 2003 08:27:47 -0500 Subject: [AccessD] OT - Friday humour! ;-) Message-ID: Client afflictions - sound familiar? ;-) http://seattlepi.nwsource.com/fun/rhymes.asp?date=20030929 http://seattlepi.nwsource.com/fun/rhymes.asp?date=20030930 http://seattlepi.nwsource.com/fun/rhymes.asp?date=20031001 http://seattlepi.nwsource.com/fun/rhymes.asp?date=20031002 http://seattlepi.nwsource.com/fun/rhymes.asp?date=20031003 Pamela G. Budge PBudge at cbsol.com Creative Business Solutions From Christian.Brock at hoffman.army.mil Fri Oct 3 08:27:07 2003 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, HRC-Alexandria) Date: Fri, 3 Oct 2003 09:27:07 -0400 Subject: FW: [AccessD] OT - Registrering DLL's Message-ID: Why are these text files being attached to some emails from this list? I ask because our system is set up to rescan all email when a new virus definition update is applied, and opening these emails is delayed while they are rescanned. This is a pain, especially when the attachment has nothing of value (and I include vcards with no value attachments.) Christian Brock -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, 02 October 2003 15:41 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT136452.txt URL: From Jdemarco at hshhp.org Fri Oct 3 08:33:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 3 Oct 2003 09:33:16 -0400 Subject: [AccessD] OT - Registrering DLL's Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F683@TTNEXCHSRV1.hshhp.com> AFAIK it's got to do with not posting using plain text format. I changed mine to plain text a while back and no more attachments with my posts. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brock, Christian T, HRC-Alexandria [mailto:Christian.Brock at hoffman.army.mil] Sent: Friday, October 03, 2003 9:27 AM To: 'Access Developers discussion and problem solving' Subject: FW: [AccessD] OT - Registrering DLL's Why are these text files being attached to some emails from this list? I ask because our system is set up to rescan all email when a new virus definition update is applied, and opening these emails is delayed while they are rescanned. This is a pain, especially when the attachment has nothing of value (and I include vcards with no value attachments.) Christian Brock -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, 02 October 2003 15:41 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Oct 3 08:41:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 3 Oct 2003 09:41:05 -0400 Subject: [AccessD] OT - Registrering DLL's In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F683@TTNEXCHSRV1.hshhp.com> Message-ID: Uhhhh... this email came in with an attachment. 8-) The contents read: _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, October 03, 2003 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's AFAIK it's got to do with not posting using plain text format. I changed mine to plain text a while back and no more attachments with my posts. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brock, Christian T, HRC-Alexandria [mailto:Christian.Brock at hoffman.army.mil] Sent: Friday, October 03, 2003 9:27 AM To: 'Access Developers discussion and problem solving' Subject: FW: [AccessD] OT - Registrering DLL's Why are these text files being attached to some emails from this list? I ask because our system is set up to rescan all email when a new virus definition update is applied, and opening these emails is delayed while they are rescanned. This is a pain, especially when the attachment has nothing of value (and I include vcards with no value attachments.) Christian Brock -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, 02 October 2003 15:41 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* From ssharkins at bellsouth.net Fri Oct 3 09:01:33 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 3 Oct 2003 10:01:33 -0400 Subject: [AccessD] force Null date/time data type value References: <002c01c38947$d9d368e0$220110ac@SUSANONE> <002101c3896f$596e1e70$e3edf73d@winxp> Message-ID: <007201c389b7$7a8bd230$220110ac@SUSANONE> I tried inserting Null and it didn't seem to work -- but let me try again! ;) I want to avoid changing the actual structure, because some records will have a date, some won't -- but that is an option I've considered, but am hoping to avoid if possible. Thanks! Susan H. Susan, Let the table T_Books consist of fields Author(text), Title(text) and RefDate(date type). Both the following statements will append a record having Null value in the date field - (a) If default value of RefDate is not Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title, RefDate) " & _ "Values('AAA', 'TTT' , Null) ;" (b) If default value of RefDate is already set as Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title) " & _ "Values('AAA', 'TTT') ;" Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Friday, October 03, 2003 06:16 Subject: [AccessD] force Null date/time data type value I'm using INSERT INTO to append records. When a text string isn't appropriate, I can use a zero-length string, but not the dates -- I've found no way to force a Null value using INSERT INTO. Any help? Susan H. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Fri Oct 3 09:14:24 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 03 Oct 2003 10:14:24 -0400 Subject: Attachments was (RE: [AccessD] OT - Registrering DLL's) Message-ID: Yep. If the poster sends HTML mail to the list only then the list fotter comes across as an attachement to the HTML mail. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 03-Oct-03 9:41:05 AM >>> Uhhhh... this email came in with an attachment. 8-) The contents read: -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, October 03, 2003 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's AFAIK it's got to do with not posting using plain text format. I changed mine to plain text a while back and no more attachments with my posts. HTH, From ssharkins at bellsouth.net Fri Oct 3 09:55:37 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 3 Oct 2003 10:55:37 -0400 Subject: Follow up: Re: [AccessD] force Null date/time data type value References: <002c01c38947$d9d368e0$220110ac@SUSANONE><002101c3896f$596e1e70$e3edf73d@winxp> <007201c389b7$7a8bd230$220110ac@SUSANONE> Message-ID: <001c01c389be$6956e5c0$220110ac@SUSANONE> Thanks -- forcing the Null did work after all. I guess when I was working on it last night I just didn't follow through long enough. I tried a Date and a String variable and neither seemed to work. This morning I changed the variable to a Variant and set it to "Null" -- and it's working now. Thanks so much. Susan H. I tried inserting Null and it didn't seem to work -- but let me try again! ;) I want to avoid changing the actual structure, because some records will have a date, some won't -- but that is an option I've considered, but am hoping to avoid if possible. Thanks! Susan H. Susan, Let the table T_Books consist of fields Author(text), Title(text) and RefDate(date type). Both the following statements will append a record having Null value in the date field - (a) If default value of RefDate is not Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title, RefDate) " & _ "Values('AAA', 'TTT' , Null) ;" (b) If default value of RefDate is already set as Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title) " & _ "Values('AAA', 'TTT') ;" Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Friday, October 03, 2003 06:16 Subject: [AccessD] force Null date/time data type value I'm using INSERT INTO to append records. When a text string isn't appropriate, I can use a zero-length string, but not the dates -- I've found no way to force a Null value using INSERT INTO. Any help? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Oct 3 09:56:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 07:56:35 -0700 Subject: [AccessD] bit quite today ? Scrolling Marquee Message-ID: I can't honestly say that there is a best way. In VB, you do it with a timer, but timers in Access are built into the forms and tend to have annoying side effects. Your best bet might be a third party activex control. Charlotte Foust -----Original Message----- From: Liam Meadows [mailto:liam at energyexhausts.co.uk] Sent: Friday, October 03, 2003 5:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] bit quite today ? Scrolling Marquee Bit light on post's today or is it just me ? Also What would be the best way to do a scrolling marquee kind of thin in an access form, like a ticker news thingy ? Liam From Jdemarco at hshhp.org Fri Oct 3 09:58:53 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 3 Oct 2003 10:58:53 -0400 Subject: [AccessD] OT - Registrering DLL's Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F685@TTNEXCHSRV1.hshhp.com> Funny I set it to plain text yet it showed up as Rich Text. Let's see how this one makes it. Thanks, Jim DeMarco -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, October 03, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's Uhhhh... this email came in with an attachment. 8-) The contents read: _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, October 03, 2003 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's AFAIK it's got to do with not posting using plain text format. I changed mine to plain text a while back and no more attachments with my posts. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brock, Christian T, HRC-Alexandria [mailto:Christian.Brock at hoffman.army.mil] Sent: Friday, October 03, 2003 9:27 AM To: 'Access Developers discussion and problem solving' Subject: FW: [AccessD] OT - Registrering DLL's Why are these text files being attached to some emails from this list? I ask because our system is set up to rescan all email when a new virus definition update is applied, and opening these emails is delayed while they are rescanned. This is a pain, especially when the attachment has nothing of value (and I include vcards with no value attachments.) Christian Brock -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, 02 October 2003 15:41 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Registrering DLL's **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you 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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you 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 Oct 3 10:22:03 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Oct 2003 17:22:03 +0200 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: <11130434562.20031003172203@cactus.dk> Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /gustav From cfoust at infostatsystems.com Fri Oct 3 10:30:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 08:30:26 -0700 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: ROTFL Unbiased comparison indeed! I wonder if the author ever built an Access database. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 03, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Oct 3 10:41:13 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Oct 2003 10:41:13 -0500 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison In-Reply-To: <11130434562.20031003172203@cactus.dk> Message-ID: <000001c389c4$c6e2bf10$de1811d8@DanWaters> This was not humorous - these are flat-out lies! I hope that few people actually take this seriously. Or I hope that Alpha-5 is doing this as a desperate grab to stay in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 03, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 3 10:42:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Oct 2003 17:42:50 +0200 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison In-Reply-To: References: Message-ID: <1431681986.20031003174250@cactus.dk> Hi Charlotte I guess not. How on Earth could he/she have accomplished that? For a further laugh - revealing another heavy competitor to Alpha, browse this: http://newsletter.alphasoftware.com/0031005.htm Note close to the bottom this gem which which proves that Alt+F11 was disabled during the "test": "Build scripts or access a full programming language to process data and build user fully customized professional user interfaces." /gustav > ROTFL Unbiased comparison indeed! I wonder if the author ever built an > Access database. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, October 03, 2003 7:22 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison > Hi all > Stumbled over all the missing features of Access? > Well, you are not alone. Browse this unbiased comparison: > http://newsletter.alphasoftware.com/0031004.htm > /gustav From cfoust at infostatsystems.com Fri Oct 3 10:50:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 08:50:01 -0700 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: Ah, but only developers know the difference! Actually, I've had emails from people I steered to Alpha5 because they wanted something that anyone could build in 5 minutes and insisted Access should be able to do it if the programmers weren't trying to keep the novices out by making it complicated. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, October 03, 2003 7:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison This was not humorous - these are flat-out lies! I hope that few people actually take this seriously. Or I hope that Alpha-5 is doing this as a desperate grab to stay in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 03, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /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 Fri Oct 3 10:52:39 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 08:52:39 -0700 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: Nothing like comparing apples to oranges, is there? Especially when you're colorblind and have no tastebuds! Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 03, 2003 7:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi Charlotte I guess not. How on Earth could he/she have accomplished that? For a further laugh - revealing another heavy competitor to Alpha, browse this: http://newsletter.alphasoftware.com/0031005.htm Note close to the bottom this gem which which proves that Alt+F11 was disabled during the "test": "Build scripts or access a full programming language to process data and build user fully customized professional user interfaces." /gustav > ROTFL Unbiased comparison indeed! I wonder if the author ever built > an Access database. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, October 03, 2003 7:22 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison > Hi all > Stumbled over all the missing features of Access? > Well, you are not alone. Browse this unbiased comparison: > http://newsletter.alphasoftware.com/0031004.htm > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 3 10:57:08 2003 From: john at winhaven.net (John B.) Date: Fri, 3 Oct 2003 10:57:08 -0500 Subject: [AccessD] bit quite today ? Scrolling Marquee In-Reply-To: <125066531861D043863CE6453EE8509EB783@energys1.energy.local> Message-ID: MessageLiam I've used the FMS marquee control and it works fine on NT OSs. It also works OK on 9x OSs but when mouse is moved irradically the speed of the marquee changes-nothing that's a show stopper, just a bit odd. It's part of their Total Access Components pack. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Liam Meadows Sent: Friday, October 03, 2003 8:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] bit quite today ? Scrolling Marquee Bit light on post's today or is it just me ? Also What would be the best way to do a scrolling marquee kind of thin in an access form, like a ticker news thingy ? Liam -------------- next part -------------- An HTML attachment was scrubbed... URL: From rl_stewart at highstream.net Fri Oct 3 11:06:32 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 03 Oct 2003 11:06:32 -0500 Subject: [AccessD] Re: Friday Humour, Alpha-Access comparison In-Reply-To: <200310031543.h93Fh6e15628@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031003110352.025d9e90@pop3.highstream.net> Gee, does that mean that I can get my record of 6 hours from scratch to a fully working and deployed application in Access down to just over 1 hour if I use Alpha 5. Now isn't that poetic. ;-)))) Robert At 10:43 AM 10/3/2003 -0500, you wrote: >Date: Fri, 3 Oct 2003 08:30:26 -0700 >From: "Charlotte Foust" >Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >ROTFL Unbiased comparison indeed! I wonder if the author ever built an >Access database. > >Charlotte Foust > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Friday, October 03, 2003 7:22 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison > > >Hi all > >Stumbled over all the missing features of Access? >Well, you are not alone. Browse this unbiased comparison: > > http://newsletter.alphasoftware.com/0031004.htm > >/gustav From cfoust at infostatsystems.com Fri Oct 3 11:11:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 09:11:18 -0700 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: Here's a quote from a coworker after viewing the comparison: Don't scoff! I've heard that using Alpha can help regrow hair, build lean muscle and melt fat away while you not program. There are many testimonials that people met their soul-mate and unexpectedly received 2 million dollars from a long lost relative that they didn't know they had! It also keeps your toaster from breaking! Besides, it uses fonts - can Access do that?? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 03, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Fri Oct 3 11:50:36 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 3 Oct 2003 22:20:36 +0530 Subject: [AccessD] force Null date/time data type value References: <002c01c38947$d9d368e0$220110ac@SUSANONE><002101c3896f$596e1e70$e3edf73d@winxp> <007201c389b7$7a8bd230$220110ac@SUSANONE> Message-ID: <004e01c389ce$b0de41d0$18f95f3d@winxp> Susan, Apparently you are yet to try out the suggestions. It would be nice if you could kindly do so and then confirm the outcome. It may kindly be noted that there is no need at all to worry about changing the structure of data table. If you know that the table does not carry any default value in the date field, go for the simpler statement i.e. (b). If in any doubt, stick to the one at (a) which is effective in all cases. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, October 03, 2003 19:31 Subject: Re: [AccessD] force Null date/time data type value I tried inserting Null and it didn't seem to work -- but let me try again! ;) I want to avoid changing the actual structure, because some records will have a date, some won't -- but that is an option I've considered, but am hoping to avoid if possible. Thanks! Susan H. Susan, Let the table T_Books consist of fields Author(text), Title(text) and RefDate(date type). Both the following statements will append a record having Null value in the date field - (a) If default value of RefDate is not Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title, RefDate) " & _ "Values('AAA', 'TTT' , Null) ;" (b) If default value of RefDate is already set as Null - DoCmd.RunSQL "INSERT INTO T_Books " & _ "(Author, Title) " & _ "Values('AAA', 'TTT') ;" Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Friday, October 03, 2003 06:16 Subject: [AccessD] force Null date/time data type value I'm using INSERT INTO to append records. When a text string isn't appropriate, I can use a zero-length string, but not the dates -- I've found no way to force a Null value using INSERT INTO. Any help? Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theopg.com Fri Oct 3 13:01:29 2003 From: lists at theopg.com (MarkH) Date: Fri, 3 Oct 2003 19:01:29 +0100 Subject: [AccessD] Workgroup security and windows logins In-Reply-To: Message-ID: <008201c389d8$5ebcab30$6439fc3e@netboxxp> Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that?s in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From Jdemarco at hshhp.org Fri Oct 3 13:08:30 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 3 Oct 2003 14:08:30 -0400 Subject: [AccessD] Workgroup security and windows logins Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F689@TTNEXCHSRV1.hshhp.com> Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that?s in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 lists at theopg.com Fri Oct 3 13:21:43 2003 From: lists at theopg.com (MarkH) Date: Fri, 3 Oct 2003 19:21:43 +0100 Subject: [AccessD] Workgroup security and windows logins In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F689@TTNEXCHSRV1.hshhp.com> Message-ID: <008301c389db$327c83d0$6439fc3e@netboxxp> Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that?s in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From cfoust at infostatsystems.com Fri Oct 3 13:30:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Oct 2003 11:30:17 -0700 Subject: [AccessD] Workgroup security and windows logins Message-ID: You can if you don't have passwords on those login names in the workgroup file and if they use use a shortcut to open the database that includes the path to the workgroup file and the username they're logging in as. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that's in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Fri Oct 3 13:34:11 2003 From: lists at theopg.com (MarkH) Date: Fri, 3 Oct 2003 19:34:11 +0100 Subject: [AccessD] Workgroup security and windows logins In-Reply-To: Message-ID: <008401c389dc$f04f86e0$6439fc3e@netboxxp> Great! Perfect. Thanks very much Charlotte, have a good weekend everyone... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 03 October 2003 19:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins You can if you don't have passwords on those login names in the workgroup file and if they use use a shortcut to open the database that includes the path to the workgroup file and the username they're logging in as. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that's in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From dwaters at usinternet.com Fri Oct 3 14:27:47 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Oct 2003 14:27:47 -0500 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison In-Reply-To: Message-ID: <000601c389e4$6db28270$de1811d8@DanWaters> Charlotte - Did any of those people get back to you later? What were their comments? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 03, 2003 9:50 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison Ah, but only developers know the difference! Actually, I've had emails from people I steered to Alpha5 because they wanted something that anyone could build in 5 minutes and insisted Access should be able to do it if the programmers weren't trying to keep the novices out by making it complicated. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, October 03, 2003 7:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison This was not humorous - these are flat-out lies! I hope that few people actually take this seriously. Or I hope that Alpha-5 is doing this as a desperate grab to stay in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 03, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /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 EdTesiny at oasas.state.ny.us Fri Oct 3 14:36:33 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 3 Oct 2003 15:36:33 -0400 Subject: [AccessD] Replacing a Table in an Application Message-ID: Hi List, Quiet day, good time to ask what is probably a simple question. I have a table in an application that contains information about agency Executive Directors, Program Directors, phone numbers, etc. This table has a relationship with other tables. I would like to get an updated table every month so the info stays current. How does one go about replacing the old table with the new one without deleting relationships and recreating them after importing the updated table. I know this must be a common task but not sure how to accomplish this. Any ideas late on a Friday afternoon.... TIA 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 jeffrey.demulling at usbank.com Fri Oct 3 15:06:30 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 3 Oct 2003 15:06:30 -0500 Subject: [AccessD] Replacing a Table in an Application Message-ID: About ready to leave for the day but how about this series of events: 1 - Remove old information from table in db 2 - Append new data information into table in db Just a quick thought. "Tesiny, Ed" cc: Sent by: Subject: [AccessD] Replacing a Table in an Application accessd-bounces at databasead visors.com 10/03/2003 02:36 PM Please respond to "Access Developers discussion and problem solving" Hi List, Quiet day, good time to ask what is probably a simple question. I have a table in an application that contains information about agency Executive Directors, Program Directors, phone numbers, etc. This table has a relationship with other tables. I would like to get an updated table every month so the info stays current. How does one go about replacing the old table with the new one without deleting relationships and recreating them after importing the updated table. I know this must be a common task but not sure how to accomplish this. Any ideas late on a Friday afternoon.... TIA 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 rusty.hammond at cpiqpc.com Fri Oct 3 15:21:11 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 3 Oct 2003 15:21:11 -0500 Subject: [AccessD] Replacing a Table in an Application Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305FA3@cpixchng-1.cpiqpc.net> Ed, You can just delete the records from the existing table (without deleting the table itself), then import the new records from the new table. A simple delete query will handle clearing out the old records. As far as getting the new records in, if you can link a table to the new data, an append query will do the trick. HTH Rusty -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Friday, October 03, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Replacing a Table in an Application Hi List, Quiet day, good time to ask what is probably a simple question. I have a table in an application that contains information about agency Executive Directors, Program Directors, phone numbers, etc. This table has a relationship with other tables. I would like to get an updated table every month so the info stays current. How does one go about replacing the old table with the new one without deleting relationships and recreating them after importing the updated table. I know this must be a common task but not sure how to accomplish this. Any ideas late on a Friday afternoon.... TIA 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 DWUTKA at marlow.com Fri Oct 3 17:28:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 3 Oct 2003 17:28:39 -0500 Subject: [AccessD] Workgroup security and windows logins Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272BF@main2.marlow.com> If you are using a shortcut, you can include a password too. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 03, 2003 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins You can if you don't have passwords on those login names in the workgroup file and if they use use a shortcut to open the database that includes the path to the workgroup file and the username they're logging in as. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that's in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Oct 3 19:46:33 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 3 Oct 2003 19:46:33 -0500 Subject: [AccessD] bit quite today ? Scrolling Marquee References: <125066531861D043863CE6453EE8509EB783@energys1.energy.local> Message-ID: <007801c38a10$ff9105f0$1b06d018@W2k> Liam, FWIW, here's something you could try. 1) Place an unbound Text Box on the form and name it something like txtMarquee. 2) Set the form's Timer Interval to, say, 200 milliseconds. 3) In the form's Load event procedure put this line of code: txtMarquee = "Eat at Joe's...Eat at Joe's...Eat at Joe's..." 4) In the form's Timer event procedure put this code: Dim str As String str = txtMarquee txtMarquee = Right(str, Len(str) - 1) & Left(str, 1) 5) Save and run the form. Regards, Steve Erbach Scientific Marketing Neenah, WI "The press must learn that misguided use of a computer is no more amazing than drunk driving of an automobile." - Ken Thompson (co-inventor of UNIX), 1984 -------------- next part -------------- An HTML attachment was scrubbed... URL: From serbach at new.rr.com Fri Oct 3 19:47:21 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 3 Oct 2003 19:47:21 -0500 Subject: [AccessD] bit quite today ? Scrolling Marquee References: Message-ID: <007901c38a11$13fc8820$1b06d018@W2k> Charlotte, >> timers in Access are built into the forms and tend to have annoying side effects. << Could you elaborate on that a bit, please? Regards, Steve Erbach Scientific Marketing Neenah, WI "The press must learn that misguided use of a computer is no more amazing than drunk driving of an automobile." - Ken Thompson (co-inventor of UNIX), 1984 From jcolby at colbyconsulting.com Fri Oct 3 21:51:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 3 Oct 2003 22:51:06 -0400 Subject: [AccessD] bit quite today ? Scrolling Marquee In-Reply-To: <007901c38a11$13fc8820$1b06d018@W2k> Message-ID: For developers the timer running in a form while you are entering code may cause compile errors on the partially entered line of code you are typing, will cause words in comments to lose their space between them as you are entering them, and can cause flickering of other forms. VBA is single threaded, so if the code that runs in the timer takes awhile the form that the user is working on may become unresponsive. Etc. Etc. 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: Friday, October 03, 2003 8:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] bit quite today ? Scrolling Marquee Charlotte, >> timers in Access are built into the forms and tend to have annoying side effects. << Could you elaborate on that a bit, please? Regards, Steve Erbach Scientific Marketing Neenah, WI "The press must learn that misguided use of a computer is no more amazing than drunk driving of an automobile." - Ken Thompson (co-inventor of UNIX), 1984 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JOHNWARDBELL at aol.com Sat Oct 4 07:21:32 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Sat, 4 Oct 2003 08:21:32 EDT Subject: [AccessD] Access TAPI Message-ID: <151.24db509e.2cb0154c@aol.com> I looking for a book(s) on TAPI in Access or VB. Any suggestions? johnb -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sat Oct 4 08:27:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 4 Oct 2003 15:27:14 +0200 Subject: [AccessD] bit quite today ? Scrolling Marquee In-Reply-To: <007801c38a10$ff9105f0$1b06d018@W2k> References: <125066531861D043863CE6453EE8509EB783@energys1.energy.local> <007801c38a10$ff9105f0$1b06d018@W2k> Message-ID: <7322388963.20031004152714@cactus.dk> Hi Liam There was a marquee.ocx included with the old versions of Internet Explorer, version 3 and 4 I believe, thus with Win98 and WinNT too. Don't know, however, if it could be of any use; I have never used it for anything. /gustav From wdhindman at bellsouth.net Sun Oct 5 10:19:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 5 Oct 2003 11:19:52 -0400 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison References: <11130434562.20031003172203@cactus.dk> Message-ID: <002201c38b54$201b0020$6001a8c0@dejpolsys> ...this guy's nose must be five times as long as Pinocchio's :)))))) ...obviously written by used car salesmen who wouldn't recognize an Access VBE window if they slammed their heads through it :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 03, 2003 11:22 AM Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison > Hi all > > Stumbled over all the missing features of Access? > Well, you are not alone. Browse this unbiased comparison: > > http://newsletter.alphasoftware.com/0031004.htm > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sun Oct 5 10:27:54 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 5 Oct 2003 11:27:54 -0400 Subject: [AccessD] bit quite today ? Scrolling Marquee References: <125066531861D043863CE6453EE8509EB783@energys1.energy.local> <007801c38a10$ff9105f0$1b06d018@W2k> <7322388963.20031004152714@cactus.dk> Message-ID: <000401c38b55$3fa0f520$6001a8c0@dejpolsys> Liam http://www.lebans.com/hscroller.htm ...his Horizontal Scrolling Text Marquee code sample uses the API instead of a timer or ocx ...HTH :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, October 04, 2003 9:27 AM Subject: Re: [AccessD] bit quite today ? Scrolling Marquee > Hi Liam > > There was a marquee.ocx included with the old versions of Internet > Explorer, version 3 and 4 I believe, thus with Win98 and WinNT too. > > Don't know, however, if it could be of any use; I have never used it > for anything. > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dfe at nudgeeinternational.com Sun Oct 5 20:11:57 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Mon, 6 Oct 2003 11:11:57 +1000 Subject: [AccessD] RE: Just in Time (off shoot of Can't open any more databases) - Thank you Message-ID: Hello Charlotte and John, You have both solved my hassles with the Can't load anymore databases. I implemented JIT properly this time and it seems to have fixed the problem. When the user clicks on a tab, the unbound subform takes about a second or so to refresh itself after my code assigns the SourceObject, but the users will have to live with that. John, I like your idea of unloading (when the user clicks on a different tab) the SourceObject from the subforms using a global sysvar and may also implement that in my application. I am grateful for you help. Cheers David ???? Brisbane Australia Your messages: Message: 4 Date: Thu, 2 Oct 2003 16:02:12 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] Just in Time (off shoot of Can't open any more databases) No, the fast way is to use an unbound subform control and set its sourceobject in code to a particular subform, not a bound subform control with a change to the recordsource. If you use SQL strings like that, it means that the SELECT statements are not optimized in Access 2000 and 2002 and can lead to significant delays in loading the form. Charlotte Foust Message: 5 Date: Thu, 2 Oct 2003 19:48:29 -0400 From: "John Colby" Subject: RE: [AccessD] Just in Time (off shoot of Can't open any more databases) To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Just in Time (off shoot of Can't open any more databases)>Yes I do use the Master/Child filter, but when the form is first loaded all of its subforms sit there blank behind their appropriate tabs (each with no recordsource). I think you are not using JIT at all. JIT means that the SOURCE OBJECT property of the subform control on a tab is empty. IOW, if you could see the tab, the entire subform would not be there at all, you couldn't see the text boxes on the subform etc. It sounds like you are saying that you have the subforms loaded, but then load the RECORDSOURCE (DATA) to the subform? I don't mess with the recordsource of the subform at all under normal circumstances. Each subform has a recordsource that is usually a saved query. The recoursource property always references the query - and is saved that way, i.e. if you open the subform in design view you would see the query name or SQL statement. I assign the form name to the SOURCE OBJECT property. What this does is actually LOAD the subform into the tab at the instant that the source object property is set. Since the subform has a recordsource property, it loads its data when the form loads. For some reason I then have to read out the Link child and master field properties and write them right back in. I don't know what you consider painfully slow of course but in general a subform takes 1/2 second to one second to load. It can be more of course depending on how many combos and lists are on the subform - they also have to load their data. Of course if the subforms have tabs (Yep, I've done that) then they are also JIT to avoid having to load all of those subforms at one time. The entire point of JIT subforms is to reduce load time of the parent form, since any tab the user never clicks on never loads the subforms on that tab. It can make a world of difference. Bottom line, if the user is going to see the subform, then it has to load and they have to wait for that load. The point is that in forms where they only NORMALLY use a few of many tabs, the subforms on the other tabs never load so the user never has to wait for those subforms to load. I actually use an application global sysvar to decide whether to unload the subforms once loaded (when the user clicks to another tab). Sometimes it makes sense, others it doesn't. I then use form specific sysvars to over-ride the global sysvar if I need a specific form to buck the global trend. IOW I can decide that in general, the subforms WILL unload when the user clicks on a different tab, but for frmXXX the subforms will NOT unload. Application SysVars are a real neat trick for customizing an app in this manner. John W. Colby www.colbyconsulting.com ************ From jcolby at colbyconsulting.com Sun Oct 5 21:16:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 5 Oct 2003 22:16:35 -0400 Subject: [AccessD] SysVars - was: Just in Time (off shoot of Can't open any more databases) -Thank you In-Reply-To: Message-ID: David, Yes, the short load time as the tab is clicked on is simply the result of not suffering that load time when the form first opens. Either way the user has to wait, up front or if they use a tab. As for the Sysvars... As the list old-timers know, I use a framework to speed my development time. I have a class for each control that Access offers, which means I have a class for the tab control, the subform control, the combo, list text box etc. And of course all of these control / form classes sink the events that the control generates so that the class handles all generic event processing - Withevents. In addition I have other classes such as a SysVar class, which BTW you can find the basis of in the articles I wrote for Database Advisors. My tab control is what implements the JIT functionality for me. IOW, the tab class sinks the click event. It determines if the user has just moved to another tab, and if so it asks the parent form class if it is supposed to use JIT - in fact it asks this at class load time. The parent form has loaded a Sysvar that says whether the application in general uses JIT, if so, does it unload the subform as the user clicks off the tab. However the form can also look for and find SysVars SPECIFIC TO ITSELF that over-rides the generic behavior. IOW: gJITSFrms true Global Just In Time SubFrms. True = turn on JIT subforms, False = turn them off. gJITSFrmUnload False Global - True means unload JIT subforms when you tab away from the tab. False means once loaded, leave them loaded However each form class (as it loads) looks for a sysvar with its name embedded in the sysvar that over-rides the application wide preferences. fJITSFrmUnloadtfrmEmployee True Local - True means FOR THIS FORM... unload JIT subforms when you tab away from the tab. False means once loaded, leave them loaded The g prefix in the sysvar name means that is the global behavior. A f prefix means that this behavior over-rides the global behavior only for the form whose name is embedded in the SysVar. This allows me to have a set of SysVars (a SysVar table) for my framework that resides out in my framework library - called usystblFWSysVars. That is loaded first, and sets up the framework to work a "default" way. IF I wish to do so, I then add usystblFEFWSysVars - notice it is the same name with FE embedded in there. This table physically resides in the FE itself and I can place any or all of the exact same name SysVars in this table but with a value different from the one residing in the Framework library. The load order is Lib table then FE table, with the value in the FE table over-riding (overwriting the value) from the framework library table if it exists in the FE. Same SysVar name, different value, loaded last, overrides the original. Thus each FE can decide that the default functionality of the framework should differ. Of course the values specific to forms then override the values generic to the FE or the framework. The form specific values are searched for and loaded BY THE FORM CLASS as the form loads, whereas the global SysVars, both Framework and FE are loaded as the FE opens. Because of the fact that the last value loaded into the class overwrites any previous value loaded, and because the control / form class knows how to use any generic sysvar but also look for the control or form name in the SysVar name and use that to overwrite the generic SysVar, I can overload ANY Sysvar, ANY behavior, on a case by case, form by form, control by control basis. Thus the app for company A can be completely generic, whereas the App for company B can be customized to a T, all by doing nothing more than throwing in a bunch of Sysvars into the FE sysvar table with object names embedded in (at the end of) the SysVar name. I have even toyed with the idea of setting up a USER LEVEL over-ride to allow each user to decide whether they want the behavior, but I decided that would be a dangerous thing to do. OK, I've no doubt bored you to tears, but if you are thinking of using SysVars, think about how to allow turning on / off functionality at the library level. Once you can do that, allow over-riding that in each app, then once that works, allow over-riding that for any given control / form. Works great, and makes application customization a snap. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton Sent: Sunday, October 05, 2003 9:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] RE: Just in Time (off shoot of Can't open any more databases) -Thank you Hello Charlotte and John, You have both solved my hassles with the Can't load anymore databases. I implemented JIT properly this time and it seems to have fixed the problem. When the user clicks on a tab, the unbound subform takes about a second or so to refresh itself after my code assigns the SourceObject, but the users will have to live with that. John, I like your idea of unloading (when the user clicks on a different tab) the SourceObject from the subforms using a global sysvar and may also implement that in my application. I am grateful for you help. Cheers David ???? Brisbane Australia From Erwin.Craps at ithelps.be Mon Oct 6 01:06:13 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 6 Oct 2003 08:06:13 +0200 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: U can use msacces.Exe "MyDB.MDB" /USER %USERNAME% to start access with the network user account. U must have windows NT/2K or XP for this. The network acccount must also be in the workgroup file. U can also use "%HOMEDRIVE%\MyFolder\Mydb.mdb" if you put a front end in the homefolder of the user. Again, only for NT/2K and XP The workgroup file you can specify also at command lie option or in a ini file located int he same folder as the app. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Dan Waters Verzonden: vrijdag 3 oktober 2003 21:28 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison Charlotte - Did any of those people get back to you later? What were their comments? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 03, 2003 9:50 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison Ah, but only developers know the difference! Actually, I've had emails from people I steered to Alpha5 because they wanted something that anyone could build in 5 minutes and insisted Access should be able to do it if the programmers weren't trying to keep the novices out by making it complicated. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, October 03, 2003 7:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison This was not humorous - these are flat-out lies! I hope that few people actually take this seriously. Or I hope that Alpha-5 is doing this as a desperate grab to stay in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 03, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /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 lists at theopg.com Mon Oct 6 01:33:56 2003 From: lists at theopg.com (MarkH) Date: Mon, 6 Oct 2003 07:33:56 +0100 Subject: [AccessD] Workgroup security and windows logins In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022272BF@main2.marlow.com> Message-ID: <002601c38bd3$d1695f50$298e6351@netboxxp> Thanks Drew Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: 03 October 2003 23:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins If you are using a shortcut, you can include a password too. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 03, 2003 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins You can if you don't have passwords on those login names in the workgroup file and if they use use a shortcut to open the database that includes the path to the workgroup file and the username they're logging in as. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that's in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From Erwin.Craps at ithelps.be Mon Oct 6 05:47:40 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 6 Oct 2003 12:47:40 +0200 Subject: [AccessD] Workgroup security and windows logins Message-ID: U can use msacces.Exe "MyDB.MDB" /USER %USERNAME% to start access with the network user account. U must have windows NT/2K or XP for this. The network acccount must also be in the workgroup file. U can also use "%HOMEDRIVE%\MyFolder\Mydb.mdb" if you put a front end in the homefolder of the user. Again, only for NT/2K and XP The workgroup file you can specify also at command lie option or in a ini file located int he same folder as the app. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens MarkH Verzonden: maandag 6 oktober 2003 8:34 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Workgroup security and windows logins Thanks Drew Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: 03 October 2003 23:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins If you are using a shortcut, you can include a password too. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 03, 2003 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins You can if you don't have passwords on those login names in the workgroup file and if they use use a shortcut to open the database that includes the path to the workgroup file and the username they're logging in as. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Workgroup security and windows logins Thanks, but not quite... I haven't used access security for a couple of years so 'scuse me if I'm missing something :@) If a database is secured then access will prompt the user to login (this happens before any code can be run, if the user cancels then the db doesn't open, no code is executed). Can it be set up to just go straight in if the windows login matches a name in the workgroup file? Many thanks Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: 03 October 2003 19:09 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Workgroup security and windows logins Is this what you're looking for? It returns the users login name. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetUserName() As String 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetUserName = Left$(strUserName, lngLen - 1) Else GetUserName = "" End If End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Friday, October 03, 2003 2:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Workgroup security and windows logins Hello All This may be a dum question, but here goes anyway... Is it possible to integrate the workgroup security that comes with Access with the Windows login details? I'd like to be able to secure the front and backend objects and grant relevant permissions to relevant groups etc. but I'd like the user to get straight into the application if they are logged into a windows account that's in the workgroup. i.e. no password prompt. I know how to pick up the userID from windows etc. I just want to prevent the password prompt. If the windows login isn't in the workgroup list then they cant get. Sorry if this is a bit simple... Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 Oct 6 06:46:10 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Oct 2003 21:46:10 +1000 Subject: [AccessD] A2K: Hail all Data Grid Gurus Message-ID: <009d01c38bff$71e7bdc0$9f449a89@DDICK> Hello all I have a need to insert the Microsoft DataGrid Control onto a form. the one that has a class of "MSDataGridLib.DataGrid.1" once you 'drop' it onto a form The help wasn't and the MSDN developer Library is telling me I have to create a UDL connection to the database (It assumes VB only) Buggered if I know So...I need help with the usual stuff like populating it etc. Any takers? Any Gurus? Any resources? Many thanks Darren From prodevmg at yahoo.com Mon Oct 6 08:03:42 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 6 Oct 2003 06:03:42 -0700 (PDT) Subject: [AccessD] A2K: Hail all Data Grid Gurus In-Reply-To: <009d01c38bff$71e7bdc0$9f449a89@DDICK> Message-ID: <20031006130342.71497.qmail@web20420.mail.yahoo.com> Just curious.... Why can't you use a subform control? Darren DICK wrote: Hello all I have a need to insert the Microsoft DataGrid Control onto a form. the one that has a class of "MSDataGridLib.DataGrid.1" once you 'drop' it onto a form The help wasn't and the MSDN developer Library is telling me I have to create a UDL connection to the database (It assumes VB only) Buggered if I know So...I need help with the usual stuff like populating it etc. Any takers? Any Gurus? Any resources? Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: From Goran.Pajnic at skanska.se Mon Oct 6 08:52:54 2003 From: Goran.Pajnic at skanska.se (Pajnic, Goran) Date: Mon, 6 Oct 2003 15:52:54 +0200 Subject: SV: [AccessD] Syntax problem in Access 2000 Message-ID: <7E990A94B715D5119B0400B0D068C13B02DB303E@swe12.data.skanska.se> Hej p? Dig Liz! Excuse me for delay. I was out of office in two weeks. I have changed our code according to your suggestion and moved the code to a public module. It worked very well. The problem was that this application is an very old and advanced application created of an developer who doesn't work for us any more and I didn't feel like to change much in his code but now it works. Thank you very much for your help. H?lsningar Goran >-----Ursprungligt meddelande----- >Fr?n: Liz Doering [mailto:liz at symphonyinfo.com] >Skickat: den 30 september 2003 16:28 >Till: goran.pajnic at skanska.se >?mne: RE: [AccessD] Syntax problem in Access 2000 > > >Did you get it figured out? > >Liz > >-----Original Message----- >From: Liz Doering [mailto:liz at symphonyinfo.com] >Sent: Wednesday, September 24, 2003 10:30 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Syntax problem in Access 2000 > > >Hej p? dig, Goran! > >One form can't see the code associated with another form. > >If you move the code you want to run to a public module, you >will be able to >call it from anywhere in your application. > >So instead of > >Private Sub cmdUpdate_Click() >'do some stuff here >End Sub > >You'll have in a module > >Public Sub UpdateRoutine() >'do your same stuff here >End Sub > >and, on form X > >Private Sub cmdUpdate_Click() >Call UpdateRoutine >End Sub > >and, on form Y > >Private Sub Form_Close() >Call UpdateRoutine >End Sub > >Hope this helps, > >Liz Doering >Symphony Information Services >liz at symphonyinfo.com >www.symphonyinfo.com > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pajnic, Goran >Sent: Wednesday, September 24, 2003 8:02 AM >To: 'accessd at databaseadvisors.com' >Subject: [AccessD] Syntax problem in Access 2000 > > > >Hi group! > >Greetings from Sweden! > >Syntax problem in Access 2000: > >I have a forms called x and y. >The form X is open and the form Y is open too. On the form X I >have a button >called "cmdUpdate" and some code in On click property for this button - >cmdUpdate_Click(), in other words. When I close Y (On Close) I will run >cmdUpdate_Click(). > > I can't get this work...some suggestions? > >Thanks > >Goran Pajnic >Skanska IT Solutions AB >205 33 MALM? >Sweden >e-mail: goran.pajnic at skanska.se > http://www.itsolutions.skanska.com "This message has been written in 100% recycled electrons" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Oct 6 09:44:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 10:44:18 -0400 Subject: [AccessD] Date data entry Message-ID: I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? John W. Colby www.colbyconsulting.com From Bryan_Carbonnell at cbc.ca Mon Oct 6 09:51:35 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon, 06 Oct 2003 10:51:35 -0400 Subject: [AccessD] Form and Control Size in Pixels Message-ID: In A2K, is there anyway to change the properties sheet to display forma nd size information in pixels and not inches? Bryan Carbonnell bryan_carbonnell at cbc.ca From Mark.Mitsules at ngc.com Mon Oct 6 09:54:40 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 6 Oct 2003 10:54:40 -0400 Subject: [AccessD] Date data entry Message-ID: Would they accept the default set to =date()? Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 10:44 AM To: AccessD Subject: [AccessD] Date data entry I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 6 10:11:08 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 6 Oct 2003 08:11:08 -0700 Subject: [AccessD] Date data entry References: Message-ID: <009c01c38c1c$11d76e90$6601a8c0@HAL9002> Can you use the OnChange event of the date text box to see if they've entered a valid date and month yet and then help them fill in the year? Or in the GotFocus event if the current date is blank fill it in with four blanks and an '03' then set SelStart to zero? Rocky ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Monday, October 06, 2003 7:44 AM Subject: [AccessD] Date data entry > I have a specific client that LOVES the input masks for dates. I don't > understand this as I personally hate them, but... > > What they want is to have something like that but which "assumes current > year", i.e. all they have to enter is the ddmm and the rest (the year) is > filled in. > > Does anyone do this? Know how to do this? > > 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 Mon Oct 6 10:30:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 11:30:33 -0400 Subject: [AccessD] Date data entry In-Reply-To: Message-ID: >Would they accept the default set to =date()? Where logical I do that, however in these cases they are entering dates out in the future or in the past. 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: Monday, October 06, 2003 10:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date data entry Would they accept the default set to =date()? Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 10:44 AM To: AccessD Subject: [AccessD] Date data entry I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? 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 Mon Oct 6 10:32:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Oct 2003 08:32:12 -0700 Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Message-ID: The one I was really thinking of kept emailing me for awhile, trying to get me to admit Access could be automated to do what he wanted. I finally just blocked his emails. I have no idea whether he tried anything else. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, October 03, 2003 11:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison Charlotte - Did any of those people get back to you later? What were their comments? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 03, 2003 9:50 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison Ah, but only developers know the difference! Actually, I've had emails from people I steered to Alpha5 because they wanted something that anyone could build in 5 minutes and insisted Access should be able to do it if the programmers weren't trying to keep the novices out by making it complicated. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, October 03, 2003 7:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Friday Humour, Alpha-Access comparison This was not humorous - these are flat-out lies! I hope that few people actually take this seriously. Or I hope that Alpha-5 is doing this as a desperate grab to stay in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 03, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday Humour, Alpha-Access comparison Hi all Stumbled over all the missing features of Access? Well, you are not alone. Browse this unbiased comparison: http://newsletter.alphasoftware.com/0031004.htm /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 MarkBoyd at McBeeAssociates.com Mon Oct 6 10:32:15 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Oct 2003 11:32:15 -0400 Subject: [AccessD] Keep focus on record until valid entry Message-ID: This seems like a simple task. I have a continuous form with the following fields: [AcctNum],[Charges],[Payments],[Balance]. I do not want the user to be able to move off of the record if [Balance] <> [Charges]-[Payments]. I put the following code in the AfterUpdate event of the [Balance] field: If Me.Balance <> (Nz(Me.Charges) - Nz(Me.Payments)) Then MsgBox "Current Balance does not equal Total Charges minus Payments.", vbCritical, "Error" Me.Balance.SetFocus End If I receive the message box, but the focus automatically moves to the next record. How can I keep the focus on the current record? I tried moving the code to the BeforeUpdate event, but the same results. TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Mon Oct 6 10:43:19 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 6 Oct 2003 10:43:19 -0500 Subject: [AccessD] Date data entry Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305FAA@cpixchng-1.cpiqpc.net> When I've had this sort of request in the past, I use separate text boxes for the parts of the date (ie one for mm, one for dd, and one for year). Default the year box to the current year, then after the month and day have been filled in, concatenate and convert the field values into a date format and store that value in the actual date field. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 9:44 AM To: AccessD Subject: [AccessD] Date data entry I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? 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 Oct 6 10:54:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 6 Oct 2003 17:54:32 +0200 Subject: [AccessD] Keep focus on record until valid entry In-Reply-To: References: Message-ID: <733434566.20031006175432@cactus.dk> Hi Mark You should be able to set Cancel = True in the Before Update event. If not for the control, you can do for the form. /gustav > This seems like a simple task. > I have a continuous form with the following fields: > [AcctNum],[Charges],[Payments],[Balance]. > I do not want the user to be able to move off of the record if [Balance] > <> [Charges]-[Payments]. > I put the following code in the AfterUpdate event of the [Balance] > field: > If Me.Balance <> (Nz(Me.Charges) - Nz(Me.Payments)) Then > MsgBox "Current Balance does not equal Total Charges minus > Payments.", vbCritical, "Error" > Me.Balance.SetFocus > End If > I receive the message box, but the focus automatically moves to the next > record. > How can I keep the focus on the current record? I tried moving the code > to the BeforeUpdate event, but the same results. From Mark.Mitsules at ngc.com Mon Oct 6 10:57:57 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 6 Oct 2003 11:57:57 -0400 Subject: [AccessD] Date data entry Message-ID: I realize that this approach is not ideal, however the ease of this solution may outweigh the elegance given that it does achieve the end goal...filling in the current year. I liken it to a combo-box that is defaulted to the first entry...in most every case you are going to type right over it anyway, but that doesn't stop people from using it. Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Date data entry >Would they accept the default set to =date()? Where logical I do that, however in these cases they are entering dates out in the future or in the past. 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: Monday, October 06, 2003 10:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date data entry Would they accept the default set to =date()? Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 10:44 AM To: AccessD Subject: [AccessD] Date data entry I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? 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 MarkBoyd at McBeeAssociates.com Mon Oct 6 11:00:13 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Oct 2003 12:00:13 -0400 Subject: [AccessD] Keep focus on record until valid entry Message-ID: Perfect! Thanks Gustav. Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, October 06, 2003 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keep focus on record until valid entry Hi Mark You should be able to set Cancel = True in the Before Update event. If not for the control, you can do for the form. /gustav > This seems like a simple task. > I have a continuous form with the following fields: > [AcctNum],[Charges],[Payments],[Balance]. > I do not want the user to be able to move off of the record if [Balance] > <> [Charges]-[Payments]. > I put the following code in the AfterUpdate event of the [Balance] > field: > If Me.Balance <> (Nz(Me.Charges) - Nz(Me.Payments)) Then > MsgBox "Current Balance does not equal Total Charges minus > Payments.", vbCritical, "Error" > Me.Balance.SetFocus > End If > I receive the message box, but the focus automatically moves to the next > record. > How can I keep the focus on the current record? I tried moving the code > to the BeforeUpdate event, but the same results. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 6 11:20:54 2003 From: dmcafee at pacbell.net (David McAfee (Home)) Date: Mon, 6 Oct 2003 09:20:54 -0700 Subject: [AccessD] A2K: Hail all Data Grid Gurus In-Reply-To: <009d01c38bff$71e7bdc0$9f449a89@DDICK> Message-ID: Check out http://www.devexpress.com/downloads/activex/xgrid.asp?prodid=22 Its a 3rd party product (and not cheap)but they do offer a newsgroup which answers questions (even on the demo) What is it that you specifically need from the data grid control that the list box and or sub form cant do? One of my reasons was the ability to display pictures, and to merge grouped cells (kind of like a treeview) HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Monday, October 06, 2003 4:46 AM To: AccessD List Subject: [AccessD] A2K: Hail all Data Grid Gurus Hello all I have a need to insert the Microsoft DataGrid Control onto a form. the one that has a class of "MSDataGridLib.DataGrid.1" once you 'drop' it onto a form The help wasn't and the MSDN developer Library is telling me I have to create a UDL connection to the database (It assumes VB only) Buggered if I know So...I need help with the usual stuff like populating it etc. Any takers? Any Gurus? Any resources? 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 Mon Oct 6 11:50:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Oct 2003 09:50:32 -0700 Subject: [AccessD] A2K: Hail all Data Grid Gurus References: <009d01c38bff$71e7bdc0$9f449a89@DDICK> Message-ID: <3F819D58.4090809@shaw.ca> I have only used the hirearchical flexgrid control. but you should be able to fill it via following code To create a udl file if you need it, open a blank file in notepad save it as myudl.udl then double click in explorer. Private Sub Form_Open(Cancel As Integer) Dim cnNWind As New ADODB.Connection Dim rsOrders As New ADODB.Recordset Dim strConn As String 'set reference to ADO and/or change to OLEDB.4.00 strConn = "Provider=Microsoft.Jet.OLEDB.3.51;" & _ "Data Source=C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb;" 'If using an Access 2000 mdb use "Microsoft.Jet.OLEDB.4.0" cnNWind.CursorLocation = adUseClient cnNWind.Open strConn rsOrders.Open "SELECT OrderID, EmployeeID, OrderDate FROM Orders", _ cnNWind, adOpenStatic, adLockOptimistic, adCmdText 'assumes name of control DataGrid1 set recordset to control Set DataGrid1.DataSource = rsOrders End Sub Darren DICK wrote: >Hello all >I have a need to insert the Microsoft DataGrid Control onto a form. >the one that has a class of "MSDataGridLib.DataGrid.1" once you >'drop' it onto a form >The help wasn't and the MSDN developer Library is telling me I have to create >a UDL connection to the database (It assumes VB only) Buggered if I know > >So...I need help with the usual stuff like populating it etc. > >Any takers? Any Gurus? Any resources? > >Many thanks >Darren > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Mon Oct 6 12:09:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 13:09:35 -0400 Subject: [AccessD] Conditional format info Message-ID: Does anyone know where the conditional format info is stored? Is it a form property? Is there a collection somewhere? Can it be set by code? With Access2K conditional formatting becomes helpful and I would like to know a little more about how it can be utilized. John W. Colby www.colbyconsulting.com From mwp.reid at qub.ac.uk Mon Oct 6 12:20:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 6 Oct 2003 10:20:06 -0700 Subject: [AccessD] Conditional format info References: Message-ID: <002301c38c2e$17531150$42f66e51@martin1> John http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/html/odc_conformat.asp Better example http://www.lebans.com/conditionalformatting.htm Martin ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Monday, October 06, 2003 10:09 AM Subject: [AccessD] Conditional format info > Does anyone know where the conditional format info is stored? Is it a form > property? Is there a collection somewhere? Can it be set by code? With > Access2K conditional formatting becomes helpful and I would like to know a > little more about how it can be utilized. > > 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 Kenneth.Stoker at pnl.gov Mon Oct 6 12:53:40 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Mon, 06 Oct 2003 10:53:40 -0700 Subject: [AccessD] New Family Addition Message-ID: <249C1CB246997C48BB74963CCD361C1B07C8ED@pnlmse28.pnl.gov> I just wanted to thank everyone for the warm comments. I showed them to my wife and she was pleased/impressed with the tight community feeling of the group. I have mentioned this list to her on many occasions but I think it really sank in for her this time. Again, from my whole family, thank you for your best wishes. Ken Stoker Technology Commercialization Information Systems Administrator PH: (509) 375-3758 FAX: (509) 375-6731 E-mail: Kenneth.Stoker at pnl.gov -----Original Message----- From: Stoker, Kenneth E Sent: Tuesday, September 30, 2003 9:11 AM To: AccessD at databaseadvisors.com Subject: [AccessD] New Family Addition Hello Everyone, Today, I get to bring home my wife, Anna, and our new baby daughter, Saoirse Ann (pronounced Seer-sha), from the hospital. We delivered on Sunday evening at 7:12 pm. Saoirse is 21 in. long and 8 lbs. 8 oz. Lots of black hair. My wife is doing great, probably the easiest labor we have had, she only ended up pushing for 10 min, unlike the hours we have had with previous children. My three children, two daughters and one son, are excited. I guess the hardest part we are going to have right now is reminding them every minute for a while that Saoirse is not a doll. Thank you for allowing me to share. My work has been great letting me take the week off and be able to continue to smile from ear to ear for a while. Ken Stoker -------------- next part -------------- An HTML attachment was scrubbed... URL: From rl_stewart at highstream.net Mon Oct 6 12:54:24 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 06 Oct 2003 12:54:24 -0500 Subject: [AccessD] Re: Date data entry In-Reply-To: <200310061700.h96H0ae18563@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031006125149.02547080@pop3.highstream.net> John, Separate the data entry into 3 text boxes enter the day, month then year with the year defaulted to DATEPART("yyyy",date()). That is the simplest. Another way is to check the length of the string for the date on keyup and fill in the year after 4 keystrokes. Robert At 12:00 PM 10/6/2003 -0500, you wrote: >From: "John Colby" >To: "AccessD" >Sent: Monday, October 06, 2003 7:44 AM >Subject: [AccessD] Date data entry > > > > I have a specific client that LOVES the input masks for dates. I don't > > understand this as I personally hate them, but... > > > > What they want is to have something like that but which "assumes current > > year", i.e. all they have to enter is the ddmm and the rest (the year) is > > filled in. > > > > Does anyone do this? Know how to do this? > > > > John W. Colby From jcolby at colbyconsulting.com Mon Oct 6 13:12:21 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 14:12:21 -0400 Subject: [AccessD] Conditional format info In-Reply-To: <002301c38c2e$17531150$42f66e51@martin1> Message-ID: Martin, Thanks for that, exactly what I was looking for. It was annoying that I could only do 3 conditions. Now I can do more! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Monday, October 06, 2003 1:20 PM To: Access Developers discussion and problem solving Subject: [AccessD] Conditional format info John http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/ht ml/odc_conformat.asp Better example http://www.lebans.com/conditionalformatting.htm Martin ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Monday, October 06, 2003 10:09 AM Subject: [AccessD] Conditional format info > Does anyone know where the conditional format info is stored? Is it a form > property? Is there a collection somewhere? Can it be set by code? With > Access2K conditional formatting becomes helpful and I would like to know a > little more about how it can be utilized. > > 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 Mon Oct 6 13:25:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 14:25:06 -0400 Subject: [AccessD] Conditional format info In-Reply-To: Message-ID: >Now I can do more! Kinda! 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: Monday, October 06, 2003 2:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Conditional format info Martin, Thanks for that, exactly what I was looking for. It was annoying that I could only do 3 conditions. Now I can do more! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Monday, October 06, 2003 1:20 PM To: Access Developers discussion and problem solving Subject: [AccessD] Conditional format info John http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/ht ml/odc_conformat.asp Better example http://www.lebans.com/conditionalformatting.htm Martin ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Monday, October 06, 2003 10:09 AM Subject: [AccessD] Conditional format info > Does anyone know where the conditional format info is stored? Is it a form > property? Is there a collection somewhere? Can it be set by code? With > Access2K conditional formatting becomes helpful and I would like to know a > little more about how it can be utilized. > > 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 jcolby at colbyconsulting.com Mon Oct 6 14:47:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 6 Oct 2003 15:47:02 -0400 Subject: [AccessD] images in Access Message-ID: I have a client that stored well over a hundred images in their db (employee pictures). The db is bloated and slow, and I want to pull these images out and store them on disk. Does anyone have any code for reading the image out of a table, and saving the image to disk so that I can then replace the image with a link to the image? Maybe even generate the path to the image and save that path back in another field? John W. Colby www.colbyconsulting.com From lists at theopg.com Mon Oct 6 16:04:05 2003 From: lists at theopg.com (MarkH) Date: Mon, 6 Oct 2003 22:04:05 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" In-Reply-To: <104AB6116A2DD511A7580008C7097A9821995E@AARDBEI> Message-ID: <000701c38c4d$61e1bc20$9f0b6bd5@netboxxp> Hello... I got a bad feeling on this one... I have an MDB in XP that wont open. I get the message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time.". It doesn't go any further. I get the same error if I compact and repair or try and import the objects... :O( Any ideas much appreciated mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From cfoust at infostatsystems.com Mon Oct 6 16:21:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Oct 2003 14:21:15 -0700 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" Message-ID: What file format is the file in, 2000 or 2002? I've heard of this problem using XP with the 2000 format. You may be able to convert it to 2002 format and then open it. If you can't, you aren't any worse off. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Monday, October 06, 2003 1:04 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" Hello... I got a bad feeling on this one... I have an MDB in XP that wont open. I get the message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time.". It doesn't go any further. I get the same error if I compact and repair or try and import the objects... :O( Any ideas much appreciated mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Mon Oct 6 17:13:31 2003 From: lists at theopg.com (MarkH) Date: Mon, 6 Oct 2003 23:13:31 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You andanother user are"" In-Reply-To: Message-ID: <000b01c38c57$13d67110$9f0b6bd5@netboxxp> 2000, tried that and it didn't work, thanks anyway mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 October 2003 22:21 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You andanother user are"" What file format is the file in, 2000 or 2002? I've heard of this problem using XP with the 2000 format. You may be able to convert it to 2002 format and then open it. If you can't, you aren't any worse off. Charlotte Foust -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Monday, October 06, 2003 1:04 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" Hello... I got a bad feeling on this one... I have an MDB in XP that wont open. I get the message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time.". It doesn't go any further. I get the same error if I compact and repair or try and import the objects... :O( Any ideas much appreciated mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From carbonnb at sympatico.ca Mon Oct 6 17:43:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 06 Oct 2003 18:43:43 -0400 Subject: [AccessD] images in Access In-Reply-To: Message-ID: <3F81B7DF.20734.8D6000@localhost> On 6 Oct 2003 at 15:47, John Colby wrote: > I have a client that stored well over a hundred images in their db > (employee pictures). The db is bloated and slow, and I want to pull > these images out and store them on disk. > > Does anyone have any code for reading the image out of a table, and > saving the image to disk so that I can then replace the image with a > link to the image? Maybe even generate the path to the image and save > that path back in another field? John, Check out Stephen Lebanns site. http://www.lebans.com/oletodisk.htm Specifically A2KExportOLEtoJPEG.zip I haven't used it, but it was all I could find. I used to have a site that posted all the code in all it's gory details. The site I was thinking of show how to use GetChunk to get chunks of the OLE object. -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That the easiest way for me to grow as a person is to surround myself with people smarter than I am. From dfe at nudgeeinternational.com Mon Oct 6 18:08:23 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Tue, 7 Oct 2003 09:08:23 +1000 Subject: [AccessD] RE: SysVars - was: Just in Time (off shoot of Can't Message-ID: Wow John, Thanks heaps for your mammoth epistle. I was not bored at all. Quite fascinating reading! I will investigate further... Cheers David Fenton ???? Brisbane Australia Message: 2 Date: Sun, 5 Oct 2003 22:16:35 -0400 From: "John Colby" Subject: [AccessD] SysVars - was: Just in Time (off shoot of Can't open any more databases) -Thank you To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" David, Yes, the short load time as the tab is clicked on is simply the result of not suffering that load time when the form first opens. Either way the user has to wait, up front or if they use a tab. As for the Sysvars... As the list old-timers know, I use a framework to speed my development time. I have a class for each control that Access offers, which means I have a class for the tab control, the subform control, the combo, list text box etc. And of course all of these control / form classes sink the events that the control generates so that the class handles all generic event processing - Withevents. In addition I have other classes such as a SysVar class, which BTW you can find the basis of in the articles I wrote for Database Advisors. Works great, and makes application customization a snap. John W. Colby www.colbyconsulting.com From dfe at nudgeeinternational.com Mon Oct 6 18:30:06 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Tue, 7 Oct 2003 09:30:06 +1000 Subject: [AccessD] When is a report actually printed (vs previewed only) Message-ID: Hello again, I have searched archives and looked through recent newsgroups for Access Reports and found only a few tips on determining if a report is printed rather than just previewed. None of them seem to hit the mark I'm after. I found this: http://ourworld.compuserve.com/homepages/attac-cg/ARptTip.htm#PREVIEW but it doesn't quite suit. Does anyone have any u-beaut ideas on how I can tell whether a report has been previewed or printed? I do not want to prevent my users from printing. In the OnClose event of the report I set a 'printed' flag. But one of my users correctly pointed out that previewing it is not the same as printing it. She can look at the report but change her mind and NOT print it. In that case she doesn't want the 'printed' flag to be set. I guess she's after a Cancel button on the print preview. I am not aware of any cancel methods on the print preview page. I know there is an OnPrint event, but it seems to apply to sections of the report, not the entire report itself. I could have two buttons on the form - one preview and one print, then putting the flag setting into OnClick on the print button instead of the report itself, but it doesn't feel robust... Any ideas folks? Cheers David ???? Brisbane Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Oct 6 18:42:36 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 6 Oct 2003 16:42:36 -0700 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" References: <000701c38c4d$61e1bc20$9f0b6bd5@netboxxp> Message-ID: <017d01c38c63$85a1a4c0$6601a8c0@HAL9002> Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the process > because you and another user are attempting to change the same data at > the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Oct 6 19:34:29 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Oct 2003 17:34:29 -0700 Subject: [AccessD] images in Access References: <3F81B7DF.20734.8D6000@localhost> Message-ID: <3F820A15.2050301@shaw.ca> There is also this one http://www.lebans.com/loadsavejpeg.htm But I don't think Intel's latest version of this dll lib is free Version 3.0 of Intel Integrated Performance Primitives http://developer.intel.com/software/products/ipp/ipp30/index.htm However the old one here works fine on Win XP. Bryan Carbonnell wrote: >On 6 Oct 2003 at 15:47, John Colby wrote: > > > >>I have a client that stored well over a hundred images in their db >>(employee pictures). The db is bloated and slow, and I want to pull >>these images out and store them on disk. >> >>Does anyone have any code for reading the image out of a table, and >>saving the image to disk so that I can then replace the image with a >>link to the image? Maybe even generate the path to the image and save >>that path back in another field? >> >> > >John, > >Check out Stephen Lebanns site. http://www.lebans.com/oletodisk.htm > >Specifically A2KExportOLEtoJPEG.zip > >I haven't used it, but it was all I could find. > >I used to have a site that posted all the code in all it's gory >details. The site I was thinking of show how to use GetChunk to get >chunks of the OLE object. > >-- >Bryan Carbonnell - carbonnb at sympatico.ca >I've learned.... >That the easiest way for me to grow as a person is to surround myself >with people smarter than I am. > > > > From lists at theopg.com Mon Oct 6 19:48:29 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 01:48:29 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" In-Reply-To: <017d01c38c63$85a1a4c0$6601a8c0@HAL9002> Message-ID: <000001c38c6c$c5d60500$9f0b6bd5@netboxxp> Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From stuart at lexacorp.com.pg Mon Oct 6 19:50:31 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Oct 2003 10:50:31 +1000 Subject: [AccessD] When is a report actually printed (vs previewed only) In-Reply-To: Message-ID: <3F829A77.17324.14E45D@localhost> On 7 Oct 2003 at 9:30, David Fenton wrote: > Hello again, I have searched archives and looked through recent > newsgroups for Access Reports and found only a few tips on determining > if a report is printed rather than just previewed. None of them seem > to hit the mark I'm after. > > Does anyone have any u-beaut ideas on how I can tell whether a report > has been previewed or printed? I do not want to prevent my users from > printing. In the OnClose event of the report I set a 'printed' flag. > But one of my users correctly pointed out that previewing it is not > the same as printing it. She can look at the report but change her > mind and NOT print it. In that case she doesn't want the 'printed' > flag to be set. I guess she's after a Cancel button on the print > preview. I am not aware of any cancel methods on the print preview > page. I know there is an OnPrint event, but it seems to apply to > sections of the report, not the entire report itself. > The on_print event fires when the report is displayed on screen as well. As far as Access is concerned printing to the screen or saving the report to a file is the same as printing to a printer. > I could have two buttons on the form - one preview and one print, then > putting the flag setting into OnClick on the print button instead of > the report itself, but it doesn't feel robust... Any ideas folks? Cheers > David ???? Brisbane Australia > The trouble with that option is that the user can still print from the preview in which case the flag won't be set. The other problem with any method of setting a flag programmatically is , what happens when the printer is not available/ has a paper jam/ runs out of paper etc. Although some printer drivers with two way communication can tell you some of these things, in many cases there is *no* way within Access to be sure that the report was in fact printed. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From SDSSoftware at optusnet.com.au Mon Oct 6 20:03:15 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Tue, 7 Oct 2003 11:03:15 +1000 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" References: <000001c38c6c$c5d60500$9f0b6bd5@netboxxp> Message-ID: <000f01c38c6e$cc6ad330$6501a8c0@user> Mark - have you tried JetComp on it yet? http://office.microsoft.com/assistance/2002/articles/acRepairDamagedDbWithJetcomp.aspx Kath ----- Original Message ----- From: MarkH To: 'Access Developers discussion and problem solving' Sent: Tuesday, October 07, 2003 10:48 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adtp at touchtelindia.net Mon Oct 6 13:44:26 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 7 Oct 2003 00:14:26 +0530 Subject: [AccessD] Date data entry References: Message-ID: <002001c38c3a$120f4bd0$9cedf73d@winxp> John, The following course of action is suggested - (a) Input Mask property of the text box may be set as - 99-99-9999; ; _ (b) The code given below may be used in the Enter and BeforeUpdate events of the text box (named TxtDt). The latter is needed in order to ensure compliance with mm-dd-yyyy. (Had we been able to adopt 00-00-0000; ; _ as the input mask straightaway, this validation would not have been called for). Regards, A.D.Tejpal -------------- ------------- Code Start ------------- Private Sub TxtDt_Enter() If Len(TxtDt) > 0 Then Else TxtDt = " - -" & Year(Date) TxtDt.SelStart = 0 TxtDt.SelLength = 0 End If End Sub Private Sub TxtDt_BeforeUpdate(Cancel As Integer) Dim TXT As String ' Replace space in TXT variable with zero length string TXT = Replace(TxtDt.Text, " ", "") If Len(TXT) > 0 And Len(TXT) < 10 Then MsgBox "Date And Month Parts " & _ "Should be Two Digits Each" & _ vbCrLf & "Year Part Should Be Four Digits" Cancel = 1 End If End Sub ------------- Code End ------------- ----- Original Message ----- From: John Colby To: Access Developers discussion and problem solving Sent: Monday, October 06, 2003 21:00 Subject: RE: [AccessD] Date data entry >Would they accept the default set to =date()? Where logical I do that, however in these cases they are entering dates out in the future or in the past. 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: Monday, October 06, 2003 10:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date data entry Would they accept the default set to =date()? Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, October 06, 2003 10:44 AM To: AccessD Subject: [AccessD] Date data entry I have a specific client that LOVES the input masks for dates. I don't understand this as I personally hate them, but... What they want is to have something like that but which "assumes current year", i.e. all they have to enter is the ddmm and the rest (the year) is filled in. Does anyone do this? Know how to do this? John W. Colby www.colbyconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theopg.com Mon Oct 6 19:48:29 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 01:48:29 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" In-Reply-To: <017d01c38c63$85a1a4c0$6601a8c0@HAL9002> Message-ID: <000001c38c6c$c5d60500$9f0b6bd5@netboxxp> Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From martyconnelly at shaw.ca Mon Oct 6 22:56:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Oct 2003 20:56:05 -0700 Subject: [AccessD] When is a report actually printed (vs previewed only) References: <3F829A77.17324.14E45D@localhost> Message-ID: <3F823955.4090406@shaw.ca> Here is some vb 6 code to monitor the print queue with some caveats Microsoft print reports like word documents, may not give you correct no of pages. It only monitors the print drivers unless the print driver for that specific printer continuously polls the machine. You wont get info about paper jams or low toner. Very few low end and medium printers do. http://www.merrioncomputing.com/Programming/index.htm there is a mail list at http://groups.yahoo.com/group/MerrionComputing/ Stuart McLachlan wrote: >On 7 Oct 2003 at 9:30, David Fenton wrote: > > > >>Hello again, I have searched archives and looked through recent >>newsgroups for Access Reports and found only a few tips on determining >>if a report is printed rather than just previewed. None of them seem >>to hit the mark I'm after. >> >>Does anyone have any u-beaut ideas on how I can tell whether a report >>has been previewed or printed? I do not want to prevent my users from >>printing. In the OnClose event of the report I set a 'printed' flag. >>But one of my users correctly pointed out that previewing it is not >>the same as printing it. She can look at the report but change her >>mind and NOT print it. In that case she doesn't want the 'printed' >>flag to be set. I guess she's after a Cancel button on the print >>preview. I am not aware of any cancel methods on the print preview >>page. I know there is an OnPrint event, but it seems to apply to >>sections of the report, not the entire report itself. >> >> >> >The on_print event fires when the report is displayed on screen as well. >As far as Access is concerned printing to the screen or saving the report >to a file is the same as printing to a printer. > > > >>I could have two buttons on the form - one preview and one print, then >>putting the flag setting into OnClick on the print button instead of >>the report itself, but it doesn't feel robust... Any ideas folks? Cheers >>David ???? Brisbane Australia >> >> >> >The trouble with that option is that the user can still print from the >preview in which case the flag won't be set. > >The other problem with any method of setting a flag programmatically is , >what happens when the printer is not available/ has a paper jam/ runs out >of paper etc. Although some printer drivers with two way communication >can tell you some of these things, in many cases there is *no* way within >Access to be sure that the report was in fact printed. > > > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Oct 6 23:17:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 6 Oct 2003 21:17:00 -0700 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" References: <000001c38c6c$c5d60500$9f0b6bd5@netboxxp> Message-ID: <00bc01c38c89$daf0acc0$6701a8c0@HAL9002> Decompile? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 5:48 PM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" > Thanks... But I can't even import one object. Whatever I do I get the > same error. I have a backup at work, but I don?t want to lose those > particular 3 hours work... I hate doing the same thing twice :O( > > Cheers > > Mark > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: 07 October 2003 00:43 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process > because...You and another user are"" > > > Mark: > > I'd try importing the objects a few at a time to try to find the one > that's causing the problem. Any backups? Previous versions from which > you could import the object that's corrupted in the current version? > > Rocky > > ----- Original Message ----- > From: "MarkH" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 06, 2003 2:04 PM > Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... > You and another user are"" > > > > Hello... > > > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > > > I get the message "The Microsoft Jet Database engine stopped the > > process because you and another user are attempting to change the same > > > data at the same time.". It doesn't go any further. > > > > I get the same error if I compact and repair or try and import the > > objects... :O( > > > > Any ideas much appreciated > > > > mark > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > 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 Oct 6 23:18:11 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 6 Oct 2003 21:18:11 -0700 Subject: [AccessD] When is a report actually printed (vs previewed only) References: <3F829A77.17324.14E45D@localhost> Message-ID: <00c201c38c8a$056b00e0$6701a8c0@HAL9002> Plus, ironically, you can't preview a report if there's no printer installed. I hate when that happens. Go figure. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, October 06, 2003 5:50 PM Subject: Re: [AccessD] When is a report actually printed (vs previewed only) > On 7 Oct 2003 at 9:30, David Fenton wrote: > > > Hello again, I have searched archives and looked through recent > > newsgroups for Access Reports and found only a few tips on determining > > if a report is printed rather than just previewed. None of them seem > > to hit the mark I'm after. > > > > Does anyone have any u-beaut ideas on how I can tell whether a report > > has been previewed or printed? I do not want to prevent my users from > > printing. In the OnClose event of the report I set a 'printed' flag. > > But one of my users correctly pointed out that previewing it is not > > the same as printing it. She can look at the report but change her > > mind and NOT print it. In that case she doesn't want the 'printed' > > flag to be set. I guess she's after a Cancel button on the print > > preview. I am not aware of any cancel methods on the print preview > > page. I know there is an OnPrint event, but it seems to apply to > > sections of the report, not the entire report itself. > > > The on_print event fires when the report is displayed on screen as well. > As far as Access is concerned printing to the screen or saving the report > to a file is the same as printing to a printer. > > > I could have two buttons on the form - one preview and one print, then > > putting the flag setting into OnClick on the print button instead of > > the report itself, but it doesn't feel robust... Any ideas folks? Cheers > > David ???? Brisbane Australia > > > The trouble with that option is that the user can still print from the > preview in which case the flag won't be set. > > The other problem with any method of setting a flag programmatically is , > what happens when the printer is not available/ has a paper jam/ runs out > of paper etc. Although some printer drivers with two way communication > can tell you some of these things, in many cases there is *no* way within > Access to be sure that the report was in fact printed. > > > > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Oct 6 23:50:19 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Oct 2003 21:50:19 -0700 Subject: [AccessD] When is a report actually printed (vs previewed only) References: <3F829A77.17324.14E45D@localhost> <00c201c38c8a$056b00e0$6701a8c0@HAL9002> Message-ID: <3F82460B.5090708@shaw.ca> I think you can with Access 2003, you get a virtual printer called Microsoft Document Image Writer or you could install a PDF printer driver. There are a couple of free ones. Rocky Smolin - Beach Access Software wrote: >Plus, ironically, you can't preview a report if there's no printer >installed. I hate when that happens. > >Go figure. > >Rocky > >----- Original Message ----- >From: "Stuart McLachlan" >To: "Access Developers discussion and problem solving" > >Sent: Monday, October 06, 2003 5:50 PM >Subject: Re: [AccessD] When is a report actually printed (vs previewed only) > > > > >>On 7 Oct 2003 at 9:30, David Fenton wrote: >> >> >> >>>Hello again, I have searched archives and looked through recent >>>newsgroups for Access Reports and found only a few tips on determining >>>if a report is printed rather than just previewed. None of them seem >>>to hit the mark I'm after. >>> >>>Does anyone have any u-beaut ideas on how I can tell whether a report >>>has been previewed or printed? I do not want to prevent my users from >>>printing. In the OnClose event of the report I set a 'printed' flag. >>>But one of my users correctly pointed out that previewing it is not >>>the same as printing it. She can look at the report but change her >>>mind and NOT print it. In that case she doesn't want the 'printed' >>>flag to be set. I guess she's after a Cancel button on the print >>>preview. I am not aware of any cancel methods on the print preview >>>page. I know there is an OnPrint event, but it seems to apply to >>>sections of the report, not the entire report itself. >>> >>> >>> >>The on_print event fires when the report is displayed on screen as well. >>As far as Access is concerned printing to the screen or saving the report >>to a file is the same as printing to a printer. >> >> >> >>>I could have two buttons on the form - one preview and one print, then >>>putting the flag setting into OnClick on the print button instead of >>>the report itself, but it doesn't feel robust... Any ideas folks? Cheers >>>David ???? Brisbane Australia >>> >>> >>> >>The trouble with that option is that the user can still print from the >>preview in which case the flag won't be set. >> >>The other problem with any method of setting a flag programmatically is , >>what happens when the printer is not available/ has a paper jam/ runs out >>of paper etc. Although some printer drivers with two way communication >>can tell you some of these things, in many cases there is *no* way within >>Access to be sure that the report was in fact printed. >> >> >> >> >> >>-- >>Stuart McLachlan >>Lexacorp Ltd >>Application Development, IT Consultancy >>http://www.lexacorp.com.pg >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From jcolby at colbyconsulting.com Tue Oct 7 02:26:44 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 7 Oct 2003 03:26:44 -0400 Subject: [AccessD] Office XP service packs Message-ID: OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to blindly applying service packs. I have a client that uses Office XP and I am installing it on my server so I have a place to do XP development. Is there anything (negative) I should know about Office XP service packs before I start applying them? John W. Colby www.colbyconsulting.com From d.dick at uws.edu.au Tue Oct 7 02:36:24 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Oct 2003 17:36:24 +1000 Subject: [AccessD] A2K: Hail all Data Grid Gurus References: <009d01c38bff$71e7bdc0$9f449a89@DDICK> <3F819D58.4090809@shaw.ca> Message-ID: <017801c38ca5$b999c220$9f449a89@DDICK> Hi Marty et al Just what I was looking for many thanks Darren ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 07, 2003 2:50 AM Subject: Re: [AccessD] A2K: Hail all Data Grid Gurus > I have only used the hirearchical flexgrid control. but you should be > able to fill it via following code > To create a udl file if you need it, open a blank file in notepad save > it as myudl.udl then double click in explorer. > > Private Sub Form_Open(Cancel As Integer) > Dim cnNWind As New ADODB.Connection > Dim rsOrders As New ADODB.Recordset > > Dim strConn As String > 'set reference to ADO and/or change to OLEDB.4.00 > strConn = "Provider=Microsoft.Jet.OLEDB.3.51;" & _ > "Data Source=C:\Program Files\Microsoft > Office\Office\Samples\Northwind.mdb;" > 'If using an Access 2000 mdb use "Microsoft.Jet.OLEDB.4.0" > > cnNWind.CursorLocation = adUseClient > cnNWind.Open strConn > > rsOrders.Open "SELECT OrderID, EmployeeID, OrderDate FROM Orders", _ > cnNWind, adOpenStatic, adLockOptimistic, adCmdText > 'assumes name of control DataGrid1 set recordset to control > > Set DataGrid1.DataSource = rsOrders > > End Sub > > Darren DICK wrote: > > >Hello all > >I have a need to insert the Microsoft DataGrid Control onto a form. > >the one that has a class of "MSDataGridLib.DataGrid.1" once you > >'drop' it onto a form > >The help wasn't and the MSDN developer Library is telling me I have to create > >a UDL connection to the database (It assumes VB only) Buggered if I know > > > >So...I need help with the usual stuff like populating it etc. > > > >Any takers? Any Gurus? Any resources? > > > >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 jcolby at colbyconsulting.com Tue Oct 7 02:49:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 7 Oct 2003 03:49:37 -0400 Subject: [AccessD] Converting Macros - Access XP Message-ID: I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? John W. Colby www.colbyconsulting.com From Erwin.Craps at ithelps.be Tue Oct 7 04:22:49 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 7 Oct 2003 11:22:49 +0200 Subject: [AccessD] A2K: Hail all Data Grid Gurus Message-ID: Thank you David Great controls, gonna get me some... Pretty expensive but very worth it... 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 -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens David McAfee (Home) Verzonden: maandag 6 oktober 2003 18:21 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] A2K: Hail all Data Grid Gurus Check out http://www.devexpress.com/downloads/activex/xgrid.asp?prodid=22 Its a 3rd party product (and not cheap)but they do offer a newsgroup which answers questions (even on the demo) What is it that you specifically need from the data grid control that the list box and or sub form cant do? One of my reasons was the ability to display pictures, and to merge grouped cells (kind of like a treeview) HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Monday, October 06, 2003 4:46 AM To: AccessD List Subject: [AccessD] A2K: Hail all Data Grid Gurus Hello all I have a need to insert the Microsoft DataGrid Control onto a form. the one that has a class of "MSDataGridLib.DataGrid.1" once you 'drop' it onto a form The help wasn't and the MSDN developer Library is telling me I have to create a UDL connection to the database (It assumes VB only) Buggered if I know So...I need help with the usual stuff like populating it etc. Any takers? Any Gurus? Any resources? 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 gustav at cactus.dk Tue Oct 7 04:26:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Oct 2003 11:26:43 +0200 Subject: [AccessD] images in Access In-Reply-To: References: Message-ID: <2510089958.20031007112643@cactus.dk> Hi John Although having another (broader) perspective, the PhotoTrue tool may be useful too: http://www.phototrue.net/ /gustav > I have a client that stored well over a hundred images in their db (employee > pictures). The db is bloated and slow, and I want to pull these images out > and store them on disk. > Does anyone have any code for reading the image out of a table, and saving > the image to disk so that I can then replace the image with a link to the > image? Maybe even generate the path to the image and save that path back in > another field? > John W. Colby > www.colbyconsulting.com From Alun.Garraway at otto.de Tue Oct 7 05:10:37 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Oct 2003 12:10:37 +0200 Subject: [AccessD] Which Event opened the form? Message-ID: hello all, how can a form know how it was opened, or rather which event was used to open the form? for ex. cmd1_click from form1 or txt1_doubleClick from form2 both these events open form_info. is it possible to capture the event and pass it to the form? TIA alun From wdhindman at bellsouth.net Tue Oct 7 05:14:35 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 7 Oct 2003 06:14:35 -0400 Subject: [AccessD] Office XP service packs References: Message-ID: <000401c38cbb$cf4eb240$6001a8c0@dejpolsys> ...I've had no problems with any office xp sps JC ...working with WinXP and W2k Server ...set a restore point before you apply just to be sure ...and its best to dl the sp to your local disk and then apply them rather than letting MS stream them ...otherwise, nothing I'm aware of ...HTH :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Tuesday, October 07, 2003 3:26 AM Subject: [AccessD] Office XP service packs > OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to > blindly applying service packs. I have a client that uses Office XP and I > am installing it on my server so I have a place to do XP development. Is > there anything (negative) I should know about Office XP service packs before > I start applying them? > > 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 Oct 7 05:28:34 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Oct 2003 20:28:34 +1000 Subject: [AccessD] Which Event opened the form? In-Reply-To: Message-ID: <3F8321F2.12949.2C42779@localhost> On 7 Oct 2003 at 12:10, Garraway, Alun wrote: > hello all, > > how can a form know how it was opened, > or rather which event was used to open the form? > > for ex. cmd1_click from form1 or txt1_doubleClick from form2 > both these events open form_info. > > is it possible to capture the event and pass it to the form? > Pass an OpenArgs argument in the Docmd.OpenForm and read it in the form's "On_Open" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Alun.Garraway at otto.de Tue Oct 7 05:43:41 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Oct 2003 12:43:41 +0200 Subject: AW: [AccessD] Which Event opened the form? Message-ID: BINGO :-) tvm alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stuart McLachlan Gesendet: Dienstag, 7. Oktober 2003 12:29 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Which Event opened the form? On 7 Oct 2003 at 12:10, Garraway, Alun wrote: > hello all, > > how can a form know how it was opened, > or rather which event was used to open the form? > > for ex. cmd1_click from form1 or txt1_doubleClick from form2 > both these events open form_info. > > is it possible to capture the event and pass it to the form? > Pass an OpenArgs argument in the Docmd.OpenForm and read it in the form's "On_Open" -- 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 wdhindman at bellsouth.net Tue Oct 7 06:05:35 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 7 Oct 2003 07:05:35 -0400 Subject: [AccessD] Office XP service packs References: Message-ID: <009401c38cc2$eec185b0$6001a8c0@dejpolsys> ...one other thing ... www.woodyswatch.com ...I usually wait until he's approved any office patch before I apply it ...he's caught a couple of real bummers that MS subsequently fixed. :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Tuesday, October 07, 2003 3:26 AM Subject: [AccessD] Office XP service packs > OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to > blindly applying service packs. I have a client that uses Office XP and I > am installing it on my server so I have a place to do XP development. Is > there anything (negative) I should know about Office XP service packs before > I start applying them? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Tue Oct 7 08:01:29 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Oct 2003 09:01:29 -0400 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" In-Reply-To: <000701c38c4d$61e1bc20$9f0b6bd5@netboxxp> Message-ID: Mark, That error message generally indicates that the MDB is corrupt. Import evetying into a new MDB container. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 5:04 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" Hello... I got a bad feeling on this one... I have an MDB in XP that wont open. I get the message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time.". It doesn't go any further. I get the same error if I compact and repair or try and import the objects... :O( Any ideas much appreciated mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Oct 7 08:06:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Oct 2003 09:06:43 -0400 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" In-Reply-To: <000001c38c6c$c5d60500$9f0b6bd5@netboxxp> Message-ID: Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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 Oct 7 08:27:34 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 7 Oct 2003 09:27:34 -0400 Subject: [AccessD] Converting Macros - Access XP Message-ID: Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 Paul.Rogers at SummitMedia.co.uk Tue Oct 7 08:49:14 2003 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 7 Oct 2003 14:49:14 +0100 Subject: [AccessD] Updating a table Message-ID: <1760BC98927AD51181A60002A51EF7315B1DA8@SUMMIT01S003> 150 records are filtered from a table (tblMyTable) which holds about 1500 records. 120 of them are selected by the User and now I must enter the phrase "bb3" into a field called "TheField" in the table. Is there a way to have a Query (or code) enter this in the correct 120 records, please, gurus? paul Paul Rodgers Online Strategy and e-PR Summit Media tel. +44 (0)1788 523307 fax. +44 (0)1788 523306 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Glacier Bkgrd.jpg Type: image/jpeg Size: 2743 bytes Desc: not available URL: From wdhindman at bellsouth.net Tue Oct 7 08:38:48 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 7 Oct 2003 09:38:48 -0400 Subject: [AccessD] Converting Macros - Access XP References: Message-ID: <007501c38cd8$56a3dd30$6001a8c0@dejpolsys> ...lol ...that was shameless :))))) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Mitsules, Mark" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 07, 2003 9:27 AM Subject: RE: [AccessD] Converting Macros - Access XP > Write a macro? > > ...sorry couldn't resist;) > > > Mark > > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, October 07, 2003 3:50 AM > To: AccessD > Subject: [AccessD] Converting Macros - Access XP > > > I am inheriting an OLD application converted over the years up to AccessXP. > It has ~50 macros that in general do nothing other than open forms, reports > etc. I thought there was something that would convert ALL the macros to VB > at one shot. I can select a SINGLE macro. and the wizard converts that > single macro, but I'd prefer to do them all at once. > > Anyone know how this is done? > > 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 Alun.Garraway at otto.de Tue Oct 7 08:47:52 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Oct 2003 15:47:52 +0200 Subject: AW: [AccessD] Updating a table Message-ID: have you tried using an update query?? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Paul Rodgers Gesendet: Dienstag, 7. Oktober 2003 15:49 An: AccessD (E-mail) Betreff: [AccessD] Updating a table 150 records are filtered from a table (tblMyTable) which holds about 1500 records. 120 of them are selected by the User and now I must enter the phrase "bb3" into a field called "TheField" in the table. Is there a way to have a Query (or code) enter this in the correct 120 records, please, gurus? paul Paul Rodgers Online Strategy and e-PR Summit Media tel. +44 (0)1788 523307 fax. +44 (0)1788 523306 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Glacier Bkgrd.jpg Type: image/jpeg Size: 2743 bytes Desc: Glacier Bkgrd.jpg URL: From gustav at cactus.dk Tue Oct 7 09:01:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Oct 2003 16:01:52 +0200 Subject: [AccessD] images in Access In-Reply-To: References: Message-ID: <16926598746.20031007160152@cactus.dk> Hi John You may wish to contact Shamil or Jim Dettman - they worked with the same task 1? years ago ... as quoted below. /gustav > Date: 2003-10-06 21:47 > I have a client that stored well over a hundred images in their db (employee > pictures). The db is bloated and slow, and I want to pull these images out > and store them on disk. > Does anyone have any code for reading the image out of a table, and saving > the image to disk so that I can then replace the image with a link to the > image? Maybe even generate the path to the image and save that path back in > another field? It's not much as far as technique goes. Since the OLE wrapper is not documented anywhere, the only way to get a graphic is through a form control. From there, it's either sendkeys or OLE automation to control an app (such as MS paint) to save the file. If you want a copy of what I sent to Shamil, just send me an e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net > How about a working version? > > I'll send it along in a few minutes. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > -----Original Message----- > From: AccessD-owner at databaseadvisors.com [mailto:AccessD- > owner at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov > Sent: Monday, April 29, 2002 3:18 PM > To: AccessD > Subject: [AccessD] Getting picture part of OLE object... > > Hi All, > > Is the subj an easy task, which solution I'm missing? > > - let's imagine I manually inserted a .bmp, .gif, ... picture into OLE > field of a table. > > Now, I'd like to perform "stripping" everything but picture and > saving this pictureinto a file, i.e. I need to restore the original > picture file and I need to do that BY CODE. > > Is there an easy solution of the subj? > > TALIA for any hints, > Shamil From kaupca at chevrontexaco.com Tue Oct 7 10:17:52 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 7 Oct 2003 10:17:52 -0500 Subject: [AccessD] Subquery returns to many or no records Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F9729@bocnte2k4.boc.chevrontexaco.net> When I try to run the following query access displays the error message subquery returned multiple records SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT BOPD from T9DATA_CATDAILYPRODM where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); If I change the query to the following no records are returned SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT SUM(BOPD) from T9DATA_CATDAILYPRODM where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); What am I missing here. There should be records returned. 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 gustav at cactus.dk Tue Oct 7 10:30:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Oct 2003 17:30:20 +0200 Subject: [AccessD] Subquery returns to many or no records In-Reply-To: <193572B4E0FC1744BEDFEE63F82CEC9E0F9729@bocnte2k4.boc.chevrontexaco.net> References: <193572B4E0FC1744BEDFEE63F82CEC9E0F9729@bocnte2k4.boc.chevrontexaco.net> Message-ID: <16231906549.20031007173020@cactus.dk> Hi Chester > When I try to run the following query access displays the error message > subquery returned multiple records > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, T9DATA_CATDAILYPRODM.BOPD > FROM T9DATA_CATDAILYPRODM > WHERE (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT BOPD from T9DATA_CATDAILYPRODM > where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") > AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > If I change the query to the following no records are returned > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, T9DATA_CATDAILYPRODM.BOPD > FROM T9DATA_CATDAILYPRODM > WHERE (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT SUM(BOPD) from T9DATA_CATDAILYPRODM > where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") > AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > What am I missing here. There should be records returned. Not if sum doesn't equal one record and the remaining are all zero ... Try this using this condition as the last in the Where clause: .. AND T9DATA_CATDAILYPRODM.BOPD IN (SELECT BOPD from T9DATA_CATDAILYPRODM where USRFLD1 ="Y"); /gustav From kaupca at chevrontexaco.com Tue Oct 7 10:50:57 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 7 Oct 2003 10:50:57 -0500 Subject: [AccessD] Subquery returns to many or no records Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3EE2@bocnte2k4.boc.chevrontexaco.net> Tried your suggestion with no change in the result. I checked and there are 21 records on the subject date. I want to sum the records that meet the subquery criteria. Thanks -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 07, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery returns to many or no records Hi Chester > When I try to run the following query access displays the error > message subquery returned multiple records > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT BOPD from T9DATA_CATDAILYPRODM > where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") > AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > If I change the query to the following no records are returned > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT SUM(BOPD) from > T9DATA_CATDAILYPRODM where USRFLD1 ="Y")) AND > ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") AND > ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > What am I missing here. There should be records returned. Not if sum doesn't equal one record and the remaining are all zero ... Try this using this condition as the last in the Where clause: .. AND T9DATA_CATDAILYPRODM.BOPD IN (SELECT BOPD from T9DATA_CATDAILYPRODM where USRFLD1 ="Y"); /gustav _______________________________________________ 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 Oct 7 10:56:28 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Tue, 7 Oct 2003 16:56:28 +0100 Subject: [AccessD] Subquery returns to many or no records Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB02949D9F@LNN052> Try (SELECT MAX(BOPD) From T9DATA_CATDAILYPRODM where USRFLD1 ="Y" ) Tony. -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: 07 October 2003 16:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Subquery returns to many or no records Tried your suggestion with no change in the result. I checked and there are 21 records on the subject date. I want to sum the records that meet the subquery criteria. Thanks -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 07, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery returns to many or no records Hi Chester > When I try to run the following query access displays the error > message subquery returned multiple records > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT BOPD from T9DATA_CATDAILYPRODM > where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") > AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > If I change the query to the following no records are returned > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT SUM(BOPD) from > T9DATA_CATDAILYPRODM where USRFLD1 ="Y")) AND > ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") AND > ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > What am I missing here. There should be records returned. Not if sum doesn't equal one record and the remaining are all zero ... Try this using this condition as the last in the Where clause: .. AND T9DATA_CATDAILYPRODM.BOPD IN (SELECT BOPD from T9DATA_CATDAILYPRODM where USRFLD1 ="Y"); /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 ************************************************************************* 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 kaupca at chevrontexaco.com Tue Oct 7 11:14:33 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 7 Oct 2003 11:14:33 -0500 Subject: [AccessD] Subquery returns to many or no records Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3EE3@bocnte2k4.boc.chevrontexaco.net> Bad news. Still no records returned. Thanks for the idea. -----Original Message----- From: Yeatman, Tony [mailto:Tony.Yeatman at creditlyonnais.co.uk] Sent: Tuesday, October 07, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Subquery returns to many or no records Try (SELECT MAX(BOPD) From T9DATA_CATDAILYPRODM where USRFLD1 ="Y" ) Tony. -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: 07 October 2003 16:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Subquery returns to many or no records Tried your suggestion with no change in the result. I checked and there are 21 records on the subject date. I want to sum the records that meet the subquery criteria. Thanks -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 07, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery returns to many or no records Hi Chester > When I try to run the following query access displays the error > message subquery returned multiple records > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT BOPD from T9DATA_CATDAILYPRODM > where USRFLD1 ="Y")) AND ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") > AND ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > If I change the query to the following no records are returned > SELECT DISTINCT T9DATA_CATDAILYPRODM.ORAACTDT, > T9DATA_CATDAILYPRODM.BOPD FROM T9DATA_CATDAILYPRODM WHERE > (((T9DATA_CATDAILYPRODM.ORAACTDT)=#10/1/2003#) AND > ((T9DATA_CATDAILYPRODM.BOPD)=(SELECT SUM(BOPD) from > T9DATA_CATDAILYPRODM where USRFLD1 ="Y")) AND > ((T9DATA_CATDAILYPRODM.AREADESC)="TEXAS GAS") AND > ((T9DATA_CATDAILYPRODM.SUPVNM)="TGF FORT STOCKTON" Or > (T9DATA_CATDAILYPRODM.SUPVNM)="TGF KERMIT")); > What am I missing here. There should be records returned. Not if sum doesn't equal one record and the remaining are all zero ... Try this using this condition as the last in the Where clause: .. AND T9DATA_CATDAILYPRODM.BOPD IN (SELECT BOPD from T9DATA_CATDAILYPRODM where USRFLD1 ="Y"); /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 ************************************************************************ * 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 paulawright at boddienoell.com Tue Oct 7 11:35:01 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 7 Oct 2003 12:35:01 -0400 Subject: [AccessD] Restore button Message-ID: I'm using Access XP. I have a form that I maximize on opening the database. This form has a Restore Window button in the top right corner than I cannot seem to get rid of. The Control Box is set to No, the Min Max Buttons set to None. I have searched the Options, Tools and Help and not found anything. Does anyone know how to remove the restore window button? Also, there is a Help question box that is on the Access Menu Bar. I'd like to remove that as well. Thanks, Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Tue Oct 7 12:06:13 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 7 Oct 2003 13:06:13 -0400 Subject: [AccessD] Restore button Message-ID: Paula - Try changing the form's 'Border Style' property to Dialog. Mark -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Tuesday, October 07, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] Restore button I'm using Access XP. I have a form that I maximize on opening the database. This form has a Restore Window button in the top right corner than I cannot seem to get rid of. The Control Box is set to No, the Min Max Buttons set to None. I have searched the Options, Tools and Help and not found anything. Does anyone know how to remove the restore window button? Also, there is a Help question box that is on the Access Menu Bar. I'd like to remove that as well. Thanks, Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Oct 7 12:40:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 7 Oct 2003 13:40:45 -0400 Subject: [AccessD] Converting Macros - Access XP In-Reply-To: Message-ID: Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 Tue Oct 7 12:50:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Oct 2003 19:50:12 +0200 Subject: [AccessD] Converting Macros - Access XP In-Reply-To: References: Message-ID: <13140298616.20031007195012@cactus.dk> Hi John Ask a user to show you ... /gustav > Believe me, I would (If I knew how). > 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, October 07, 2003 9:28 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Converting Macros - Access XP > Write a macro? > ...sorry couldn't resist;) From jcolby at colbyconsulting.com Tue Oct 7 12:58:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 7 Oct 2003 13:58:06 -0400 Subject: [AccessD] Converting Macros - Access XP In-Reply-To: <13140298616.20031007195012@cactus.dk> Message-ID: rotfl. I have to assume from the responses I am getting that no one has code (or a macro) to do this? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, October 07, 2003 1:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Converting Macros - Access XP Hi John Ask a user to show you ... /gustav > Believe me, I would (If I knew how). > 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, October 07, 2003 9:28 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Converting Macros - Access XP > Write a macro? > ...sorry couldn't resist;) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 7 13:02:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Oct 2003 11:02:15 -0700 Subject: [AccessD] Converting Macros - Access XP Message-ID: DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 Mark.Mitsules at ngc.com Tue Oct 7 13:20:26 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 7 Oct 2003 14:20:26 -0400 Subject: [AccessD] Converting Macros - Access XP Message-ID: Holy cow...Charlotte wasn't being facetious. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/htm l/accstRunMethodConstants.asp Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 haascnc.com Tue Oct 7 13:58:39 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 7 Oct 2003 11:58:39 -0700 Subject: [AccessD] Office XP service packs Message-ID: <657FB70438B7D311AF320090279C1801026D7C36@EXCHMAIL> I have heard that installing Office XP breaks Outlook Express. I'm not sure whether this is true or not, maybe someone with XP can confirm. I guess MS wants everyone to start using Outlook Only. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 07, 2003 12:27 AM To: AccessD Subject: [AccessD] Office XP service packs OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to blindly applying service packs. I have a client that uses Office XP and I am installing it on my server so I have a place to do XP development. Is there anything (negative) I should know about Office XP service packs before I start applying them? John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Tue Oct 7 14:16:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Oct 2003 12:16:11 -0700 Subject: [AccessD] Converting Macros - Access XP Message-ID: Facetitious?? Moi?? For shame! Charlotte Foust PS/ The link doesn't work, at least not any more. -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, October 07, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Holy cow...Charlotte wasn't being facetious. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000 /htm l/accstRunMethodConstants.asp Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 JHewson at karta.com Tue Oct 7 14:31:13 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue, 7 Oct 2003 14:31:13 -0500 Subject: [AccessD] Office XP service packs Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294E21@NT04.karta.com> I installed Office XP Professional without any difficulty on my machine at home. I also have Office 2000 professional on the same machine. HTH Jim -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Tuesday, October 07, 2003 1:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Office XP service packs I have heard that installing Office XP breaks Outlook Express. I'm not sure whether this is true or not, maybe someone with XP can confirm. I guess MS wants everyone to start using Outlook Only. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 07, 2003 12:27 AM To: AccessD Subject: [AccessD] Office XP service packs OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to blindly applying service packs. I have a client that uses Office XP and I am installing it on my server so I have a place to do XP development. Is there anything (negative) I should know about Office XP service packs before I start applying them? 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 Tue Oct 7 14:32:53 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue, 7 Oct 2003 14:32:53 -0500 Subject: [AccessD] Converting Macros - Access XP Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294E22@NT04.karta.com> It worked for me. I had to try it twice, but it did work. Jim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 2:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Facetitious?? Moi?? For shame! Charlotte Foust PS/ The link doesn't work, at least not any more. -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, October 07, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Holy cow...Charlotte wasn't being facetious. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000 /htm l/accstRunMethodConstants.asp Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 Mark.Mitsules at ngc.com Tue Oct 7 14:40:35 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 7 Oct 2003 15:40:35 -0400 Subject: [AccessD] Converting Macros - Access XP Message-ID: It should work...I did a search on your constant and worked from there to get to the "RunCommand Method Constants" page, then copied the url from the address window. But, if that link didn't work for some reason, a search on all of MSDN for "RunCommand Method Constants" should return a list of hits. When I did the search, the seventh link down was "RunCommand Method Constants (Microsoft Office 2000 Language Reference)". It shows "http://msdn.microsoft.com/library/en-us/off2000/html/accstRunMethodConstant s.asp" as the link. The same link as below... Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 3:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Facetitious?? Moi?? For shame! Charlotte Foust PS/ The link doesn't work, at least not any more. -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, October 07, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Holy cow...Charlotte wasn't being facetious. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000 /htm l/accstRunMethodConstants.asp Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, October 07, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 jonsulli at swbell.net Tue Oct 7 14:51:05 2003 From: jonsulli at swbell.net (John Sullivan) Date: Tue, 07 Oct 2003 14:51:05 -0500 Subject: [AccessD] Converting Macros - Access XP - it didn't work In-Reply-To: References: Message-ID: <3F831929.1030309@swbell.net> Watch for word wrap. The link begins with "http" (duh) and ends with "asp" a line or 2 below . Your word wrap mileage may vary. John Sullivan Mitsules, Mark wrote: >It should work...I did a search on your constant and worked from there to >get to the "RunCommand Method Constants" page, then copied the url from the >address window. But, if that link didn't work for some reason, a search on >all of MSDN for "RunCommand Method Constants" should return a list of hits. >When I did the search, the seventh link down was "RunCommand Method >Constants (Microsoft Office 2000 Language Reference)". It shows >"http://msdn.microsoft.com/library/en-us/off2000/html/accstRunMethodConstant >s.asp" as the link. The same link as below... > > > >Mark > > > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Tuesday, October 07, 2003 3:16 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Converting Macros - Access XP > > >Facetitious?? Moi?? For shame! > >Charlotte Foust > >PS/ The link doesn't work, at least not any more. > >-----Original Message----- >From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] >Sent: Tuesday, October 07, 2003 10:20 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Converting Macros - Access XP > > >Holy cow...Charlotte wasn't being facetious. >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000 >/htm >l/accstRunMethodConstants.asp > > > >Mark > > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Tuesday, October 07, 2003 2:02 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Converting Macros - Access XP > > >DoCmd.RunCommand acCmdConvertMacrosToVisualBasic > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Tuesday, October 07, 2003 9:41 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Converting Macros - Access XP > > >Believe me, I would (If I knew how). > >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, October 07, 2003 9:28 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Converting Macros - Access XP > > >Write a macro? > >...sorry couldn't resist;) > > >Mark > > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Tuesday, October 07, 2003 3:50 AM >To: AccessD >Subject: [AccessD] Converting Macros - Access XP > > >I am inheriting an OLD application converted over the years up to AccessXP. >It has ~50 macros that in general do nothing other than open forms, reports >etc. I thought there was something that would convert ALL the macros to VB >at one shot. I can select a SINGLE macro. and the wizard converts that >single macro, but I'd prefer to do them all at once. > >Anyone know how this is done? > >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 wdhindman at bellsouth.net Tue Oct 7 15:01:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 7 Oct 2003 16:01:52 -0400 Subject: [AccessD] Office XP service packs References: <657FB70438B7D311AF320090279C1801026D7C36@EXCHMAIL> Message-ID: <014501c38d0d$d9d28690$6001a8c0@dejpolsys> ...OE works fine with OXP in an W2K Server environment :))))) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 07, 2003 2:58 PM Subject: RE: [AccessD] Office XP service packs > I have heard that installing Office XP breaks Outlook Express. I'm not sure whether this is true or not, maybe someone with XP can confirm. I guess MS wants everyone to start using Outlook Only. > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Tuesday, October 07, 2003 12:27 AM > To: AccessD > Subject: [AccessD] Office XP service packs > > > OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to > blindly applying service packs. I have a client that uses Office XP and I > am installing it on my server so I have a place to do XP development. Is > there anything (negative) I should know about Office XP service packs before > I start applying them? > > John W. Colby > www.colbyconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Oct 7 15:03:12 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Oct 2003 13:03:12 -0700 Subject: [AccessD] Office XP service packs References: <009401c38cc2$eec185b0$6001a8c0@dejpolsys> Message-ID: <3F831C00.9000409@shaw.ca> Don't forget this. It is also a cumulative patch I believe for SP-4-5-6 Jet 4.0 Service Pack 7 (SP7) for Windows XP http://www.microsoft.com/downloads/details.aspx?FamilyID=6c1780c0-3f8f-4650-b6ad-11badf3f4dab&DisplayLang=en William Hindman wrote: >...one other thing ... www.woodyswatch.com ...I usually wait until he's >approved any office patch before I apply it ...he's caught a couple of real >bummers that MS subsequently fixed. :) > >William Hindman > - Do you want liberty in your lifetime? > > >----- Original Message ----- >From: "John Colby" >To: "AccessD" >Sent: Tuesday, October 07, 2003 3:26 AM >Subject: [AccessD] Office XP service packs > > > > >>OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to >>blindly applying service packs. I have a client that uses Office XP and I >>am installing it on my server so I have a place to do XP development. Is >>there anything (negative) I should know about Office XP service packs >> >> >before > > >>I start applying them? >> >>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 > > > -- Marty Connelly Victoria, B.C. Canada From rl_stewart at highstream.net Tue Oct 7 15:20:46 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 07 Oct 2003 15:20:46 -0500 Subject: [AccessD] Re: When is a report actually printed In-Reply-To: <200310070356.h973uUe21300@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031007151727.025c5248@pop3.highstream.net> David, If you are not using an MDE you could do the following: Right-click on the report and go to properties. Enter No Print;No Preview in the description. Change the description in code on the line before opening it in Preview or Print mode. If you need help with the code, let me know and I will post it to the list. I don't think you can change this property in an MDE. Robert At 10:56 PM 10/6/2003 -0500, you wrote: >Date: Tue, 7 Oct 2003 09:30:06 +1000 >From: "David Fenton" >Subject: [AccessD] When is a report actually printed (vs previewed > only) >To: >Message-ID: > > > >Content-Type: text/plain; charset="iso-8859-1" > >Hello again, >I have searched archives and looked through recent newsgroups for Access >Reports and found only a few tips on determining if a report is printed >rather than just previewed. None of them seem to hit the mark I'm after. > >I found this: >http://ourworld.compuserve.com/homepages/attac-cg/ARptTip.htm#PREVIEW >but it doesn't quite suit. > >Does anyone have any u-beaut ideas on how I can tell whether a report has >been previewed or printed? I do not want to prevent my users from >printing. In the OnClose event of the report I set a 'printed' flag. But >one of my users correctly pointed out that previewing it is not the same >as printing it. She can look at the report but change her mind and NOT >print it. In that case she doesn't want the 'printed' flag to be set. I >guess she's after a Cancel button on the print preview. I am not aware of >any cancel methods on the print preview page. I know there is an OnPrint >event, but it seems to apply to sections of the report, not the entire >report itself. > >I could have two buttons on the form - one preview and one print, then >putting the flag setting into OnClick on the print button instead of the >report itself, but it doesn't feel robust... >Any ideas folks? >Cheers >David ???? >Brisbane >Australia From my.lists at verizon.net Tue Oct 7 16:02:37 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 07 Oct 2003 14:02:37 -0700 Subject: [AccessD] Office XP service packs In-Reply-To: <014501c38d0d$d9d28690$6001a8c0@dejpolsys> References: <657FB70438B7D311AF320090279C1801026D7C36@EXCHMAIL> <014501c38d0d$d9d28690$6001a8c0@dejpolsys> Message-ID: <3F8329ED.6010202@verizon.net> Using Windows XP, and Office XP, OE is disabled, and no longer functions, you "MUST" use Outlook. It may be different in W2K, but this is an issue in XP. In my scenario, I've just done away w/ both clients and use Mozilla Thunderbird. William Hindman wrote: > ...OE works fine with OXP in an W2K Server environment :))))) > > William Hindman > - Do you want liberty in your lifetime? > > > ----- Original Message ----- > From: "David McAfee" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, October 07, 2003 2:58 PM > Subject: RE: [AccessD] Office XP service packs > > > >>I have heard that installing Office XP breaks Outlook Express. I'm not > > sure whether this is true or not, maybe someone with XP can confirm. I guess > MS wants everyone to start using Outlook Only. > >>D >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >>Sent: Tuesday, October 07, 2003 12:27 AM >>To: AccessD >>Subject: [AccessD] Office XP service packs >> >> >>OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to >>blindly applying service packs. I have a client that uses Office XP and I >>am installing it on my server so I have a place to do XP development. Is >>there anything (negative) I should know about Office XP service packs > > before > >>I start applying them? >> -- -Francisco From cfoust at infostatsystems.com Tue Oct 7 16:02:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Oct 2003 14:02:26 -0700 Subject: [AccessD] Office XP service packs Message-ID: I've got OXP on WinXP with the latest service packs and OE still shows up as an option. I never use it so I don't know what the symptoms of its being unavailable would be. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Tuesday, October 07, 2003 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office XP service packs Using Windows XP, and Office XP, OE is disabled, and no longer functions, you "MUST" use Outlook. It may be different in W2K, but this is an issue in XP. In my scenario, I've just done away w/ both clients and use Mozilla Thunderbird. William Hindman wrote: > ...OE works fine with OXP in an W2K Server environment :))))) > > William Hindman > - Do you want liberty in your > lifetime? > > > ----- Original Message ----- > From: "David McAfee" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, October 07, 2003 2:58 PM > Subject: RE: [AccessD] Office XP service packs > > > >>I have heard that installing Office XP breaks Outlook Express. I'm not > > sure whether this is true or not, maybe someone with XP can confirm. I > guess MS wants everyone to start using Outlook Only. > >>D >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >>Sent: Tuesday, October 07, 2003 12:27 AM >>To: AccessD >>Subject: [AccessD] Office XP service packs >> >> >>OK, my experience with Win2K SP4 breaking SQL Server has opened my >>eyes to blindly applying service packs. I have a client that uses >>Office XP and I am installing it on my server so I have a place to do >>XP development. Is there anything (negative) I should know about >>Office XP service packs > > before > >>I start applying them? >> -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Oct 7 16:14:47 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 7 Oct 2003 17:14:47 -0400 Subject: [AccessD] Office XP service packs References: <657FB70438B7D311AF320090279C1801026D7C36@EXCHMAIL><014501c38d0d$d9d28690$6001a8c0@dejpolsys> <3F8329ED.6010202@verizon.net> Message-ID: <018b01c38d18$0972b5f0$6001a8c0@dejpolsys> ...I hate to tell you different Francisco but I have WinXP, OfficeXP, and OE6 working just fine on multiple systems on and off networks ...don't know where the "disabled" stuff is coming from but it certainly isn't so on my systems :)))) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Francisco H Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 07, 2003 5:02 PM Subject: Re: [AccessD] Office XP service packs > Using Windows XP, and Office XP, OE is disabled, and no longer > functions, you "MUST" use Outlook. It may be different in W2K, but this > is an issue in XP. In my scenario, I've just done away w/ both clients > and use Mozilla Thunderbird. > > > William Hindman wrote: > > > ...OE works fine with OXP in an W2K Server environment :))))) > > > > William Hindman > > - Do you want liberty in your lifetime? > > > > > > ----- Original Message ----- > > From: "David McAfee" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Tuesday, October 07, 2003 2:58 PM > > Subject: RE: [AccessD] Office XP service packs > > > > > > > >>I have heard that installing Office XP breaks Outlook Express. I'm not > > > > sure whether this is true or not, maybe someone with XP can confirm. I guess > > MS wants everyone to start using Outlook Only. > > > >>D > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > >>Sent: Tuesday, October 07, 2003 12:27 AM > >>To: AccessD > >>Subject: [AccessD] Office XP service packs > >> > >> > >>OK, my experience with Win2K SP4 breaking SQL Server has opened my eyes to > >>blindly applying service packs. I have a client that uses Office XP and I > >>am installing it on my server so I have a place to do XP development. Is > >>there anything (negative) I should know about Office XP service packs > > > > before > > > >>I start applying them? > >> > > -- > -Francisco > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Oct 7 16:28:21 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 07 Oct 2003 14:28:21 -0700 Subject: [AccessD] Office XP service packs In-Reply-To: References: Message-ID: <3F832FF5.2050605@verizon.net> My sister in law was using OE with her windows XP system until she bought OXP. I installed it and didn't think twice, but then she called me the next day to comment that her email wasn't working, upon investigating and running a repair on IE, and even attempting to install the latest IE6 sp1, OE was dead, it had a ton of errors you could not send any email nor received them. I then set up Outlook for retreiving her email and everything has worked fine. I remember when the RC2 release for OXP that many users commented that their OE was breaking upon installing OXP. of course her copy of XP is sans sp1. Charlotte Foust wrote: > I've got OXP on WinXP with the latest service packs and OE still shows > up as an option. I never use it so I don't know what the symptoms of > its being unavailable would be. > > Charlotte Foust > > -----Original Message----- > From: Francisco H Tapia [mailto:my.lists at verizon.net] > Sent: Tuesday, October 07, 2003 1:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Office XP service packs > > > Using Windows XP, and Office XP, OE is disabled, and no longer > functions, you "MUST" use Outlook. It may be different in W2K, but this > > is an issue in XP. In my scenario, I've just done away w/ both clients > and use Mozilla Thunderbird. > > > William Hindman wrote: > > >>...OE works fine with OXP in an W2K Server environment :))))) >> >>William Hindman >> - Do you want liberty in your >>lifetime? >> >> >>----- Original Message ----- >>From: "David McAfee" >>To: "'Access Developers discussion and problem solving'" >> >>Sent: Tuesday, October 07, 2003 2:58 PM >>Subject: RE: [AccessD] Office XP service packs >> >> >> >> >>>I have heard that installing Office XP breaks Outlook Express. I'm not >> >>sure whether this is true or not, maybe someone with XP can confirm. I > > >>guess MS wants everyone to start using Outlook Only. >> >> >>>D >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >>>Sent: Tuesday, October 07, 2003 12:27 AM >>>To: AccessD >>>Subject: [AccessD] Office XP service packs >>> >>> >>>OK, my experience with Win2K SP4 breaking SQL Server has opened my >>>eyes to blindly applying service packs. I have a client that uses >>>Office XP and I am installing it on my server so I have a place to do >>>XP development. Is there anything (negative) I should know about >>>Office XP service packs >> >>before >> >> >>>I start applying them? >>> > > -- -Francisco From lists at theopg.com Tue Oct 7 17:43:41 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 23:43:41 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You andanother user are"" In-Reply-To: Message-ID: <000201c38d24$74b8e800$9f0b6bd5@netboxxp> Any attempt to import, compact and repair etc. all gave the same error message. I rewrote the code :O( The database is dead... Long live the database :O) Thanks anyway mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:01 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You andanother user are"" Mark, That error message generally indicates that the MDB is corrupt. Import evetying into a new MDB container. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 5:04 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You andanother user are"" Hello... I got a bad feeling on this one... I have an MDB in XP that wont open. I get the message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time.". It doesn't go any further. I get the same error if I compact and repair or try and import the objects... :O( Any ideas much appreciated mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Oct 7 17:47:23 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 23:47:23 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" In-Reply-To: <00bc01c38c89$daf0acc0$6701a8c0@HAL9002> Message-ID: <000301c38d24$f93fe880$9f0b6bd5@netboxxp> Tried that too... Same problem. I even sent it off to a company that claims to be able to recover 90% of corrupt databases... All they could get to was the tables... No forms, macros or modules. This was my first real fatality... It was rough, I rewrote the code I lost. I am now exporting the objects more or less every time I save them... Backup mania :O) Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 05:17 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Decompile? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 5:48 PM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" > Thanks... But I can't even import one object. Whatever I do I get the > same error. I have a backup at work, but I don?t want to lose those > particular 3 hours work... I hate doing the same thing twice :O( > > Cheers > > Mark > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: 07 October 2003 00:43 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process > because...You and another user are"" > > > Mark: > > I'd try importing the objects a few at a time to try to find the one > that's causing the problem. Any backups? Previous versions from > which you could import the object that's corrupted in the current > version? > > Rocky > > ----- Original Message ----- > From: "MarkH" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 06, 2003 2:04 PM > Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... > You and another user are"" > > > > Hello... > > > > I got a bad feeling on this one... I have an MDB in XP that wont > > open. > > > > I get the message "The Microsoft Jet Database engine stopped the > > process because you and another user are attempting to change the > > same > > > data at the same time.". It doesn't go any further. > > > > I get the same error if I compact and repair or try and import the > > objects... :O( > > > > Any ideas much appreciated > > > > mark > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Oct 7 17:48:37 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 23:48:37 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" In-Reply-To: <000f01c38c6e$cc6ad330$6501a8c0@user> Message-ID: <000401c38d25$2564df60$9f0b6bd5@netboxxp> Yep :O) Tried that too... just got errors there too. Thanks anyway mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 07 October 2003 02:03 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark - have you tried JetComp on it yet? HYPERLINK "http://office.microsoft.com/assistance/2002/articles/acRepairDamagedDbW ithJetcomp.aspx"http://office.microsoft.com/assistance/2002/articles/acR epairDamagedDbWithJetcomp.aspx Kath ----- Original Message ----- From: HYPERLINK "mailto:lists at theopg.com"MarkH To: HYPERLINK "mailto:accessd at databaseadvisors.com"'Access Developers discussion and problem solving' Sent: Tuesday, October 07, 2003 10:48 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com > HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd > Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theopg.com Tue Oct 7 17:52:09 2003 From: lists at theopg.com (MarkH) Date: Tue, 7 Oct 2003 23:52:09 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" In-Reply-To: Message-ID: <000901c38d25$a3649450$9f0b6bd5@netboxxp> Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From jcolby at colbyconsulting.com Tue Oct 7 18:34:24 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 7 Oct 2003 19:34:24 -0400 Subject: [AccessD] Converting Macros - Access XP In-Reply-To: Message-ID: Well... that runs IF you are in the macro window (command not available otherwise) and converts the SINGLE macro that is currently selected. There are ~50 different macros in the macro window. I am trying to convert ALL of them at once. Sounds like I need to bracket that with code that selects each macro in turn and then runs that line. I was hoping someone had done this already. 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, October 07, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP DoCmd.RunCommand acCmdConvertMacrosToVisualBasic Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Converting Macros - Access XP Believe me, I would (If I knew how). 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, October 07, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Converting Macros - Access XP Write a macro? ...sorry couldn't resist;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, October 07, 2003 3:50 AM To: AccessD Subject: [AccessD] Converting Macros - Access XP I am inheriting an OLD application converted over the years up to AccessXP. It has ~50 macros that in general do nothing other than open forms, reports etc. I thought there was something that would convert ALL the macros to VB at one shot. I can select a SINGLE macro. and the wizard converts that single macro, but I'd prefer to do them all at once. Anyone know how this is done? 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 SDSSoftware at optusnet.com.au Tue Oct 7 20:24:41 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 8 Oct 2003 11:24:41 +1000 Subject: [AccessD] Help!!! Dead MDB - ..."stopped theprocessbecause...Youand another user are"" References: <000901c38d25$a3649450$9f0b6bd5@netboxxp> Message-ID: <001401c38d3a$f2ff67f0$6501a8c0@user> Mark - such a bummer when you waste time on that stuff - did you work out how the corruption happened in the first place? Anything specific? Kath ----- Original Message ----- From: MarkH To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 08, 2003 8:52 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped theprocessbecause...Youand another user are"" Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Oct 7 20:48:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 7 Oct 2003 20:48:02 -0500 Subject: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause.. .Youand another user are"" Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272DB@main2.marlow.com> I think we have all been there. My last one was when I was working on the first release of the latest MiniCalendar version. I had gotten a lot of coding done on the form, and then I went to lock my desktop, and go have a smoke, so I went to hit Ctrl-Alt-Del, then Enter, and by accident, I hit delete just a hair to fast, but didn't catch myself before I hit the enter key. By by form. A reputable recovery firm said no go on getting it back too. Now I have a button on my keyboard that locks the desktop....no room for error now. Drew -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Tuesday, October 07, 2003 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dfe at nudgeeinternational.com Wed Oct 8 00:00:22 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Wed, 8 Oct 2003 15:00:22 +1000 Subject: [AccessD] Re: When is a report actually printed (vs previewed only) Message-ID: Thanks Marty, I think the code at that URL may come close to helping solve the problem. I haven't had a chance to put it to use and test it yet. The idea of looking for a document in the print queue sounds like the solution. If I can send the report name to a Boolean function which simply tells me if it's in the queue or not, I'd know if the document was printed or simply previewed. My only hope is that it is in the printer queue long enough to be picked up by the code. I may end up with a hybrid, since some of these posted solutions are quite clever. Thank you for your help. Cheers for now David ???? Brisbane Australia Your message: Message: 21 Date: Mon, 06 Oct 2003 20:56:05 -0700 From: MartyConnelly Subject: Re:When is a report actually printed (vs previewed only) To: Access Developers discussion and problem solving Message-ID: <3F823955.4090406 at shaw.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Here is some vb 6 code to monitor the print queue with some caveats. Microsoft print reports like word documents, may not give you correct no of pages. It only monitors the print drivers unless the print driver for that specific printer continuously polls the machine. You wont get info about paper jams or low toner. Very few low end and medium printers do. http://www.merrioncomputing.com/Programming/index.htm From carbonnb at sympatico.ca Wed Oct 8 04:33:27 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 08 Oct 2003 05:33:27 -0400 Subject: [AccessD] Restore button In-Reply-To: Message-ID: <3F83A1A7.31325.19A22B@localhost> On 7 Oct 2003 at 12:35, Paula Wright wrote: > I'm using Access XP. I have a form that I maximize on opening the > database. This form has a Restore Window button in the top right > corner than I cannot seem to get rid of. The Control Box is set to > No, the Min Max Buttons set to None. I have searched the Options, > Tools and Help and not found anything. Does anyone know how to remove > the restore window button? Have a look at http://www.mvps.org/access/api/api0022.htm That should give you what you need. -- Bryan Carbonnell - carbonnb at sympatico.ca Be who you are and say what you feel because those who mind don't matter and those who matter don't mind - Dr.Seuss From gustav at cactus.dk Wed Oct 8 05:00:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Oct 2003 12:00:02 +0200 Subject: [AccessD] Converting Macros - Access XP In-Reply-To: References: Message-ID: <13110231712.20031008120002@cactus.dk> Hi John Could this list of the macros' names help you: Select Name From MSysObjects Where Type = -32766 Or a series of (gosh) SendKeys commands and Files, Save As/Export, Save as Visual Basic module, OK. /gustav > Well... that runs IF you are in the macro window (command not available > otherwise) and converts the SINGLE macro that is currently selected. > There are ~50 different macros in the macro window. I am trying to convert > ALL of them at once. Sounds like I need to bracket that with code that > selects each macro in turn and then runs that line. I was hoping someone > had done this already. From gustav at cactus.dk Wed Oct 8 05:08:35 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Oct 2003 12:08:35 +0200 Subject: [AccessD] Re: When is a report actually printed (vs previewed only) In-Reply-To: References: Message-ID: <16210744680.20031008120835@cactus.dk> Hi David If you print directly to a network queue - as you often do using Novell NetWare - I guess this method wouldn't be useful. /gustav > Thanks Marty, > I think the code at that URL may come close to helping solve the problem. > I haven't had a chance to put it to use and test it yet. > The idea of looking for a document in the print queue sounds like the solution. If I can send the report name to a Boolean function which simply tells me if it's in the queue or not, I'd know if > the document was printed or simply previewed. My only hope is that it is in the printer queue long enough to be picked up by the code. > I may end up with a hybrid, since some of these posted solutions are quite clever. > Thank you for your help. > Cheers for now > David ???? > Brisbane Australia > Your message: > Message: 21 > Date: Mon, 06 Oct 2003 20:56:05 -0700 > From: MartyConnelly > Subject: Re:When is a report actually printed (vs previewed only) > To: Access Developers discussion and problem solving > > Message-ID: <3F823955.4090406 at shaw.ca> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Here is some vb 6 code to monitor the print queue with some caveats. > Microsoft print reports like word documents, may not give you correct > no of pages. > It only monitors the print drivers unless the print driver for that > specific printer continuously polls the machine. You wont get info about > paper jams or low toner. Very few low end and medium printers do. > http://www.merrioncomputing.com/Programming/index.htm From rl_stewart at highstream.net Wed Oct 8 07:05:10 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 08 Oct 2003 07:05:10 -0500 Subject: [AccessD] RE: When is a report actually printed In-Reply-To: Message-ID: <5.1.0.14.2.20031008070007.0259e300@pop3.highstream.net> David, You opened it in design view. If your right click on it in the database window and go to properties, you will see what I was talking about. What I was proposing was a way to determine if the report had ever been printed or previewed. Is that what you want to track? Or is it just for the current user? I use the description property because I do not have to open the report in design view to read it. I can use the document collection to read the information. I use it for displaying a list of reports and the report category so I can use a single form to print all reports. Oh, and I also store the name of the form to open for criteria if the report needs that also. It is really handy. Robert At 02:54 PM 10/8/2003 +1000, you wrote: >Thanks Robert, >I looked at the properties of the report, but can find no description. >There's a Caption. > >I'm not sure I follow your line of thought. How will this help me >determine if the user actually printed the report rather than simply >previewed it and just closed the preview? > >I'd love to see your code - it may help me towards a solution. > >Marty Connelly from Canada posted a possible solution with this URL >http://www.merrioncomputing.com/Programming/index.htm >but I haven't had time to check it thoroughly yet. > >Cheers >David ???? >Brisbane >Australia > > >-----Original Message----- >From: Robert L. Stewart [mailto:rl_stewart at highstream.net] >Sent: Wednesday, 8 October 2003 6:21 AM >To: accessd at databaseadvisors.com >Cc: David Fenton >Subject: Re: When is a report actually printed > >David, > >If you are not using an MDE you could do the following: > >Right-click on the report and go to properties. >Enter No Print;No Preview in the description. >Change the description in code on the line >before opening it in Preview or Print mode. > >If you need help with the code, let me know >and I will post it to the list. > >I don't think you can change this property in an MDE. > >Robert > >At 10:56 PM 10/6/2003 -0500, you wrote: > >Date: Tue, 7 Oct 2003 09:30:06 +1000 > >From: "David Fenton" > >Subject: [AccessD] When is a report actually printed (vs previewed > > only) > >To: > >Message-ID: > > > > al.com> > > > >Content-Type: text/plain; charset="iso-8859-1" > > > >Hello again, > >I have searched archives and looked through recent newsgroups for Access > >Reports and found only a few tips on determining if a report is printed > >rather than just previewed. None of them seem to hit the mark I'm after. > > > >I found this: > >http://ourworld.compuserve.com/homepages/attac-cg/ARptTip.htm#PREVIEW > >but it doesn't quite suit. > > > >Does anyone have any u-beaut ideas on how I can tell whether a report has > >been previewed or printed? I do not want to prevent my users from > >printing. In the OnClose event of the report I set a 'printed' flag. But > >one of my users correctly pointed out that previewing it is not the same > >as printing it. She can look at the report but change her mind and NOT > >print it. In that case she doesn't want the 'printed' flag to be set. I > >guess she's after a Cancel button on the print preview. I am not aware of > >any cancel methods on the print preview page. I know there is an OnPrint > >event, but it seems to apply to sections of the report, not the entire > >report itself. > > > >I could have two buttons on the form - one preview and one print, then > >putting the flag setting into OnClick on the print button instead of the > >report itself, but it doesn't feel robust... > >Any ideas folks? > >Cheers > >David ???? > >Brisbane > >Australia From paulawright at boddienoell.com Wed Oct 8 07:32:11 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Wed, 8 Oct 2003 08:32:11 -0400 Subject: [AccessD] Restore button Message-ID: No. That didn't affect anything. Paula Date: Tue, 7 Oct 2003 13:06:13 -0400 From: "Mark Boyd" Subject: RE: [AccessD] Restore button To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" Paula - Try changing the form's 'Border Style' property to Dialog. Mark -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Tuesday, October 07, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] Restore button I'm using Access XP. I have a form that I maximize on opening the database. This form has a Restore Window button in the top right corner than I cannot seem to get rid of. The Control Box is set to No, the Min Max Buttons set to None. I have searched the Options, Tools and Help and not found anything. Does anyone know how to remove the restore window button? Also, there is a Help question box that is on the Access Menu Bar. I'd like to remove that as well. Thanks, Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: From prosoft6 at hotmail.com Wed Oct 8 08:35:14 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 09:35:14 -0400 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Message-ID: Hi Group, All of a sudden, my BEDB.dbf file has grown huge. The file itself and the log file are at 10GB. I tried shrinking the database, and received a message saying that it was successful, however, the files are still the same size. I'm receiving an event log error ID 17052 that states that there is no more room in the log file. How can I resolve this problem? It is causing problems on the server because the files are taking up so much space. It is error 9002, severity 17. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From prosoft6 at hotmail.com Wed Oct 8 08:35:14 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 09:35:14 -0400 Subject: [AccessD] [dba-SQLServer]SQL LOG File is Huge! 10GB - Help Message-ID: Hi Group, All of a sudden, my BEDB.dbf file has grown huge. The file itself and the log file are at 10GB. I tried shrinking the database, and received a message saying that it was successful, however, the files are still the same size. I'm receiving an event log error ID 17052 that states that there is no more room in the log file. How can I resolve this problem? It is causing problems on the server because the files are taking up so much space. It is error 9002, severity 17. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Oct 8 08:35:14 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 09:35:14 -0400 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Message-ID: Hi Group, All of a sudden, my BEDB.dbf file has grown huge. The file itself and the log file are at 10GB. I tried shrinking the database, and received a message saying that it was successful, however, the files are still the same size. I'm receiving an event log error ID 17052 that states that there is no more room in the log file. How can I resolve this problem? It is causing problems on the server because the files are taking up so much space. It is error 9002, severity 17. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Wed Oct 8 08:47:22 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Wed, 8 Oct 2003 09:47:22 -0400 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128823@mail2.wrsystems.com> Without looking at the error codes, it sounds like you're not dumping your transaction log. SQL has two settings for backing up files, one were it's cumulative (which sounds like what you have set) and one where the file is dumped before the backup is created (and you can set the frequency). -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, October 08, 2003 9:35 AM To: AccessD at databaseadvisors.com; dba-SQLServer at databaseadvisors.com Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Hi Group, All of a sudden, my BEDB.dbf file has grown huge. The file itself and the log file are at 10GB. I tried shrinking the database, and received a message saying that it was successful, however, the files are still the same size. I'm receiving an event log error ID 17052 that states that there is no more room in the log file. How can I resolve this problem? It is causing problems on the server because the files are taking up so much space. It is error 9002, severity 17. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Oct 8 08:35:14 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 09:35:14 -0400 Subject: [dba-SQLServer][AccessD] SQL LOG File is Huge! 10GB - Help Message-ID: Hi Group, All of a sudden, my BEDB.dbf file has grown huge. The file itself and the log file are at 10GB. I tried shrinking the database, and received a message saying that it was successful, however, the files are still the same size. I'm receiving an event log error ID 17052 that states that there is no more room in the log file. How can I resolve this problem? It is causing problems on the server because the files are taking up so much space. It is error 9002, severity 17. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From pnl1 at psu.edu Wed Oct 8 10:17:20 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 08 Oct 2003 11:17:20 -0400 Subject: [dba-SQLServer][AccessD] Re: SQL LOG File is Huge! 10GB - Help In-Reply-To: Message-ID: <5.1.0.14.2.20031008111353.031736a0@mail.psu.edu> We ran into this once, and here is what was causing our problems. If you look at the properties of your database in Enterpirse Manager, there is a tab that says Options. On this tab, there is a dropdown for recovery model. Our logs were growing huge because we chose Full in the Recovery Model dropdown. To fix the problem we chose Simple and this significantly reduced the size of our Transaction Logs. Paul Liadis University Budget Office Penn State University At 09:35 AM 10/8/2003 -0400, you wrote: >Hi Group, > >All of a sudden, my BEDB.dbf file has grown huge. The file itself and the >log file are at 10GB. I tried shrinking the database, and received a >message saying that it was successful, however, the files are still the same >size. I'm receiving an event log error ID 17052 that states that there is >no more room in the log file. How can I resolve this problem? It is >causing problems on the server because the files are taking up so much >space. It is error 9002, severity 17. > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >www.pro-soft.net > >_________________________________________________________________ >High-speed Internet access as low as $29.95/month (depending on the local >service providers in your area). Click here. https://broadband.msn.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >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 Oct 8 10:35:03 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 8 Oct 2003 16:35:03 +0100 Subject: [AccessD] CrossTab References: <16926598746.20031007160152@cactus.dk> Message-ID: <001901c38db1$be37c680$9111758f@aine> Running a major cross tab report A lot of the values are null Problem The Crosstab creats a new column called <> (I dont create this) when it comes across a null row it assigns it a value of 1 how can I get it to stop creating the 1 value as it is tossing out my calculations. Martin From ssharkins at bellsouth.net Wed Oct 8 10:38:00 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 8 Oct 2003 11:38:00 -0400 Subject: [AccessD] CrossTab References: <16926598746.20031007160152@cactus.dk> <001901c38db1$be37c680$9111758f@aine> Message-ID: <017501c38db2$87cab610$220110ac@SUSANONE> Can't you handle the Null in the underlying query? Susan H. > Running a major cross tab report > > A lot of the values are null > > Problem > > The Crosstab creats a new column called <> (I dont create this) > > when it comes across a null row it assigns it a value of 1 > > how can I get it to stop creating the 1 value as it is tossing out my > calculations. > > > > Martin > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Wed Oct 8 10:47:03 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 8 Oct 2003 16:47:03 +0100 Subject: [AccessD] CrossTab References: <16926598746.20031007160152@cactus.dk><001901c38db1$be37c680$9111758f@aine> <017501c38db2$87cab610$220110ac@SUSANONE> Message-ID: <000b01c38db3$6b342df0$9111758f@aine> I need to keep the nulls as they are valid responses. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 08, 2003 4:38 PM Subject: Re: [AccessD] CrossTab > Can't you handle the Null in the underlying query? > > Susan H. > > > > Running a major cross tab report > > > > A lot of the values are null > > > > Problem > > > > The Crosstab creats a new column called <> (I dont create this) > > > > when it comes across a null row it assigns it a value of 1 > > > > how can I get it to stop creating the 1 value as it is tossing out my > > calculations. > > > > > > > > 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 ssharkins at bellsouth.net Wed Oct 8 10:51:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 8 Oct 2003 11:51:15 -0400 Subject: [AccessD] CrossTab References: <16926598746.20031007160152@cactus.dk><001901c38db1$be37c680$9111758f@aine><017501c38db2$87cab610$220110ac@SUSANONE> <000b01c38db3$6b342df0$9111758f@aine> Message-ID: <019501c38db4$02f164f0$220110ac@SUSANONE> Yeah, but what I mean is, can't you mask them via the query so that the query handles them instead of letting them muck up the report? NZ(value, "") Or am I misunderstanding the problem? The report doesn't care if they're really Null values or empty strings does it? Susan H. > I need to keep the nulls as they are valid responses. > > Martin From cfoust at infostatsystems.com Wed Oct 8 10:55:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Oct 2003 08:55:49 -0700 Subject: [AccessD] CrossTab Message-ID: Is the crosstab using the values as the column headings? If so, you could use a calculated field to return an IsNull expression. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, October 08, 2003 7:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CrossTab I need to keep the nulls as they are valid responses. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 08, 2003 4:38 PM Subject: Re: [AccessD] CrossTab > Can't you handle the Null in the underlying query? > > Susan H. > > > > Running a major cross tab report > > > > A lot of the values are null > > > > Problem > > > > The Crosstab creats a new column called <> (I dont create this) > > > > when it comes across a null row it assigns it a value of 1 > > > > how can I get it to stop creating the 1 value as it is tossing out > > my calculations. > > > > > > > > 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 rl_stewart at highstream.net Wed Oct 8 11:11:00 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 08 Oct 2003 11:11:00 -0500 Subject: [AccessD] Re: SQL LOG File is Huge! In-Reply-To: <200310081556.h98FuEe18371@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031008110804.025a0058@pop3.highstream.net> Julie, Here is the SQL code that I use for the log file: CREATE PROCEDURE [DBO].[usp_Truncate_Log] AS BEGIN EXEC sp_dboption 'DB_NAME' , 'trunc. log on chkpt.','TRUE' END BEGIN CHECKPOINT END BEGIN EXEC sp_dboption 'DB_NAME' , 'trunc. log on chkpt.','FALSE' END BEGIN DBCC SHRINKFILE(LogFileName,1) END GO Replace DB_Name with the name of your database Replace LogFileName with the name of your log file and do not put quotes around it like DB_Name has. Robert At 10:56 AM 10/8/2003 -0500, you wrote: >Date: Wed, 08 Oct 2003 09:35:14 -0400 >From: "Julie Reardon-Taylor" >Subject: [AccessD] SQL LOG File is Huge! 10GB - Help >To: AccessD at databaseadvisors.com, dba-SQLServer at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > > >Hi Group, > >All of a sudden, my BEDB.dbf file has grown huge. The file itself and the >log file are at 10GB. I tried shrinking the database, and received a >message saying that it was successful, however, the files are still the same >size. I'm receiving an event log error ID 17052 that states that there is >no more room in the log file. How can I resolve this problem? It is >causing problems on the server because the files are taking up so much >space. It is error 9002, severity 17. > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >www.pro-soft.net From James at fcidms.com Wed Oct 8 11:18:11 2003 From: James at fcidms.com (James Barash) Date: Wed, 8 Oct 2003 12:18:11 -0400 Subject: [AccessD] Table/Query Shortcut Menu Disappeared In-Reply-To: Message-ID: Hi all, I'm having a strange problem with Access 2000 SR-3, Windows 2000 Pro SP-3. I can no longer get the shortcut menu to popup when right-clicking on a table or query in the database window of any database using Access 2000. Right-Clicking selects the Table/Query but does not popup a menu. The shortcut menu works for forms/reports/macros/modules, just not for tables/queries. I've tried deselecting/reselecting Allow Default Shortcut Menus but that had no effect. I've tried repairing and deleting and re-installing Office but it still does not work correctly. I've deleted all Add-ins in case that was the problem but nothing seems to fix this. I also have Access 97 and XP loaded on the same machine and the shortcuts work correctly using those, just not in Access 2000. Everything else seems to work correctly, including custom shortcut menus for some forms. Has anyone else had this problem and is there a solution? It worked correctly last week and I don't think I've installed anything since. Any and all suggestions would be welcome. Thanks, James Barash From melissasener at earthlink.net Wed Oct 8 11:23:53 2003 From: melissasener at earthlink.net (Melissa F. Sener) Date: Wed, 8 Oct 2003 09:23:53 -0700 Subject: [dba-SQLServer][AccessD] Re: SQL LOG File is Huge! 10GB - Help In-Reply-To: <5.1.0.14.2.20031008111353.031736a0@mail.psu.edu> Message-ID: What are the benefits of choosing Full Recovery Model? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Liadis Sent: Wednesday, October 08, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: [dba-SQLServer][AccessD] Re: SQL LOG File is Huge! 10GB - Help We ran into this once, and here is what was causing our problems. If you look at the properties of your database in Enterpirse Manager, there is a tab that says Options. On this tab, there is a dropdown for recovery model. Our logs were growing huge because we chose Full in the Recovery Model dropdown. To fix the problem we chose Simple and this significantly reduced the size of our Transaction Logs. Paul Liadis University Budget Office Penn State University At 09:35 AM 10/8/2003 -0400, you wrote: >Hi Group, > >All of a sudden, my BEDB.dbf file has grown huge. The file itself and the >log file are at 10GB. I tried shrinking the database, and received a >message saying that it was successful, however, the files are still the same >size. I'm receiving an event log error ID 17052 that states that there is >no more room in the log file. How can I resolve this problem? It is >causing problems on the server because the files are taking up so much >space. It is error 9002, severity 17. > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >www.pro-soft.net > >_________________________________________________________________ >High-speed Internet access as low as $29.95/month (depending on the local >service providers in your area). Click here. https://broadband.msn.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Oct 8 12:03:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Oct 2003 10:03:03 -0700 Subject: [AccessD] Table/Query Shortcut Menu Disappeared Message-ID: I've seen this bizarre behavior as well on the same kind of setup. Oddly enough, in my case switching to Excel or Word and popping up a shortcut menu there seems to kick Office in the pants and give me back my shortcut menus in Access . Charlotte Foust -----Original Message----- From: James Barash [mailto:James at fcidms.com] Sent: Wednesday, October 08, 2003 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Table/Query Shortcut Menu Disappeared Hi all, I'm having a strange problem with Access 2000 SR-3, Windows 2000 Pro SP-3. I can no longer get the shortcut menu to popup when right-clicking on a table or query in the database window of any database using Access 2000. Right-Clicking selects the Table/Query but does not popup a menu. The shortcut menu works for forms/reports/macros/modules, just not for tables/queries. I've tried deselecting/reselecting Allow Default Shortcut Menus but that had no effect. I've tried repairing and deleting and re-installing Office but it still does not work correctly. I've deleted all Add-ins in case that was the problem but nothing seems to fix this. I also have Access 97 and XP loaded on the same machine and the shortcuts work correctly using those, just not in Access 2000. Everything else seems to work correctly, including custom shortcut menus for some forms. Has anyone else had this problem and is there a solution? It worked correctly last week and I don't think I've installed anything since. Any and all suggestions would be welcome. Thanks, James Barash _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Oct 8 12:05:14 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 8 Oct 2003 13:05:14 -0400 Subject: [AccessD] Acc97 run-time question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3063B5EC@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAF04@ADGSERVER> Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby From cfoust at infostatsystems.com Wed Oct 8 12:16:45 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Oct 2003 10:16:45 -0700 Subject: [AccessD] Acc97 run-time question. Message-ID: You'd be better of using the Wise Installer instead of the setup wizard. You can include the runtime files with Wise as well, not just with a package created by the setup wizard. You will have to change the Wise script, however. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Wednesday, October 08, 2003 9:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Acc97 run-time question. Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Oct 8 13:06:14 2003 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 8 Oct 2003 11:06:14 -0700 Subject: [AccessD] Acc97 run-time question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BAF04@ADGSERVER> Message-ID: <002101c38dc6$dce71a80$8500a8c0@CX615377a> If this is a one time installation and the target computer does not have any other versions of Access on it I'd go with the MS Deployment Wizard built package. We used this for distributing a package that went on many different computers some with other versions of Access and we did not have any problems. The caveat is that I went through all the knowledgebase articles on the 97 P&D wizard and made all the recommended modifications. I don't know that these articles are still available. You might look. If you want I can send a list of the article numbers offline. We have since moved to Wise and Sagekey scripts for Access 2002. For a large number of installations on unknown systems that seems to be the most bullet proof way to go. I don't think that developing your own Wise scripts would be cost effective. Bottom line is that what ever you do should be tested on a similar system to the target before deploying. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 08, 2003 10:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Acc97 run-time question. Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Wed Oct 8 13:08:38 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 8 Oct 2003 10:08:38 -0800 Subject: [AccessD] CrossTab Message-ID: You can also investigate the 'Switch' command, switching a value for an actual text string like "Null". > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, October 08, 2003 7:56 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] CrossTab > > > Is the crosstab using the values as the column headings? If so, you > could use a calculated field to return an IsNull expression. > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, October 08, 2003 7:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CrossTab > > > I need to keep the nulls as they are valid responses. > > Martin > > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, October 08, 2003 4:38 PM > Subject: Re: [AccessD] CrossTab > > > > Can't you handle the Null in the underlying query? > > > > Susan H. > > > > > > > Running a major cross tab report > > > > > > A lot of the values are null > > > > > > Problem > > > > > > The Crosstab creats a new column called <> (I dont create this) > > > > > > when it comes across a null row it assigns it a value of 1 > > > > > > how can I get it to stop creating the 1 value as it is > tossing out > > > my calculations. > > > > > > > > > > > > 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 > 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. ACS8/10/2003 From cfoust at infostatsystems.com Wed Oct 8 13:21:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Oct 2003 11:21:06 -0700 Subject: [AccessD] Acc97 run-time question. Message-ID: I ran into issues using the setup wizard packages for 97 on machines that had Office 2000 (not Access 2000) installed. That permanently cured any lingering affection I had for the MS wizard. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Wednesday, October 08, 2003 10:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Acc97 run-time question. If this is a one time installation and the target computer does not have any other versions of Access on it I'd go with the MS Deployment Wizard built package. We used this for distributing a package that went on many different computers some with other versions of Access and we did not have any problems. The caveat is that I went through all the knowledgebase articles on the 97 P&D wizard and made all the recommended modifications. I don't know that these articles are still available. You might look. If you want I can send a list of the article numbers offline. We have since moved to Wise and Sagekey scripts for Access 2002. For a large number of installations on unknown systems that seems to be the most bullet proof way to go. I don't think that developing your own Wise scripts would be cost effective. Bottom line is that what ever you do should be tested on a similar system to the target before deploying. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 08, 2003 10:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Acc97 run-time question. Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pnl1 at psu.edu Wed Oct 8 13:23:49 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 08 Oct 2003 14:23:49 -0400 Subject: [dba-SQLServer][AccessD] Re: SQL LOG File is Huge! 10GB - Help In-Reply-To: References: <5.1.0.14.2.20031008111353.031736a0@mail.psu.edu> Message-ID: <5.1.0.14.2.20031008142050.03eeda78@mail.psu.edu> I believe Full Recovery Model gives the best chance to recover from a failure in a transactional environment. I copied the following from SQL Server Books Online: "Full Recovery provides the ability to recover the database to the point of failure or to a specific point in time. To guarantee this degree of recoverability, all operations, including bulk operations such as SELECT INTO, CREATE INDEX, and bulk loading data, are fully logged. " My organization doesn't really need Full Recovery because our data doesn't change very often, and we aren't doing a lot of transactions. With tape backups, we can recover from the previous day, which is ok for us. Paul Liadis Penn State University At 09:23 AM 10/8/2003 -0700, you wrote: >What are the benefits of choosing Full Recovery Model? > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Liadis >Sent: Wednesday, October 08, 2003 8:17 AM >To: Access Developers discussion and problem solving >Subject: [dba-SQLServer][AccessD] Re: SQL LOG File is Huge! 10GB - Help > > >We ran into this once, and here is what was causing our problems. If you >look at the properties of your database in Enterpirse Manager, there is a >tab that says Options. On this tab, there is a dropdown for recovery >model. Our logs were growing huge because we chose Full in the Recovery >Model dropdown. To fix the problem we chose Simple and this significantly >reduced the size of our Transaction Logs. > >Paul Liadis >University Budget Office >Penn State University > >At 09:35 AM 10/8/2003 -0400, you wrote: > > >Hi Group, > > > >All of a sudden, my BEDB.dbf file has grown huge. The file itself and the > >log file are at 10GB. I tried shrinking the database, and received a > >message saying that it was successful, however, the files are still the >same > >size. I'm receiving an event log error ID 17052 that states that there is > >no more room in the log file. How can I resolve this problem? It is > >causing problems on the server because the files are taking up so much > >space. It is error 9002, severity 17. > > > > > >Julie Reardon-Taylor > >PRO-SOFT OF NY, INC. > >www.pro-soft.net > > > >_________________________________________________________________ > >High-speed Internet access as low as $29.95/month (depending on the local > >service providers in your area). Click here. https://broadband.msn.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >dba-SQLServer mailing list > >dba-SQLServer at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Oct 8 13:30:45 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 8 Oct 2003 11:30:45 -0700 Subject: [AccessD] OT Book Recommendation References: Message-ID: <001e01c38dca$4b3d13b0$42f66e51@martin1> I dont normally push books but this one will be good. I know some list members are working with .NET Developing Killer Web Apps with Dreamweaver MX? and C#T Due out in Jan. Published by Sybex. You actually dont need Dreamweaver to use it. Some of the stuff is the best intro to .NET programming I have seen. I am the technical editor for the book. Its all C sharp stuff and some is fairly complex but for anyone using dreamweaver and .net and want a good intro to dreamweaver and C Sharp its a good book. Martin From askolits at ot.com Wed Oct 8 13:32:55 2003 From: askolits at ot.com (John Skolits) Date: Wed, 8 Oct 2003 14:32:55 -0400 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't Find" In-Reply-To: <009901c37d4e$14ba7170$5d0ed018@W2k> Message-ID: I get this message when I simply call a basic function from within Access 'using a macro'. But I can call it from the Immediate window. The user was half way re-loading WIN XP on his PC when he cancelled the process. XP was already on it so there was no need for him to run the setup. Once he realized it he cancelled it. Now Access won't work correctly. Any ideas? John Skolits From bheid at appdevgrp.com Wed Oct 8 13:34:00 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 8 Oct 2003 14:34:00 -0400 Subject: [AccessD] Acc97 run-time question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3063B666@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAF09@ADGSERVER> Thanks Charlotte and Doug for the information. This is more of an exception install at that location. I do not know if they have Off2k, OffXP, or Off2003. I was just looking for a simple way of getting the runtime onto their system. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, October 08, 2003 2:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Acc97 run-time question. I ran into issues using the setup wizard packages for 97 on machines that had Office 2000 (not Access 2000) installed. That permanently cured any lingering affection I had for the MS wizard. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Wednesday, October 08, 2003 10:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Acc97 run-time question. If this is a one time installation and the target computer does not have any other versions of Access on it I'd go with the MS Deployment Wizard built package. We used this for distributing a package that went on many different computers some with other versions of Access and we did not have any problems. The caveat is that I went through all the knowledgebase articles on the 97 P&D wizard and made all the recommended modifications. I don't know that these articles are still available. You might look. If you want I can send a list of the article numbers offline. We have since moved to Wise and Sagekey scripts for Access 2002. For a large number of installations on unknown systems that seems to be the most bullet proof way to go. I don't think that developing your own Wise scripts would be cost effective. Bottom line is that what ever you do should be tested on a similar system to the target before deploying. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 08, 2003 10:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Acc97 run-time question. Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 8 13:39:49 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Oct 2003 11:39:49 -0700 Subject: [AccessD] Re: When is a report actually printed References: <5.1.0.14.2.20031007151727.025c5248@pop3.highstream.net> Message-ID: <3F8459F5.6000809@shaw.ca> If anyone wants to play around with interogating the Print Spooler and Queue Here is some starter code to examine it through WMI otherwise you have to use winSpool.dll WMI needs an install for Win9x and works remotely in Win2000 WinXP Option Compare Database Option Explicit 'Private Enum PrinterStatus ' PrinterIdle = 3 ' PrinterPrinting = 4 ' PrinterWarmingUp = 5 ' ' For more states see WMI docs. 'End Enum Sub LookthruWinSpooler() Dim strComputer As String Dim objWMIService As Object Dim colItems As Object Dim objItem As Object 'The Win32_PrintJob WMI class represents a print job generated 'by a Windows application. Any unit of work generated 'by the print command of an application running on a 'Windows system is a descendent (or member) of this class. 'Documentation of WMI classes: ' set reference to WMICntl 1.0 class library wbemcntl.dll 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_classes.asp 'http://www.activxperts.com/activmonitor/windowsmanagement/wmisamples/ On Error Resume Next strComputer = "." 'local computer Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_PrintJob", , 48) For Each objItem In colItems Debug.Print "Caption: " & objItem.Caption Debug.Print "DataType: " & objItem.DataType Debug.Print "Description: " & objItem.Description Debug.Print "Document: " & objItem.Document Debug.Print "DriverName: " & objItem.DriverName Debug.Print "ElapsedTime: " & objItem.ElapsedTime Debug.Print "HostPrintQueue: " & objItem.HostPrintQueue Debug.Print "InstallDate: " & objItem.InstallDate Debug.Print "JobId: " & objItem.JobId Debug.Print "JobStatus: " & objItem.JobStatus Debug.Print "Name: " & objItem.Name Debug.Print "Notify: " & objItem.Notify Debug.Print "Owner: " & objItem.Owner Debug.Print "PagesPrinted: " & objItem.PagesPrinted Debug.Print "Parameters: " & objItem.Parameters Debug.Print "PrintProcessor: " & objItem.PrintProcessor Debug.Print "Priority: " & objItem.Priority Debug.Print "Size: " & objItem.Size Debug.Print "StartTime: " & WMIDateStringToDate(objItem.StartTime) Debug.Print "Status: " & objItem.Status Debug.Print "StatusMask: " & objItem.StatusMask Debug.Print "TimeSubmitted: " & WMIDateStringToDate(objItem.TimeSubmitted) Debug.Print "TotalPages: " & objItem.TotalPages Debug.Print "UntilTime: " & objItem.UntilTime Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, 13, 2)) End Function Sub Win32_Printer() Dim strComputer As String Dim objWMIService As Object Dim colItems As Object Dim objItem As Object 'The Win32_Printer WMI class represents a device connected 'to a Windows computer system that can reproduce a 'visual image on paper or other medium. On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_Printer", , 48) For Each objItem In colItems Debug.Print "Attributes: " & objItem.Attributes Debug.Print "Availability: " & objItem.Availability Debug.Print "AveragePagesPerMinute: " & objItem.AveragePagesPerMinute Debug.Print "Capabilities: " & objItem.Capabilities Debug.Print "CapabilityDescriptions: " & objItem.CapabilityDescriptions Debug.Print "Caption: " & objItem.Caption Debug.Print "ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode Debug.Print "ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig Debug.Print "CreationClassName: " & objItem.CreationClassName Debug.Print "DefaultPriority: " & objItem.DefaultPriority Debug.Print "Description: " & objItem.Description Debug.Print "DetectedErrorState: " & objItem.DetectedErrorState Debug.Print "DeviceID: " & objItem.DeviceID Debug.Print "DriverName: " & objItem.DriverName Debug.Print "ErrorCleared: " & objItem.ErrorCleared Debug.Print "ErrorDescription: " & objItem.ErrorDescription Debug.Print "HorizontalResolution: " & objItem.HorizontalResolution Debug.Print "InstallDate: " & objItem.InstallDate Debug.Print "JobCountSinceLastReset: " & objItem.JobCountSinceLastReset Debug.Print "LanguagesSupported: " & objItem.LanguagesSupported Debug.Print "LastErrorCode: " & objItem.LastErrorCode Debug.Print "Location: " & objItem.Location Debug.Print "Name: " & objItem.Name Debug.Print "PaperSizesSupported: " & objItem.PaperSizesSupported Debug.Print "PNPDeviceID: " & objItem.PNPDeviceID Debug.Print "PortName: " & objItem.PortName Debug.Print "PowerManagementCapabilities: " & objItem.PowerManagementCapabilities Debug.Print "PowerManagementSupported: " & objItem.PowerManagementSupported Debug.Print "PrinterPaperNames: " & objItem.PrinterPaperNames Debug.Print "PrinterState: " & objItem.PrinterState Debug.Print "PrinterStatus: " & objItem.Printerstatus Debug.Print "PrintJobDataType: " & objItem.PrintJobDataType Debug.Print "PrintProcessor: " & objItem.PrintProcessor Debug.Print "SeparatorFile: " & objItem.SeparatorFile Debug.Print "ServerName: " & objItem.ServerName Debug.Print "ShareName: " & objItem.ShareName Debug.Print "SpoolEnabled: " & objItem.SpoolEnabled Debug.Print "StartTime: " & objItem.StartTime Debug.Print "Status: " & objItem.Status Debug.Print "StatusInfo: " & objItem.StatusInfo Debug.Print "SystemCreationClassName: " & objItem.SystemCreationClassName Debug.Print "SystemName: " & objItem.SystemName Debug.Print "TimeOfLastReset: " & objItem.TimeOfLastReset Debug.Print "UntilTime: " & objItem.UntilTime Debug.Print "VerticalResolution: " & objItem.VerticalResolution Next End Sub Sub PrintQueueStats() Dim strComputer As String Dim objWMIService As Object Dim colPrintJobs As Object Dim objPrintJob As Object Dim intTotalJobs As Long Dim intTotalPages As Long Dim intMaxPrintJob As Long strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colPrintJobs = objWMIService.ExecQuery _ ("SELECT * FROM Win32_PrintJob") For Each objPrintJob In colPrintJobs intTotalJobs = intTotalJobs + 1 intTotalPages = intTotalPages + objPrintJob.TotalPages If objPrintJob.TotalPages > intMaxPrintJob Then intMaxPrintJob = objPrintJob.TotalPages End If Next Debug.Print "Total print jobs in queue: " & intTotalJobs Debug.Print "Total pages in queue: " & intTotalPages Debug.Print "Largest print job pages in queue: " & intMaxPrintJob End Sub From Mark.Mitsules at ngc.com Wed Oct 8 13:58:47 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 8 Oct 2003 14:58:47 -0400 Subject: [AccessD] Re: When is a report actually printed Message-ID: I've messed with this in the past...if only I had administrator privileges on those remote print servers:( Mark -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Wednesday, October 08, 2003 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re: When is a report actually printed If anyone wants to play around with interogating the Print Spooler and Queue Here is some starter code to examine it through WMI otherwise you have to use winSpool.dll WMI needs an install for Win9x and works remotely in Win2000 WinXP Option Compare Database Option Explicit 'Private Enum PrinterStatus ' PrinterIdle = 3 ' PrinterPrinting = 4 ' PrinterWarmingUp = 5 ' ' For more states see WMI docs. 'End Enum Sub LookthruWinSpooler() Dim strComputer As String Dim objWMIService As Object Dim colItems As Object Dim objItem As Object 'The Win32_PrintJob WMI class represents a print job generated 'by a Windows application. Any unit of work generated 'by the print command of an application running on a 'Windows system is a descendent (or member) of this class. 'Documentation of WMI classes: ' set reference to WMICntl 1.0 class library wbemcntl.dll 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi /wmi_classes.asp 'http://www.activxperts.com/activmonitor/windowsmanagement/wmisamples/ On Error Resume Next strComputer = "." 'local computer Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_PrintJob", , 48) For Each objItem In colItems Debug.Print "Caption: " & objItem.Caption Debug.Print "DataType: " & objItem.DataType Debug.Print "Description: " & objItem.Description Debug.Print "Document: " & objItem.Document Debug.Print "DriverName: " & objItem.DriverName Debug.Print "ElapsedTime: " & objItem.ElapsedTime Debug.Print "HostPrintQueue: " & objItem.HostPrintQueue Debug.Print "InstallDate: " & objItem.InstallDate Debug.Print "JobId: " & objItem.JobId Debug.Print "JobStatus: " & objItem.JobStatus Debug.Print "Name: " & objItem.Name Debug.Print "Notify: " & objItem.Notify Debug.Print "Owner: " & objItem.Owner Debug.Print "PagesPrinted: " & objItem.PagesPrinted Debug.Print "Parameters: " & objItem.Parameters Debug.Print "PrintProcessor: " & objItem.PrintProcessor Debug.Print "Priority: " & objItem.Priority Debug.Print "Size: " & objItem.Size Debug.Print "StartTime: " & WMIDateStringToDate(objItem.StartTime) Debug.Print "Status: " & objItem.Status Debug.Print "StatusMask: " & objItem.StatusMask Debug.Print "TimeSubmitted: " & WMIDateStringToDate(objItem.TimeSubmitted) Debug.Print "TotalPages: " & objItem.TotalPages Debug.Print "UntilTime: " & objItem.UntilTime Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, 13, 2)) End Function Sub Win32_Printer() Dim strComputer As String Dim objWMIService As Object Dim colItems As Object Dim objItem As Object 'The Win32_Printer WMI class represents a device connected 'to a Windows computer system that can reproduce a 'visual image on paper or other medium. On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_Printer", , 48) For Each objItem In colItems Debug.Print "Attributes: " & objItem.Attributes Debug.Print "Availability: " & objItem.Availability Debug.Print "AveragePagesPerMinute: " & objItem.AveragePagesPerMinute Debug.Print "Capabilities: " & objItem.Capabilities Debug.Print "CapabilityDescriptions: " & objItem.CapabilityDescriptions Debug.Print "Caption: " & objItem.Caption Debug.Print "ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode Debug.Print "ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig Debug.Print "CreationClassName: " & objItem.CreationClassName Debug.Print "DefaultPriority: " & objItem.DefaultPriority Debug.Print "Description: " & objItem.Description Debug.Print "DetectedErrorState: " & objItem.DetectedErrorState Debug.Print "DeviceID: " & objItem.DeviceID Debug.Print "DriverName: " & objItem.DriverName Debug.Print "ErrorCleared: " & objItem.ErrorCleared Debug.Print "ErrorDescription: " & objItem.ErrorDescription Debug.Print "HorizontalResolution: " & objItem.HorizontalResolution Debug.Print "InstallDate: " & objItem.InstallDate Debug.Print "JobCountSinceLastReset: " & objItem.JobCountSinceLastReset Debug.Print "LanguagesSupported: " & objItem.LanguagesSupported Debug.Print "LastErrorCode: " & objItem.LastErrorCode Debug.Print "Location: " & objItem.Location Debug.Print "Name: " & objItem.Name Debug.Print "PaperSizesSupported: " & objItem.PaperSizesSupported Debug.Print "PNPDeviceID: " & objItem.PNPDeviceID Debug.Print "PortName: " & objItem.PortName Debug.Print "PowerManagementCapabilities: " & objItem.PowerManagementCapabilities Debug.Print "PowerManagementSupported: " & objItem.PowerManagementSupported Debug.Print "PrinterPaperNames: " & objItem.PrinterPaperNames Debug.Print "PrinterState: " & objItem.PrinterState Debug.Print "PrinterStatus: " & objItem.Printerstatus Debug.Print "PrintJobDataType: " & objItem.PrintJobDataType Debug.Print "PrintProcessor: " & objItem.PrintProcessor Debug.Print "SeparatorFile: " & objItem.SeparatorFile Debug.Print "ServerName: " & objItem.ServerName Debug.Print "ShareName: " & objItem.ShareName Debug.Print "SpoolEnabled: " & objItem.SpoolEnabled Debug.Print "StartTime: " & objItem.StartTime Debug.Print "Status: " & objItem.Status Debug.Print "StatusInfo: " & objItem.StatusInfo Debug.Print "SystemCreationClassName: " & objItem.SystemCreationClassName Debug.Print "SystemName: " & objItem.SystemName Debug.Print "TimeOfLastReset: " & objItem.TimeOfLastReset Debug.Print "UntilTime: " & objItem.UntilTime Debug.Print "VerticalResolution: " & objItem.VerticalResolution Next End Sub Sub PrintQueueStats() Dim strComputer As String Dim objWMIService As Object Dim colPrintJobs As Object Dim objPrintJob As Object Dim intTotalJobs As Long Dim intTotalPages As Long Dim intMaxPrintJob As Long strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colPrintJobs = objWMIService.ExecQuery _ ("SELECT * FROM Win32_PrintJob") For Each objPrintJob In colPrintJobs intTotalJobs = intTotalJobs + 1 intTotalPages = intTotalPages + objPrintJob.TotalPages If objPrintJob.TotalPages > intMaxPrintJob Then intMaxPrintJob = objPrintJob.TotalPages End If Next Debug.Print "Total print jobs in queue: " & intTotalJobs Debug.Print "Total pages in queue: " & intTotalPages Debug.Print "Largest print job pages in queue: " & intMaxPrintJob End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Oct 8 14:01:40 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 15:01:40 -0400 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Thank You!!!! Message-ID: Thank you to everyone for your suggestions. I have worked all day to clear up the problem, and have managed to shrink the transaction log as well as the database back to their normal size. Still not sure what caused it though. I will look at each of your suggestions to prevent this from happening in the future. Really appreciate all of your responses! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From bobbedell15 at msn.com Wed Oct 8 14:02:35 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Wed, 08 Oct 2003 19:02:35 +0000 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Message-ID: Pardon me for jumping in, but a similar issue has been bugging me too. I'm not quite sure how this is supposed to work. When you perform a backup in SQL Server, all of the committed transactions are supposed to be cleard from the transaction log, right? So after performing a backup, I can run a function to view the active portion of the log, and there are only a few entries in it. But the physical size of the log hasn't gotten any smaller on disk. I have the log set to auto-grow. Is it the case that the physical allocation of the log grows as the log grows, and then when a backup is performed and the comitted transactions are cleared, the physical allocation of the log remains at the same siza it grew to, its just empty now. Or if I backup a 10 MG log, is the physical size of the log supposed to shrink to 1MG or whatever. Any clarification regarding this would really help. Thanks, Bob >From: Randall Anthony >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] SQL LOG File is Huge! 10GB - Help >Date: Wed, 8 Oct 2003 09:47:22 -0400 > >Without looking at the error codes, it sounds like you're not dumping your >transaction log. SQL has two settings for backing up files, one were it's >cumulative (which sounds like what you have set) and one where the file is >dumped before the backup is created (and you can set the frequency). > >-----Original Message----- >From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] >Sent: Wednesday, October 08, 2003 9:35 AM >To: AccessD at databaseadvisors.com; dba-SQLServer at databaseadvisors.com >Subject: [AccessD] SQL LOG File is Huge! 10GB - Help > > >Hi Group, > >All of a sudden, my BEDB.dbf file has grown huge. The file itself and the >log file are at 10GB. I tried shrinking the database, and received a >message saying that it was successful, however, the files are still the >same > >size. I'm receiving an event log error ID 17052 that states that there is >no more room in the log file. How can I resolve this problem? It is >causing problems on the server because the files are taking up so much >space. It is error 9002, severity 17. > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >www.pro-soft.net > >_________________________________________________________________ >High-speed Internet access as low as $29.95/month (depending on the local >service providers in your area). Click here. https://broadband.msn.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From prosoft6 at hotmail.com Wed Oct 8 14:02:37 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 15:02:37 -0400 Subject: [AccessD] SQL LOG File is Huge! 10GB - Help Thank You!!!! Message-ID: Thank you to everyone for your suggestions. I have worked all day to clear up the problem, and have managed to shrink the transaction log as well as the database back to their normal size. Still not sure what caused it though. I will look at each of your suggestions to prevent this from happening in the future. Really appreciate all of your responses! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From James at fcidms.com Wed Oct 8 14:09:45 2003 From: James at fcidms.com (James Barash) Date: Wed, 8 Oct 2003 15:09:45 -0400 Subject: [AccessD] Table/Query Shortcut Menu Disappeared In-Reply-To: Message-ID: Charlotte: Thanks for the suggestions. Unfortunately it didn't work. Maybe because Access is the only Office 2000 product I have loaded. At least it gave me something new to try. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, October 08, 2003 1:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table/Query Shortcut Menu Disappeared I've seen this bizarre behavior as well on the same kind of setup. Oddly enough, in my case switching to Excel or Word and popping up a shortcut menu there seems to kick Office in the pants and give me back my shortcut menus in Access . Charlotte Foust -----Original Message----- From: James Barash [mailto:James at fcidms.com] Sent: Wednesday, October 08, 2003 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Table/Query Shortcut Menu Disappeared Hi all, I'm having a strange problem with Access 2000 SR-3, Windows 2000 Pro SP-3. I can no longer get the shortcut menu to popup when right-clicking on a table or query in the database window of any database using Access 2000. Right-Clicking selects the Table/Query but does not popup a menu. The shortcut menu works for forms/reports/macros/modules, just not for tables/queries. I've tried deselecting/reselecting Allow Default Shortcut Menus but that had no effect. I've tried repairing and deleting and re-installing Office but it still does not work correctly. I've deleted all Add-ins in case that was the problem but nothing seems to fix this. I also have Access 97 and XP loaded on the same machine and the shortcuts work correctly using those, just not in Access 2000. Everything else seems to work correctly, including custom shortcut menus for some forms. Has anyone else had this problem and is there a solution? It worked correctly last week and I don't think I've installed anything since. Any and all suggestions would be welcome. Thanks, James Barash _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Oct 8 14:02:37 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Oct 2003 15:02:37 -0400 Subject: [dba-SQLServer] Re: [AccessD] SQL LOG File is Huge! 10GB - Help Thank You!!!! Message-ID: Thank you to everyone for your suggestions. I have worked all day to clear up the problem, and have managed to shrink the transaction log as well as the database back to their normal size. Still not sure what caused it though. I will look at each of your suggestions to prevent this from happening in the future. Really appreciate all of your responses! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From todd_5036 at msn.com Wed Oct 8 14:52:51 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 08 Oct 2003 14:52:51 -0500 Subject: [AccessD] Acc97 run-time question. Message-ID: Since you didn't list the files, there is no way to tell if that is all you need. Also, since we don't know what the program does, there is no way to know if there are other dependencies like ADO or some MS control that is not built into Access97. Can't you get your hands on a machine that does not have Access on it and try the install yourself? You should always dev test your work before you release it. Even the install. Todd. ----Original Message Follows---- From: "Bobby Heid" Reply-To: Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Acc97 run-time question. Date: Wed, 8 Oct 2003 13:05:14 -0400 Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From todd_5036 at msn.com Wed Oct 8 14:52:51 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 08 Oct 2003 14:52:51 -0500 Subject: [AccessD] Acc97 run-time question. Message-ID: Since you didn't list the files, there is no way to tell if that is all you need. Also, since we don't know what the program does, there is no way to know if there are other dependencies like ADO or some MS control that is not built into Access97. Can't you get your hands on a machine that does not have Access on it and try the install yourself? You should always dev test your work before you release it. Even the install. Todd. ----Original Message Follows---- From: "Bobby Heid" Reply-To: Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Acc97 run-time question. Date: Wed, 8 Oct 2003 13:05:14 -0400 Hey, Our client has office 97 on every pc that our application goes on. SO I have never had to create a run-time install. We usually create an install using an older copy of Wise Installer. Anyway, they have a satellite office that does not want to put Access 97 on their systems and they want us to give them the run-time. I tried the set-up wizard using a blank database. It created 18 files that total up to about 1.09MB. Is that what I need to send to them for testing? All I want to do is load the run-time on their PCs. We are moving to XP very soon (client is slow to change) so this will be a moot point later. But for now... Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Help protect your PC. Get a FREE computer virus scan online from McAfee. 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 lists at theopg.com Wed Oct 8 15:03:30 2003 From: lists at theopg.com (MarkH) Date: Wed, 8 Oct 2003 21:03:30 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" In-Reply-To: <001401c38d3a$f2ff67f0$6501a8c0@user> Message-ID: <000401c38dd7$3eb83310$9f0b6bd5@netboxxp> Not really... The mdb exited fine, there was no indication of a problem. Its a new file with less than 25 objects or so, not even a meg in size. The laptop did bluescreen when I shut it down though, but that was more than an hour later. Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 08 October 2003 02:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" Mark - such a bummer when you waste time on that stuff - did you work out how the corruption happened in the first place? Anything specific? Kath ----- Original Message ----- From: HYPERLINK "mailto:lists at theopg.com"MarkH To: HYPERLINK "mailto:accessd at databaseadvisors.com"'Access Developers discussion and problem solving' Sent: Wednesday, October 08, 2003 8:52 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped theprocessbecause...Youand another user are"" Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 HYPERLINK "mailto:jimdettman at earthlink.net"jimdettman at earthlink.net -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com > HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd > Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Oct 8 15:32:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 8 Oct 2003 16:32:23 -0400 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't Find" In-Reply-To: Message-ID: >The user was half way re-loading WIN XP on his PC when he cancelled the process. XP was already on it so there was no need for him to run the setup. Once he realized it he cancelled it. Now Access won't work correctly. Any ideas? Shoot the user. It won't correct this problem, but it may make you feel better, and it will damned sure make the next user think twice before... Uhhh.... Never mind. Having throwbacks to my Mexico days. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Wednesday, October 08, 2003 2:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't Find" I get this message when I simply call a basic function from within Access 'using a macro'. But I can call it from the Immediate window. The user was half way re-loading WIN XP on his PC when he cancelled the process. XP was already on it so there was no need for him to run the setup. Once he realized it he cancelled it. Now Access won't work correctly. Any ideas? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Oct 8 15:42:49 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 8 Oct 2003 16:42:49 -0400 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" References: Message-ID: <00e901c38ddc$bd1a12f0$6001a8c0@dejpolsys> ...lol ...I got half way through posting a suggestion that he "Colbyize" the user as his first step ...then it dawned on me that I'd probably have to explain that and that's just too damn much trouble these days :))) ...the Mexican days had their good points ...up in the plane ...out the door ...no parachute ...I remember them well :))) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 08, 2003 4:32 PM Subject: RE: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" > >The user was half way re-loading WIN XP on his PC when he cancelled the > process. XP was already on it so there was no need for him to run the setup. > Once he realized it he cancelled it. Now Access won't work correctly. Any > ideas? > > Shoot the user. > > It won't correct this problem, but it may make you feel better, and it will > damned sure make the next user think twice before... > > Uhhh.... > > Never mind. Having throwbacks to my Mexico days. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits > Sent: Wednesday, October 08, 2003 2:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't > Find" > > > > I get this message when I simply call a basic function from within Access > 'using a macro'. > > But I can call it from the Immediate window. > > The user was half way re-loading WIN XP on his PC when he cancelled the > process. XP was already on it so there was no need for him to run the setup. > Once he realized it he cancelled it. Now Access won't work correctly. Any > ideas? > > John Skolits > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Oct 8 15:46:53 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 8 Oct 2003 16:46:53 -0400 Subject: [AccessD] Acc97 run-time question. References: Message-ID: <00f401c38ddd$4e945a60$6001a8c0@dejpolsys> ...you absolutely have to do a trial install on a clean system ...there are a number of things that work in Access that don't work in the runtime installs ...and damned little info from MS on them :( William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "Todd Buttrey" To: Sent: Wednesday, October 08, 2003 3:52 PM Subject: Re: [AccessD] Acc97 run-time question. > Since you didn't list the files, there is no way to tell if that is all you > need. Also, since we don't know what the program does, there is no way to > know if there are other dependencies like ADO or some MS control that is not > built into Access97. > > Can't you get your hands on a machine that does not have Access on it and > try the install yourself? You should always dev test your work before you > release it. Even the install. > > > Todd. > > > ----Original Message Follows---- > From: "Bobby Heid" > Reply-To: Access Developers discussion and problem > solving > To: "'Access Developers discussion and problem > solving'" > Subject: [AccessD] Acc97 run-time question. > Date: Wed, 8 Oct 2003 13:05:14 -0400 > > Hey, > > Our client has office 97 on every pc that our application goes on. SO I > have never had to create a run-time install. We usually create an install > using an older copy of Wise Installer. > > Anyway, they have a satellite office that does not want to put Access 97 on > their systems and they want us to give them the run-time. I tried the > set-up wizard using a blank database. It created 18 files that total up to > about 1.09MB. Is that what I need to send to them for testing? All I want > to do is load the run-time on their PCs. > > We are moving to XP very soon (client is slow to change) so this will be a > moot point later. But for now... > > > Thanks, > Bobby > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Help protect your PC. Get a FREE computer virus scan online from McAfee. > 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 askolits at ot.com Wed Oct 8 16:30:01 2003 From: askolits at ot.com (John Skolits) Date: Wed, 8 Oct 2003 17:30:01 -0400 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" In-Reply-To: Message-ID: I will pass your suggestion onto my customer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, October 08, 2003 4:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" >The user was half way re-loading WIN XP on his PC when he cancelled the process. XP was already on it so there was no need for him to run the setup. Once he realized it he cancelled it. Now Access won't work correctly. Any ideas? Shoot the user. It won't correct this problem, but it may make you feel better, and it will damned sure make the next user think twice before... Uhhh.... Never mind. Having throwbacks to my Mexico days. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Wednesday, October 08, 2003 2:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't Find" I get this message when I simply call a basic function from within Access 'using a macro'. But I can call it from the Immediate window. The user was half way re-loading WIN XP on his PC when he cancelled the process. XP was already on it so there was no need for him to run the setup. Once he realized it he cancelled it. Now Access won't work correctly. Any ideas? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Oct 8 16:45:50 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 8 Oct 2003 17:45:50 -0400 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" References: Message-ID: <012501c38de5$8a4c4fb0$6001a8c0@dejpolsys> ...actually John, I'd first see if there was a system restore point set by XP before the reload began ...if there was its quite possible you can return the system to full functionality without any further ado ...HTH :) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: "John Skolits" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 08, 2003 5:30 PM Subject: RE: [AccessD] Dreaded "Function Name That Microsoft Access Can'tFind" > I will pass your suggestion onto my customer. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Wednesday, October 08, 2003 4:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Dreaded "Function Name That Microsoft Access > Can'tFind" > > > >The user was half way re-loading WIN XP on his PC when he cancelled the > process. XP was already on it so there was no need for him to run the setup. > Once he realized it he cancelled it. Now Access won't work correctly. Any > ideas? > > Shoot the user. > > It won't correct this problem, but it may make you feel better, and it will > damned sure make the next user think twice before... > > Uhhh.... > > Never mind. Having throwbacks to my Mexico days. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits > Sent: Wednesday, October 08, 2003 2:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't > Find" > > > > I get this message when I simply call a basic function from within Access > 'using a macro'. > > But I can call it from the Immediate window. > > The user was half way re-loading WIN XP on his PC when he cancelled the > process. XP was already on it so there was no need for him to run the setup. > Once he realized it he cancelled it. Now Access won't work correctly. Any > ideas? > > John Skolits > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Wed Oct 8 16:46:52 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 8 Oct 2003 14:46:52 -0700 Subject: [AccessD] amortization In-Reply-To: <5.1.0.14.2.20031008142050.03eeda78@mail.psu.edu> Message-ID: I am looking for some code/examples of creating an amortization table/report. I will have a beginning date, loan amount, a rate, and a period of time. How can I make a report/table that reads: Date Payment Number Payment Amount Balance TIA Bob Heygood From cfoust at infostatsystems.com Wed Oct 8 17:02:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Oct 2003 15:02:50 -0700 Subject: [AccessD] amortization Message-ID: I used to regularly crib the formulas for stuff like this from my HP calculator book! Actually VBA has a whole bunch of Financial functions like NPV FV and PV that should work to give you what you want. Charlotte Foust -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Wednesday, October 08, 2003 1:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] amortization I am looking for some code/examples of creating an amortization table/report. I will have a beginning date, loan amount, a rate, and a period of time. How can I make a report/table that reads: Date Payment Number Payment Amount Balance TIA Bob Heygood _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 8 17:28:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 8 Oct 2003 17:28:36 -0500 Subject: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Y ouand another user are"" Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272F3@main2.marlow.com> It can be a faulty NIC. I'd be very careful. Drew -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Wednesday, October 08, 2003 3:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" Not really... The mdb exited fine, there was no indication of a problem. Its a new file with less than 25 objects or so, not even a meg in size. The laptop did bluescreen when I shut it down though, but that was more than an hour later. Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 08 October 2003 02:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" Mark - such a bummer when you waste time on that stuff - did you work out how the corruption happened in the first place? Anything specific? Kath ----- Original Message ----- From: MarkH To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 08, 2003 8:52 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped theprocessbecause...Youand another user are"" Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" < lists at theopg.com > To: "'Access Developers discussion and problem solving'" < accessd at databaseadvisors.com > Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system ( http://www.grisoft.com ). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ 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.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Wed Oct 8 17:54:26 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Oct 2003 08:54:26 +1000 Subject: [AccessD] amortization In-Reply-To: References: <5.1.0.14.2.20031008142050.03eeda78@mail.psu.edu> Message-ID: <3F852242.5397.2080B6@localhost> On 8 Oct 2003 at 14:46, Bob Heygood wrote: > I am looking for some code/examples of creating an amortization > table/report. > I will have a beginning date, loan amount, a rate, and a period of time. > How can I make a report/table that reads: > > Date Payment Number Payment Amount Balance > > Take a loook at the example for the PPMT function in Help. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From LYTLEN at peoplepc.com Wed Oct 8 18:00:43 2003 From: LYTLEN at peoplepc.com (Nancy Lytle) Date: Wed, 8 Oct 2003 19:00:43 -0400 Subject: [AccessD] What to do when subreport used as textbox source has no data Message-ID: <005801c38df0$033f3f90$459595ce@servone> I have a main report with 3 subreports, all are related by the field ProgramCode. There is a record in three of the reports (Main and 2 subreports) for every ProgramCode. I also use the values in the subreports to populate a text box - txtAB = Sub1.field + sub2.field- sub3.field - sub3.field. This works fine except for the case where the ProgramCode has no record in Subreport3, then that subreport doesn't show and the textbox is filled with error#. How do I get the textbox to use txtAB = Sub1.field + sub2.field where there is no sub report for the linked field. Hope I explained this okay. TIA Nancy L N_Lytle at terpalum.umd.edu 240-274-0069 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From djkr at msn.com Wed Oct 8 18:10:20 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Thu, 9 Oct 2003 00:10:20 +0100 Subject: [AccessD] Dreaded "Function Name That Microsoft Access Can't Find" In-Reply-To: Message-ID: <00b901c38df1$581323f0$bf00a8c0@dabsight> No, but when you said WIN XP, did you mean Office XP? John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Skolits > Sent: 08 October 2003 19:33 > To: Access Developers discussion and problem solving > Subject: [AccessD] Dreaded "Function Name That Microsoft > Access Can't Find" > > > > I get this message when I simply call a basic function from > within Access 'using a macro'. > > But I can call it from the Immediate window. > > The user was half way re-loading WIN XP on his PC when he > cancelled the process. XP was already on it so there was no > need for him to run the setup. Once he realized it he > cancelled it. Now Access won't work correctly. Any ideas? > > John Skolits > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Oct 8 18:22:41 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 8 Oct 2003 18:22:41 -0500 Subject: [AccessD] What to do when subreport used as textbox source h as no data Message-ID: <2F8793082E00D4119A1700B0D0216BF8022272F6@main2.marlow.com> Just a thought, on the OnFormat of each subreport, go and 'add' the fields to that other textbox, that way, if there is no data for a subreport, there won't be an OnFormat event. Drew -----Original Message----- From: Nancy Lytle [mailto:LYTLEN at peoplepc.com] Sent: Wednesday, October 08, 2003 6:01 PM To: AccessD at databaseadvisors.com Subject: [AccessD] What to do when subreport used as textbox source has no data I have a main report with 3 subreports, all are related by the field ProgramCode. There is a record in three of the reports (Main and 2 subreports) for every ProgramCode. I also use the values in the subreports to populate a text box - txtAB = Sub1.field + sub2.field- sub3.field - sub3.field. This works fine except for the case where the ProgramCode has no record in Subreport3, then that subreport doesn't show and the textbox is filled with error#. How do I get the textbox to use txtAB = Sub1.field + sub2.field where there is no sub report for the linked field. Hope I explained this okay. TIA Nancy L N_Lytle at terpalum.umd.edu 240-274-0069 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theopg.com Wed Oct 8 18:32:44 2003 From: lists at theopg.com (MarkH) Date: Thu, 9 Oct 2003 00:32:44 +0100 Subject: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022272F3@main2.marlow.com> Message-ID: <001201c38df4$79a774a0$9f0b6bd5@netboxxp> Thanks Drew... I've been exporting any edited objects ever since, not just backing up the mdb. Hadn't thought about the NIC, what makes you mention it? Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: 08 October 2003 23:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" It can be a faulty NIC. I'd be very careful. Drew -----Original Message----- From: MarkH [mailto:lists at theopg.com] Sent: Wednesday, October 08, 2003 3:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" Not really... The mdb exited fine, there was no indication of a problem. Its a new file with less than 25 objects or so, not even a meg in size. The laptop did bluescreen when I shut it down though, but that was more than an hour later. Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 08 October 2003 02:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stoppedtheprocessbecause...Youand another user are"" Mark - such a bummer when you waste time on that stuff - did you work out how the corruption happened in the first place? Anything specific? Kath ----- Original Message ----- From: HYPERLINK "mailto:lists at theopg.com"MarkH To: HYPERLINK "mailto:accessd at databaseadvisors.com"'Access Developers discussion and problem solving' Sent: Wednesday, October 08, 2003 8:52 AM Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped theprocessbecause...Youand another user are"" Thanks, I know... But it was 3 very manic hours butchering code from several different projects and merging it into one new one... I was hoping not to have to go through it again. Did it this morning ... Cheers Mark -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 07 October 2003 14:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...Youand another user are"" Mark, Only 3 hours? Goto to the backup! You've probably wasted 3 hours already trying to get the old file to work. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 HYPERLINK "mailto:jimdettman at earthlink.net"jimdettman at earthlink.net -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MarkH Sent: Monday, October 06, 2003 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help!!! Dead MDB - ..."stopped the processbecause...You and another user are"" Thanks... But I can't even import one object. Whatever I do I get the same error. I have a backup at work, but I don?t want to lose those particular 3 hours work... I hate doing the same thing twice :O( Cheers Mark -----Original Message----- From: HYPERLINK "mailto:accessd-bounces at databaseadvisors.com"accessd-bounces at databaseadv isors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 07 October 2003 00:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help!!! Dead MDB - ..."stopped the process because...You and another user are"" Mark: I'd try importing the objects a few at a time to try to find the one that's causing the problem. Any backups? Previous versions from which you could import the object that's corrupted in the current version? Rocky ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 06, 2003 2:04 PM Subject: [AccessD] Help!!! Dead MDB - ..."stopped the process because... You and another user are"" > Hello... > > I got a bad feeling on this one... I have an MDB in XP that wont open. > > I get the message "The Microsoft Jet Database engine stopped the > process because you and another user are attempting to change the same > data at the same time.". It doesn't go any further. > > I get the same error if I compact and repair or try and import the > objects... :O( > > Any ideas much appreciated > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > AccessD mailing list > HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com > HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd > Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 _______________________________________________ AccessD mailing list HYPERLINK "mailto:AccessD at databaseadvisors.com"AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Wed Oct 8 18:34:29 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 8 Oct 2003 19:34:29 -0400 Subject: [AccessD] What to do when subreport used as textbox source has no data References: <005801c38df0$033f3f90$459595ce@servone> Message-ID: <004401c38df4$b86613e0$6001a8c0@dejpolsys> ...sounds like an IIF to me :))) William Hindman - Do you want liberty in your lifetime? ----- Original Message ----- From: Nancy Lytle To: AccessD at databaseadvisors.com Sent: Wednesday, October 08, 2003 7:00 PM Subject: [AccessD] What to do when subreport used as textbox source has no data I have a main report with 3 subreports, all are related by the field ProgramCode. There is a record in three of the reports (Main and 2 subreports) for every ProgramCode. I also use the values in the subreports to populate a text box - txtAB = Sub1.field + sub2.field- sub3.field - sub3.field. This works fine except for the case where the ProgramCode has no record in Subreport3, then that subreport doesn't show and the textbox is filled with error#. How do I get the textbox to use txtAB = Sub1.field + sub2.field where there is no sub report for the linked field. Hope I explained this okay. TIA Nancy L N_Lytle at terpalum.umd.edu 240-274-0069 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chizotz at charter.net Wed Oct 8 18:39:25 2003 From: chizotz at charter.net (Ron Allen) Date: Wed, 08 Oct 2003 19:39:25 -0400 Subject: [AccessD] What to do when subreport used as textbox source has no data In-Reply-To: <005801c38df0$033f3f90$459595ce@servone> Message-ID: Hi Nancy, The problem, I believe, is that when there is a null value the whole expression evaluates to null. I have solved this a few ways, but the easiest in most cases is something like this: txtAB = iif(Sub1.field,Sub1.field,0) + iif(sub2.field,sub2.field,0)- iif(sub3.field, sub3.field,0). I work mainly in Acc97, but in Acc2k and above there is also a NV function you could look at. This isn't perfect for all cases, but it does work for me. HTH, Ron On Wed, 8 Oct 2003 19:00:43 -0400 "Nancy Lytle" wrote: >I have a main report with 3 subreports, all are related >by the field >ProgramCode. There is a record in three of the reports >(Main and 2 >subreports) for every ProgramCode. I also use the values >in the subreports >to populate a text box - txtAB = Sub1.field + sub2.field- >sub3.field - >sub3.field. This works fine except for the case where >the ProgramCode has >no record in Subreport3, then that subreport doesn't show >and the textbox is >filled with error#. How do I get the textbox to use >txtAB = Sub1.field + >sub2.field where there is no sub report for the linked >field. > >Hope I explained this okay. >TIA >Nancy L > >N_Lytle at terpalum.umd.edu >240-274-0069 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system >(http://www.grisoft.com). >Version: 6.0.524 / Virus Database: 321 - Release Date: >10/6/2003