From paul.hartland at googlemail.com Wed Aug 1 10:50:54 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 1 Aug 2012 16:50:54 +0100 Subject: [AccessD] OT Contract Rates Message-ID: To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com From df.waters at comcast.net Wed Aug 1 11:22:48 2012 From: df.waters at comcast.net (Dan Waters) Date: Wed, 1 Aug 2012 11:22:48 -0500 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: <002f01cd7001$e4603180$ad209480$@comcast.net> Try to figure out what it would cost them do have someone else do it, and then charge a little less. When you do, talk with them explicitly about why your rate is better, otherwise they may assume that your rate is high and they'll look elsewhere anyway. However, ask yourself what's it worth to you to give up your free time! Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Wednesday, August 01, 2012 10:51 AM To: Access List Subject: [AccessD] OT Contract Rates To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Wed Aug 1 11:25:29 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Wed, 1 Aug 2012 11:25:29 -0500 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: Paul, there are a lot of calculations to go into something like this. I worked for a company a few years ago working on proposals for contracts. This gave me the edge when I ventured out into the contracting world. If this is only part-time work, I would just double my hourly pay. Keep in mind that you would be considered a 1099 worker and that approximately 40% of the gross will go into taxes (in the US) and you'll need to make quarterly payments to IRS. If you will be working a lot of hours... then typically, an employee would cost the employer between 2 to 2.5 times the hourly pay. Keep in mind a full time self-employed contractor, has to pay themselves for holidays, vacation, sick time, all benefits, expenses and required adminitrative time that must be spent away from the job. All that must be calculated in the hourly rate. So... bottom line - for a few hours every now and then... double your hourly pay. HTH Jim On Wed, Aug 1, 2012 at 10:50 AM, Paul Hartland wrote: > To all, > > Probably not the best place to put this so I do appologise, but am in a > situation in which I have never been or thought about before. I leave my > current company after almost 11 years this Friday 3rd August, and start > with a new company on the 6th August. The old company have asked me (no > further details as yet) if I would be interested in working for them on a > contract basis out of hours from my new company (no conflicting interests > of business). What I would like to know is what sort of rates etc I should > be requesting for support and help for SQL, SSRS, Access, as these will be > systems I have worked on for the last ten years. The thing is they could > have a situation where they are stuck with an issue, I could log on and > resolve it in minutes, or may take an hour or more, I can work out my own > time, electric etc, but I am stuck with regards to asking what sort of > charges for my help. > > Thank you for any advice in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Wed Aug 1 11:26:26 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 1 Aug 2012 17:26:26 +0100 Subject: [AccessD] OT Contract Rates In-Reply-To: <002f01cd7001$e4603180$ad209480$@comcast.net> References: <002f01cd7001$e4603180$ad209480$@comcast.net> Message-ID: Cheers thanks for the advice Dan. On 1 August 2012 17:22, Dan Waters wrote: > Try to figure out what it would cost them do have someone else do it, and > then charge a little less. When you do, talk with them explicitly about > why > your rate is better, otherwise they may assume that your rate is high and > they'll look elsewhere anyway. > > However, ask yourself what's it worth to you to give up your free time! > > Good Luck! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland > Sent: Wednesday, August 01, 2012 10:51 AM > To: Access List > Subject: [AccessD] OT Contract Rates > > To all, > > Probably not the best place to put this so I do appologise, but am in a > situation in which I have never been or thought about before. I leave my > current company after almost 11 years this Friday 3rd August, and start > with > a new company on the 6th August. The old company have asked me (no further > details as yet) if I would be interested in working for them on a contract > basis out of hours from my new company (no conflicting interests of > business). What I would like to know is what sort of rates etc I should be > requesting for support and help for SQL, SSRS, Access, as these will be > systems I have worked on for the last ten years. The thing is they could > have a situation where they are stuck with an issue, I could log on and > resolve it in minutes, or may take an hour or more, I can work out my own > time, electric etc, but I am stuck with regards to asking what sort of > charges for my help. > > Thank you for any advice in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From paul.hartland at googlemail.com Wed Aug 1 11:41:14 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 1 Aug 2012 17:41:14 +0100 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: Thank you for your advice Jim On 1 August 2012 17:25, Jim Hewson wrote: > Paul, there are a lot of calculations to go into something like this. > I worked for a company a few years ago working on proposals for contracts. > This gave me the edge when I ventured out into the contracting world. > > If this is only part-time work, I would just double my hourly pay. Keep in > mind that you would be considered a 1099 worker and that approximately 40% > of the gross will go into taxes (in the US) and you'll need to make > quarterly payments to IRS. > If you will be working a lot of hours... then typically, an employee would > cost the employer between 2 to 2.5 times the hourly pay. > Keep in mind a full time self-employed contractor, has to pay themselves > for holidays, vacation, sick time, all benefits, expenses and required > adminitrative time that must be spent away from the job. All that must be > calculated in the hourly rate. > > So... bottom line - for a few hours every now and then... double your > hourly pay. > > HTH > Jim > > On Wed, Aug 1, 2012 at 10:50 AM, Paul Hartland < > paul.hartland at googlemail.com > > wrote: > > > To all, > > > > Probably not the best place to put this so I do appologise, but am in a > > situation in which I have never been or thought about before. I leave my > > current company after almost 11 years this Friday 3rd August, and start > > with a new company on the 6th August. The old company have asked me (no > > further details as yet) if I would be interested in working for them on a > > contract basis out of hours from my new company (no conflicting interests > > of business). What I would like to know is what sort of rates etc I > should > > be requesting for support and help for SQL, SSRS, Access, as these will > be > > systems I have worked on for the last ten years. The thing is they could > > have a situation where they are stuck with an issue, I could log on and > > resolve it in minutes, or may take an hour or more, I can work out my own > > time, electric etc, but I am stuck with regards to asking what sort of > > charges for my help. > > > > Thank you for any advice in advance. > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From fuller.artful at gmail.com Wed Aug 1 11:44:12 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 1 Aug 2012 12:44:12 -0400 Subject: [AccessD] OT Contract Rates In-Reply-To: <002f01cd7001$e4603180$ad209480$@comcast.net> References: <002f01cd7001$e4603180$ad209480$@comcast.net> Message-ID: Good advice from Dan, to which I would add this: you need to figure out the cost of your employment at the first firm, and this is important since your salary was only the beginning of said cost. You also have to factor in the cost of your cubicle or office, the cost of the physical equipment (not the servers) you used, the cost of supporting services such as photocopying, and perhaps even the cost of (assuming such perks) coffee and free drinks. So, if the firm was paying you, say, $85,000 a year for 2000 hours, your actual cost to the firm was in excess of $100k. That's what you should be basing your hourly rate on, particularly because you'll be incurring these extra costs in your home/office. Oh, and since the firm has been paying for the SQL and other licenses, that's an additional cost you might have to incur. Of course, all this has to be compared to what the others competing for the gig might charge for their services. But there's one additional factor to consider. Having worked on these systems for years, you have a decided leg up on the competition, who may require weeks or months to learn how they all fit together and work to deliver a solution. And finally, as was mentioned, you need to consider the effects this additional gig will have upon your family, your weekends off, etc. Hope this helps. Arthur From paul.hartland at googlemail.com Wed Aug 1 11:47:56 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 1 Aug 2012 17:47:56 +0100 Subject: [AccessD] OT Contract Rates In-Reply-To: References: <002f01cd7001$e4603180$ad209480$@comcast.net> Message-ID: Thank you Arthur and everyone for your advice, would never of thought of some of this, been a member of this list for over 12 years now, tried to help out whenever I got the chance, and the knowledge of the people on this list has proved invaluable over the years. On 1 August 2012 17:44, Arthur Fuller wrote: > Good advice from Dan, to which I would add this: you need to figure out the > cost of your employment at the first firm, and this is important since your > salary was only the beginning of said cost. You also have to factor in the > cost of your cubicle or office, the cost of the physical equipment (not the > servers) you used, the cost of supporting services such as photocopying, > and perhaps even the cost of (assuming such perks) coffee and free drinks. > So, if the firm was paying you, say, $85,000 a year for 2000 hours, your > actual cost to the firm was in excess of $100k. That's what you should be > basing your hourly rate on, particularly because you'll be incurring these > extra costs in your home/office. Oh, and since the firm has been paying for > the SQL and other licenses, that's an additional cost you might have to > incur. Of course, all this has to be compared to what the others competing > for the gig might charge for their services. But there's one additional > factor to consider. Having worked on these systems for years, you have a > decided leg up on the competition, who may require weeks or months to learn > how they all fit together and work to deliver a solution. > > And finally, as was mentioned, you need to consider the effects this > additional gig will have upon your family, your weekends off, etc. > > Hope this helps. > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From garykjos at gmail.com Wed Aug 1 11:51:11 2012 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 1 Aug 2012 11:51:11 -0500 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: I agree with Jim. I would calculate the approximate hourly rate they were paying you before you left and at least double that. Maybe more. You have to figure that if they were paying benefits to you and paying the employer part of withholdings etc, (assuming in the US) then they were already paying you about twice what you were actually receiving in gross pay. And short term rates should be higher than a longer term deal. So maybe 2.5 would be a better multiplier. But it kind of depends on what you want your relationship to be too. Do you want them to lean on you or do you want them to learn to do it without you. So how much do you want it to hurt when they have to call you? You will have taxes to pay on this if they 1099 you which they should, so be sure not to short yourself on what you ask. And as others have stated in other threads on this subject, you can always DISCOUNT from your base rate, but it's much harder to go UP. Maybe charge triple your current hourly rate with a discount of 10% or 20% off for their paying the bill in a timely manner or something like that? Good luck with your new job too! GK On Wed, Aug 1, 2012 at 11:25 AM, Jim Hewson wrote: > Paul, there are a lot of calculations to go into something like this. > I worked for a company a few years ago working on proposals for contracts. > This gave me the edge when I ventured out into the contracting world. > > If this is only part-time work, I would just double my hourly pay. Keep in > mind that you would be considered a 1099 worker and that approximately 40% > of the gross will go into taxes (in the US) and you'll need to make > quarterly payments to IRS. > If you will be working a lot of hours... then typically, an employee would > cost the employer between 2 to 2.5 times the hourly pay. > Keep in mind a full time self-employed contractor, has to pay themselves > for holidays, vacation, sick time, all benefits, expenses and required > adminitrative time that must be spent away from the job. All that must be > calculated in the hourly rate. > > So... bottom line - for a few hours every now and then... double your > hourly pay. > > HTH > Jim > > On Wed, Aug 1, 2012 at 10:50 AM, Paul Hartland < > paul.hartland at googlemail.com > > wrote: > > > To all, > > > > Probably not the best place to put this so I do appologise, but am in a > > situation in which I have never been or thought about before. I leave my > > current company after almost 11 years this Friday 3rd August, and start > > with a new company on the 6th August. The old company have asked me (no > > further details as yet) if I would be interested in working for them on a > > contract basis out of hours from my new company (no conflicting interests > > of business). What I would like to know is what sort of rates etc I > should > > be requesting for support and help for SQL, SSRS, Access, as these will > be > > systems I have worked on for the last ten years. The thing is they could > > have a situation where they are stuck with an issue, I could log on and > > resolve it in minutes, or may take an hour or more, I can work out my own > > time, electric etc, but I am stuck with regards to asking what sort of > > charges for my help. > > > > Thank you for any advice in advance. > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Wed Aug 1 11:51:11 2012 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 1 Aug 2012 11:51:11 -0500 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: I agree with Jim. I would calculate the approximate hourly rate they were paying you before you left and at least double that. Maybe more. You have to figure that if they were paying benefits to you and paying the employer part of withholdings etc, (assuming in the US) then they were already paying you about twice what you were actually receiving in gross pay. And short term rates should be higher than a longer term deal. So maybe 2.5 would be a better multiplier. But it kind of depends on what you want your relationship to be too. Do you want them to lean on you or do you want them to learn to do it without you. So how much do you want it to hurt when they have to call you? You will have taxes to pay on this if they 1099 you which they should, so be sure not to short yourself on what you ask. And as others have stated in other threads on this subject, you can always DISCOUNT from your base rate, but it's much harder to go UP. Maybe charge triple your current hourly rate with a discount of 10% or 20% off for their paying the bill in a timely manner or something like that? Good luck with your new job too! GK On Wed, Aug 1, 2012 at 11:25 AM, Jim Hewson wrote: > Paul, there are a lot of calculations to go into something like this. > I worked for a company a few years ago working on proposals for contracts. > This gave me the edge when I ventured out into the contracting world. > > If this is only part-time work, I would just double my hourly pay. Keep in > mind that you would be considered a 1099 worker and that approximately 40% > of the gross will go into taxes (in the US) and you'll need to make > quarterly payments to IRS. > If you will be working a lot of hours... then typically, an employee would > cost the employer between 2 to 2.5 times the hourly pay. > Keep in mind a full time self-employed contractor, has to pay themselves > for holidays, vacation, sick time, all benefits, expenses and required > adminitrative time that must be spent away from the job. All that must be > calculated in the hourly rate. > > So... bottom line - for a few hours every now and then... double your > hourly pay. > > HTH > Jim > > On Wed, Aug 1, 2012 at 10:50 AM, Paul Hartland < > paul.hartland at googlemail.com > > wrote: > > > To all, > > > > Probably not the best place to put this so I do appologise, but am in a > > situation in which I have never been or thought about before. I leave my > > current company after almost 11 years this Friday 3rd August, and start > > with a new company on the 6th August. The old company have asked me (no > > further details as yet) if I would be interested in working for them on a > > contract basis out of hours from my new company (no conflicting interests > > of business). What I would like to know is what sort of rates etc I > should > > be requesting for support and help for SQL, SSRS, Access, as these will > be > > systems I have worked on for the last ten years. The thing is they could > > have a situation where they are stuck with an issue, I could log on and > > resolve it in minutes, or may take an hour or more, I can work out my own > > time, electric etc, but I am stuck with regards to asking what sort of > > charges for my help. > > > > Thank you for any advice in advance. > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Wed Aug 1 11:57:39 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 09:57:39 -0700 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: <3C91999A6DE241C899E49EAAFD93220E@HAL9007> I would ask at least double what your effective hourly rate was when you left them. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Wednesday, August 01, 2012 8:51 AM To: Access List Subject: [AccessD] OT Contract Rates To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Wed Aug 1 12:09:13 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 1 Aug 2012 18:09:13 +0100 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: Thank again, I think they want to have me on a contract basis until the new guys get up to speed, they now basically have two people doing my old job, well the one guy works on other stuff but has taken over my SQL reports, and they managed to employ another last week to cover my VB6 and access stuff, but the VB6 guy surprised me when he didn't know he had to change the read only property of a data environment query to allow it to update on a grid, so I could have the contract for some time if we agree to rates. On 1 August 2012 17:51, Gary Kjos wrote: > I agree with Jim. I would calculate the approximate hourly rate they were > paying you before you left and at least double that. Maybe more. > > You have to figure that if they were paying benefits to you and paying the > employer part of withholdings etc, (assuming in the US) then they were > already paying you about twice what you were actually receiving in gross > pay. And short term rates should be higher than a longer term deal. So > maybe 2.5 would be a better multiplier. > > But it kind of depends on what you want your relationship to be too. Do you > want them to lean on you or do you want them to learn to do it without you. > So how much do you want it to hurt when they have to call you? > > You will have taxes to pay on this if they 1099 you which they should, so > be sure not to short yourself on what you ask. And as others have stated in > other threads on this subject, you can always DISCOUNT from your base rate, > but it's much harder to go UP. Maybe charge triple your current hourly rate > with a discount of 10% or 20% off for their paying the bill in a timely > manner or something like that? > > Good luck with your new job too! > > GK > > > > On Wed, Aug 1, 2012 at 11:25 AM, Jim Hewson wrote: > > > Paul, there are a lot of calculations to go into something like this. > > I worked for a company a few years ago working on proposals for > contracts. > > This gave me the edge when I ventured out into the contracting world. > > > > If this is only part-time work, I would just double my hourly pay. Keep > in > > mind that you would be considered a 1099 worker and that approximately > 40% > > of the gross will go into taxes (in the US) and you'll need to make > > quarterly payments to IRS. > > If you will be working a lot of hours... then typically, an employee > would > > cost the employer between 2 to 2.5 times the hourly pay. > > Keep in mind a full time self-employed contractor, has to pay themselves > > for holidays, vacation, sick time, all benefits, expenses and required > > adminitrative time that must be spent away from the job. All that must > be > > calculated in the hourly rate. > > > > So... bottom line - for a few hours every now and then... double your > > hourly pay. > > > > HTH > > Jim > > > > On Wed, Aug 1, 2012 at 10:50 AM, Paul Hartland < > > paul.hartland at googlemail.com > > > wrote: > > > > > To all, > > > > > > Probably not the best place to put this so I do appologise, but am in a > > > situation in which I have never been or thought about before. I leave > my > > > current company after almost 11 years this Friday 3rd August, and start > > > with a new company on the 6th August. The old company have asked me > (no > > > further details as yet) if I would be interested in working for them > on a > > > contract basis out of hours from my new company (no conflicting > interests > > > of business). What I would like to know is what sort of rates etc I > > should > > > be requesting for support and help for SQL, SSRS, Access, as these will > > be > > > systems I have worked on for the last ten years. The thing is they > could > > > have a situation where they are stuck with an issue, I could log on and > > > resolve it in minutes, or may take an hour or more, I can work out my > own > > > time, electric etc, but I am stuck with regards to asking what sort of > > > charges for my help. > > > > > > Thank you for any advice in advance. > > > > > > -- > > > Paul Hartland > > > paul.hartland at googlemail.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From jwcolby at colbyconsulting.com Wed Aug 1 13:13:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Aug 2012 14:13:03 -0400 Subject: [AccessD] Why the U.S. military won't be building Batman's flying 'Bat' - Future of Tech on NBCNews.com Message-ID: <501971AF.40605@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.futureoftech.msnbc.msn.com/technology/futureoftech/ambitious-project-aims-simulate-billion-brain-cells-917696 http://apt.cs.man.ac.uk/projects/SpiNNaker/ From rockysmolin at bchacc.com Wed Aug 1 18:06:20 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 16:06:20 -0700 Subject: [AccessD] International date format problem Message-ID: Dear List: I have the following line which works fine here with mm/dd/yyyy but does not work for my client in Mexico where the date format is dd/mm/yyyy: rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & rstPODetail!fldPODLineNumber _ & "' AND DueDate = #" _ & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ & rstPODetail!fldPODPartNumber & "'" where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. When date format is set in Windows to dd/mm/yyyy rstSupply.NoMatch=True, when date format is mm/dd/yyyy rstSupply.NoMatch = false (finds the record) I think I may have this problem in other places in the code. Is there a general method to avoid this problem? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From paul.hartland at googlemail.com Wed Aug 1 18:15:04 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 2 Aug 2012 00:15:04 +0100 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: Rocky, Have you tried formatting the dates something like below: rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & rstPODetail!fldPODLineNumber _ & "' AND " & Format(DueDate, "mm/dd/yyyy") & "= #" _ & Format(rstPODetail!fldPODDateRequired, "mm/dd/yyyy") & "# AND PartNumber = '" _ & rstPODetail!fldPODPartNumber & "'" Rarely use access now, but sure I have used something similar in VB6, I really must learn .NET Paul On 2 August 2012 00:06, Rocky Smolin wrote: > Dear List: > > I have the following line which works fine here with mm/dd/yyyy but does > not > work for my client in Mexico where the date format is dd/mm/yyyy: > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > rstPODetail!fldPODLineNumber _ > & "' AND DueDate = #" _ > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > & rstPODetail!fldPODPartNumber & "'" > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. When > date format is set in Windows to dd/mm/yyyy rstSupply.NoMatch=True, when > date format is mm/dd/yyyy rstSupply.NoMatch = false (finds the record) > > I think I may have this problem in other places in the code. Is there a > general method to avoid this problem? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From stephen at bondsoftware.co.nz Wed Aug 1 18:24:03 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 02 Aug 2012 11:24:03 +1200 Subject: [AccessD] International date format problem In-Reply-To: <9FF30FB09C054524819FE1ACCC73DC83@BondSoftware.local> References: <9FF30FB09C054524819FE1ACCC73DC83@BondSoftware.local> Message-ID: We use dd/mm/yyyy dates down here ... if I need to change it round for a SQL statement I use this: ... " AND DueDate = " & Format( rstPODetail!fldPODDateRequired,"\#mm\/dd\/yyyy\#") It generates the string (for August 2nd) #08/02/2012# Does this give you a way forward? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 2 August 2012 11:16 a.m. To: Stephen Subject: [AccessD] International date format problem Dear List: I have the following line which works fine here with mm/dd/yyyy but does not work for my client in Mexico where the date format is dd/mm/yyyy: rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & rstPODetail!fldPODLineNumber _ & "' AND DueDate = #" _ & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ & rstPODetail!fldPODPartNumber & "'" where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. When date format is set in Windows to dd/mm/yyyy rstSupply.NoMatch=True, when date format is mm/dd/yyyy rstSupply.NoMatch = false (finds the record) I think I may have this problem in other places in the code. Is there a general method to avoid this problem? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 1 19:05:34 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Aug 2012 10:05:34 +1000 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg> I always use the following, it works on any PC regardless of what their local date format is. -- Stuart & "' AND DueDate = Datevalue('" _ & rstPODetail!fldPODDateRequired & "') AND PartNumber = '" _ On 1 Aug 2012 at 16:06, Rocky Smolin wrote: > Dear List: > > I have the following line which works fine here with mm/dd/yyyy but does not > work for my client in Mexico where the date format is dd/mm/yyyy: > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > rstPODetail!fldPODLineNumber _ > & "' AND DueDate = #" _ > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > & rstPODetail!fldPODPartNumber & "'" > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. When > date format is set in Windows to dd/mm/yyyy rstSupply.NoMatch=True, when > date format is mm/dd/yyyy rstSupply.NoMatch = false (finds the record) > > I think I may have this problem in other places in the code. Is there a > general method to avoid this problem? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Wed Aug 1 19:25:10 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 01 Aug 2012 20:25:10 -0400 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: <001201cd7045$475e2920$d61a7b60$@net> Rates are based on MARKET PRICE. Period. And the market is not good. However, if you've got specialized knowledge of the client's industry and/or business, consider that at least a 50% differential. If you go thru an agency today, everyone is treated the same...it's like being a drone. No differentiation. From rockysmolin at bchacc.com Wed Aug 1 20:23:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 18:23:30 -0700 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: <948087D05D214776B3C805F5AA15556E@HAL9007> Actually I haven't tried anything. :) I'll try that. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: 01 August 2012 16:15 To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem Rocky, Have you tried formatting the dates something like below: rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & rstPODetail!fldPODLineNumber _ & "' AND " & Format(DueDate, "mm/dd/yyyy") & "= #" _ & Format(rstPODetail!fldPODDateRequired, "mm/dd/yyyy") & "# AND PartNumber = '" _ & rstPODetail!fldPODPartNumber & "'" Rarely use access now, but sure I have used something similar in VB6, I really must learn .NET Paul On 2 August 2012 00:06, Rocky Smolin wrote: > Dear List: > > I have the following line which works fine here with mm/dd/yyyy but > does not work for my client in Mexico where the date format is > dd/mm/yyyy: > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > rstPODetail!fldPODLineNumber _ > & "' AND DueDate = #" _ > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > & rstPODetail!fldPODPartNumber & "'" > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. > When date format is set in Windows to dd/mm/yyyy > rstSupply.NoMatch=True, when date format is mm/dd/yyyy > rstSupply.NoMatch = false (finds the record) > > I think I may have this problem in other places in the code. Is there > a general method to avoid this problem? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 1 20:24:22 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 18:24:22 -0700 Subject: [AccessD] International date format problem In-Reply-To: References: <9FF30FB09C054524819FE1ACCC73DC83@BondSoftware.local> Message-ID: <27F8A76D56624C08BF997547FCC46C7A@HAL9007> Similar to Paul's. I think I may be on to something here. Will post results. Tks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: 01 August 2012 16:24 To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem We use dd/mm/yyyy dates down here ... if I need to change it round for a SQL statement I use this: ... " AND DueDate = " & Format( rstPODetail!fldPODDateRequired,"\#mm\/dd\/yyyy\#") It generates the string (for August 2nd) #08/02/2012# Does this give you a way forward? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 2 August 2012 11:16 a.m. To: Stephen Subject: [AccessD] International date format problem Dear List: I have the following line which works fine here with mm/dd/yyyy but does not work for my client in Mexico where the date format is dd/mm/yyyy: rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & rstPODetail!fldPODLineNumber _ & "' AND DueDate = #" _ & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ & rstPODetail!fldPODPartNumber & "'" where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. When date format is set in Windows to dd/mm/yyyy rstSupply.NoMatch=True, when date format is mm/dd/yyyy rstSupply.NoMatch = false (finds the record) I think I may have this problem in other places in the code. Is there a general method to avoid this problem? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 1 22:31:15 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 20:31:15 -0700 Subject: [AccessD] International date format problem In-Reply-To: <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg> References: <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg> Message-ID: <68C055CBEB004637A146922923E2CD4D@HAL9007> Better than Format? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 01 August 2012 17:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem I always use the following, it works on any PC regardless of what their local date format is. -- Stuart & "' AND DueDate = Datevalue('" _ & rstPODetail!fldPODDateRequired & "') AND PartNumber = '" _ On 1 Aug 2012 at 16:06, Rocky Smolin wrote: > Dear List: > > I have the following line which works fine here with mm/dd/yyyy but > does not work for my client in Mexico where the date format is dd/mm/yyyy: > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > rstPODetail!fldPODLineNumber _ > & "' AND DueDate = #" _ > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > & rstPODetail!fldPODPartNumber & "'" > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. > When date format is set in Windows to dd/mm/yyyy > rstSupply.NoMatch=True, when date format is mm/dd/yyyy > rstSupply.NoMatch = false (finds the record) > > I think I may have this problem in other places in the code. Is there > a general method to avoid this problem? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 1 23:50:03 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 21:50:03 -0700 Subject: [AccessD] International date format problem In-Reply-To: <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg> References: <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg> Message-ID: <1C418F8C536648DB8FEAD755C44BBE4B@HAL9007> DateValue worked a treat. Thank you Stuart. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 01, 2012 5:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem I always use the following, it works on any PC regardless of what their local date format is. -- Stuart & "' AND DueDate = Datevalue('" _ & rstPODetail!fldPODDateRequired & "') AND PartNumber = '" _ On 1 Aug 2012 at 16:06, Rocky Smolin wrote: > Dear List: > > I have the following line which works fine here with mm/dd/yyyy but > does not work for my client in Mexico where the date format is dd/mm/yyyy: > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > rstPODetail!fldPODLineNumber _ > & "' AND DueDate = #" _ > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > & rstPODetail!fldPODPartNumber & "'" > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. > When date format is set in Windows to dd/mm/yyyy > rstSupply.NoMatch=True, when date format is mm/dd/yyyy > rstSupply.NoMatch = false (finds the record) > > I think I may have this problem in other places in the code. Is there > a general method to avoid this problem? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 1 23:58:53 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Aug 2012 14:58:53 +1000 Subject: [AccessD] International date format problem In-Reply-To: <68C055CBEB004637A146922923E2CD4D@HAL9007> References: , <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg>, <68C055CBEB004637A146922923E2CD4D@HAL9007> Message-ID: <501A090D.28836.553F9E4@stuart.lexacorp.com.pg> Two different approaches: DateValue() results in Jet doing the conversion Format() results in VBA doing it before passing the SQL to JET. It's shorter. Personally, I find: ...= DateValue('" & myData & "') .... clearer than: ... = #" & Format(myData,"mmddyyyy") & "#... -- Stuart On 1 Aug 2012 at 20:31, Rocky Smolin wrote: > Better than Format? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: 01 August 2012 17:06 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] International date format problem > > I always use the following, it works on any PC regardless of what their > local date format is. > > -- > Stuart > > & "' AND DueDate = Datevalue('" _ > & rstPODetail!fldPODDateRequired & "') AND PartNumber = '" _ > > On 1 Aug 2012 at 16:06, Rocky Smolin wrote: > > > Dear List: > > > > I have the following line which works fine here with mm/dd/yyyy but > > does not work for my client in Mexico where the date format is dd/mm/yyyy: > > > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > > rstPODetail!fldPODLineNumber _ > > & "' AND DueDate = #" _ > > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > > & rstPODetail!fldPODPartNumber & "'" > > > > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. > > When date format is set in Windows to dd/mm/yyyy > > rstSupply.NoMatch=True, when date format is mm/dd/yyyy > > rstSupply.NoMatch = false (finds the record) > > > > I think I may have this problem in other places in the code. Is there > > a general method to avoid this problem? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Aug 2 00:06:11 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 1 Aug 2012 22:06:11 -0700 Subject: [AccessD] International date format problem In-Reply-To: <501A090D.28836.553F9E4@stuart.lexacorp.com.pg> References: , <5019C44E.25562.4476FD8@stuart.lexacorp.com.pg>, <68C055CBEB004637A146922923E2CD4D@HAL9007> <501A090D.28836.553F9E4@stuart.lexacorp.com.pg> Message-ID: <4851C65F326146CDA85BFD7F411B3029@HAL9007> I couldn't get the Format to work in this case. I've used Format before to advantage and probably if I fooled around with it for a while I could get it to behave rightly. But, as they say, a good program is one that works. This one's working. For the present. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 01, 2012 9:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem Two different approaches: DateValue() results in Jet doing the conversion Format() results in VBA doing it before passing the SQL to JET. It's shorter. Personally, I find: ...= DateValue('" & myData & "') .... clearer than: ... = #" & Format(myData,"mmddyyyy") & "#... -- Stuart On 1 Aug 2012 at 20:31, Rocky Smolin wrote: > Better than Format? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: 01 August 2012 17:06 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] International date format problem > > I always use the following, it works on any PC regardless of what their > local date format is. > > -- > Stuart > > & "' AND DueDate = Datevalue('" _ > & rstPODetail!fldPODDateRequired & "') AND PartNumber = '" _ > > On 1 Aug 2012 at 16:06, Rocky Smolin wrote: > > > Dear List: > > > > I have the following line which works fine here with mm/dd/yyyy but > > does not work for my client in Mexico where the date format is dd/mm/yyyy: > > > > rstSupply.FindFirst "OrderNumber = '" & Me.txtPONumber & " - " & > > rstPODetail!fldPODLineNumber _ > > & "' AND DueDate = #" _ > > & rstPODetail!fldPODDateRequired & "# AND PartNumber = '" _ > > & rstPODetail!fldPODPartNumber & "'" > > > > > > where fldPODDateRequired is Date/Time data type. This is A2K3 BTW. > > When date format is set in Windows to dd/mm/yyyy > > rstSupply.NoMatch=True, when date format is mm/dd/yyyy > > rstSupply.NoMatch = false (finds the record) > > > > I think I may have this problem in other places in the code. Is > > there a general method to avoid this problem? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Aug 2 02:16:57 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Aug 2012 09:16:57 +0200 Subject: [AccessD] International date format problem Message-ID: Hi Rocky Welcome to reality. But where have you been all these years? This is a classic that has been up over and over again. /gustav >>> rockysmolin at bchacc.com 02-08-12 1:06 >>> Dear List: I have the following line which works fine here with mm/dd/yyyy but does not work for my client in Mexico where the date format is dd/mm/yyyy: From fuller.artful at gmail.com Thu Aug 2 06:38:05 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 2 Aug 2012 07:38:05 -0400 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: Pursuant to this thread, I decided to try a few things: ? DateValue("2102-02-02") 2/2/2102 ? DateValue("Jun-21-12") 6/21/2012 ? DateValue("21-Jun-12") 6/21/2012 ? DateValue("2012/06/02") 6/2/2012 ? DateValue("21/Jun/12") 6/21/2012 ? DateValue("2012.06.02") --> Type mismatch These are the only date formats I could think of at the moment. Conclusion: DateValue() works almost all the time. Arthur On Thu, Aug 2, 2012 at 3:16 AM, Gustav Brock wrote: > Hi Rocky > > Welcome to reality. But where have you been all these years? This is a > classic that has been up over and over again. > > /gustav > > > From gustav at cactus.dk Thu Aug 2 07:37:15 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Aug 2012 14:37:15 +0200 Subject: [AccessD] International date format problem Message-ID: Hi Arthur But you are mixing two different things here: 1. Parsing a string expression for a date 2. Inserting a date parameter in SQL Your task here is #1. Rocky's task was #2. What happens for Rocky's task is that when concatenating a date value (from the recordset field) this will be casted to a string according to the Windows settings. Of course, if this format differs from what SQL expects, it will fail. Stuart's method - using DateValue in the SQL string - then converts this back to a date value when the query runs. A bit clumsy, I feel. However, this will always succeed because DateValue's first attempt to read the string is to read it as to the Windows settings. The other method - using Format - converts the date value to a date string expression understood by SQL using the format you decide. The preferred format is the ISO format, yyyy/mm/dd. Then this string is concatened with the other parts to form the final SQL string. No further conversion or processing will be performed when running the query. Which method you prefer is a matter of taste, except that method #1 only works in environments where the DateValue function is understood, like Access. /gustav >>> fuller.artful at gmail.com 02-08-12 13:38 >>> Pursuant to this thread, I decided to try a few things: ? DateValue("2102-02-02") 2/2/2102 ? DateValue("Jun-21-12") 6/21/2012 ? DateValue("21-Jun-12") 6/21/2012 ? DateValue("2012/06/02") 6/2/2012 ? DateValue("21/Jun/12") 6/21/2012 ? DateValue("2012.06.02") --> Type mismatch These are the only date formats I could think of at the moment. Conclusion: DateValue() works almost all the time. Arthur From jimdettman at verizon.net Thu Aug 2 08:07:55 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 02 Aug 2012 09:07:55 -0400 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: Paul, One other piece of advice; don't burn any bridges. Not sure what the relationship is, why you left, under what terms, etc., but be fair in your contracting. I left one situation behind and after a year or so, the director made the comment "You know, you had us over the barrel; you could have asked for anything and we would have been stuck paying it, but you didn't screw us", and because of that, it turned into more work. Never know when you might get called back. Certainly be fair to yourself and not shortchange the situation (and you've gotten some good advice on how to do that), but don't hold them hostage either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Wednesday, August 01, 2012 11:51 AM To: Access List Subject: [AccessD] OT Contract Rates To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Aug 2 08:40:57 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 2 Aug 2012 09:40:57 -0400 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: Excellent point, Gustav. Arthur From rusty.hammond at cpiqpc.com Thu Aug 2 09:25:43 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 2 Aug 2012 09:25:43 -0500 Subject: [AccessD] Merging PDF documents Message-ID: <49A286ABF515E94A8505CD14DEB721701744AC2A@CPIEMAIL-EVS1.CPIQPC.NET> I'm still on Access 2003 for this project and creating pdf's from snapshots using Leban's code and the dynapdf.dll. Along with the pdf's I'm creating, there are other pdf documents we need to send to our clients. We would like to merge all of those files into one pdf document. Anyone done anything like this before using vba? MTIA, Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From rusty.hammond at cpiqpc.com Thu Aug 2 09:36:04 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 2 Aug 2012 09:36:04 -0500 Subject: [AccessD] Merging PDF documents In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744AC2A@CPIEMAIL-EVS1.CPIQPC.NET> References: <49A286ABF515E94A8505CD14DEB721701744AC2A@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <49A286ABF515E94A8505CD14DEB721701744AC2B@CPIEMAIL-EVS1.CPIQPC.NET> Never mind. I didn't have the latest version of Leban's code that includes this functionality. But now I do. Rusty > _____________________________________________ > From: Rusty Hammond > Sent: Thursday, August 02, 2012 9:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Merging PDF documents > > I'm still on Access 2003 for this project and creating pdf's from > snapshots using Leban's code and the dynapdf.dll. Along with the > pdf's I'm creating, there are other pdf documents we need to send to > our clients. We would like to merge all of those files into one pdf > document. Anyone done anything like this before using vba? > > MTIA, > > Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From kismert at gmail.com Thu Aug 2 10:14:20 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 2 Aug 2012 10:14:20 -0500 Subject: [AccessD] International date format problem Message-ID: > > Rocky Smolin: > ...I have the following line which works fine here with mm/dd/yyyy but > does not > work for my client in Mexico where the date format is dd/mm/yyyy:... > Wait, what? There are other countries? I always thought 'Canada' and 'Mexico' where just arbitrary names for the grayed-out areas on the weather map they show on the local news. You know, where the weather stops. U.S. news sources couldn't possibly be misrepresenting reality on this, could they? -Ken From rockysmolin at bchacc.com Thu Aug 2 10:21:18 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Aug 2012 08:21:18 -0700 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: <700633D6946448C18C648B8E1E69E94E@HAL9007> Yes it's true. They are actual countries. I knew about Mexico because we live so close and they're picky about that border thing, but I just found out about Canada. Who knew? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, August 02, 2012 8:14 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] International date format problem > > Rocky Smolin: > ...I have the following line which works fine here with mm/dd/yyyy but > does not work for my client in Mexico where the date format is > dd/mm/yyyy:... > Wait, what? There are other countries? I always thought 'Canada' and 'Mexico' where just arbitrary names for the grayed-out areas on the weather map they show on the local news. You know, where the weather stops. U.S. news sources couldn't possibly be misrepresenting reality on this, could they? -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 2 10:23:35 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Aug 2012 08:23:35 -0700 Subject: [AccessD] International date format problem In-Reply-To: References: Message-ID: Now don't be dissing me in my dotage. Let compassion for the elderly guide your responses. I knew I had asked about this a couple of years ago, but couldn't remember the answer. So when I came up with this problem... Wait. What were we talking about...? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, August 02, 2012 12:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] International date format problem Hi Rocky Welcome to reality. But where have you been all these years? This is a classic that has been up over and over again. /gustav >>> rockysmolin at bchacc.com 02-08-12 1:06 >>> Dear List: I have the following line which works fine here with mm/dd/yyyy but does not work for my client in Mexico where the date format is dd/mm/yyyy: -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 2 10:50:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Aug 2012 11:50:37 -0400 Subject: [AccessD] International date format problem In-Reply-To: <700633D6946448C18C648B8E1E69E94E@HAL9007> References: <700633D6946448C18C648B8E1E69E94E@HAL9007> Message-ID: <501AA1CD.8060006@colbyconsulting.com> You laugh but I lived in Mexico for 5 years, and my Mexican friends claimed that they were reclaiming their old territory one "illegal immigrant" at a time. Basically they claimed that we (northern european descent) were the illegal immigrants. The Spanish were in the Americas long before England, even exploring California before the English set foot in the Americas. http://en.wikipedia.org/wiki/Spanish_Florida http://en.wikipedia.org/wiki/History_of_California_to_1899#Spanish_colonization_and_governance_.281697.E2.80.931821.29 http://en.wikipedia.org/wiki/British_colonization_of_the_Americas John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/2/2012 11:21 AM, Rocky Smolin wrote: > Yes it's true. They are actual countries. I knew about Mexico because we > live so close and they're picky about that border thing, but I just found > out about Canada. Who knew? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Thursday, August 02, 2012 8:14 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] International date format problem > >> >> Rocky Smolin: >> ...I have the following line which works fine here with mm/dd/yyyy but >> does not work for my client in Mexico where the date format is >> dd/mm/yyyy:... >> > > Wait, what? There are other countries? > > I always thought 'Canada' and 'Mexico' where just arbitrary names for the > grayed-out areas on the weather map they show on the local news. You know, > where the weather stops. > > U.S. news sources couldn't possibly be misrepresenting reality on this, > could they? > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Aug 2 11:06:32 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Aug 2012 09:06:32 -0700 Subject: [AccessD] International date format problem In-Reply-To: <501AA1CD.8060006@colbyconsulting.com> References: <700633D6946448C18C648B8E1E69E94E@HAL9007> <501AA1CD.8060006@colbyconsulting.com> Message-ID: But they're not writing the history, are they? :) (We're gonna get chastised by the moderator - you know that, don't you?) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 02, 2012 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] International date format problem You laugh but I lived in Mexico for 5 years, and my Mexican friends claimed that they were reclaiming their old territory one "illegal immigrant" at a time. Basically they claimed that we (northern european descent) were the illegal immigrants. The Spanish were in the Americas long before England, even exploring California before the English set foot in the Americas. http://en.wikipedia.org/wiki/Spanish_Florida http://en.wikipedia.org/wiki/History_of_California_to_1899#Spanish_colonizat ion_and_governance_.281697.E2.80.931821.29 http://en.wikipedia.org/wiki/British_colonization_of_the_Americas John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/2/2012 11:21 AM, Rocky Smolin wrote: > Yes it's true. They are actual countries. I knew about Mexico > because we live so close and they're picky about that border thing, > but I just found out about Canada. Who knew? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth > Ismert > Sent: Thursday, August 02, 2012 8:14 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] International date format problem > >> >> Rocky Smolin: >> ...I have the following line which works fine here with mm/dd/yyyy >> but does not work for my client in Mexico where the date format is >> dd/mm/yyyy:... >> > > Wait, what? There are other countries? > > I always thought 'Canada' and 'Mexico' where just arbitrary names for > the grayed-out areas on the weather map they show on the local news. > You know, where the weather stops. > > U.S. news sources couldn't possibly be misrepresenting reality on > this, could they? > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Thu Aug 2 14:56:45 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Thu, 2 Aug 2012 14:56:45 -0500 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox Message-ID: I'm lost! Well actually that's my normal state usually. I need help... Everything I've done in the last 3 years has been in Access 2007. I haven't touched SQL Server at all for that long. For a new requirement I need to run a stored procedure (SPROC) and populate a list box. The form has two combo boxes that will be the parameters that is passed to the SPROC. I have successfully (I think), opened the database, passed the parameters and run the SPROC. I can't figure out how to populate the list box. I'm a pretty simple guy. The code I got from SQL Server administrator is 8 pages long... several functions and a class. That just seems too complicated for this. The process I'm trying to do is: Choose the parameters for the first SPROC Execute the SPROC Populate a list box. -- this list box will be the parameter for the second SPROC. What is the simplest way to populate a list box? Thanks, Jim From rusty.hammond at cpiqpc.com Thu Aug 2 15:19:25 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 2 Aug 2012 15:19:25 -0500 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource forListbox In-Reply-To: References: Message-ID: <49A286ABF515E94A8505CD14DEB721701744AC34@CPIEMAIL-EVS1.CPIQPC.NET> Create a pass-through query that calls the SPROC and use the pass-through query as the source of your List box. This link will tell you how to create the pass-through query: http://support.microsoft.com/kb/303968 Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, August 02, 2012 2:57 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource forListbox I'm lost! Well actually that's my normal state usually. I need help... Everything I've done in the last 3 years has been in Access 2007. I haven't touched SQL Server at all for that long. For a new requirement I need to run a stored procedure (SPROC) and populate a list box. The form has two combo boxes that will be the parameters that is passed to the SPROC. I have successfully (I think), opened the database, passed the parameters and run the SPROC. I can't figure out how to populate the list box. I'm a pretty simple guy. The code I got from SQL Server administrator is 8 pages long... several functions and a class. That just seems too complicated for this. The process I'm trying to do is: Choose the parameters for the first SPROC Execute the SPROC Populate a list box. -- this list box will be the parameter for the second SPROC. What is the simplest way to populate a list box? Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From stuart at lexacorp.com.pg Thu Aug 2 16:06:49 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 Aug 2012 07:06:49 +1000 Subject: [AccessD] International date format problem In-Reply-To: References: , Message-ID: <501AEBE9.4086.8CA2375@stuart.lexacorp.com.pg> Try Datevalue("2/6") :-) On 2 Aug 2012 at 7:38, Arthur Fuller wrote: > Pursuant to this thread, I decided to try a few things: > > ? DateValue("2102-02-02") > 2/2/2102 > ? DateValue("Jun-21-12") > 6/21/2012 > ? DateValue("21-Jun-12") > 6/21/2012 > ? DateValue("2012/06/02") > 6/2/2012 > ? DateValue("21/Jun/12") > 6/21/2012 > ? DateValue("2012.06.02") > --> Type mismatch > > These are the only date formats I could think of at the moment. Conclusion: > DateValue() works almost all the time. > Arthur > > On Thu, Aug 2, 2012 at 3:16 AM, Gustav Brock wrote: > > > Hi Rocky > > > > Welcome to reality. But where have you been all these years? This is a > > classic that has been up over and over again. > > > > /gustav > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Aug 2 17:27:09 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Aug 2012 15:27:09 -0700 Subject: [AccessD] Microsoft Access Has Stopped Working In-Reply-To: References: Message-ID: <07E542C981104623AF26FE5A909CF636@HAL9007> Gustav: My user is still reporting the problem - every time he deletes a sales order. Seems consistent and for him, delaying a couple of seconds before clicking OK to the last message ("Sales Order Deleted.") doesn't seem to help. What kind of changes to the code did you do? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, July 31, 2012 1:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft Access Has Stopped Working Hi Rocky I've seen it with A2010 when doing naughty things, repeatable * changed the code and it was gone. And occasionally for "no" reason. As you suggest - could be a timing issue. But, I think, outside our control. /gustav >>> rockysmolin at bchacc.com 31-07-12 21:20 >>> Dear List: How I HATE that message. Suddenly, for no apparent reason and making no excuses, Access stop working and give you only the curt message 'Microsoft Access has stopped working." and bails, leaving the ldb files open, as well as my mouth in disbelief. Not even a clue why. But I digress. Yesterday I ran into this twice on an app that HAS been working. I can go into the details later if necessary. But the first case I was able to duplicate here - has to do with deleting a record (SO Header), which cascade deletes child record (SO Detail), and then displays a MsgBox "Sales Order Deleted" and user clicks OK. If I wait a couple of seconds and click OK, no problem. If I click OK real fast, Microsoft Access stops working! I tried inserting a DoEvents before that last MsgBox - no seegar. Tried a subroutine to delay x milliseconds, it blew up on the call to that routine. So I think there's some kind of timing problem there. Maybe. The second case involves a form which displays PO details. Double-clicking on the PO Number opens the PO form and displays the whole PO. Clicking exit closes the form and you return to the first form. Works like a champ here. User says when they click Exit in the Purchase Order form...Microsoft Access stops working! Does anyone have any insight into this? Seen it before? Know how to fix it? MMTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Aug 2 19:34:07 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 3 Aug 2012 00:34:07 +0000 Subject: [AccessD] OT Contract Rates In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B524FE40BC@SINPRD0410MB381.apcprd04.prod.outlook.com> Yeah, I would agree with this - the quality of the relationship can pay big over time. I usually value the long term setup over the bottom line on a short term invoice. Use your judgement on this I guess. There is no 'right' way to do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, 2 August 2012 11:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Contract Rates Paul, One other piece of advice; don't burn any bridges. Not sure what the relationship is, why you left, under what terms, etc., but be fair in your contracting. I left one situation behind and after a year or so, the director made the comment "You know, you had us over the barrel; you could have asked for anything and we would have been stuck paying it, but you didn't screw us", and because of that, it turned into more work. Never know when you might get called back. Certainly be fair to yourself and not shortchange the situation (and you've gotten some good advice on how to do that), but don't hold them hostage either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Wednesday, August 01, 2012 11:51 AM To: Access List Subject: [AccessD] OT Contract Rates To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Thu Aug 2 21:36:19 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 3 Aug 2012 02:36:19 +0000 Subject: [AccessD] OT Contract Rates In-Reply-To: <56653D383CB80341995245C537A9E7B524FE40BC@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B524FE40BC@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF372C81184E@CINMBCNA01.e2k.ad.ge.com> Yep - not a factor of how bad they need you, it's what you are worth to yourself, other clients, etc - ie, your "going rate". Word gets around. B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, August 02, 2012 8:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Contract Rates Yeah, I would agree with this - the quality of the relationship can pay big over time. I usually value the long term setup over the bottom line on a short term invoice. Use your judgement on this I guess. There is no 'right' way to do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, 2 August 2012 11:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Contract Rates Paul, One other piece of advice; don't burn any bridges. Not sure what the relationship is, why you left, under what terms, etc., but be fair in your contracting. I left one situation behind and after a year or so, the director made the comment "You know, you had us over the barrel; you could have asked for anything and we would have been stuck paying it, but you didn't screw us", and because of that, it turned into more work. Never know when you might get called back. Certainly be fair to yourself and not shortchange the situation (and you've gotten some good advice on how to do that), but don't hold them hostage either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Wednesday, August 01, 2012 11:51 AM To: Access List Subject: [AccessD] OT Contract Rates To all, Probably not the best place to put this so I do appologise, but am in a situation in which I have never been or thought about before. I leave my current company after almost 11 years this Friday 3rd August, and start with a new company on the 6th August. The old company have asked me (no further details as yet) if I would be interested in working for them on a contract basis out of hours from my new company (no conflicting interests of business). What I would like to know is what sort of rates etc I should be requesting for support and help for SQL, SSRS, Access, as these will be systems I have worked on for the last ten years. The thing is they could have a situation where they are stuck with an issue, I could log on and resolve it in minutes, or may take an hour or more, I can work out my own time, electric etc, but I am stuck with regards to asking what sort of charges for my help. Thank you for any advice in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Thu Aug 2 22:28:34 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 3 Aug 2012 03:28:34 +0000 Subject: [AccessD] Problem with an update query Message-ID: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> I am getting a message "You won't be able to undo the changes this action query is about to make to the data in a linked table or tables. Do you want to run the query anyway?" However, the only linked tables in the below query is YVIEW. I am not updating a linked table! So then I click OK to run the query and get a message "Updating the data in a linked table is not supported by this ISAM" How can I get past this? UPDATE (YVIEW LEFT JOIN TblCMF AS Cust1 ON YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) LEFT JOIN TblCMF AS DOM ON Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; From hans.andersen at phulse.com Thu Aug 2 23:38:42 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 2 Aug 2012 21:38:42 -0700 Subject: [AccessD] MS Azure experienced mysterious downtime in Europe In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> Message-ID: <3572BC22-9049-4222-BD2E-E99BE52CE389@phulse.com> http://www.cbronline.com/news/microsoft-recovering-from-lengthy-azure-outage-270712 Hans From gustav at cactus.dk Fri Aug 3 02:35:40 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Aug 2012 09:35:40 +0200 Subject: [AccessD] Microsoft Access Has Stopped Working Message-ID: Hi Rocky It was a combobox where the doubleclick event called a sub that returned byref an array which another function used to rebuild the value list of the combobox. It seemed to work but some seconds later Access crashed. I changed it by creating a copy of the array, passing this (still byref) to the sub, and then copy the revised array to replace the original before calling the function that rebuild the value list. No crash after this. /gustav >>> rockysmolin at bchacc.com 03-08-12 0:27 >>> Gustav: My user is still reporting the problem - every time he deletes a sales order. Seems consistent and for him, delaying a couple of seconds before clicking OK to the last message ("Sales Order Deleted.") doesn't seem to help. What kind of changes to the code did you do? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, July 31, 2012 1:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft Access Has Stopped Working Hi Rocky I've seen it with A2010 when doing naughty things, repeatable * changed the code and it was gone. And occasionally for "no" reason. As you suggest - could be a timing issue. But, I think, outside our control. /gustav >>> rockysmolin at bchacc.com 31-07-12 21:20 >>> Dear List: How I HATE that message. Suddenly, for no apparent reason and making no excuses, Access stop working and give you only the curt message 'Microsoft Access has stopped working." and bails, leaving the ldb files open, as well as my mouth in disbelief. Not even a clue why. But I digress. Yesterday I ran into this twice on an app that HAS been working. I can go into the details later if necessary. But the first case I was able to duplicate here - has to do with deleting a record (SO Header), which cascade deletes child record (SO Detail), and then displays a MsgBox "Sales Order Deleted" and user clicks OK. If I wait a couple of seconds and click OK, no problem. If I click OK real fast, Microsoft Access stops working! I tried inserting a DoEvents before that last MsgBox - no seegar. Tried a subroutine to delay x milliseconds, it blew up on the call to that routine. So I think there's some kind of timing problem there. Maybe. The second case involves a form which displays PO details. Double-clicking on the PO Number opens the PO form and displays the whole PO. Clicking exit closes the form and you return to the first form. Works like a champ here. User says when they click Exit in the Purchase Order form...Microsoft Access stops working! Does anyone have any insight into this? Seen it before? Know how to fix it? MMTIA From rockysmolin at bchacc.com Fri Aug 3 09:46:18 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Aug 2012 07:46:18 -0700 Subject: [AccessD] Microsoft Access Has Stopped Working In-Reply-To: References: Message-ID: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> Okay - closer to a solution to one of the problems - I have traced the problem to one line of code: Me.cboSOHeader.Requery This combo box has all the sales orders in it. The user drops the combo, selects the order, and I use FindFirst and Bookmark to position the recordset at the selected record. After a sales order record is deleted I need to requery this combo box so that the deleted record doesn't show in the combo box as #Deleted. I tried moving the requery to a different place in the code - no luck. Tried deleted and recreating the combo box - no luck. Anybody got any ideas for a workaround? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 03, 2012 12:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft Access Has Stopped Working Hi Rocky It was a combobox where the doubleclick event called a sub that returned byref an array which another function used to rebuild the value list of the combobox. It seemed to work but some seconds later Access crashed. I changed it by creating a copy of the array, passing this (still byref) to the sub, and then copy the revised array to replace the original before calling the function that rebuild the value list. No crash after this. /gustav >>> rockysmolin at bchacc.com 03-08-12 0:27 >>> Gustav: My user is still reporting the problem - every time he deletes a sales order. Seems consistent and for him, delaying a couple of seconds before clicking OK to the last message ("Sales Order Deleted.") doesn't seem to help. What kind of changes to the code did you do? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, July 31, 2012 1:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft Access Has Stopped Working Hi Rocky I've seen it with A2010 when doing naughty things, repeatable * changed the code and it was gone. And occasionally for "no" reason. As you suggest - could be a timing issue. But, I think, outside our control. /gustav >>> rockysmolin at bchacc.com 31-07-12 21:20 >>> Dear List: How I HATE that message. Suddenly, for no apparent reason and making no excuses, Access stop working and give you only the curt message 'Microsoft Access has stopped working." and bails, leaving the ldb files open, as well as my mouth in disbelief. Not even a clue why. But I digress. Yesterday I ran into this twice on an app that HAS been working. I can go into the details later if necessary. But the first case I was able to duplicate here - has to do with deleting a record (SO Header), which cascade deletes child record (SO Detail), and then displays a MsgBox "Sales Order Deleted" and user clicks OK. If I wait a couple of seconds and click OK, no problem. If I click OK real fast, Microsoft Access stops working! I tried inserting a DoEvents before that last MsgBox - no seegar. Tried a subroutine to delay x milliseconds, it blew up on the call to that routine. So I think there's some kind of timing problem there. Maybe. The second case involves a form which displays PO details. Double-clicking on the PO Number opens the PO form and displays the whole PO. Clicking exit closes the form and you return to the first form. Works like a champ here. User says when they click Exit in the Purchase Order form...Microsoft Access stops working! Does anyone have any insight into this? Seen it before? Know how to fix it? MMTIA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 3 09:53:28 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 3 Aug 2012 10:53:28 -0400 Subject: [AccessD] Microsoft Access Has Stopped Working In-Reply-To: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> References: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> Message-ID: Rocky, If requerying the combo doesn't work, try just re-setting the RowSource. To keep things nice and clean in situations like this, I like to store the RowSource string in the Tag property. Then: Me.cboSOHeader.RowSource = Me.cboSOHeader.Tag And it will automatically repopulate the combo. HTH, Arthur From jimdettman at verizon.net Fri Aug 3 09:54:57 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 03 Aug 2012 10:54:57 -0400 Subject: [AccessD] Couple of links for Access 13 Message-ID: <996A260648724B3E804941708528167D@XPS> Couple of links for Access 13: Get started with Access 2013 Web Apps Introducing Access 2013 Jim. From rockysmolin at bchacc.com Fri Aug 3 10:12:35 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Aug 2012 08:12:35 -0700 Subject: [AccessD] Microsoft Access Has Stopped Working In-Reply-To: References: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> Message-ID: Arthur: Thank you so much. That worked! I'm sending the update to the user now and hope it works there as well. Best, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 03, 2012 7:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Microsoft Access Has Stopped Working Rocky, If requerying the combo doesn't work, try just re-setting the RowSource. To keep things nice and clean in situations like this, I like to store the RowSource string in the Tag property. Then: Me.cboSOHeader.RowSource = Me.cboSOHeader.Tag And it will automatically repopulate the combo. HTH, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 3 10:31:34 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 03 Aug 2012 11:31:34 -0400 Subject: [AccessD] Microsoft Access Has Stopped Working In-Reply-To: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> References: <5030FA7B7C6A4F0BA9CE8DA9C852C7BC@HAL9007> Message-ID: <501BEED6.8090902@colbyconsulting.com> I have run into that myself. I am convinced (in fact I know that) there is "hidden stuff" in what we edit. I think it is probably something similar to the old Word Perfect control codes - "hidden but there none the less". If you cut and paste - guess what - it survives. *NEVER* cut and paste the offending line. Comment out the offending line. Drop down a new line *type the offending line in manually* If it is the same thing that I ran into, it will be gone. DELETE the commented out offending line so that it is never uncommented. I believe that you can cut and paste the offending line into NotePad. Doing so strips all the special unseen stuff out of it. Then cut from Notepad and paste back in to your module. It is really best though to just manually type the line in again. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/3/2012 10:46 AM, Rocky Smolin wrote: > Okay - closer to a solution to one of the problems - I have traced the > problem to one line of code: > > Me.cboSOHeader.Requery > > This combo box has all the sales orders in it. The user drops the combo, > selects the order, and I use FindFirst and Bookmark to position the > recordset at the selected record. > > After a sales order record is deleted I need to requery this combo box so > that the deleted record doesn't show in the combo box as #Deleted. > > I tried moving the requery to a different place in the code - no luck. > Tried deleted and recreating the combo box - no luck. > > Anybody got any ideas for a workaround? > > Rocky From davidmcafee at gmail.com Fri Aug 3 11:49:46 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 3 Aug 2012 09:49:46 -0700 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox In-Reply-To: References: Message-ID: Too bad you're not working with an ADP, or it would be as simple as: me.lstSomeListBox.rowsource = "stpSomeStoredProcedure" I guess, what you want to do is write a VBA function then call it on the after update event of both comboboxes. Warning, aircode: Private Sub UpdateListBox() Dim qdf As QueryDef Dim strSQL as String strSQL = "EXEC dbo.stpSomeStoredProcedure @Parm1=" & me.comboBox1 Set qdf = CurrentDb().QueryDefs("MyQueryNameHere") qdf.SQL = strSQL me.listbox1.Requery End Sub Of course, you'll have to add the 2nd parameter, trap for when they are empty fields and such, but this should get you going. HTH David On Thu, Aug 2, 2012 at 12:56 PM, Jim Hewson wrote: > I'm lost! > Well actually that's my normal state usually. > I need help... > > Everything I've done in the last 3 years has been in Access 2007. I > haven't touched SQL Server at all for that long. > > For a new requirement I need to run a stored procedure (SPROC) and populate > a list box. > The form has two combo boxes that will be the parameters that is passed to > the SPROC. > I have successfully (I think), opened the database, passed the > parameters and run the SPROC. > I can't figure out how to populate the list box. > I'm a pretty simple guy. The code I got from SQL Server administrator is 8 > pages long... several functions and a class. > That just seems too complicated for this. > > The process I'm trying to do is: > Choose the parameters for the first SPROC > Execute the SPROC > Populate a list box. -- this list box will be the parameter for the second > SPROC. > > What is the simplest way to populate a list box? > > Thanks, > Jim > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Fri Aug 3 19:36:55 2012 From: marksimms at verizon.net (Mark Simms) Date: Fri, 03 Aug 2012 20:36:55 -0400 Subject: [AccessD] OT Contract Rates In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C81184E@CINMBCNA01.e2k.ad.ge.com> References: <56653D383CB80341995245C537A9E7B524FE40BC@SINPRD0410MB381.apcprd04.prod.outlook.com> <93D10F008B998B4A83BCA855A33EEF372C81184E@CINMBCNA01.e2k.ad.ge.com> Message-ID: <00f901cd71d9$404b21c0$c0e16540$@net> This ONLY APPLIES to direct client-to-consultant situations. When AGENCIES get involved, their BEST INTERESTS overshadow performance and your fine reputation. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global > Research, consultant) > Sent: Thursday, August 02, 2012 10:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Contract Rates > > Yep - not a factor of how bad they need you, it's what you are worth to > yourself, other clients, etc - ie, your "going rate". Word gets around. > B > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Thursday, August 02, 2012 8:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Contract Rates > > Yeah, I would agree with this - the quality of the relationship can pay > big over time. I usually value the long term setup over the bottom > line on a short term invoice. Use your judgement on this I guess. > There is no 'right' way to do it. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, 2 August 2012 11:08 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT Contract Rates > > Paul, > > One other piece of advice; don't burn any bridges. > > Not sure what the relationship is, why you left, under what terms, > etc., but be fair in your contracting. > > I left one situation behind and after a year or so, the director made > the comment "You know, you had us over the barrel; you could have asked > for anything and we would have been stuck paying it, but you didn't > screw us", and because of that, it turned into more work. > > Never know when you might get called back. > > Certainly be fair to yourself and not shortchange the situation (and > you've gotten some good advice on how to do that), but don't hold them > hostage either. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul > Hartland > Sent: Wednesday, August 01, 2012 11:51 AM > To: Access List > Subject: [AccessD] OT Contract Rates > > To all, > > Probably not the best place to put this so I do appologise, but am in a > situation in which I have never been or thought about before. I leave > my current company after almost 11 years this Friday 3rd August, and > start with a new company on the 6th August. The old company have asked > me (no further details as yet) if I would be interested in working for > them on a contract basis out of hours from my new company (no > conflicting interests of business). What I would like to know is what > sort of rates etc I should be requesting for support and help for SQL, > SSRS, Access, as these will be systems I have worked on for the last > ten years. The thing is they could have a situation where they are > stuck with an issue, I could log on and resolve it in minutes, or may > take an hour or more, I can work out my own time, electric etc, but I > am stuck with regards to asking what sort of charges for my help. > > Thank you for any advice in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Aug 4 02:29:54 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 4 Aug 2012 03:29:54 -0400 Subject: [AccessD] Problem with an update query In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> Message-ID: <008d01cd7212$f3d988b0$db8c9a10$@gmail.com> No one?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, August 02, 2012 11:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Problem with an update query I am getting a message "You won't be able to undo the changes this action query is about to make to the data in a linked table or tables. Do you want to run the query anyway?" However, the only linked tables in the below query is YVIEW. I am not updating a linked table! So then I click OK to run the query and get a message "Updating the data in a linked table is not supported by this ISAM" How can I get past this? UPDATE (YVIEW LEFT JOIN TblCMF AS Cust1 ON YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) LEFT JOIN TblCMF AS DOM ON Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Aug 4 02:38:32 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Aug 2012 17:38:32 +1000 Subject: [AccessD] Problem with an update query In-Reply-To: <008d01cd7212$f3d988b0$db8c9a10$@gmail.com> References: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com>, <008d01cd7212$f3d988b0$db8c9a10$@gmail.com> Message-ID: <501CD178.25720.1032DBA3@stuart.lexacorp.com.pg> What sort of database is the table YVIEW in. How are you linking to it (ODBC? What is the driver?) -- Stuart On 4 Aug 2012 at 3:29, William Benson (VBACreations. wrote: > No one?? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Thursday, August 02, 2012 11:29 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Problem with an update query > > I am getting a message "You won't be able to undo the changes this action > query is about to make to the data in a linked table or tables. Do you want > to run the query anyway?" > > However, the only linked tables in the below query is YVIEW. I am not > updating a linked table! > > So then I click OK to run the query and get a message "Updating the data in > a linked table is not supported by this ISAM" > > How can I get past this? > > UPDATE (YVIEW > LEFT JOIN TblCMF AS Cust1 ON > YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) > LEFT JOIN TblCMF AS DOM ON > Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET > YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sat Aug 4 02:51:51 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 04 Aug 2012 09:51:51 +0200 Subject: [AccessD] Problem with an update query Message-ID: Hi William > .. the only linked tables in the below query is YVIEW. > I am not updating a linked table! Well, that may be what you think. However, you state: SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; Besides, if this is a linked Excel table, that could also explain the error message. /gustav -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, August 02, 2012 11:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Problem with an update query I am getting a message "You won't be able to undo the changes this action query is about to make to the data in a linked table or tables. Do you want to run the query anyway?" However, the only linked tables in the below query is YVIEW. I am not updating a linked table! So then I click OK to run the query and get a message "Updating the data in a linked table is not supported by this ISAM" How can I get past this? UPDATE (YVIEW LEFT JOIN TblCMF AS Cust1 ON YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) LEFT JOIN TblCMF AS DOM ON Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; From rford at terra.com.br Sat Aug 4 16:00:59 2012 From: rford at terra.com.br (Roberto F. Long) Date: Sat, 4 Aug 2012 18:00:59 -0300 Subject: [AccessD] RES: Problem with an update query In-Reply-To: <008d01cd7212$f3d988b0$db8c9a10$@gmail.com> References: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> <008d01cd7212$f3d988b0$db8c9a10$@gmail.com> Message-ID: <008701cd7284$41420e30$c3c62a90$@terra.com.br> Just a long shot... I had a lot of this issues converting data from Dataflex / Paradox files to Access long time ago. It was because a linked table don't have a PK, or if it had a valid PK it was not assigned when it was linked, or in my case the Dataflex / Paradox ODBC drivers that I used don't have a update on-line index. And don't matter if I created a RO view, always same message. So I imported that tables to Access, defined valid PK and it worked. It was used only to data / system conversion from Dataflex to Access. It was used just for data conversion. Regards, Roberto. -----Mensagem original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Em nome de William Benson (VBACreations.Com) Enviada em: s?bado, 4 de agosto de 2012 04:30 Para: 'Access Developers discussion and problem solving' Assunto: Re: [AccessD] Problem with an update query No one?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, August 02, 2012 11:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Problem with an update query I am getting a message "You won't be able to undo the changes this action query is about to make to the data in a linked table or tables. Do you want to run the query anyway?" However, the only linked tables in the below query is YVIEW. I am not updating a linked table! So then I click OK to run the query and get a message "Updating the data in a linked table is not supported by this ISAM" How can I get past this? UPDATE (YVIEW LEFT JOIN TblCMF AS Cust1 ON YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) LEFT JOIN TblCMF AS DOM ON Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Aug 4 16:40:39 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 4 Aug 2012 17:40:39 -0400 Subject: [AccessD] Problem with an update query In-Reply-To: References: Message-ID: Gustav yview is a static local table. On Aug 4, 2012 3:41 AM, "Gustav Brock" wrote: > Hi William > > > .. the only linked tables in the below query is YVIEW. > > I am not updating a linked table! > > Well, that may be what you think. However, you state: > > SET > YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; > > Besides, if this is a linked Excel table, that could also explain the > error message. > > /gustav > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Thursday, August 02, 2012 11:29 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Problem with an update query > > I am getting a message "You won't be able to undo the changes this action > query is about to make to the data in a linked table or tables. Do you want > to run the query anyway?" > > However, the only linked tables in the below query is YVIEW. I am not > updating a linked table! > > So then I click OK to run the query and get a message "Updating the data in > a linked table is not supported by this ISAM" > > How can I get past this? > > UPDATE (YVIEW > LEFT JOIN TblCMF AS Cust1 ON > YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) > LEFT JOIN TblCMF AS DOM ON > Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER SET > YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Aug 4 16:43:03 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 4 Aug 2012 17:43:03 -0400 Subject: [AccessD] Problem with an update query In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372C811876@CINMBCNA01.e2k.ad.ge.com> Message-ID: I apologize that I wrote YVIEW is the linked table, quite the contrary. I had meant to say thst the only nonlinked table was YVIEW. On Aug 2, 2012 11:30 PM, "Benson, William (GE Global Research, consultant)" wrote: > I am getting a message "You won't be able to undo the changes this action > query is about to make to the data in a linked table or tables. Do you want > to run the query anyway?" > > However, the only linked tables in the below query is YVIEW. I am not > updating a linked table! > > So then I click OK to run the query and get a message "Updating the data > in a linked table is not supported by this ISAM" > > How can I get past this? > > UPDATE (YVIEW > LEFT JOIN TblCMF AS Cust1 ON > YVIEW.SITE_DUNS_NO = Cust1.DUNS_NUMBER) > LEFT JOIN TblCMF AS DOM ON > Cust1.MAS_DOM_ULT_DUNS = DOM.DUNS_NUMBER > SET YVIEW.DOM_CUSTOMER_NAME = [DOM].[CUSTOMER_NAME]; > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lmrazek at lcm-res.com Sat Aug 4 21:35:55 2012 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Sat, 4 Aug 2012 21:35:55 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: Hi Folks: I've been testing the code on: http://allenbrowne.com/ser-35.html to open multiple instances of a form in Access 2007. It works well, but I need to be able to pass some parameters on to the form I'm opening. OpenArgs don't seem to work. Any ideas? Thanks in advance. Larry Lmrazek at lcm-res.com From charlotte.foust at gmail.com Sat Aug 4 21:41:27 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 4 Aug 2012 19:41:27 -0700 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: OpenArgs should work. What's your code look like? Charlotte On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek wrote: > Hi Folks: > > I've been testing the code on: http://allenbrowne.com/ser-35.html > > to open > multiple instances of a form in Access 2007. It works well, but I need to > be able to pass some parameters on to the form I'm opening. > > OpenArgs don't seem to work. > > Any ideas? > > Thanks in advance. > > Larry > Lmrazek at lcm-res.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From lmrazek at lcm-res.com Sat Aug 4 21:50:07 2012 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Sat, 4 Aug 2012 21:50:07 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: 'Purpose: Open an independent instance of form frmClient. Dim frm As Form 'Open a new instance, show it, and set a caption. Set frm = New Form_frmMainMenu_ShipmentScheduling frm.Visible = True frm.Caption = frm.hwnd & ", opened " & Now() frm.OpenArgs = "test" 'Append it to our collection. clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) Set frm = Nothing When I try to run this, I get the error: " 2135" ... This property is read-only and can't be set ... pointing to the line: frm.OpenArgs = "test" On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust wrote: > OpenArgs should work. What's your code look like? > > Charlotte > > On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek > wrote: > > > Hi Folks: > > > > I've been testing the code on: http://allenbrowne.com/ser-35.html > > > > to open > > multiple instances of a form in Access 2007. It works well, but I need to > > be able to pass some parameters on to the form I'm opening. > > > > OpenArgs don't seem to work. > > > > Any ideas? > > > > Thanks in advance. > > > > Larry > > Lmrazek at lcm-res.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lmrazek at lcm-res.com Sat Aug 4 21:50:52 2012 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Sat, 4 Aug 2012 21:50:52 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: And Thanks Charlotte! On Sat, Aug 4, 2012 at 9:50 PM, Lawrence Mrazek wrote: > 'Purpose: Open an independent instance of form frmClient. > Dim frm As Form > > 'Open a new instance, show it, and set a caption. > Set frm = New Form_frmMainMenu_ShipmentScheduling > frm.Visible = True > frm.Caption = frm.hwnd & ", opened " & Now() > frm.OpenArgs = "test" > > 'Append it to our collection. > clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) > Set frm = Nothing > > When I try to run this, I get the error: " 2135" ... This property is > read-only and can't be set ... pointing to the line: > frm.OpenArgs = "test" > > > On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust > wrote: > >> OpenArgs should work. What's your code look like? >> >> Charlotte >> >> On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek >> wrote: >> >> > Hi Folks: >> > >> > I've been testing the code on: http://allenbrowne.com/ser-35.html >> > >> > to open >> > multiple instances of a form in Access 2007. It works well, but I need >> to >> > be able to pass some parameters on to the form I'm opening. >> > >> > OpenArgs don't seem to work. >> > >> > Any ideas? >> > >> > Thanks in advance. >> > >> > Larry >> > Lmrazek at lcm-res.com >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > >> > >> > Website: http://www.databaseadvisors.com >> > >> > >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From charlotte.foust at gmail.com Sat Aug 4 22:12:44 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 4 Aug 2012 20:12:44 -0700 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: OpenArgs isn't a property you can set. When you open the form using DoCmd.OpenForm, OpenArgs is the last argument you can pass in. The Form_Open event then has to check to see if it got a value in OpenArgs and do something with it. So you could have something like this in the Form_Open event of the form: > If Not IsNull(Me.OpenArgs) Then > Me.Caption = Me.Caption & " Test" End If Does that help? Charlotte On Sat, Aug 4, 2012 at 7:50 PM, Lawrence Mrazek wrote: > 'Purpose: Open an independent instance of form frmClient. > Dim frm As Form > > 'Open a new instance, show it, and set a caption. > Set frm = New Form_frmMainMenu_ShipmentScheduling > frm.Visible = True > frm.Caption = frm.hwnd & ", opened " & Now() > frm.OpenArgs = "test" > > 'Append it to our collection. > clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) > Set frm = Nothing > > When I try to run this, I get the error: " 2135" ... This property is > read-only and can't be set ... pointing to the line: > frm.OpenArgs = "test" > > On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust > wrote: > > > OpenArgs should work. What's your code look like? > > > > Charlotte > > > > On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek > > wrote: > > > > > Hi Folks: > > > > > > I've been testing the code on: http://allenbrowne.com/ser-35.html > > > > > > > > to open > > > multiple instances of a form in Access 2007. It works well, but I need > to > > > be able to pass some parameters on to the form I'm opening. > > > > > > OpenArgs don't seem to work. > > > > > > Any ideas? > > > > > > Thanks in advance. > > > > > > Larry > > > Lmrazek at lcm-res.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Sat Aug 4 22:52:25 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Aug 2012 13:52:25 +1000 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: , , Message-ID: <501DEDF9.10760.148A34B2@stuart.lexacorp.com.pg> It you need to pass something which the form can use when opened in this way, try the Tag property instead. -- Stuart On 4 Aug 2012 at 20:12, Charlotte Foust wrote: > OpenArgs isn't a property you can set. When you open the form using > DoCmd.OpenForm, OpenArgs is the last argument you can pass in. The > Form_Open event then has to check to see if it got a value in OpenArgs and > do something with it. So you could have something like this in the > Form_Open event of the form: > > > > If Not IsNull(Me.OpenArgs) Then > > Me.Caption = Me.Caption & " Test" > > End If > > Does that help? > > Charlotte > > > On Sat, Aug 4, 2012 at 7:50 PM, Lawrence Mrazek wrote: > > > 'Purpose: Open an independent instance of form frmClient. > > Dim frm As Form > > > > 'Open a new instance, show it, and set a caption. > > Set frm = New Form_frmMainMenu_ShipmentScheduling > > frm.Visible = True > > frm.Caption = frm.hwnd & ", opened " & Now() > > frm.OpenArgs = "test" > > > > 'Append it to our collection. > > clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) > > Set frm = Nothing > > > > When I try to run this, I get the error: " 2135" ... This property is > > read-only and can't be set ... pointing to the line: > > frm.OpenArgs = "test" > > > > On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust > > wrote: > > > > > OpenArgs should work. What's your code look like? > > > > > > Charlotte > > > > > > On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek > > > wrote: > > > > > > > Hi Folks: > > > > > > > > I've been testing the code on: http://allenbrowne.com/ser-35.html > > > > > > > > > > > > to open > > > > multiple instances of a form in Access 2007. It works well, but I need > > to > > > > be able to pass some parameters on to the form I'm opening. > > > > > > > > OpenArgs don't seem to work. > > > > > > > > Any ideas? > > > > > > > > Thanks in advance. > > > > > > > > Larry > > > > Lmrazek at lcm-res.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lmrazek at lcm-res.com Sat Aug 4 23:27:03 2012 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Sat, 4 Aug 2012 23:27:03 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: <501DEDF9.10760.148A34B2@stuart.lexacorp.com.pg> References: <501DEDF9.10760.148A34B2@stuart.lexacorp.com.pg> Message-ID: Thanks Stuart and Charlotte: You pointed me in the right direction; I can either access the tag property or parse out text from the Caption. Much appreciated! Larry. On Sat, Aug 4, 2012 at 10:52 PM, Stuart McLachlan wrote: > It you need to pass something which the form can use when opened in this > way, try the Tag > property instead. > > -- > Stuart > > On 4 Aug 2012 at 20:12, Charlotte Foust wrote: > > > OpenArgs isn't a property you can set. When you open the form using > > DoCmd.OpenForm, OpenArgs is the last argument you can pass in. The > > Form_Open event then has to check to see if it got a value in OpenArgs > and > > do something with it. So you could have something like this in the > > Form_Open event of the form: > > > > > > > If Not IsNull(Me.OpenArgs) Then > > > Me.Caption = Me.Caption & " Test" > > > > End If > > > > Does that help? > > > > Charlotte > > > > > > On Sat, Aug 4, 2012 at 7:50 PM, Lawrence Mrazek > wrote: > > > > > 'Purpose: Open an independent instance of form frmClient. > > > Dim frm As Form > > > > > > 'Open a new instance, show it, and set a caption. > > > Set frm = New Form_frmMainMenu_ShipmentScheduling > > > frm.Visible = True > > > frm.Caption = frm.hwnd & ", opened " & Now() > > > frm.OpenArgs = "test" > > > > > > 'Append it to our collection. > > > clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) > > > Set frm = Nothing > > > > > > When I try to run this, I get the error: " 2135" ... This property is > > > read-only and can't be set ... pointing to the line: > > > frm.OpenArgs = "test" > > > > > > On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust > > > wrote: > > > > > > > OpenArgs should work. What's your code look like? > > > > > > > > Charlotte > > > > > > > > On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek > > > > > wrote: > > > > > > > > > Hi Folks: > > > > > > > > > > I've been testing the code on: http://allenbrowne.com/ser-35.html > > > > > > > > > > > > > > > > to open > > > > > multiple instances of a form in Access 2007. It works well, but I > need > > > to > > > > > be able to pass some parameters on to the form I'm opening. > > > > > > > > > > OpenArgs don't seem to work. > > > > > > > > > > Any ideas? > > > > > > > > > > Thanks in advance. > > > > > > > > > > Larry > > > > > Lmrazek at lcm-res.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Sun Aug 5 11:56:49 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Sun, 5 Aug 2012 11:56:49 -0500 Subject: [AccessD] Rube Goldberg Would Have Been Proud References: Message-ID: All, I am working on a high-level one-page ?Executive? report that pulls data from many data sources in order to provide Key Metrics in one central place. This report will be automatically generated every night. Because of the amount of underlying data and because of the number of data sources, it takes about 4-5 minutes to generate the report. So far, things have worked nicely. The generated report is going to be automatically e-mailed to key people and it is going to be stored as a PDF file. During the day, the previously generated PDF file (from the night before) will be visible from an Access application. This also is working nicely. (1 second response time) So far, so good. Now, there is a need to provide ?Links? from the one-page report to detail reports. This is not a problem if the report is generated and viewed via ?Report View? (Access 2007). This works nicely, except that it takes 4-5 minutes to generate the report. I am trying to come up with a faster solution. Here is what I am considering. After the report is automatically generated at night (in PDF format), I will automatically convert the PDF file into a JPG file. Then I will use this JPG file as a ?Linked Image? in another Access Report. Next I will add Buttons on top of the Image for the Links to the underlying details. Has anyone else tried something along these lines? Is there a better or simpler way to do this? Thanks, Brad From jwcolby at colbyconsulting.com Sun Aug 5 12:08:11 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 05 Aug 2012 13:08:11 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: <501DEDF9.10760.148A34B2@stuart.lexacorp.com.pg> Message-ID: <501EA87B.7070606@colbyconsulting.com> Ick. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/5/2012 12:27 AM, Lawrence Mrazek wrote: > Thanks Stuart and Charlotte: > > You pointed me in the right direction; I can either access the tag property > or parse out text from the Caption. > > Much appreciated! > > Larry. > > On Sat, Aug 4, 2012 at 10:52 PM, Stuart McLachlan wrote: > >> It you need to pass something which the form can use when opened in this >> way, try the Tag >> property instead. >> >> -- >> Stuart >> >> On 4 Aug 2012 at 20:12, Charlotte Foust wrote: >> >>> OpenArgs isn't a property you can set. When you open the form using >>> DoCmd.OpenForm, OpenArgs is the last argument you can pass in. The >>> Form_Open event then has to check to see if it got a value in OpenArgs >> and >>> do something with it. So you could have something like this in the >>> Form_Open event of the form: >>> >>> >>>> If Not IsNull(Me.OpenArgs) Then >>>> Me.Caption = Me.Caption & " Test" >>> >>> End If >>> >>> Does that help? >>> >>> Charlotte >>> >>> >>> On Sat, Aug 4, 2012 at 7:50 PM, Lawrence Mrazek >> wrote: >>> >>>> 'Purpose: Open an independent instance of form frmClient. >>>> Dim frm As Form >>>> >>>> 'Open a new instance, show it, and set a caption. >>>> Set frm = New Form_frmMainMenu_ShipmentScheduling >>>> frm.Visible = True >>>> frm.Caption = frm.hwnd & ", opened " & Now() >>>> frm.OpenArgs = "test" >>>> >>>> 'Append it to our collection. >>>> clnClient.Add Item:=frm, Key:=CStr(frm.hwnd) >>>> Set frm = Nothing >>>> >>>> When I try to run this, I get the error: " 2135" ... This property is >>>> read-only and can't be set ... pointing to the line: >>>> frm.OpenArgs = "test" >>>> >>>> On Sat, Aug 4, 2012 at 9:41 PM, Charlotte Foust >>>> wrote: >>>> >>>>> OpenArgs should work. What's your code look like? >>>>> >>>>> Charlotte >>>>> >>>>> On Sat, Aug 4, 2012 at 7:35 PM, Lawrence Mrazek >> >>>>> wrote: >>>>> >>>>>> Hi Folks: >>>>>> >>>>>> I've been testing the code on: http://allenbrowne.com/ser-35.html >>>> >>>> >>>>>> >>>>>> to open >>>>>> multiple instances of a form in Access 2007. It works well, but I >> need >>>> to >>>>>> be able to pass some parameters on to the form I'm opening. >>>>>> >>>>>> OpenArgs don't seem to work. >>>>>> >>>>>> Any ideas? >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> Larry >>>>>> Lmrazek at lcm-res.com >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> >>>> >>>>>> >>>>>> >>>>>> Website: http://www.databaseadvisors.com >>>> >>>> >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> >>>> >>>>> Website: http://www.databaseadvisors.com >>>> >>>> >>>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> >>>> >>>> Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From garykjos at gmail.com Sun Aug 5 12:30:48 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 5 Aug 2012 12:30:48 -0500 Subject: [AccessD] Rube Goldberg Would Have Been Proud In-Reply-To: References: Message-ID: I guess I would have the query that the report is based on save it's output into a temp or maybe not so temp table - perhaps have rows with creation dates and then you could go back to previous days report data. Then the actual report would be modified to read this "reporting table" rather than the source data directly. GK On Sun, Aug 5, 2012 at 11:56 AM, Brad Marks wrote: > All, > > I am working on a high-level one-page ?Executive? report that pulls data > from many data sources in order to provide Key Metrics in one central > place. This report will be automatically generated every night. Because > of the amount of underlying data and because of the number of data sources, > it takes about 4-5 minutes to generate the report. So far, things have > worked nicely. The generated report is going to be automatically e-mailed > to key people and it is going to be stored as a PDF file. > > During the day, the previously generated PDF file (from the night before) > will be visible from an Access application. This also is working nicely. > (1 second response time) > > So far, so good. > > Now, there is a need to provide ?Links? from the one-page report to detail > reports. This is not a problem if the report is generated and viewed via > ?Report View? (Access 2007). This works nicely, except that it takes 4-5 > minutes to generate the report. > > I am trying to come up with a faster solution. > > Here is what I am considering. After the report is automatically > generated at night (in PDF format), I will automatically convert the PDF > file into a JPG file. > > Then I will use this JPG file as a ?Linked Image? in another Access > Report. Next I will add Buttons on top of the Image for the Links to the > underlying details. > > Has anyone else tried something along these lines? > > Is there a better or simpler way to do this? > > Thanks, > Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From stuart at lexacorp.com.pg Sun Aug 5 16:37:48 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Aug 2012 07:37:48 +1000 Subject: [AccessD] Rube Goldberg Would Have Been Proud In-Reply-To: References: , , Message-ID: <501EE7AC.17556.18599626@stuart.lexacorp.com.pg> AKA Data Warehousing. One way I've done this it is to build a "master" database with empty denormalised tables. The nightly (or on demand) process creates a copy of the empty database and populates the tables from the operational data - the reports then run on this de-normalised data. Tthat avoids the bloat of populatng/re-populating "temp or not so temp" tables. -- Stuart On 5 Aug 2012 at 12:30, Gary Kjos wrote: > I guess I would have the query that the report is based on save it's output > into a temp or maybe not so temp table - perhaps have rows with creation > dates and then you could go back to previous days report data. Then the > actual report would be modified to read this "reporting table" rather than > the source data directly. > > GK > > On Sun, Aug 5, 2012 at 11:56 AM, Brad Marks wrote: > > > All, > > > > I am working on a high-level one-page "Executive" report that pulls data > > from many data sources in order to provide Key Metrics in one central > > place. This report will be automatically generated every night. Because > > of the amount of underlying data and because of the number of data sources, > > it takes about 4-5 minutes to generate the report. So far, things have > > worked nicely. The generated report is going to be automatically e-mailed > > to key people and it is going to be stored as a PDF file. > > > > During the day, the previously generated PDF file (from the night before) > > will be visible from an Access application. This also is working nicely. > > (1 second response time) > > > > So far, so good. > > > > Now, there is a need to provide "Links" from the one-page report to detail > > reports. This is not a problem if the report is generated and viewed via > > "Report View" (Access 2007). This works nicely, except that it takes 4-5 > > minutes to generate the report. > > > > I am trying to come up with a faster solution. > > > > Here is what I am considering. After the report is automatically > > generated at night (in PDF format), I will automatically convert the PDF > > file into a JPG file. > > > > Then I will use this JPG file as a "Linked Image" in another Access > > Report. Next I will add Buttons on top of the Image for the Links to the > > underlying details. > > > > Has anyone else tried something along these lines? > > > > Is there a better or simpler way to do this? > > > > Thanks, > > Brad > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Aug 5 18:25:27 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 5 Aug 2012 23:25:27 +0000 Subject: [AccessD] Rube Goldberg Would Have Been Proud In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B524FE46C2@SINPRD0410MB381.apcprd04.prod.outlook.com> My main concern with this approach would be any quality loss when converting from PDF to JPG. In the past I have done this and there has been a noticeable loss of detail during the conversion. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Monday, 6 August 2012 2:57 AM To: Access Developers discussion and problem solving Subject: [AccessD] Rube Goldberg Would Have Been Proud All, I am working on a high-level one-page "Executive" report that pulls data from many data sources in order to provide Key Metrics in one central place. This report will be automatically generated every night. Because of the amount of underlying data and because of the number of data sources, it takes about 4-5 minutes to generate the report. So far, things have worked nicely. The generated report is going to be automatically e-mailed to key people and it is going to be stored as a PDF file. During the day, the previously generated PDF file (from the night before) will be visible from an Access application. This also is working nicely. (1 second response time) So far, so good. Now, there is a need to provide "Links" from the one-page report to detail reports. This is not a problem if the report is generated and viewed via "Report View" (Access 2007). This works nicely, except that it takes 4-5 minutes to generate the report. I am trying to come up with a faster solution. Here is what I am considering. After the report is automatically generated at night (in PDF format), I will automatically convert the PDF file into a JPG file. Then I will use this JPG file as a "Linked Image" in another Access Report. Next I will add Buttons on top of the Image for the Links to the underlying details. Has anyone else tried something along these lines? Is there a better or simpler way to do this? Thanks, Brad From marksimms at verizon.net Sun Aug 5 19:01:21 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 05 Aug 2012 20:01:21 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: References: Message-ID: <000001cd7366$9d44c280$d7ce4780$@net> Well, yet another story of a contract-gone-wrong. I developed a complex Excel 2010 XLSM workbook: 15k lines of code. It references and calls a complex DLL addin from a third party....based on the dot-net 4.0 framework. Everything works well on a laptop or desktop environment. Unfortunately, it does not work in a Citrix Server environment. More unfortunately, the consulting company I engaged with had PROMISED to their client this whole "mash-up" would work in Citrix. There is much evidence out there that Excel 2010 has many technical issues especially with large VBA code modules. The comments at the Excel blog are telling: http://blogs.office.com/b/microsoft-excel/archive/2012/07/18/introducing-exc el-2013.aspx My VBA is throwing errors when calling the complex addin functions under Citrix. I feel the problem is in Citrix or Excel 2010 or the complex addin. The addin vendor claims their product works in Citrix, but they've only used a "toy" (small) example in their testing. I feel their addin is at fault here. Microsoft has ignored all requests for assistance on this. I am being "pressured" to "fix it" when in fact, I don't believe I can do much. It's getting to the point of harassment. Advice ? 1) seek a lawyer 2) reneg the contract terms (very low rate right now) to get bigger bucks to fix this mess 3) tell them to "take a hike" and walk away From rockysmolin at bchacc.com Sun Aug 5 20:48:58 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 5 Aug 2012 18:48:58 -0700 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <000001cd7366$9d44c280$d7ce4780$@net> References: <000001cd7366$9d44c280$d7ce4780$@net> Message-ID: <49B25B84048B45ECA86405CE21CA25A0@HAL9007> I would 1. Demonstrate that you work product works perfectly out of the Citrix environment 2. Present to your customer the evidence that the dll will not work with Citrix in spite of the third party claims. 3. Present the Excel blog. 4. Demonstrate the failure under Citrix (assuming you can find reproducible conditions) 5. Present your evidence and opinion that the add-in is at fault and not Citrix 6. Ask them how they would like to proceed. Can the dll be replaced by another vendor or roll-your-own? Have you taken any progress payments on the contract so far? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, August 05, 2012 5:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Citrix Environment issue....difficult client Well, yet another story of a contract-gone-wrong. I developed a complex Excel 2010 XLSM workbook: 15k lines of code. It references and calls a complex DLL addin from a third party....based on the dot-net 4.0 framework. Everything works well on a laptop or desktop environment. Unfortunately, it does not work in a Citrix Server environment. More unfortunately, the consulting company I engaged with had PROMISED to their client this whole "mash-up" would work in Citrix. There is much evidence out there that Excel 2010 has many technical issues especially with large VBA code modules. The comments at the Excel blog are telling: http://blogs.office.com/b/microsoft-excel/archive/2012/07/18/introducing-exc el-2013.aspx My VBA is throwing errors when calling the complex addin functions under Citrix. I feel the problem is in Citrix or Excel 2010 or the complex addin. The addin vendor claims their product works in Citrix, but they've only used a "toy" (small) example in their testing. I feel their addin is at fault here. Microsoft has ignored all requests for assistance on this. I am being "pressured" to "fix it" when in fact, I don't believe I can do much. It's getting to the point of harassment. Advice ? 1) seek a lawyer 2) reneg the contract terms (very low rate right now) to get bigger bucks to fix this mess 3) tell them to "take a hike" and walk away -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Aug 5 22:53:16 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 6 Aug 2012 03:53:16 +0000 Subject: [AccessD] OT: Space nerds Message-ID: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> Landing on Mars in a couple of hours... <> Watching from work via Nasa TV - gotta love the net. : ) From jwcolby at colbyconsulting.com Mon Aug 6 06:42:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Aug 2012 07:42:55 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <501FADBF.50405@colbyconsulting.com> LOL. I had the feed all set up and working. I went to bed at 09:30 PM and woke back up at 12:45 AM to start watching. I had several instances of firefox open on various feeds. Closed down one that supposedly had nothing to do with the feed and EVERY INSTANCE of firefox closed!. Then the server was overloaded and I couldn't get back in! I could NOT get back in. I ended up watching some guys at some university discussing what was happening and occasionally switching to show me the feed I had been watching direct. I have rarely been so pissed! But hey, the landing worked! We are back on Mars with the most powerful laboratory ever. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/5/2012 11:53 PM, Darryl Collins wrote: > Landing on Mars in a couple of hours... > > <> > > Watching from work via Nasa TV - gotta love the net. : ) > > From rockysmolin at bchacc.com Mon Aug 6 08:30:55 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 Aug 2012 06:30:55 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: <501FADBF.50405@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> Message-ID: <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> I watched the NASA site with only a couple of buffer delays. But then I'm a lot closer to JPL so probably first in line. :) Quite extraordinary when you think of all the things that could have gone wrong. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 06, 2012 4:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds LOL. I had the feed all set up and working. I went to bed at 09:30 PM and woke back up at 12:45 AM to start watching. I had several instances of firefox open on various feeds. Closed down one that supposedly had nothing to do with the feed and EVERY INSTANCE of firefox closed!. Then the server was overloaded and I couldn't get back in! I could NOT get back in. I ended up watching some guys at some university discussing what was happening and occasionally switching to show me the feed I had been watching direct. I have rarely been so pissed! But hey, the landing worked! We are back on Mars with the most powerful laboratory ever. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/5/2012 11:53 PM, Darryl Collins wrote: > Landing on Mars in a couple of hours... > > <> > > Watching from work via Nasa TV - gotta love the net. : ) > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Mon Aug 6 10:49:04 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 06 Aug 2012 11:49:04 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> Message-ID: <501FE770.1000405@torchlake.com> It really is amazing! Just think of the calculations they had to get right. How about the logic? I'm so happy everything went so well. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 9:30 AM, Rocky Smolin wrote: > I watched the NASA site with only a couple of buffer delays. But then I'm a > lot closer to JPL so probably first in line. :) > > Quite extraordinary when you think of all the things that could have gone > wrong. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 4:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Space nerds > > LOL. I had the feed all set up and working. I went to bed at 09:30 PM and > woke back up at 12:45 AM to start watching. I had several instances of > firefox open on various feeds. Closed down one that supposedly had nothing > to do with the feed and EVERY INSTANCE of firefox closed!. Then the server > was overloaded and I couldn't get back in! > > I could NOT get back in. I ended up watching some guys at some university > discussing what was happening and occasionally switching to show me the feed > I had been watching direct. > > I have rarely been so pissed! > > But hey, the landing worked! We are back on Mars with the most powerful > laboratory ever. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/5/2012 11:53 PM, Darryl Collins wrote: >> Landing on Mars in a couple of hours... >> >> <> >> >> Watching from work via Nasa TV - gotta love the net. : ) >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Aug 6 10:55:04 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 Aug 2012 08:55:04 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: <501FE770.1000405@torchlake.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com><501FADBF.50405@colbyconsulting.com><5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: <3905B51CE16E4FAF8F5A9E266D831B45@HAL9007> And the mechanical stuff that had to go right - ejecting the heat shield, deploying the parachute, running to engines on the lander that had to hiver, lowering the robot on the tether - tricky stuff for a mechanical engineer. Really impressive achievement. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Monday, August 06, 2012 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds It really is amazing! Just think of the calculations they had to get right. How about the logic? I'm so happy everything went so well. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 9:30 AM, Rocky Smolin wrote: > I watched the NASA site with only a couple of buffer delays. But then > I'm a lot closer to JPL so probably first in line. :) > > Quite extraordinary when you think of all the things that could have > gone wrong. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 4:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Space nerds > > LOL. I had the feed all set up and working. I went to bed at 09:30 > PM and woke back up at 12:45 AM to start watching. I had several > instances of firefox open on various feeds. Closed down one that > supposedly had nothing to do with the feed and EVERY INSTANCE of > firefox closed!. Then the server was overloaded and I couldn't get back in! > > I could NOT get back in. I ended up watching some guys at some > university discussing what was happening and occasionally switching to > show me the feed I had been watching direct. > > I have rarely been so pissed! > > But hey, the landing worked! We are back on Mars with the most > powerful laboratory ever. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/5/2012 11:53 PM, Darryl Collins wrote: >> Landing on Mars in a couple of hours... >> >> <> >> >> Watching from work via Nasa TV - gotta love the net. : ) >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Aug 6 12:04:18 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 Aug 2012 10:04:18 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: Awesome. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, August 05, 2012 8:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Space nerds Landing on Mars in a couple of hours... <> Watching from work via Nasa TV - gotta love the net. : ) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Mon Aug 6 12:22:15 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 6 Aug 2012 12:22:15 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: > > jwcolby: > Ick. > Ick indeed. Using the Caption or a Tag to pass parameters is ugly. Here is sample code with correct parameter passing. Enhancements on Allen's approach: * One module per form. Every method in the module is prefixed with the form name. This keeps managing this kind of code simple * You send the parameters when you call the 'nameNew' routine * The form gets one chance to read the parameters using the 'nameOpenArgs' function * Since multiple instances of a form all share the same query, save the form with a blank RecordSource, and set it with SQL when the form opens To create a new instance of form 'Blah', call 'BlahNew' with your OpenArgs parameter: -------------------------------------------------------------------------------- Option Compare Database Option Explicit ' Module MBlah Private mrBlahs As New Collection Private mvBlahParameter As Variant Public Sub BlahDestroy(lHwnd As String) On Error Resume Next mrBlahs.Remove CStr(lHwnd) End Sub Public Sub BlahNew(vBlahParameter As Variant) Dim rForm As Access.Form mvBlahParameter = vBlahParameter Set rForm = New Form_frmBlah rForm.Visible = True mrBlahs.Add rForm, CStr(rForm.hwnd) mvBlahParameter = Empty End Sub Public Function BlahOpenArgs() As Variant() BlahOpenArgs = Array() If Not IsEmpty(mvBlahParameter) Then BlahOpenArgs = Array(mvBlahParameter) End If End Function Public Function BlahSql(vBlahParameter As Variant) BlahSql = "SELECT [Blah] FROM [Blah] WHERE ([Blah].[Blah] = '" & vBlahParameter & "');" End Function -------------------------------------------------------------------------------- And here is the Form code. Note that the Recordsource is left blank for multi-instance forms, and is filled in using code: -------------------------------------------------------------------------------- Option Compare Database Option Explicit ' Form class Form_frmBlah Private mvMyParameter As Variant Private Sub cmdClose_Click() BlahDestroy Me.hwnd End Sub Private Sub Form_Close() BlahDestroy Me.hwnd End Sub Private Sub Form_Open(Cancel As Integer) Dim vArgs() As Variant vArgs = BlahOpenArgs() mvMyParameter = vArgs(0) End Sub Private Sub Form_Load() Me.RecordSource = BlahSql(mvMyParameter) End Sub -------------------------------------------------------------------------------- From jimdettman at verizon.net Mon Aug 6 12:27:38 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 06 Aug 2012 13:27:38 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: <501FE770.1000405@torchlake.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: <> That's what blew me away; hitting a 96 mile wide crater from 140 +/- million miles and dealing with two planets that orbit at different speeds and with elliptical orbits. I know its just math, but it's still impressive all the same. I keep wondering to what the software was like for the landing, which has never been done before. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Monday, August 06, 2012 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds It really is amazing! Just think of the calculations they had to get right. How about the logic? I'm so happy everything went so well. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 9:30 AM, Rocky Smolin wrote: > I watched the NASA site with only a couple of buffer delays. But then I'm a > lot closer to JPL so probably first in line. :) > > Quite extraordinary when you think of all the things that could have gone > wrong. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 4:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Space nerds > > LOL. I had the feed all set up and working. I went to bed at 09:30 PM and > woke back up at 12:45 AM to start watching. I had several instances of > firefox open on various feeds. Closed down one that supposedly had nothing > to do with the feed and EVERY INSTANCE of firefox closed!. Then the server > was overloaded and I couldn't get back in! > > I could NOT get back in. I ended up watching some guys at some university > discussing what was happening and occasionally switching to show me the feed > I had been watching direct. > > I have rarely been so pissed! > > But hey, the landing worked! We are back on Mars with the most powerful > laboratory ever. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/5/2012 11:53 PM, Darryl Collins wrote: >> Landing on Mars in a couple of hours... >> >> <> >> >> Watching from work via Nasa TV - gotta love the net. : ) >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 6 12:51:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Aug 2012 13:51:47 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: <501FE770.1000405@torchlake.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: <50200433.2050009@colbyconsulting.com> I'm just glad Access wasn't running the show. "Access has closed" just as the chute is about to open... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/6/2012 11:49 AM, Tina Norris Fields wrote: > It really is amazing! Just think of the calculations they had to get right. How about the logic? > I'm so happy everything went so well. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > On 8/6/2012 9:30 AM, Rocky Smolin wrote: >> I watched the NASA site with only a couple of buffer delays. But then I'm a >> lot closer to JPL so probably first in line. :) >> >> Quite extraordinary when you think of all the things that could have gone >> wrong. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, August 06, 2012 4:43 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Space nerds >> >> LOL. I had the feed all set up and working. I went to bed at 09:30 PM and >> woke back up at 12:45 AM to start watching. I had several instances of >> firefox open on various feeds. Closed down one that supposedly had nothing >> to do with the feed and EVERY INSTANCE of firefox closed!. Then the server >> was overloaded and I couldn't get back in! >> >> I could NOT get back in. I ended up watching some guys at some university >> discussing what was happening and occasionally switching to show me the feed >> I had been watching direct. >> >> I have rarely been so pissed! >> >> But hey, the landing worked! We are back on Mars with the most powerful >> laboratory ever. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 8/5/2012 11:53 PM, Darryl Collins wrote: >>> Landing on Mars in a couple of hours... >>> >>> <> >>> >>> Watching from work via Nasa TV - gotta love the net. : ) >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From tinanfields at torchlake.com Mon Aug 6 13:06:01 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 06 Aug 2012 14:06:01 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: <50200433.2050009@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> <50200433.2050009@colbyconsulting.com> Message-ID: <50200789.70309@torchlake.com> Oooooooooooh, OUCH! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 1:51 PM, jwcolby wrote: > I'm just glad Access wasn't running the show. > > "Access has closed" just as the chute is about to open... > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/6/2012 11:49 AM, Tina Norris Fields wrote: >> It really is amazing! Just think of the calculations they had to get >> right. How about the logic? >> I'm so happy everything went so well. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> On 8/6/2012 9:30 AM, Rocky Smolin wrote: >>> I watched the NASA site with only a couple of buffer delays. But >>> then I'm a >>> lot closer to JPL so probably first in line. :) >>> >>> Quite extraordinary when you think of all the things that could have >>> gone >>> wrong. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Monday, August 06, 2012 4:43 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] OT: Space nerds >>> >>> LOL. I had the feed all set up and working. I went to bed at 09:30 >>> PM and >>> woke back up at 12:45 AM to start watching. I had several instances of >>> firefox open on various feeds. Closed down one that supposedly had >>> nothing >>> to do with the feed and EVERY INSTANCE of firefox closed!. Then the >>> server >>> was overloaded and I couldn't get back in! >>> >>> I could NOT get back in. I ended up watching some guys at some >>> university >>> discussing what was happening and occasionally switching to show me >>> the feed >>> I had been watching direct. >>> >>> I have rarely been so pissed! >>> >>> But hey, the landing worked! We are back on Mars with the most >>> powerful >>> laboratory ever. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 8/5/2012 11:53 PM, Darryl Collins wrote: >>>> Landing on Mars in a couple of hours... >>>> >>>> <> >>>> >>>> Watching from work via Nasa TV - gotta love the net. : ) >>>> >>>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> > From BradM at blackforestltd.com Mon Aug 6 14:24:18 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 6 Aug 2012 14:24:18 -0500 Subject: [AccessD] Rube Goldberg Would Have Been Proud References: , , <501EE7AC.17556.18599626@stuart.lexacorp.com.pg> Message-ID: Gary, Darryl, Stuart, Thanks for the help and insights. I do have one question, however. Why make things simple when you can make them complex and wonderful? :-) Brad ~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, August 05, 2012 4:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Rube Goldberg Would Have Been Proud AKA Data Warehousing. One way I've done this it is to build a "master" database with empty denormalised tables. The nightly (or on demand) process creates a copy of the empty database and populates the tables from the operational data - the reports then run on this de-normalised data. Tthat avoids the bloat of populatng/re-populating "temp or not so temp" tables. -- Stuart On 5 Aug 2012 at 12:30, Gary Kjos wrote: > I guess I would have the query that the report is based on save it's output > into a temp or maybe not so temp table - perhaps have rows with creation > dates and then you could go back to previous days report data. Then the > actual report would be modified to read this "reporting table" rather than > the source data directly. > > GK > > On Sun, Aug 5, 2012 at 11:56 AM, Brad Marks wrote: > > > All, > > > > I am working on a high-level one-page "Executive" report that pulls data > > from many data sources in order to provide Key Metrics in one central > > place. This report will be automatically generated every night. Because > > of the amount of underlying data and because of the number of data sources, > > it takes about 4-5 minutes to generate the report. So far, things have > > worked nicely. The generated report is going to be automatically e-mailed > > to key people and it is going to be stored as a PDF file. > > > > During the day, the previously generated PDF file (from the night before) > > will be visible from an Access application. This also is working nicely. > > (1 second response time) > > > > So far, so good. > > > > Now, there is a need to provide "Links" from the one-page report to detail > > reports. This is not a problem if the report is generated and viewed via > > "Report View" (Access 2007). This works nicely, except that it takes 4-5 > > minutes to generate the report. > > > > I am trying to come up with a faster solution. > > > > Here is what I am considering. After the report is automatically > > generated at night (in PDF format), I will automatically convert the PDF > > file into a JPG file. > > > > Then I will use this JPG file as a "Linked Image" in another Access > > Report. Next I will add Buttons on top of the Image for the Links to the > > underlying details. > > > > Has anyone else tried something along these lines? > > > > Is there a better or simpler way to do this? > > > > Thanks, > > Brad > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From accessd at shaw.ca Mon Aug 6 14:44:16 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 Aug 2012 12:44:16 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com><501FADBF.50405@colbyconsulting.com><5AE329B529CA4879903E607EF4B3F5B2@HAL9007><501FE770.1000405@torchlake.com> Message-ID: I could guess what software it wasn't. ;-) A damn good shot. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2012 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Space nerds <> That's what blew me away; hitting a 96 mile wide crater from 140 +/- million miles and dealing with two planets that orbit at different speeds and with elliptical orbits. I know its just math, but it's still impressive all the same. I keep wondering to what the software was like for the landing, which has never been done before. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Monday, August 06, 2012 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds It really is amazing! Just think of the calculations they had to get right. How about the logic? I'm so happy everything went so well. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 9:30 AM, Rocky Smolin wrote: > I watched the NASA site with only a couple of buffer delays. But then I'm a > lot closer to JPL so probably first in line. :) > > Quite extraordinary when you think of all the things that could have gone > wrong. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 4:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Space nerds > > LOL. I had the feed all set up and working. I went to bed at 09:30 PM and > woke back up at 12:45 AM to start watching. I had several instances of > firefox open on various feeds. Closed down one that supposedly had nothing > to do with the feed and EVERY INSTANCE of firefox closed!. Then the server > was overloaded and I couldn't get back in! > > I could NOT get back in. I ended up watching some guys at some university > discussing what was happening and occasionally switching to show me the feed > I had been watching direct. > > I have rarely been so pissed! > > But hey, the landing worked! We are back on Mars with the most powerful > laboratory ever. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/5/2012 11:53 PM, Darryl Collins wrote: >> Landing on Mars in a couple of hours... >> >> <> >> >> Watching from work via Nasa TV - gotta love the net. : ) >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Mon Aug 6 14:55:16 2012 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 6 Aug 2012 12:55:16 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: My buddy just sent me this. First pics from Mars: http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davidmcafee.org/downloads/images/FirstPicsFromMars.png> On Mon, Aug 6, 2012 at 12:44 PM, Jim Lawrence wrote: > I could guess what software it wasn't. ;-) > > A damn good shot. > > Jim > From tinanfields at torchlake.com Mon Aug 6 15:07:06 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 06 Aug 2012 16:07:06 -0400 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: <502023EA.3040706@torchlake.com> Wonderful!!! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/6/2012 3:55 PM, David McAfee wrote: > My buddy just sent me this. > > First pics from Mars: > > http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davidmcafee.org/downloads/images/FirstPicsFromMars.png> > > > > > On Mon, Aug 6, 2012 at 12:44 PM, Jim Lawrence wrote: > >> I could guess what software it wasn't. ;-) >> >> A damn good shot. >> >> Jim >> From accessd at shaw.ca Mon Aug 6 15:55:31 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 Aug 2012 13:55:31 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com><501FADBF.50405@colbyconsulting.com><5AE329B529CA4879903E607EF4B3F5B2@HAL9007><501FE770.1000405@torchlake.com> Message-ID: <0DF8C5F76FD242E483B05B1B5596C7A8@creativesystemdesigns.com> Ha ha ha :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, August 06, 2012 12:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds My buddy just sent me this. First pics from Mars: http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davi dmcafee.org/downloads/images/FirstPicsFromMars.png> On Mon, Aug 6, 2012 at 12:44 PM, Jim Lawrence wrote: > I could guess what software it wasn't. ;-) > > A damn good shot. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Aug 6 16:40:38 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2012 07:40:38 +1000 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> As Brad just commented in another thread: "> Why make things simple when you can make them complex and wonderful?" Perhaps John and Kenneth can explain what they think the Tag property is for. ( or is it like GOTO - just an evil addition that must never be used in any circumstances on principle). Also, why they think that 62 lines of code in two different location is not *ugly*, when compared to a single line assignment of a value to property whose purpose, according to the people who created the property, is to store additional information about the form. -- Stuart On 6 Aug 2012 at 12:22, Kenneth Ismert wrote: > > > > jwcolby: > > Ick. > > > > Ick indeed. Using the Caption or a Tag to pass parameters is ugly. Here is > sample code with correct parameter passing. > > Enhancements on Allen's approach: > * One module per form. Every method in the module is prefixed with the form > name. This keeps managing this kind of code simple > * You send the parameters when you call the 'nameNew' routine > * The form gets one chance to read the parameters using the 'nameOpenArgs' > function > * Since multiple instances of a form all share the same query, save the > form with a blank RecordSource, and set it with SQL when the form opens > > To create a new instance of form 'Blah', call 'BlahNew' with your OpenArgs > parameter: > > -------------------------------------------------------------------------------- > Option Compare Database > Option Explicit > > ' Module MBlah > > Private mrBlahs As New Collection > Private mvBlahParameter As Variant > > Public Sub BlahDestroy(lHwnd As String) > On Error Resume Next > mrBlahs.Remove CStr(lHwnd) > End Sub > > Public Sub BlahNew(vBlahParameter As Variant) > Dim rForm As Access.Form > mvBlahParameter = vBlahParameter > Set rForm = New Form_frmBlah > rForm.Visible = True > mrBlahs.Add rForm, CStr(rForm.hwnd) > mvBlahParameter = Empty > End Sub > > Public Function BlahOpenArgs() As Variant() > BlahOpenArgs = Array() > If Not IsEmpty(mvBlahParameter) Then > BlahOpenArgs = Array(mvBlahParameter) > End If > End Function > > Public Function BlahSql(vBlahParameter As Variant) > BlahSql = "SELECT [Blah] FROM [Blah] WHERE ([Blah].[Blah] = '" & > vBlahParameter & "');" > End Function > -------------------------------------------------------------------------------- > > And here is the Form code. Note that the Recordsource is left blank for > multi-instance forms, and is filled in using code: > > -------------------------------------------------------------------------------- > Option Compare Database > Option Explicit > > ' Form class Form_frmBlah > > Private mvMyParameter As Variant > > Private Sub cmdClose_Click() > BlahDestroy Me.hwnd > End Sub > > Private Sub Form_Close() > BlahDestroy Me.hwnd > End Sub > > Private Sub Form_Open(Cancel As Integer) > Dim vArgs() As Variant > vArgs = BlahOpenArgs() > mvMyParameter = vArgs(0) > End Sub > > Private Sub Form_Load() > Me.RecordSource = BlahSql(mvMyParameter) > End Sub > -------------------------------------------------------------------------------- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Mon Aug 6 16:42:03 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2012 07:42:03 +1000 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com>, , Message-ID: <50203A2B.16055.1D83BEF5@stuart.lexacorp.com.pg> I must be psychic. I new what that was going to be before I went there :-) -- Stuart On 6 Aug 2012 at 12:55, David McAfee wrote: > My buddy just sent me this. > > First pics from Mars: > > http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davidmcafee.org/downloads/images/FirstPicsFromMars.png> > > > > > On Mon, Aug 6, 2012 at 12:44 PM, Jim Lawrence wrote: > > > I could guess what software it wasn't. ;-) > > > > A damn good shot. > > > > Jim > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Mon Aug 6 16:43:58 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Mon, 6 Aug 2012 14:43:58 -0700 Subject: [AccessD] OT: Space nerds In-Reply-To: <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> Message-ID: <5FC015C5-F5C5-4D10-85D3-F00480F5FED9@phulse.com> It was an awesome moment. There's nothing better than watching a room full of geeks cheering: http://i.imgur.com/iua4C.jpg Hans On 2012-08-06, at 6:30 AM, Rocky Smolin wrote: > I watched the NASA site with only a couple of buffer delays. But then I'm a > lot closer to JPL so probably first in line. :) > > Quite extraordinary when you think of all the things that could have gone > wrong. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 4:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Space nerds > > LOL. I had the feed all set up and working. I went to bed at 09:30 PM and > woke back up at 12:45 AM to start watching. I had several instances of > firefox open on various feeds. Closed down one that supposedly had nothing > to do with the feed and EVERY INSTANCE of firefox closed!. Then the server > was overloaded and I couldn't get back in! > > I could NOT get back in. I ended up watching some guys at some university > discussing what was happening and occasionally switching to show me the feed > I had been watching direct. > > I have rarely been so pissed! > > But hey, the landing worked! We are back on Mars with the most powerful > laboratory ever. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/5/2012 11:53 PM, Darryl Collins wrote: >> Landing on Mars in a couple of hours... >> >> <> >> >> Watching from work via Nasa TV - gotta love the net. : ) >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 6 17:51:06 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Aug 2012 18:51:06 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> Message-ID: <50204A5A.7020507@colbyconsulting.com> The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. ICK. I have used it. Ick! And what happens when you leave and the next programmer decides to "just use the tag property" and over writes your tag property. And suddenly stuff breaks because after all, what is the tag property for if not for that programmer to pass something in to the form. It is a kluge. Simpler is better until it isn't. OpenArgs exists for this purpose. OpenArgs can contain any number of arguments. I wrote a very simple class to parse the args and make them available at a method call. Instantiate the class, the class reads any openargs and voila, 0 or a hundred or a thousand available and waiting for your command. But if you want to communicate in real time then make a public method of the form class. You can pass parameters in to the form, cause it to do stuff, whatever. There is nothing "superior" about the tag property, it is a kludge. If you are unable to program then "Tag away" I suppose. Having said all of that, I actually use the tag to store the name of the form contained in a subform control for JIT subforms. I set it at design time. It allows me to remove the form name from the source property and get it back from the tag property. I don't like it, it makes me very nervous. If any programmer following me decides to use the tag of the subform control then my system breaks. Ick. But I did it. So shoot me. That doesn't mean I like the tag, I think it is a kludge and avoid it wherever possible and have never needed it (once I learned to program) other than that one place in my framework code. BTW, IIRC you can create custom properties that are stored with the form? Then the property is yours and yours alone. And hidden, not easy to find if you are trying to do security stuff. But that is another discussion. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/6/2012 5:40 PM, Stuart McLachlan wrote: > As Brad just commented in another thread: > > "> Why make things simple when you can make them complex and wonderful?" > > Perhaps John and Kenneth can explain what they think the Tag property is for. > ( or is it like GOTO - just an evil addition that must never be used in any circumstances on > principle). > > Also, why they think that 62 lines of code in two different location is not *ugly*, when > compared to a single line assignment of a value to property whose purpose, according to the > people who created the property, is to store additional information about the form. > > From darryl at whittleconsulting.com.au Mon Aug 6 18:17:39 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 6 Aug 2012 23:17:39 +0000 Subject: [AccessD] OT: Space nerds In-Reply-To: <501FADBF.50405@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B524FE4DFE@SINPRD0410MB381.apcprd04.prod.outlook.com> It was great for me - I managed to get and hold a very good HD stream from NASA TV, along with their live "Eyes on the Solar System" simmo of the landing. That was bloody brilliant - the simmo was happening in real time and based on the feedback from the probe itself - amazing stuff - this is what I imagined the future would be like when I was kid. I was at work watching on my twin PC monitors and excited the whole way - luckily I work in an office with 4 other nerdy tech guys - so we were all thrilled and watching. Congrats to NASA, the USA - great work people Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 6 August 2012 9:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds LOL. I had the feed all set up and working. I went to bed at 09:30 PM and woke back up at 12:45 AM to start watching. I had several instances of firefox open on various feeds. Closed down one that supposedly had nothing to do with the feed and EVERY INSTANCE of firefox closed!. Then the server was overloaded and I couldn't get back in! I could NOT get back in. I ended up watching some guys at some university discussing what was happening and occasionally switching to show me the feed I had been watching direct. I have rarely been so pissed! But hey, the landing worked! We are back on Mars with the most powerful laboratory ever. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/5/2012 11:53 PM, Darryl Collins wrote: > Landing on Mars in a couple of hours... > > <> > > Watching from work via Nasa TV - gotta love the net. : ) > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Aug 6 19:42:49 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 06 Aug 2012 20:42:49 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <49B25B84048B45ECA86405CE21CA25A0@HAL9007> References: <000001cd7366$9d44c280$d7ce4780$@net> <49B25B84048B45ECA86405CE21CA25A0@HAL9007> Message-ID: <011e01cd7435$93a1de00$bae59a00$@net> Thanks Rocky. I did all of that. I was ignored. They said "fix it". I said I effectively could not...and my opinion was the problem was outside of my code. I offered them two brilliant ideas to isolate this: 1) Try Excel 2013 2) Try 2010 and 2013 in a different Citrix environment From Benson at ge.com Mon Aug 6 19:52:34 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 7 Aug 2012 00:52:34 +0000 Subject: [AccessD] OT: Space nerds In-Reply-To: References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com> <501FADBF.50405@colbyconsulting.com> <5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF372C8121D7@CINMBCNA01.e2k.ad.ge.com> Any idea why I am getting HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Has the image(s) been moved? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, August 06, 2012 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Space nerds My buddy just sent me this. First pics from Mars: http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davidmcafee.org/downloads/images/FirstPicsFromMars.png> On Mon, Aug 6, 2012 at 12:44 PM, Jim Lawrence wrote: > I could guess what software it wasn't. ;-) > > A damn good shot. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Aug 6 19:59:10 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 6 Aug 2012 20:59:10 -0400 Subject: [AccessD] OT: Space nerds References: <56653D383CB80341995245C537A9E7B524FE4882@SINPRD0410MB381.apcprd04.prod.outlook.com><501FADBF.50405@colbyconsulting.com><5AE329B529CA4879903E607EF4B3F5B2@HAL9007> <501FE770.1000405@torchlake.com> <93D10F008B998B4A83BCA855A33EEF372C8121D7@CINMBCNA01.e2k.ad.ge.com> Message-ID: The link repeated the url -- just delete half of it. Susan H. > Any idea why I am getting > HTTP Error 404.0 - Not Found > The resource you are looking for has been removed, had its name changed, > or is temporarily unavailable. > > Has the image(s) been moved? >> First pics from Mars: > > http://davidmcafee.org/downloads/images/FirstPicsFromMars.png<%20http://davidmcafee.org/downloads/images/FirstPicsFromMars.png> > > From rockysmolin at bchacc.com Mon Aug 6 20:20:21 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 Aug 2012 18:20:21 -0700 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: <50204A5A.7020507@colbyconsulting.com> References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> Message-ID: I parse multiple arguments in a single string using the Split statement - works a treat. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 06, 2012 3:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. ICK. I have used it. Ick! And what happens when you leave and the next programmer decides to "just use the tag property" and over writes your tag property. And suddenly stuff breaks because after all, what is the tag property for if not for that programmer to pass something in to the form. It is a kluge. Simpler is better until it isn't. OpenArgs exists for this purpose. OpenArgs can contain any number of arguments. I wrote a very simple class to parse the args and make them available at a method call. Instantiate the class, the class reads any openargs and voila, 0 or a hundred or a thousand available and waiting for your command. But if you want to communicate in real time then make a public method of the form class. You can pass parameters in to the form, cause it to do stuff, whatever. There is nothing "superior" about the tag property, it is a kludge. If you are unable to program then "Tag away" I suppose. Having said all of that, I actually use the tag to store the name of the form contained in a subform control for JIT subforms. I set it at design time. It allows me to remove the form name from the source property and get it back from the tag property. I don't like it, it makes me very nervous. If any programmer following me decides to use the tag of the subform control then my system breaks. Ick. But I did it. So shoot me. That doesn't mean I like the tag, I think it is a kludge and avoid it wherever possible and have never needed it (once I learned to program) other than that one place in my framework code. BTW, IIRC you can create custom properties that are stored with the form? Then the property is yours and yours alone. And hidden, not easy to find if you are trying to do security stuff. But that is another discussion. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/6/2012 5:40 PM, Stuart McLachlan wrote: > As Brad just commented in another thread: > > "> Why make things simple when you can make them complex and wonderful?" > > Perhaps John and Kenneth can explain what they think the Tag property is for. > ( or is it like GOTO - just an evil addition that must never be used > in any circumstances on principle). > > Also, why they think that 62 lines of code in two different location > is not *ugly*, when compared to a single line assignment of a value to > property whose purpose, according to the people who created the property, is to store additional information about the form. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 6 20:29:02 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 Aug 2012 18:29:02 -0700 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <011e01cd7435$93a1de00$bae59a00$@net> References: <000001cd7366$9d44c280$d7ce4780$@net><49B25B84048B45ECA86405CE21CA25A0@HAL9007> <011e01cd7435$93a1de00$bae59a00$@net> Message-ID: Sounds like they might be setting you up to be scapegoated. If they're unwilling to listen to the technical reasons why the problem exists and entertain possible solutions, then I'd suspect they're just looking for someone to blame when the app fails. "The programmer said he couldn't fix it." (Not what you said but no difference) Tough spot. You want to bring the project to a successful conclusion (if for no other reason that a good reference) and I'll bet there is a solution. But it will cost them more money to find it. Keep us posted. I'll be interested to see how this plays out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, August 06, 2012 5:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Citrix Environment issue....difficult client Thanks Rocky. I did all of that. I was ignored. They said "fix it". I said I effectively could not...and my opinion was the problem was outside of my code. I offered them two brilliant ideas to isolate this: 1) Try Excel 2013 2) Try 2010 and 2013 in a different Citrix environment -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Aug 6 21:39:22 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 06 Aug 2012 22:39:22 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: References: <000001cd7366$9d44c280$d7ce4780$@net><49B25B84048B45ECA86405CE21CA25A0@HAL9007> <011e01cd7435$93a1de00$bae59a00$@net> Message-ID: <001a01cd7445$da824bb0$8f86e310$@net> Funny you mentioned the money....I'm ready to ask for more. Oh, did I mention the prime contractor on this is one of the largest defense contractors in the USA ? They've got about 10,000 IT consultants. I told them to cull their vast resources for a second opinion. Once again, THEY DID NOT. From rockysmolin at bchacc.com Mon Aug 6 23:43:24 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 Aug 2012 21:43:24 -0700 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <001a01cd7445$da824bb0$8f86e310$@net> References: <000001cd7366$9d44c280$d7ce4780$@net><49B25B84048B45ECA86405CE21CA25A0@HAL9007><011e01cd7435$93a1de00$bae59a00$@net> <001a01cd7445$da824bb0$8f86e310$@net> Message-ID: <874CB0D0D6AC40CC93C8E9517834080D@HAL9007> "never work cheap..." my father's first and best advice. I started my first business when I was 10 years old. Was going to charge $.25. He said charge $50. I said they'd never go for that much. He said, never work cheap. I was wrong. They never blinked. Telling them you want more money may just give them the right idea - this is a tough problem - you're going to have to pay up to get it fixed. Keep us posted. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, August 06, 2012 7:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Citrix Environment issue....difficult client Funny you mentioned the money....I'm ready to ask for more. Oh, did I mention the prime contractor on this is one of the largest defense contractors in the USA ? They've got about 10,000 IT consultants. I told them to cull their vast resources for a second opinion. Once again, THEY DID NOT. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Aug 7 02:28:19 2012 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Aug 2012 09:28:19 +0200 Subject: [AccessD] Citrix Environment issue....difficult client Message-ID: Hi Mark What's so fantastic about that third-party dll? Can't you replace it with something else? /gustav From gustav at cactus.dk Tue Aug 7 02:35:54 2012 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Aug 2012 09:35:54 +0200 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: Hi John > There is nothing "superior" about the tag property, > it is a kludge. If you are unable to program > then "Tag away" I suppose. I like that. I've never used the Tag property ... thought it was a "macro" helper-something. /gustav PS: What is that lck or ICK thing about? >>> jwcolby at colbyconsulting.com 07-08-12 0:51 >>> The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. ICK. I have used it. Ick! From Lambert.Heenan at chartisinsurance.com Tue Aug 7 07:35:21 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 7 Aug 2012 08:35:21 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> Message-ID: Exactly. A single Split statement will do it all, so why the need for a whole class to do the job? Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, August 06, 2012 9:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter I parse multiple arguments in a single string using the Split statement - works a treat. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 06, 2012 3:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. ICK. I have used it. Ick! And what happens when you leave and the next programmer decides to "just use the tag property" and over writes your tag property. And suddenly stuff breaks because after all, what is the tag property for if not for that programmer to pass something in to the form. It is a kluge. Simpler is better until it isn't. OpenArgs exists for this purpose. OpenArgs can contain any number of arguments. I wrote a very simple class to parse the args and make them available at a method call. Instantiate the class, the class reads any openargs and voila, 0 or a hundred or a thousand available and waiting for your command. But if you want to communicate in real time then make a public method of the form class. You can pass parameters in to the form, cause it to do stuff, whatever. There is nothing "superior" about the tag property, it is a kludge. If you are unable to program then "Tag away" I suppose. Having said all of that, I actually use the tag to store the name of the form contained in a subform control for JIT subforms. I set it at design time. It allows me to remove the form name from the source property and get it back from the tag property. I don't like it, it makes me very nervous. If any programmer following me decides to use the tag of the subform control then my system breaks. Ick. But I did it. So shoot me. That doesn't mean I like the tag, I think it is a kludge and avoid it wherever possible and have never needed it (once I learned to program) other than that one place in my framework code. BTW, IIRC you can create custom properties that are stored with the form? Then the property is yours and yours alone. And hidden, not easy to find if you are trying to do security stuff. But that is another discussion. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/6/2012 5:40 PM, Stuart McLachlan wrote: > As Brad just commented in another thread: > > "> Why make things simple when you can make them complex and wonderful?" > > Perhaps John and Kenneth can explain what they think the Tag property > is for. > ( or is it like GOTO - just an evil addition that must never be used > in any circumstances on principle). > > Also, why they think that 62 lines of code in two different location > is not *ugly*, when compared to a single line assignment of a value to > property whose purpose, according to the people who created the > property, is to store additional information about the form. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 7 08:45:58 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 09:45:58 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <50211C16.4020400@colbyconsulting.com> > PS: What is that lck or ICK thing about? It is an english (or American?) expression of disgust. The kid just threw up. Ick! http://dictionary.reference.com/browse/ick John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 3:35 AM, Gustav Brock wrote: > Hi John > >> There is nothing "superior" about the tag property, >> it is a kludge. If you are unable to program >> then "Tag away" I suppose. > > I like that. I've never used the Tag property ... thought it was a "macro" helper-something. > > /gustav > > PS: What is that lck or ICK thing about? > > >>>> jwcolby at colbyconsulting.com 07-08-12 0:51 >>> > The tag property is to use as a variable. The problem with the tag property is that it is ONE > variable. There is an entire function dedicated to parsing the tag property when suddenly it starts > holding dozens of values to be passed in. > > ICK. I have used it. Ick! > From jwcolby at colbyconsulting.com Tue Aug 7 09:02:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 10:02:00 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> Message-ID: <50211FD8.3090206@colbyconsulting.com> Because a class is more than a split. The accepted form for passing multiple parameters like this is Varname1=VarValue1;VarName2=VarValue2; A split simply doesn't handle that. A class can set up a collection to hold the variables, can split out the varname / varvalue pairs, use VarName as a key ad insert VarValue in the collection keyed on VarName, and then provide a method to pass in VarName and return VarValue. A split ends up placing the values in an array which has no ability to get at the data by the name of the variable. So you are doing things like me.Caption = MyArray(9). Hmmmm.... quite wonderful readability don't you agree? Now insert a new something into the string of values in the wrong place and guess what, it isn't MyArray(9) anymore it is MyArray(10). Ooops. Why is my Caption displaying some piece of garbage data again? My class uses Me.Caption = mMyVars.mVarVal("Caption"). Add a new value into the string of parameters and guess what happens? Yep, NOTHING. It is still mMyVars.mVarVal("Caption"). Classes are not rocket science regardless of what you might think. A class to do this then allows me to Instantiate the class in any form and voila, my VarValues are parsed and ready. Simple, easy, reliable, consistent. You can muck around with a split if you want, custom programming what each and every form will do with the split once the values are in the array, use numeric offsets into the array, puzzle through what MyVals(5) really is supposed to be. I prefer a single class, written once, two lines of code in the form's class to dimension and instantiate and then available anywhere in the form's class to get at my values - BY VARIABLE NAME. We are programmers. Tag is a kluge. Guess what, split (used like this) is also a kludge. You are using a kludge and horrendous programming throughout your program so that you don't have to write a dead simple class? Hmmmmmm........ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 8:35 AM, Heenan, Lambert wrote: > Exactly. A single Split statement will do it all, so why the need for a whole class to do the job? > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, August 06, 2012 9:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter > > I parse multiple arguments in a single string using the Split statement - works a treat. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, August 06, 2012 3:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter > > The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. > > ICK. I have used it. Ick! > > And what happens when you leave and the next programmer decides to "just use the tag property" and over writes your tag property. And suddenly stuff breaks because after all, what is the tag property for if not for that programmer to pass something in to the form. > > It is a kluge. Simpler is better until it isn't. > > OpenArgs exists for this purpose. OpenArgs can contain any number of arguments. I wrote a very simple class to parse the args and make them available at a method call. Instantiate the class, the class reads any openargs and voila, 0 or a hundred or a thousand available and waiting for your command. > > But if you want to communicate in real time then make a public method of the form class. You can pass parameters in to the form, cause it to do stuff, whatever. > > There is nothing "superior" about the tag property, it is a kludge. If you are unable to program then "Tag away" I suppose. > > Having said all of that, I actually use the tag to store the name of the form contained in a subform control for JIT subforms. I set it at design time. It allows me to remove the form name from the source property and get it back from the tag property. > > I don't like it, it makes me very nervous. If any programmer following me decides to use the tag of the subform control then my system breaks. Ick. > But I did it. So shoot me. > > That doesn't mean I like the tag, I think it is a kludge and avoid it wherever possible and have never needed it (once I learned to program) other than that one place in my framework code. > > BTW, IIRC you can create custom properties that are stored with the form? > Then the property is yours and yours alone. And hidden, not easy to find if you are trying to do security stuff. > > But that is another discussion. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/6/2012 5:40 PM, Stuart McLachlan wrote: >> As Brad just commented in another thread: >> >> "> Why make things simple when you can make them complex and wonderful?" >> >> Perhaps John and Kenneth can explain what they think the Tag property >> is > for. >> ( or is it like GOTO - just an evil addition that must never be used >> in any circumstances on principle). >> >> Also, why they think that 62 lines of code in two different location >> is not *ugly*, when compared to a single line assignment of a value to >> property whose purpose, according to the people who created the >> property, > is to store additional information about the form. >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Aug 7 09:14:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 10:14:54 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> Message-ID: <502122DE.2030506@colbyconsulting.com> Goto http://www.databaseadvisors.com/downloads.asp Years ago I posted an example class for how to parse OpenArgs. Of course once I am passing in OpenArgs like this I (personally) wanted to be able to pass in arguments specifically destined for writeable properties such as Caption, Locked, Visible, AllowEdits and so forth. So my class (which I actually use in my Framework) also can be told to check the openargs for a specific list of properties and if the VarName is the same as any of the settable properties, then place VarValue into that property. So my example includes code to do that, however if you don't care about such functionality you can ignore it or even strip it out. Classes are not rocket science, and they allow us to write and debug blocks of functionality that make sense and that we want to use over and over. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 8:35 AM, Heenan, Lambert wrote: > Exactly. A single Split statement will do it all, so why the need for a whole class to do the job? > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, August 06, 2012 9:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Open Multiple Instances of a Form and passing aparameter > > I parse multiple arguments in a single string using the Split statement - works a treat. > > Rocky From charlotte.foust at gmail.com Tue Aug 7 09:53:12 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 7 Aug 2012 07:53:12 -0700 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: <502122DE.2030506@colbyconsulting.com> References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> <502122DE.2030506@colbyconsulting.com> Message-ID: John, I'm a believer in classes too.I don't have a framework built so for this contract, I whipped up a form class to handle stuff I wanted standardized in all my forms without having to rewrite the code in every form (I'm only up to about 30 forms so far, so it's not critical, just a very big help). Of course you still have to turn on the shell of the routine in the forms because of Access's peculiarities, but I can handle things like the msgbox letting the user know that the current record can't be saved and asking what to do with it the same way in every form without copying and pasting. There's plenty of code in each of those forms, so they don't miss having a few things offloaded to a central class. Mine isn't pure class usage because I'm in a tearing hurry (can you say "contract"?) to make it work, but it saves a lot of time in wiring up new forms to basic functionality. Charlotte On Tue, Aug 7, 2012 at 7:14 AM, jwcolby wrote: > Goto > > http://www.databaseadvisors.**com/downloads.asp > > > > Years ago I posted an example class for how to parse OpenArgs. Of course > once I am passing in OpenArgs like this I (personally) wanted to be able to > pass in arguments specifically destined for writeable properties such as > Caption, Locked, Visible, AllowEdits and so forth. So my class (which I > actually use in my Framework) also can be told to check the openargs for a > specific list of properties and if the VarName is the same as any of the > settable properties, then place VarValue into that property. > > So my example includes code to do that, however if you don't care about > such functionality you can ignore it or even strip it out. > > Classes are not rocket science, and they allow us to write and debug > blocks of functionality that make sense and that we want to use over and > over. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/7/2012 8:35 AM, Heenan, Lambert wrote: > >> Exactly. A single Split statement will do it all, so why the need for a >> whole class to do the job? >> >> Lambert :-) >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of Rocky Smolin >> Sent: Monday, August 06, 2012 9:20 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Open Multiple Instances of a Form and passing >> aparameter >> >> I parse multiple arguments in a single string using the Split statement - >> works a treat. >> >> Rocky >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jimdettman at verizon.net Tue Aug 7 10:43:29 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 Aug 2012 11:43:29 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: <50204A5A.7020507@colbyconsulting.com> References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> Message-ID: <5A3AF66AC78D4C69BE57511A1FD58E5B@XPS> <> <> Only if you delimit them...and how is that any different in that regard then using tag property? It's not. Both require a delimiter and parsing to store anything other then a single value. You could use your class against the tag property just as easily. I would argue against the tag though; the form will see this as a change and want to save, which is not the case with OpenArgs. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 06, 2012 06:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open Multiple Instances of a Form and passing a parameter The tag property is to use as a variable. The problem with the tag property is that it is ONE variable. There is an entire function dedicated to parsing the tag property when suddenly it starts holding dozens of values to be passed in. ICK. I have used it. Ick! And what happens when you leave and the next programmer decides to "just use the tag property" and over writes your tag property. And suddenly stuff breaks because after all, what is the tag property for if not for that programmer to pass something in to the form. It is a kluge. Simpler is better until it isn't. OpenArgs exists for this purpose. OpenArgs can contain any number of arguments. I wrote a very simple class to parse the args and make them available at a method call. Instantiate the class, the class reads any openargs and voila, 0 or a hundred or a thousand available and waiting for your command. But if you want to communicate in real time then make a public method of the form class. You can pass parameters in to the form, cause it to do stuff, whatever. There is nothing "superior" about the tag property, it is a kludge. If you are unable to program then "Tag away" I suppose. Having said all of that, I actually use the tag to store the name of the form contained in a subform control for JIT subforms. I set it at design time. It allows me to remove the form name from the source property and get it back from the tag property. I don't like it, it makes me very nervous. If any programmer following me decides to use the tag of the subform control then my system breaks. Ick. But I did it. So shoot me. That doesn't mean I like the tag, I think it is a kludge and avoid it wherever possible and have never needed it (once I learned to program) other than that one place in my framework code. BTW, IIRC you can create custom properties that are stored with the form? Then the property is yours and yours alone. And hidden, not easy to find if you are trying to do security stuff. But that is another discussion. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/6/2012 5:40 PM, Stuart McLachlan wrote: > As Brad just commented in another thread: > > "> Why make things simple when you can make them complex and wonderful?" > > Perhaps John and Kenneth can explain what they think the Tag property is for. > ( or is it like GOTO - just an evil addition that must never be used in any circumstances on > principle). > > Also, why they think that 62 lines of code in two different location is not *ugly*, when > compared to a single line assignment of a value to property whose purpose, according to the > people who created the property, is to store additional information about the form. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Aug 7 10:46:35 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Aug 2012 10:46:35 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: > > Stuart McLachlan: > ... > Perhaps John and Kenneth can explain what they think the Tag property is > for. > ... > Also, why they think that 62 lines of code in two different location is > not *ugly* ... > First, you have to have *some* code to run multiple form instances. This is the 'bare bones' required for real, predictable multi-form functionality. You might find some fat to trim on that code, but not much. But the main point is: why is the Tag property 'bad'? To paraphrase John's response, Tag is a global form property, and as such it can be set by any code anywhere at any time, even when the form is closed! It is the 'go to' fix for any and all problems where 'some kind of information' is required that doesn't fit in the normal form framework. So, the odds are good that if you rely on Tag (or any other kind of shared global) in a project of any size, you or someone else will write code that steps on functionality required in other parts of the program.. This is called 'incidental complexity' -- the unintended problems introduced by a system of code or language. It is the time you spend fixing or working around stuff that is improperly designed. It is a drag on your productivity. There is a software development concept that covers this called Law of Demeter, or Principle of Least Knowledge. Basically, it says 'code shouldn't get into other code's business'. In this style of writing code, using class properties like Tag assumes too much knowledge, or 'tight coupling' of objects with code. My sample code was written with these guidelines in mind. It is loosely coupled: all interaction between caller and form is done using public functions. It passes TYPED VARIABLES to the form, with no need for parsing or conversion. Plus, it is such a nice platform to expand on to implement more complex form functionality. All code that interacts with the form resides in one companion module. In short, using Tag is fine if your standard is 'it usually works', or 'its OK if it fails unexpectedly'. But I want GUARANTEES that my code will work, or fail immediately. -Ken From jimdettman at verizon.net Tue Aug 7 10:51:59 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 Aug 2012 11:51:59 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <000001cd7366$9d44c280$d7ce4780$@net> References: <000001cd7366$9d44c280$d7ce4780$@net> Message-ID: Is this an actual .DLL call or do you have a reference set to it? While everyone is aware that you need to give each user their own copy of something by placing a copy in a mapped drive specific to the user (ie. C:\%USERNAME%\MyAPPs as X:), where you can get caught is references. Very often a type lib that is shared won't work correctly. The workaround is to place the dll or type lib in the unique mapped drive and then change your reference to point to that mapped drive rather then C:\wherever. While this means you need to maintain two versions of your app, it can get you working in a Citrix environment when you could otherwise not. I think I would second the advice to prove that it works in a non-citrix environment as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, August 05, 2012 08:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Citrix Environment issue....difficult client Well, yet another story of a contract-gone-wrong. I developed a complex Excel 2010 XLSM workbook: 15k lines of code. It references and calls a complex DLL addin from a third party....based on the dot-net 4.0 framework. Everything works well on a laptop or desktop environment. Unfortunately, it does not work in a Citrix Server environment. More unfortunately, the consulting company I engaged with had PROMISED to their client this whole "mash-up" would work in Citrix. There is much evidence out there that Excel 2010 has many technical issues especially with large VBA code modules. The comments at the Excel blog are telling: http://blogs.office.com/b/microsoft-excel/archive/2012/07/18/introducing-exc el-2013.aspx My VBA is throwing errors when calling the complex addin functions under Citrix. I feel the problem is in Citrix or Excel 2010 or the complex addin. The addin vendor claims their product works in Citrix, but they've only used a "toy" (small) example in their testing. I feel their addin is at fault here. Microsoft has ignored all requests for assistance on this. I am being "pressured" to "fix it" when in fact, I don't believe I can do much. It's getting to the point of harassment. Advice ? 1) seek a lawyer 2) reneg the contract terms (very low rate right now) to get bigger bucks to fix this mess 3) tell them to "take a hike" and walk away -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Aug 7 10:53:50 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Aug 2012 10:53:50 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: > > Rocky Smolin > I parse multiple arguments in a single string using the Split statement - > works a treat. > Until: * One of your arguments contains the delimiter character, then your split is off - Solution: write code to quote the delimiter in your arguments. Write your own custom split * You have to pass Nulls - Solution: parse your argument, write 'Null' if null, and the proper type-formatted string if not. * You need unordered arguments, or you have to add, remove, and update argument values - Solution: write code to store arguments in Name=Value pairs, write parsing code to restore values I have written all of that code, and my conclusion is it is JUST BETTER to pass the typed arguments directly into the form. From jwcolby at colbyconsulting.com Tue Aug 7 11:00:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 12:00:03 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing aparameter In-Reply-To: References: <502039D6.26330.1D82720E@stuart.lexacorp.com.pg> <50204A5A.7020507@colbyconsulting.com> <502122DE.2030506@colbyconsulting.com> Message-ID: <50213B83.2090208@colbyconsulting.com> > but it saves a lot of time in wiring up new forms to basic functionality. Yep, and it makes things standardized. You can take my class and instantiate it in your own form class so that as the form opens and your own custom class instantiates, it grabs any Openargs, parses them and they are available to your class and your form code to use. The nice part of the class way is that suddenly every form has a standard set of functionality. No more what I will call "JIT programming". ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 10:53 AM, Charlotte Foust wrote: > John, > > I'm a believer in classes too.I don't have a framework built so for this > contract, I whipped up a form class to handle stuff I wanted standardized > in all my forms without having to rewrite the code in every form (I'm only > up to about 30 forms so far, so it's not critical, just a very big help). > Of course you still have to turn on the shell of the routine in the forms > because of Access's peculiarities, but I can handle things like the msgbox > letting the user know that the current record can't be saved and asking > what to do with it the same way in every form without copying and pasting. > There's plenty of code in each of those forms, so they don't miss having a > few things offloaded to a central class. Mine isn't pure class usage > because I'm in a tearing hurry (can you say "contract"?) to make it work, > but it saves a lot of time in wiring up new forms to basic functionality. > > Charlotte From jwcolby at colbyconsulting.com Tue Aug 7 11:02:09 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 12:02:09 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <50213C01.3040005@colbyconsulting.com> Thanks Ken, a good explanation. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 11:46 AM, Kenneth Ismert wrote: >> >> Stuart McLachlan: >> ... >> Perhaps John and Kenneth can explain what they think the Tag property is >> for. >> ... >> Also, why they think that 62 lines of code in two different location is >> not *ugly* ... >> > > First, you have to have *some* code to run multiple form instances. This is > the 'bare bones' required for real, predictable multi-form functionality. > You might find some fat to trim on that code, but not much. > > But the main point is: why is the Tag property 'bad'? To paraphrase John's > response, Tag is a global form property, and as such it can be set by any > code anywhere at any time, even when the form is closed! It is the 'go to' > fix for any and all problems where 'some kind of information' is required > that doesn't fit in the normal form framework. > > So, the odds are good that if you rely on Tag (or any other kind of shared > global) in a project of any size, you or someone else will write code that > steps on functionality required in other parts of the program.. > > This is called 'incidental complexity' -- the unintended problems > introduced by a system of code or language. It is the time you spend fixing > or working around stuff that is improperly designed. It is a drag on your > productivity. > > There is a software development concept that covers this called Law of > Demeter, or Principle of Least Knowledge. Basically, it says 'code > shouldn't get into other code's business'. In this style of writing code, > using class properties like Tag assumes too much knowledge, or 'tight > coupling' of objects with code. > > My sample code was written with these guidelines in mind. It is loosely > coupled: all interaction between caller and form is done using public > functions. It passes TYPED VARIABLES to the form, with no need for parsing > or conversion. Plus, it is such a nice platform to expand on to implement > more complex form functionality. All code that interacts with the form > resides in one companion module. > > In short, using Tag is fine if your standard is 'it usually works', or 'its > OK if it fails unexpectedly'. But I want GUARANTEES that my code will work, > or fail immediately. > > -Ken > From df.waters at comcast.net Tue Aug 7 11:06:20 2012 From: df.waters at comcast.net (Dan Waters) Date: Tue, 7 Aug 2012 11:06:20 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <003101cd74b6$95836aa0$c08a3fe0$@comcast.net> To avoid the argument containing a delimiter character, I use the 'cents' character, which hasn't been on anyone's keyboard for many years. The cents character is Chr(162). Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, August 07, 2012 10:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Open Multiple Instances of a Form and passing a parameter > > Rocky Smolin > I parse multiple arguments in a single string using the Split > statement - works a treat. > Until: * One of your arguments contains the delimiter character, then your split is off - Solution: write code to quote the delimiter in your arguments. Write your own custom split * You have to pass Nulls - Solution: parse your argument, write 'Null' if null, and the proper type-formatted string if not. * You need unordered arguments, or you have to add, remove, and update argument values - Solution: write code to store arguments in Name=Value pairs, write parsing code to restore values I have written all of that code, and my conclusion is it is JUST BETTER to pass the typed arguments directly into the form. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Aug 7 11:09:32 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 07 Aug 2012 20:09:32 +0400 Subject: [AccessD] =?utf-8?q?OT=3A_C=23=2C_MonoTouch=2C_MonoDroid=2C_Apple?= =?utf-8?q?_MacBook_Pro_17=22_QuadCore_i7_etc=2E?= Message-ID: <1344355772.763517760@f215.mail.ru> Hi All -- I'm considering "jumping at" mobile/tablet apps development first of all using C#, WinRT, WinPhone SDK (http://www.microsoft.com/en-us/download/details.aspx?id=29233) ,?Monodroid (http://xamarin.com/monoforandroid) and??Monotouch (http://xamarin.com/monotouch/) . Monotouch development is currently possible only using an Apple iOS-driven computer. So, I'm asking your advice (first of all Hans' :) ) what would be an "optimal" Apple MacBook 17" QuadCore i7 notebook with up to 16GB RAM, which I can purchase (this fall hopefully) and to use to run MS Windows VM (under Parallels or ?VMWare Fusion or ..?.) - MS Windows would still be my main development platform I expect but I need a real Mac computer too... FYI: "Professional Cross-Platform Mobile Development in C#" (http://www.amazon.com/Professional-Cross-Platform-Mobile-Development-C/dp/1118157702) is a real opportunity and it isn't a "rocket science" AFAIS (I have just finished reading that book a couple of days ago, and I have glanced through its accompanying C# sources, and I have run some samples). Yes, mobile apps development learning/mastering??would require quite some time investment, that's clear, but continuing being iPhone/iPad and Android mobile/tablet development ignorant seems to be nowadays as risky as never (http://techcrunch.com/2012/08/06/kantar-on-smartphones-samsung-45-of-euro-sales-apple-gained-only-in-uk-us-rim-holds-on-in-france/) - I mean mobile apps market promise to be mainly iPhone/Android for many years to come?... Thank you. -- Shamil ? From davidmcafee at gmail.com Tue Aug 7 11:15:46 2012 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 7 Aug 2012 09:15:46 -0700 Subject: [AccessD] OT: C#, MonoTouch, MonoDroid, Apple MacBook Pro 17" QuadCore i7 etc. In-Reply-To: <1344355772.763517760@f215.mail.ru> References: <1344355772.763517760@f215.mail.ru> Message-ID: There are also options like MacInCloud, if you want to dabble without the Mac investment. http://www.macincloud.com/ On Tue, Aug 7, 2012 at 9:09 AM, Salakhetdinov Shamil wrote: > Hi All -- > > I'm considering "jumping at" mobile/tablet apps development first of all > using C#, WinRT, WinPhone SDK ( > http://www.microsoft.com/en-us/download/details.aspx?id=29233) > , Monodroid (http://xamarin.com/monoforandroid) and Monotouch ( > http://xamarin.com/monotouch/) . Monotouch development is currently > possible only using an Apple iOS-driven computer. So, I'm asking your > advice (first of all Hans' :) ) what would be an "optimal" Apple MacBook > 17" QuadCore i7 notebook with up to 16GB RAM, which I can purchase (this > fall hopefully) and to use to run MS Windows VM (under Parallels or VMWare > Fusion or ..?.) - MS Windows would still be my main development platform I > expect but I need a real Mac computer too... > > FYI: "Professional Cross-Platform Mobile Development in C#" ( > http://www.amazon.com/Professional-Cross-Platform-Mobile-Development-C/dp/1118157702) > is a real opportunity and it isn't a "rocket science" AFAIS (I have just > finished reading that book a couple of days ago, and I have glanced through > its accompanying C# sources, and I have run some samples). Yes, mobile apps > development learning/mastering would require quite some time investment, > that's clear, but continuing being iPhone/iPad and Android mobile/tablet > development ignorant seems to be nowadays as risky as never ( > http://techcrunch.com/2012/08/06/kantar-on-smartphones-samsung-45-of-euro-sales-apple-gained-only-in-uk-us-rim-holds-on-in-france/) > - I mean mobile apps market promise to be mainly iPhone/Android for many > years to come ... > > Thank you. > > -- Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jm.hwsn at gmail.com Tue Aug 7 11:30:28 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Tue, 7 Aug 2012 11:30:28 -0500 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox In-Reply-To: References: Message-ID: Thanks, David. When I first got this email, it didn't make sense to me. Darren was so kind as to send me an example database of ODBC connections. Without I probably couldn't have figured this out. Thanks again, Darren. Your "aircode" is pretty close to what I ended up using. Thanks, I now understand .... Jim On Fri, Aug 3, 2012 at 11:49 AM, David McAfee wrote: > Too bad you're not working with an ADP, or it would be as simple as: > > me.lstSomeListBox.rowsource = "stpSomeStoredProcedure" > > I guess, what you want to do is write a VBA function then call it on the > after update event of both comboboxes. > > Warning, aircode: > > > Private Sub UpdateListBox() > > Dim qdf As QueryDef > Dim strSQL as String > > strSQL = "EXEC dbo.stpSomeStoredProcedure @Parm1=" & me.comboBox1 > Set qdf = CurrentDb().QueryDefs("MyQueryNameHere") > qdf.SQL = strSQL > > > me.listbox1.Requery > > End Sub > > > Of course, you'll have to add the 2nd parameter, trap for when they are > empty fields and such, but this should get you going. > > HTH > David > > > On Thu, Aug 2, 2012 at 12:56 PM, Jim Hewson wrote: > > > I'm lost! > > Well actually that's my normal state usually. > > I need help... > > > > Everything I've done in the last 3 years has been in Access 2007. I > > haven't touched SQL Server at all for that long. > > > > For a new requirement I need to run a stored procedure (SPROC) and > populate > > a list box. > > The form has two combo boxes that will be the parameters that is passed > to > > the SPROC. > > I have successfully (I think), opened the database, passed the > > parameters and run the SPROC. > > I can't figure out how to populate the list box. > > I'm a pretty simple guy. The code I got from SQL Server administrator > is 8 > > pages long... several functions and a class. > > That just seems too complicated for this. > > > > The process I'm trying to do is: > > Choose the parameters for the first SPROC > > Execute the SPROC > > Populate a list box. -- this list box will be the parameter for the > second > > SPROC. > > > > What is the simplest way to populate a list box? > > > > Thanks, > > Jim > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Tue Aug 7 11:40:05 2012 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 7 Aug 2012 09:40:05 -0700 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox In-Reply-To: References: Message-ID: No problem. You know, you can always come back here and say "Hey, I don't understand what you are showing me" :) Glad you got it going. D On Tue, Aug 7, 2012 at 9:30 AM, Jim Hewson wrote: > Thanks, David. > When I first got this email, it didn't make sense to me. > Darren was so kind as to send me an example database of ODBC connections. > Without I probably couldn't have figured this out. Thanks again, Darren. > > Your "aircode" is pretty close to what I ended up using. > Thanks, I now understand .... > > From mcp2004 at mail.ru Tue Aug 7 12:38:58 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 07 Aug 2012 21:38:58 +0400 Subject: [AccessD] =?utf-8?q?OT=3A_C=23=2C_MonoTouch=2C_MonoDroid=2C_Apple?= =?utf-8?q?_MacBook_Pro_17=22_QuadCore_i7_etc=2E?= In-Reply-To: References: <1344355772.763517760@f215.mail.ru> Message-ID: <1344361138.739702397@f333.mail.ru> Thank you, David, Yes, that Mac-In-Cloud looks like a good option for MonoTouch development.. As for hardware - I'm anyway planning to purchase a new notebook, i7 (ivy Bridge) ?driven - and Apple MacBook Pro solutions seems to be the best. Yes, they are pricey but only MacBook Pro ones have up to 7 hours(?) battery support etc. goodies? Thank you. -- Shamil Tue, 7 Aug 2012 09:15:46 -0700 ?? David McAfee : There are also options like MacInCloud, if you want to dabble without the Mac investment. http://www.macincloud.com/ On Tue, Aug 7, 2012 at 9:09 AM, Salakhetdinov Shamil wrote: > Hi All -- > > I'm considering "jumping at" mobile/tablet apps development first of all > using C#, WinRT, WinPhone SDK ( > http://www.microsoft.com/en-us/download/details.aspx?id=29233) > , Monodroid (http://xamarin.com/monoforandroid) and Monotouch ( > http://xamarin.com/monotouch/) . Monotouch development is currently > possible only using an Apple iOS-driven computer. So, I'm asking your > advice (first of all Hans' :) ) what would be an "optimal" Apple MacBook > 17" QuadCore i7 notebook with up to 16GB RAM, which I can purchase (this > fall hopefully) and to use to run MS Windows VM (under Parallels or VMWare > Fusion or ..?.) - MS Windows would still be my main development platform I > expect but I need a real Mac computer too... > > FYI: "Professional Cross-Platform Mobile Development in C#" ( > http://www.amazon.com/Professional-Cross-Platform-Mobile-Development-C/dp/1118157702) > is a real opportunity and it isn't a "rocket science" AFAIS (I have just > finished reading that book a couple of days ago, and I have glanced through > its accompanying C# sources, and I have run some samples). Yes, mobile apps > development learning/mastering would require quite some time investment, > that's clear, but continuing being iPhone/iPad and Android mobile/tablet > development ignorant seems to be nowadays as risky as never ( > http://techcrunch.com/2012/08/06/kantar-on-smartphones-samsung-45-of-euro-sales-apple-gained-only-in-uk-us-rim-holds-on-in-france/) > - I mean mobile apps market promise to be mainly iPhone/Android for many > years to come ... > > Thank you. > > -- Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dhb at flsi.com Tue Aug 7 14:32:21 2012 From: dhb at flsi.com (Darrell Burns) Date: Tue, 7 Aug 2012 12:32:21 -0700 Subject: [AccessD] Unsubscribe please Message-ID: <0bc401cd74d3$5df06710$19d13530$@flsi.com> dhb at flsi.com Sincerely, Darrell From kismert at gmail.com Tue Aug 7 14:51:05 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Aug 2012 14:51:05 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: Incidentally, this whole initialization brouhaha is all due to some "Incidental Complexity" built into VB6/VBA: the lack of proper object constructors. In every modern language, you can specify a custom constructor for each class. In VBA parlance, this would look like: ' SomeClass constructor Private Sub Class_Initialize(sParm1 As String, lParm2 As Long, vParm3 As Variant) ... End Sub Creating this class would look like: Set rClass = New SomeClass("parm1", 2, Null) Since Access forms are classes, this would let you do things like: Set rForm = New Form_Orders(vCustID:="a123") But instead, Microsoft punted, and we got Form.OpenArgs, a poor substitute. Then, Access allowed multi-instance forms, but at the expense of not specifying any OpenArgs at all. Poop! So now, due to outdated language design, and lack of good substitutes, we are wallowing in productivity-robbing alternatives, all due to incidental complexity. My approach is simply to simulate a proper class constructor, which passes typed variables to a class instance. -Ken From jwcolby at colbyconsulting.com Tue Aug 7 15:19:09 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Aug 2012 16:19:09 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <5021783D.3040101@colbyconsulting.com> And I do the same. In my classes (which also have no constructor) I build an mInit() method which I call on the line after I instantiate the class, passing in any and all variables required for that class. There is in fact a Class_Initialize, though it cannot be passed parameters. I often use it however to initialize collections and stuff like that. Anything that needs to be ready when my mInit() is called. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/7/2012 3:51 PM, Kenneth Ismert wrote: > Incidentally, this whole initialization brouhaha is all due to some > "Incidental Complexity" built into VB6/VBA: the lack of proper object > constructors. > > In every modern language, you can specify a custom constructor for each > class. In VBA parlance, this would look like: > > ' SomeClass constructor > Private Sub Class_Initialize(sParm1 As String, lParm2 As Long, vParm3 As > Variant) > ... > End Sub > > Creating this class would look like: > > Set rClass = New SomeClass("parm1", 2, Null) > > Since Access forms are classes, this would let you do things like: > > Set rForm = New Form_Orders(vCustID:="a123") > > But instead, Microsoft punted, and we got Form.OpenArgs, a poor substitute. > Then, Access allowed multi-instance forms, but at the expense of not > specifying any OpenArgs at all. Poop! > > So now, due to outdated language design, and lack of good substitutes, we > are wallowing in productivity-robbing alternatives, all due to incidental > complexity. > > My approach is simply to simulate a proper class constructor, which passes > typed variables to a class instance. > > -Ken > From kismert at gmail.com Tue Aug 7 15:34:21 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Aug 2012 15:34:21 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: > > Dan Waters: > To avoid the argument containing a delimiter character, I use the 'cents' > character, which hasn't been on anyone's keyboard for many years. > Yes, that does make it slightly less likely that your delimiter will be used. But, I guarantee that if you put that code in a library for common use, someone sooner rather than later will pass data to it with a 'cents' character, and your code is toast. It's a bug, pure and simple. That is why all language parsers require you to quote delimiters inside a string, like "" for VB or '' in SQL. If you want to stuff parameters in strings with reliability, you have to use library that properly quotes parameter values. -Ken From Lambert.Heenan at chartisinsurance.com Tue Aug 7 16:11:56 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 7 Aug 2012 17:11:56 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: Well one way to handle that would be to declare a constant for the delimiter that is even more unlikely to appear in the data... Const ARGDELIM as String = "??????" Then just use the Const in constructing the delimited string. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, August 07, 2012 4:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Open Multiple Instances of a Form and passing a parameter > > Dan Waters: > To avoid the argument containing a delimiter character, I use the 'cents' > character, which hasn't been on anyone's keyboard for many years. > Yes, that does make it slightly less likely that your delimiter will be used. But, I guarantee that if you put that code in a library for common use, someone sooner rather than later will pass data to it with a 'cents' character, and your code is toast. It's a bug, pure and simple. That is why all language parsers require you to quote delimiters inside a string, like "" for VB or '' in SQL. If you want to stuff parameters in strings with reliability, you have to use library that properly quotes parameter values. -Ken -- 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 Aug 7 17:13:33 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Aug 2012 08:13:33 +1000 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <5021930D.29433.22C6F1F3@stuart.lexacorp.com.pg> Ahem! Ever hear of an ASCIIZ / C String ? -- Stuart On 7 Aug 2012 at 15:34, Kenneth Ismert wrote: > That is why all language parsers require you to quote delimiters inside a > string, like "" for VB or '' in SQL. > From stuart at lexacorp.com.pg Tue Aug 7 17:25:00 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Aug 2012 08:25:00 +1000 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <502195BC.26491.22D16C8E@stuart.lexacorp.com.pg> You mean I can't have a single "delimiter" in a string in VBA? Guess I'll have to stop doing things like this! strTest = "A quote ( " & chr$(34) & ") character by itseld" MsgBox strTest -- Stuart On 7 Aug 2012 at 15:34, Kenneth Ismert wrote: > > That is why all language parsers require you to quote delimiters inside a > string, like "" for VB or '' in SQL. > From marksimms at verizon.net Tue Aug 7 18:12:40 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 07 Aug 2012 19:12:40 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: References: Message-ID: <013601cd74f2$24f0c940$6ed25bc0$@net> 5 man-years in development. Sophisticated linear programming algorithm. Also does non-linear programming. Very complex. > > What's so fantastic about that third-party dll? > Can't you replace it with something else? From marksimms at verizon.net Tue Aug 7 18:15:33 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 07 Aug 2012 19:15:33 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: References: <000001cd7366$9d44c280$d7ce4780$@net> Message-ID: <013701cd74f2$8c0751d0$a415f570$@net> Re: " While this means you need to maintain two versions of your app" Jim - the prime contractor would not accept this as a solution either. Single copy, workable in all environments. I'm working with totally uncompromising A-H...s , you know the rest. From darryl at whittleconsulting.com.au Tue Aug 7 18:58:25 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 7 Aug 2012 23:58:25 +0000 Subject: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B524FE696C@SINPRD0410MB381.apcprd04.prod.outlook.com> "You know, you can always come back here and say 'Hey, I don't understand what you are showing me'" LOL!! Yeah, don't ever be afraid of saying that on this list, hell, I feel that way with at least 50% of the stuff you guys and girls talk about on this list. Access 101 I mostly get, but we cover a healthy range of topics on here - all very interesting and educational - but much of it I can feel whooshing over my head at 65,000 feet and climbing... That said - don't stop the madness - I love reading about the side topics... Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, 8 August 2012 2:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to Use SQL Server Stored Procedure as a Rowsource for Listbox No problem. You know, you can always come back here and say "Hey, I don't understand what you are showing me" :) Glad you got it going. D <> From kismert at gmail.com Tue Aug 7 20:58:17 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Aug 2012 20:58:17 -0500 Subject: [AccessD] Software Quality Message-ID: Here are some thoughts on software quality. What do you think? Code Quality: 1=Best, 9=Worst ------------------------------ 1) Works, formal tests 2) Works, informal tests 3) Works, vetted but no tests 4) Fails in known, documented ways 5) Fails in unknown or undocumented circumstances 6) Fails by changing global state in a way that causes downstream failure of level 7 and 8 code 7) Fails by making assumptions about global state that are violated by code in level 6 8) Indeterminate, too complex, disorganized, or entangled to do any real vetting or testing 9) Unknown, first revision, untested Behavior on Error: A=Best, F=Worst ----------------------------------- A) Fails immediately and unambiguously, and logs error B) Fails immediately and unambiguously C) Fails ambiguously D) Silently fails -- program terminates E) Silently fails and continues F) Silently fails and continues, causing downstream error Comments ------------- * Obviously, we should all strive for 1A code, but few mortals produce exclusively at that level. * In the real world, writing code even down to level 4C can be acceptable. * All of us have level 5 code -- we just don't know about it yet! However, if we find a bug, but can't fix it at the moment, we should at least document it and turn it into level 4. And now, the bad levels: * 6, 7 and 8 all require code refactoring to fix * Note that 7 is worse than 6. If you must sin, sin boldly, but don't be naive about the state of your program * 8 is by far the most work, both to produce and fix * All code starts at 9, but a quick step-through and some critical re-reading can take it to level 3 -- at least until we find out it is a 5! And the bad error behavior: * C can often be fixed by adding more specific error information, or adding error handling code to routines that lack them * D, E and F are all serious, and should be addressed when encountered * People who write code at level 8 tend to rely on error levels E and F to try to hide their wrongdoing From gustav at cactus.dk Wed Aug 8 03:43:28 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2012 10:43:28 +0200 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: Right Stuart, how difficult can this be (done)? It even has a name in VB(A): vbNullChar /gustav >>> stuart at lexacorp.com.pg 08-08-12 0:13 >>> Ahem! Ever hear of an ASCIIZ / C String ? -- Stuart On 7 Aug 2012 at 15:34, Kenneth Ismert wrote: > That is why all language parsers require you to quote delimiters inside a > string, like "" for VB or '' in SQL. From gustav at cactus.dk Wed Aug 8 03:54:09 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2012 10:54:09 +0200 Subject: [AccessD] Software Quality Message-ID: Hi Kenneth You miss: 0) Works, just like that. A+) Never fails. /gustav >>> kismert at gmail.com 08-08-12 3:58 >>> Here are some thoughts on software quality. What do you think? Code Quality: 1=Best, 9=Worst ------------------------------ 1) Works, formal tests 2) Works, informal tests 3) Works, vetted but no tests 4) Fails in known, documented ways 5) Fails in unknown or undocumented circumstances 6) Fails by changing global state in a way that causes downstream failure of level 7 and 8 code 7) Fails by making assumptions about global state that are violated by code in level 6 8) Indeterminate, too complex, disorganized, or entangled to do any real vetting or testing 9) Unknown, first revision, untested Behavior on Error: A=Best, F=Worst ----------------------------------- A) Fails immediately and unambiguously, and logs error B) Fails immediately and unambiguously C) Fails ambiguously D) Silently fails -- program terminates E) Silently fails and continues F) Silently fails and continues, causing downstream error Comments ------------- * Obviously, we should all strive for 1A code, but few mortals produce exclusively at that level. * In the real world, writing code even down to level 4C can be acceptable. * All of us have level 5 code -- we just don't know about it yet! However, if we find a bug, but can't fix it at the moment, we should at least document it and turn it into level 4. And now, the bad levels: * 6, 7 and 8 all require code refactoring to fix * Note that 7 is worse than 6. If you must sin, sin boldly, but don't be naive about the state of your program * 8 is by far the most work, both to produce and fix * All code starts at 9, but a quick step-through and some critical re-reading can take it to level 3 -- at least until we find out it is a 5! And the bad error behavior: * C can often be fixed by adding more specific error information, or adding error handling code to routines that lack them * D, E and F are all serious, and should be addressed when encountered * People who write code at level 8 tend to rely on error levels E and F to try to hide their wrongdoing -- From mcp2004 at mail.ru Wed Aug 8 03:55:23 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 08 Aug 2012 12:55:23 +0400 Subject: [AccessD] =?utf-8?q?Software_Quality?= In-Reply-To: References: Message-ID: <1344416123.734891933@f178.mail.ru> Hi Ken -- <<>> Yes, 5D is usually acceptable.? There is no *practically achievable* ways to turn any software at level 4C I suppose. I mean any released software we have done(/seen working somehow at customers' computers) have parts at levels 1-5, and 6-7, and even/often 8. The quality of released software will be the higher the less will be the probability to get issues at levels 5-7. The following quote is from "Code Simplicity" (http://www.codesimplicity.com/) "Law: The Law of Testing: The degree to which you know how your software behaves is the degree to which you have accurately tested it. Rule: Unless you?ve tried it, you don?t know that it works." Thank you. -- Shamil? Tue, 7 Aug 2012 20:58:17 -0500 ?? Kenneth Ismert : Here are some thoughts on software quality. What do you think? Code Quality: 1=Best, 9=Worst ------------------------------ 1) Works, formal tests 2) Works, informal tests 3) Works, vetted but no tests 4) Fails in known, documented ways 5) Fails in unknown or undocumented circumstances 6) Fails by changing global state in a way that causes downstream failure of level 7 and 8 code 7) Fails by making assumptions about global state that are violated by code in level 6 8) Indeterminate, too complex, disorganized, or entangled to do any real vetting or testing 9) Unknown, first revision, untested Behavior on Error: A=Best, F=Worst ----------------------------------- A) Fails immediately and unambiguously, and logs error B) Fails immediately and unambiguously C) Fails ambiguously D) Silently fails -- program terminates E) Silently fails and continues F) Silently fails and continues, causing downstream error Comments ------------- ?* Obviously, we should all strive for 1A code, but few mortals produce exclusively at that level. ?* In the real world, writing code even down to level 4C can be acceptable. ?* All of us have level 5 code -- we just don't know about it yet! However, if we find a bug, but can't fix it at the moment, we should at least document it and turn it into level 4. And now, the bad levels: ?* 6, 7 and 8 all require code refactoring to fix ?* Note that 7 is worse than 6. If you must sin, sin boldly, but don't be naive about the state of your program ?* 8 is by far the most work, both to produce and fix ?* All code starts at 9, but a quick step-through and some critical re-reading can take it to level 3 -- at least until we find out it is a 5! And the bad error behavior: ?* C can often be fixed by adding more specific error information, or adding error handling code to routines that lack them ?* D, E and F are all serious, and should be addressed when encountered ?* People who write code at level 8 tend to rely on error levels E and F to try to hide their wrongdoing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Aug 8 04:09:13 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2012 11:09:13 +0200 Subject: [AccessD] MoveFirst needed in DAO? Message-ID: Hi all Having opened a DAO recordset: Set rst = dbs.OpenRecordset(strSQL) often the first code line following is: rst.MoveFirst or, if the recordset can be empty: If rst.RecordCount > 0 Then rst.MoveFirst EndIf But is that really necessary? At which record could the recordset possibly be positioned if not at the first? Even a snapshot or an ODBC linked recordset will not - as far as I know - move anywhere until you tell it to do so. For ADO recordsets it is different as the recordcount can be -1 until you, for example, have done a MoveLast. /gustav From hans.andersen at phulse.com Wed Aug 8 04:23:07 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Wed, 8 Aug 2012 02:23:07 -0700 Subject: [AccessD] Software Quality In-Reply-To: <1344416123.734891933@f178.mail.ru> References: <1344416123.734891933@f178.mail.ru> Message-ID: <0E4E8021-1EEF-485D-8A56-1BB9AB04EC52@phulse.com> Oohh, a topic that approaches TDD. Fascinating. I'm curious to hear everyones opinion on this, because its an issue that typically divides developers and often in ways that show that its not entirely clear to some developers (albeit, not understanding the fundamental concepts and tenants of...) what the benefits are (to themselves as much as to the project). Hans On 2012-08-08, at 1:55 AM, Salakhetdinov Shamil wrote: > Hi Ken -- > > <<< * All of us have level 5 code -- we just don't know about it yet! However, > if we find a bug, but can't fix it at the moment, we should at least > document it and turn it into level 4.>>> > > Yes, 5D is usually acceptable. > There is no *practically achievable* ways to turn any software at level 4C I suppose. > I mean any released software we have done(/seen working somehow at customers' computers) have parts at levels 1-5, and 6-7, and even/often 8. > The quality of released software will be the higher the less will be the probability to get issues at levels 5-7. > > The following quote is from "Code Simplicity" (http://www.codesimplicity.com/) > "Law: The Law of Testing: The degree to which you know how your software behaves > is the degree to which you have accurately tested it. > Rule: Unless you?ve tried it, you don?t know that it works." > > Thank you. > -- Shamil > Tue, 7 Aug 2012 20:58:17 -0500 ?? Kenneth Ismert : > > > > Here are some thoughts on software quality. What do you think? > > > Code Quality: 1=Best, 9=Worst > ------------------------------ > 1) Works, formal tests > 2) Works, informal tests > 3) Works, vetted but no tests > 4) Fails in known, documented ways > 5) Fails in unknown or undocumented circumstances > 6) Fails by changing global state in a way that causes downstream failure > of level 7 and 8 code > 7) Fails by making assumptions about global state that are violated by code > in level 6 > 8) Indeterminate, too complex, disorganized, or entangled to do any real > vetting or testing > 9) Unknown, first revision, untested > > > Behavior on Error: A=Best, F=Worst > ----------------------------------- > A) Fails immediately and unambiguously, and logs error > B) Fails immediately and unambiguously > C) Fails ambiguously > D) Silently fails -- program terminates > E) Silently fails and continues > F) Silently fails and continues, causing downstream error > > > Comments > ------------- > * Obviously, we should all strive for 1A code, but few mortals produce > exclusively at that level. > * In the real world, writing code even down to level 4C can be acceptable. > * All of us have level 5 code -- we just don't know about it yet! However, > if we find a bug, but can't fix it at the moment, we should at least > document it and turn it into level 4. > > And now, the bad levels: > * 6, 7 and 8 all require code refactoring to fix > * Note that 7 is worse than 6. If you must sin, sin boldly, but don't be > naive about the state of your program > * 8 is by far the most work, both to produce and fix > * All code starts at 9, but a quick step-through and some critical > re-reading can take it to level 3 -- at least until we find out it is a 5! > > And the bad error behavior: > * C can often be fixed by adding more specific error information, or > adding error handling code to routines that lack them > * D, E and F are all serious, and should be addressed when encountered > * People who write code at level 8 tend to rely on error levels E and F to > try to hide their wrongdoing > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Wed Aug 8 05:20:28 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 08 Aug 2012 14:20:28 +0400 Subject: [AccessD] =?utf-8?q?Software_Quality?= In-Reply-To: <0E4E8021-1EEF-485D-8A56-1BB9AB04EC52@phulse.com> References: <1344416123.734891933@f178.mail.ru> <0E4E8021-1EEF-485D-8A56-1BB9AB04EC52@phulse.com> Message-ID: <1344421228.772158363@f313.mail.ru> Hi Hans -- I do use TDD (as far as I understand it) for my customers .NET/C#/VB.NET development. I do use NUnit to implement TDD tests. To make clear: I do not use (yet) tools as NMock so "TDD purists" could say I do not use TDD at all. Nor I use DI and tools like Autofac (http://code.google.com/p/autofac/) or Unity (http://unity.codeplex.com/) (but I do plan to start using them... somewhere in the (near) future...) I'm usually trying to get all the base code (unit tests) and functionality (integration etc. tests) tested in automated way up till the level of calls coming from GUI or automation programs/scripts. Usually but not always. It depends on project deadlines and funding. GUI workflow is tested manually against specs both on my and on customers (UAT) side. In principle GUI testing can be also automated but as my own practice shows custom GUI testing generic automation needs additional investments, which my customers don't have. So I'm expecting to have GUI automation implemented for my customers projects together with TDD when "big boys" will get their tools released for technologies as?http://en.wikipedia.org/wiki/Microsoft_UI_Automation?- the tools, which will be affordable for myself/my customers... Still, using my limited TDD approach I'm getting rather solid code base, which I'm able to refactor when needed without (almost) any fears to break existing functionality. I was never that confident with my VB6/VBA coding, which didn't have unit testing applied....? I have also tried to implement continuous integration (CI) using CruiseControl.NET (http://sourceforge.net/projects/ccnet/), it worked but again my practice showed that it was an overkill/there were no funding to keep CI working to successfully compete with others - so I ?do have my TDD tests "safety net" but I do not run all the tests before release - I do run only the tests created within current development cycle/phase and the ones covering codebase getting refactored... Thank you. -- Shamil? Wed, 8 Aug 2012 02:23:07 -0700 ?? Hans-Christian Andersen : Oohh, a topic that approaches TDD. Fascinating. I'm curious to hear everyones opinion on this, because its an issue that typically divides developers and often in ways that show that its not entirely clear to some developers (albeit, not understanding the fundamental concepts and tenants of...) what the benefits are (to themselves as much as to the project). Hans On 2012-08-08, at 1:55 AM, Salakhetdinov Shamil wrote: > Hi Ken -- > > <<< * All of us have level 5 code -- we just don't know about it yet! However, > if we find a bug, but can't fix it at the moment, we should at least > document it and turn it into level 4.>>> > > Yes, 5D is usually acceptable. > There is no *practically achievable* ways to turn any software at level 4C I suppose. > I mean any released software we have done(/seen working somehow at customers' computers) have parts at levels 1-5, and 6-7, and even/often 8. > The quality of released software will be the higher the less will be the probability to get issues at levels 5-7. > > The following quote is from "Code Simplicity" (http://www.codesimplicity.com/) > "Law: The Law of Testing: The degree to which you know how your software behaves > is the degree to which you have accurately tested it. > Rule: Unless you?ve tried it, you don?t know that it works." > > Thank you. > -- Shamil > Tue, 7 Aug 2012 20:58:17 -0500 ?? Kenneth Ismert : > > > > Here are some thoughts on software quality. What do you think? > > > Code Quality: 1=Best, 9=Worst > ------------------------------ > 1) Works, formal tests > 2) Works, informal tests > 3) Works, vetted but no tests > 4) Fails in known, documented ways > 5) Fails in unknown or undocumented circumstances > 6) Fails by changing global state in a way that causes downstream failure > of level 7 and 8 code > 7) Fails by making assumptions about global state that are violated by code > in level 6 > 8) Indeterminate, too complex, disorganized, or entangled to do any real > vetting or testing > 9) Unknown, first revision, untested > > > Behavior on Error: A=Best, F=Worst > ----------------------------------- > A) Fails immediately and unambiguously, and logs error > B) Fails immediately and unambiguously > C) Fails ambiguously > D) Silently fails -- program terminates > E) Silently fails and continues > F) Silently fails and continues, causing downstream error > > > Comments > ------------- > * Obviously, we should all strive for 1A code, but few mortals produce > exclusively at that level. > * In the real world, writing code even down to level 4C can be acceptable. > * All of us have level 5 code -- we just don't know about it yet! However, > if we find a bug, but can't fix it at the moment, we should at least > document it and turn it into level 4. > > And now, the bad levels: > * 6, 7 and 8 all require code refactoring to fix > * Note that 7 is worse than 6. If you must sin, sin boldly, but don't be > naive about the state of your program > * 8 is by far the most work, both to produce and fix > * All code starts at 9, but a quick step-through and some critical > re-reading can take it to level 3 -- at least until we find out it is a 5! > > And the bad error behavior: > * C can often be fixed by adding more specific error information, or > adding error handling code to routines that lack them > * D, E and F are all serious, and should be addressed when encountered > * People who write code at level 8 tend to rely on error levels E and F to > try to hide their wrongdoing > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Aug 8 05:28:56 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 08 Aug 2012 06:28:56 -0400 Subject: [AccessD] Software Quality In-Reply-To: References: Message-ID: <018d01cd7550$9e917a20$dbb46e60$@net> Ken - this is simply excellent....and so totally appropriate after the largest software quality debacle in history: http://www.marketwatch.com/story/flash-crash-rules-made-knight-keep-bad-trad es-2012-08-07?dist=tbeforebell Did you derive this list solely on your own ? From adtp at airtelmail.in Wed Aug 8 06:43:02 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Wed, 8 Aug 2012 17:13:02 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: Message-ID: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> It is observed that for trapping custom events raised in a form, WithEvents pointer in a new class needs to be declared as that form's class object, as per sample statement below: ' Sample code in class module '============================== Private WithEvents mfm As Form_MyForm '============================== However, the resulting object does not expose built-in events of the form (like Load, Current etc). On the other hand, declaring it as Access.Form makes available all the normal events of a form but not the custom events. For getting access to both sets of events, it is found necessary to set up two separate pointers, one as Access.Form and the other as Form_MyForm. Could there be a better course of action? Best wishes, A.D. Tejpal ------------ From fuller.artful at gmail.com Wed Aug 8 07:28:36 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 8 Aug 2012 08:28:36 -0400 Subject: [AccessD] Citrix Environment issue....difficult client In-Reply-To: <013701cd74f2$8c0751d0$a415f570$@net> References: <000001cd7366$9d44c280$d7ce4780$@net> <013701cd74f2$8c0751d0$a415f570$@net> Message-ID: There comes a time in every business when the correct thing to do is fire the customer. I think that for your consultancy, this time has come. No sense throwing good hours after bad. Arthur On Tue, Aug 7, 2012 at 7:15 PM, Mark Simms wrote: > Re: " While this means you need to maintain two versions of your app" > Jim - the prime contractor would not accept this as a solution either. > Single copy, workable in all environments. > > I'm working with totally uncompromising A-H...s , > you know the rest. > > > From df.waters at comcast.net Wed Aug 8 07:44:50 2012 From: df.waters at comcast.net (Dan Waters) Date: Wed, 8 Aug 2012 07:44:50 -0500 Subject: [AccessD] Software Quality In-Reply-To: References: Message-ID: <001201cd7563$99ec6170$cdc52450$@comcast.net> In my system at three customers, all trappable errors are recorded (mostly using 3rd party classes). Each morning the system sends me an email with a report of the errors from the previous day, or an email that just says zero! I've learned a lot by doing this, and my customers have a better experience. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, August 07, 2012 8:58 PM To: accessd at databaseadvisors.com Subject: [AccessD] Software Quality Here are some thoughts on software quality. What do you think? Code Quality: 1=Best, 9=Worst ------------------------------ 1) Works, formal tests 2) Works, informal tests 3) Works, vetted but no tests 4) Fails in known, documented ways 5) Fails in unknown or undocumented circumstances 6) Fails by changing global state in a way that causes downstream failure of level 7 and 8 code 7) Fails by making assumptions about global state that are violated by code in level 6 8) Indeterminate, too complex, disorganized, or entangled to do any real vetting or testing 9) Unknown, first revision, untested Behavior on Error: A=Best, F=Worst ----------------------------------- A) Fails immediately and unambiguously, and logs error B) Fails immediately and unambiguously C) Fails ambiguously D) Silently fails -- program terminates E) Silently fails and continues F) Silently fails and continues, causing downstream error Comments ------------- * Obviously, we should all strive for 1A code, but few mortals produce exclusively at that level. * In the real world, writing code even down to level 4C can be acceptable. * All of us have level 5 code -- we just don't know about it yet! However, if we find a bug, but can't fix it at the moment, we should at least document it and turn it into level 4. And now, the bad levels: * 6, 7 and 8 all require code refactoring to fix * Note that 7 is worse than 6. If you must sin, sin boldly, but don't be naive about the state of your program * 8 is by far the most work, both to produce and fix * All code starts at 9, but a quick step-through and some critical re-reading can take it to level 3 -- at least until we find out it is a 5! And the bad error behavior: * C can often be fixed by adding more specific error information, or adding error handling code to routines that lack them * D, E and F are all serious, and should be addressed when encountered * People who write code at level 8 tend to rely on error levels E and F to try to hide their wrongdoing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Wed Aug 8 08:34:15 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Wed, 8 Aug 2012 19:04:15 +0530 Subject: [AccessD] Simulated Split Form - Proposed Sample Db References: <001201cd7563$99ec6170$cdc52450$@comcast.net> Message-ID: <2A7D8F2DD10E4C088280942DC46E7F0C@personal4a8ede> Suggestions are invited for any additional enhancements that could be considered for incorporation in proposed sample db for simulated split form. The arrangement envisages two adjacent subforms, one below the other, separated by a divider bar. Top subform serves as single form while the bottom one represents datasheet portion. Certain features that could be considered desirable for inclusion, are listed below: 1 - Ease of adaptation: The developer should need to simply assign the given single form as source object for the top subform. Based upon generic template, datasheet portion of split form should get generated automatically in the bottom subform, displaying columns matching bound controls in single form above. 2 - Consolidation of code in a common class: Necessary code for integrated coordination between main form as well as its two subforms should be consolidated in a common class, instantiated in open event of main form. Nominal code for raising custom events can be added to single form's module. 3 - No added burden for data loading: Datasheet subform can use the recordset already loaded for single form, thus avoiding any additional burden. 4 - Divider bar: (a) Divider bar can be dragged for dynamic expansion / shrinkage of datasheet and single form heights at run time. (b) On opening the split form, divider bar should assume the position last held in previous session. 5 - Re-size nominated controls on single form: For added convenience, certain controls on single form, e.g. text box bound to memo field or even an image box, can be slated for vertical re-sizing so as to best utilize the available space resulting from divider bar movement. 6 - Hiding / Un-hiding of datasheet columns: On opening, datasheet columns matching memo fields can be in hidden state. The user can hide any other column by double clicking the same. Similarly, any column can be un-hidden by double clicking the matching control on single form. 7 - Auto adjustment of datasheet column widths: (a) At any given stage, the width of displayed columns should get adjusted automatically, so as to ensure optimum utilization of available width of datasheet window, duly taking into account the latest status of hidden / un-hidden columns. (b) For a given single form, on opening for the very first time, datasheet columns can be of equal width, suiting available space. Thereafter, if the user has manually adjusted the column widths, any further automated adjustment of column widths in response to hiding / un-hiding of columns should be carried out in such a manner as to retain relative proportion of column widths. (c) On click of a command button, the user should have the option to reset all column widths as if it were the first opening of form. 8 - Highlights: (a) When a datasheet column is in hidden state, corresponding control in single form gets highlighted in light grey. As and when the column is un-hidden, matching control on single form reverts to its normal color. (b) Current row in datasheet gets highlighted in light green. (c) As the user tabs from one control to the other on single form, matching cell on current row of datasheet gets highlighted in distinct color (say light maroon). 9 - Search Action - Positioning of destination row in datasheet window: Based upon search action performed via suitable controls (like combo box) on the single form, the destination row on datasheet should get positioned at middle of display window. This should take into account dynamic datasheet window height resulting from movement of divider bar. Best wishes, A.D. Tejpal ------------ From jwcolby at colbyconsulting.com Wed Aug 8 09:01:42 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 10:01:42 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> Message-ID: <50227146.5000800@colbyconsulting.com> AD, When I create a class I create a constructor mInit. In the case of a form class I use something like: Private Const mstrEventProcedure = "[Event Procedure]" 'A constant to hold the string [Event Procedure] private WithEvents mfrm as dao.form function mInit(frm as dao.form) set mfrm = frm mfrm.AfterUpdate = mstrEventProcedure mfrm.BeforeInsert = mstrEventProcedure mfrm.OnDelete = mstrEventProcedure mfrm.OnCurrent = mstrEventProcedure mfrm.OnUnload = mstrEventProcedure mfrm.BeforeUpdate = mstrEventProcedure mfrm.OnClose = mstrEventProcedure end function Having done that all of the built-in events of the form are exposed. However in order to cause the events to actually fire the event property of the form object has to be set to the actual text [Event Procedure] If the property does not have this text in it then even if you click or whatever the event does not fire so the code in the event sink does not run. If you think about it, this allows you to turn on and off events firing by simply inserting or deleting this string from the event that you siwh to control in this manner. Having done all of this, you can now define the event sinks in your custom class which you want to sink. BTW all of this is true for other controls such as a text box, combo etc. The last thing that you need to know is that if you have an event sink in your custom class and you have an event in the form's class directly, the order that the two event sinks run is determined by the version of access! Which REALLLLLY sucks since now your code operates differently depending on the version of Access that it runs under. Gotta love Microsoft. Give them credit though, they got it wrong the first time and made the painful decision to fix the issue in later versions even though it broke things. I call these custom classes "wrappers" since they "wrap" the object which we wish to manipulate and allow us to sink the specific events that we care about. BTW all of this is documented in a ton of emails I sent the group years ago, which purported to teach class programming in Access. BTW I have never dimensioned a form as you do below > Private WithEvents mfm As Form_MyForm so I don't know what events it sources like this. It never occurred to do that but I would have thought that it would be the same events as a normal form, unless of course you are raising your own events in that form's class. We can raise events in our custom class of course so you can likewise raise your own events in the form's class directly. If you simply create a wrapper class for the form and raise the events in there then you have one place to do all that stuff. Not sure if that meets your needs of course. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 7:43 AM, A.D. Tejpal wrote: > It is observed that for trapping custom events raised in a form, WithEvents pointer in a new class needs to be declared as that form's class object, as per sample statement below: > > ' Sample code in class module > '============================== > Private WithEvents mfm As Form_MyForm > '============================== > > However, the resulting object does not expose built-in events of the form (like Load, Current etc). > > On the other hand, declaring it as Access.Form makes available all the normal events of a form but not the custom events. > > For getting access to both sets of events, it is found necessary to set up two separate pointers, one as Access.Form and the other as Form_MyForm. > > Could there be a better course of action? > > Best wishes, > A.D. Tejpal > ------------ > From charlotte.foust at gmail.com Wed Aug 8 09:11:33 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 8 Aug 2012 07:11:33 -0700 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> Message-ID: And I do it differntly still. My class accepts a form as an argument in it's init routine, which is called from the form. The form declares a variable mFrm as New clsForm and then instantiates the variable like this: mFrm.init Me We all seem to approach it from a slightly different angle depending on what we want to do. Charlotte On Wed, Aug 8, 2012 at 4:43 AM, A.D. Tejpal wrote: > It is observed that for trapping custom events raised in a form, > WithEvents pointer in a new class needs to be declared as that form's class > object, as per sample statement below: > > ' Sample code in class module > '============================== > Private WithEvents mfm As Form_MyForm > '============================== > > However, the resulting object does not expose built-in events of the > form (like Load, Current etc). > > On the other hand, declaring it as Access.Form makes available all the > normal events of a form but not the custom events. > > For getting access to both sets of events, it is found necessary to > set up two separate pointers, one as Access.Form and the other as > Form_MyForm. > > Could there be a better course of action? > > Best wishes, > A.D. Tejpal > ------------ > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Wed Aug 8 09:17:08 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 8 Aug 2012 07:17:08 -0700 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: Message-ID: In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset possibly > be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I know - > move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until you, > for example, have done a MoveLast. > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Wed Aug 8 09:26:56 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 10:26:56 -0400 Subject: [AccessD] Simulated Split Form - Proposed Sample Db In-Reply-To: <2A7D8F2DD10E4C088280942DC46E7F0C@personal4a8ede> References: <001201cd7563$99ec6170$cdc52450$@comcast.net> <2A7D8F2DD10E4C088280942DC46E7F0C@personal4a8ede> Message-ID: <50227730.3090603@colbyconsulting.com> This sounds like way more than I would want to get into based on the dynamic sizing. However I would NOT use a common class simply because a class is supposed to model an object, the code required for that object and the variables needed for that object. You have three objects, the main form and two subforms and from the sounds of it each is very different. Thus putting all this stuff in a common class breaks all the rules of object oriented programming for little or no gain. I would have three classes. Once you do that, the main form's class can have hard coded pointers to the two subform's classes (if you will only ever have two) since those subforms "belong to" the main form. BTW if the child classes are dimensioned WithEvents in the parent class, then the child can raise events and those events can be sunk up in the parent class which makes a lot of things very easy to handle. Suddenly the parent can "see" the OnCurrent of the child (for example) simply by raising a "evCurrent" down in the child class in the child's OnCurrent event sink. You can even do an "evBeforeCurrent" and an "evAfterCurrent" if you need the granularity. Likewise the subforms could be passed a pointer to the main form's class and stored as a "PointerToParent" property. Now the child form classes can call methods of their parent to communicate as needed, even custom methods for each child form if desired. Or, as mentioned above, if the child dimensions the PointerToParent WithEvents, then it can sink events raised by the parent class. Think about using communications such as this between your parent and child classes. As you have probably discovered long ago, if you use bound forms, child form's load their data before the parent and their events start firing before the parent which I have found to be a nasty issue to deal with. My solution has been to unbind the child subforms at design time. When the parent opens, its data loads and its events fire and it then dynamically binds the child forms when the parent form wrapper class is ready for the child forms to start processing. As I have mentioned many times, I have an entire framework which I use for my projects. I have a dclsFrm which is a wrapper for a form, dclsTxt, dclsCbo etc. Each class wrapper has built-in functionality for these objects and can raise events etc. I have been doing this kind of stuff for about 10 years now and can offer general "wisdom" (?) about class / withevent kinds of issues. The resizing stuff is something that I have never dealt with directly. I used the Getz stuff from long ago (the late 90s) but never really liked the results and (at that time) it was way over my head and so I never tried to troubleshoot the issues I had with it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 9:34 AM, A.D. Tejpal wrote: > Suggestions are invited for any additional enhancements that could be considered for incorporation in proposed sample db for simulated split form. The arrangement envisages two adjacent subforms, one below the other, separated by a divider bar. Top subform serves as single form while the bottom one represents datasheet portion. > > Certain features that could be considered desirable for inclusion, are listed below: > > 1 - Ease of adaptation: > The developer should need to simply assign the given single form as source object for the top subform. Based upon generic template, datasheet portion of split form should get generated automatically in the bottom subform, displaying columns matching bound controls in single form above. > > 2 - Consolidation of code in a common class: > Necessary code for integrated coordination between main form as well as its two subforms should be consolidated in a common class, instantiated in open event of main form. Nominal code for raising custom events can be added to single form's module. > > 3 - No added burden for data loading: > Datasheet subform can use the recordset already loaded for single form, thus avoiding any additional burden. > > 4 - Divider bar: > (a) Divider bar can be dragged for dynamic expansion / shrinkage of datasheet and single form heights at run time. > (b) On opening the split form, divider bar should assume the position last held in previous session. > > 5 - Re-size nominated controls on single form: > For added convenience, certain controls on single form, e.g. text box bound to memo field or even an image box, can be slated for vertical re-sizing so as to best utilize the available space resulting from divider bar movement. > > 6 - Hiding / Un-hiding of datasheet columns: > On opening, datasheet columns matching memo fields can be in hidden state. The user can hide any other column by double clicking the same. Similarly, any column can be un-hidden by double clicking the matching control on single form. > > 7 - Auto adjustment of datasheet column widths: > (a) At any given stage, the width of displayed columns should get adjusted automatically, so as to ensure optimum utilization of available width of datasheet window, duly taking into account the latest status of hidden / un-hidden columns. > (b) For a given single form, on opening for the very first time, datasheet columns can be of equal width, suiting available space. Thereafter, if the user has manually adjusted the column widths, any further automated adjustment of column widths in response to hiding / un-hiding of columns should be carried out in such a manner as to retain relative proportion of column widths. > (c) On click of a command button, the user should have the option to reset all column widths as if it were the first opening of form. > > 8 - Highlights: > (a) When a datasheet column is in hidden state, corresponding control in single form gets highlighted in light grey. As and when the column is un-hidden, matching control on single form reverts to its normal color. > (b) Current row in datasheet gets highlighted in light green. > (c) As the user tabs from one control to the other on single form, matching cell on current row of datasheet gets highlighted in distinct color (say light maroon). > > 9 - Search Action - Positioning of destination row in datasheet window: > Based upon search action performed via suitable controls (like combo box) on the single form, the destination row on datasheet should get positioned at middle of display window. This should take into account dynamic datasheet window height resulting from movement of divider bar. > > Best wishes, > A.D. Tejpal > ------------ > From jwcolby at colbyconsulting.com Wed Aug 8 09:27:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 10:27:47 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> Message-ID: <50227763.6060406@colbyconsulting.com> Yep, that is what I do as well Charlotte. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 10:11 AM, Charlotte Foust wrote: > And I do it differntly still. My class accepts a form as an argument in > it's init routine, which is called from the form. The form declares a > variable mFrm as New clsForm and then instantiates the variable like this: > > mFrm.init Me > > We all seem to approach it from a slightly different angle depending on > what we want to do. > > Charlotte > > On Wed, Aug 8, 2012 at 4:43 AM, A.D. Tejpal wrote: > >> It is observed that for trapping custom events raised in a form, >> WithEvents pointer in a new class needs to be declared as that form's class >> object, as per sample statement below: >> >> ' Sample code in class module >> '============================== >> Private WithEvents mfm As Form_MyForm >> '============================== >> >> However, the resulting object does not expose built-in events of the >> form (like Load, Current etc). >> >> On the other hand, declaring it as Access.Form makes available all the >> normal events of a form but not the custom events. >> >> For getting access to both sets of events, it is found necessary to >> set up two separate pointers, one as Access.Form and the other as >> Form_MyForm. >> >> Could there be a better course of action? >> >> Best wishes, >> A.D. Tejpal >> ------------ >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> From michael at mattysconsulting.com Wed Aug 8 09:37:58 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Wed, 8 Aug 2012 10:37:58 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> Message-ID: <02f601cd7573$68bfedf0$3a3fc9d0$@mattysconsulting.com> Having worked through the material on Shamil's site in 2000, I recall that the new class had to have these elements: Private WithEvents Form As Access.Form Private mcolControls As New Collection Private mobjSelfRef As Object and then all of the other controls and such. It seems like "Private mobjSelfRef As Object" was critical for some reason? Or am I remembering incorrectly? Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) And I do it differntly still. My class accepts a form as an argument in it's init routine, which is called from the form. The form declares a variable mFrm as New clsForm and then instantiates the variable like this: mFrm.init Me We all seem to approach it from a slightly different angle depending on what we want to do. Charlotte On Wed, Aug 8, 2012 at 4:43 AM, A.D. Tejpal wrote: > It is observed that for trapping custom events raised in a form, > WithEvents pointer in a new class needs to be declared as that form's > class object, as per sample statement below: > > ' Sample code in class module > '============================== > Private WithEvents mfm As Form_MyForm > '============================== > > However, the resulting object does not expose built-in events of > the form (like Load, Current etc). > > On the other hand, declaring it as Access.Form makes available all > the normal events of a form but not the custom events. > > For getting access to both sets of events, it is found necessary > to set up two separate pointers, one as Access.Form and the other as > Form_MyForm. > > Could there be a better course of action? > > Best wishes, > A.D. Tejpal > ------------ > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Wed Aug 8 09:41:21 2012 From: df.waters at comcast.net (Dan Waters) Date: Wed, 8 Aug 2012 09:41:21 -0500 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: Message-ID: <002d01cd7573$e0f23170$a2d69450$@comcast.net> I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /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 kismert at gmail.com Wed Aug 8 10:17:03 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 8 Aug 2012 10:17:03 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: > > Heenan, Lambert: > Const ARGDELIM as String = "???" > Then just use the Const in constructing the delimited string. > > Stuart McLachlan: > Ahem! Ever hear of an ASCIIZ / C String ? > ... > Guess I'll have to stop doing things like this! > strTest = "A quote ( " & chr$(34) & ") character by itseld" > > Gustav Brock: > It even has a name in VB(A): vbNullChar > Keep the context in mind: You are taking a string from the wild, which by definition can contain any of the strings you mention, and you are quoting it with some delimiter, so you can break it apart with Split(). This is exactly analogous to the string literal assignment in VBA: var = "some literal string" Now, what happens when you need the delimiter character (") in the string? In all language parsers I can recall, you must quote the delimiter. In VBA, the rule is: var = "some ""quoted literal""" This cannot fail, but you also cannot use Split. You have to roll your own parser, which isn't rocket science. I ask you, if they were roughly the same effort, would you prefer: 1. A solution that usually works, with a known defect 2. A solution that almost always works, with a known, but 'better' defect 3. A solution that by definition cannot fail Maybe its my excessive pride or stubbornness, but I choose 3 if it is practical and reasonable. If I do have to settle on 1 or 2, I at least DOCUMENT THE BUG. -Ken From kismert at gmail.com Wed Aug 8 10:22:01 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 8 Aug 2012 10:22:01 -0500 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter Message-ID: My final thought on Tag: If you control your code base: ------------------------------------- Pick ONE AND ONLY ONE use for Tag. If you use a parameter parsing library, this can be a fairly sophisticated use. Document the hell out of it. Then, no matter what the time pressure, or temptation, STICK TO THAT USE. If you do not control the code base: --------------------------------------------- If you consult for a living, and fix other's code, you DARE NOT introduce code that uses Tag. Cede use of Tag to the owner, and manage your extra information some other way. This is the only sane way to use Tag. -Ken From jwcolby at colbyconsulting.com Wed Aug 8 10:22:40 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 11:22:40 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <02f601cd7573$68bfedf0$3a3fc9d0$@mattysconsulting.com> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> <02f601cd7573$68bfedf0$3a3fc9d0$@mattysconsulting.com> Message-ID: <50228440.1090406@colbyconsulting.com> > Having worked through the material on Shamil's site in 2000, I am impressed that you have done that. I had to work through it three times before I finally got it. However this is my MO anyway, read it three times and then I have it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 10:37 AM, Michael Mattys wrote: > Having worked through the material on Shamil's site in 2000, > I recall that the new class had to have these elements: > > Private WithEvents Form As Access.Form > Private mcolControls As New Collection > Private mobjSelfRef As Object > > and then all of the other controls and such. > > It seems like "Private mobjSelfRef As Object" was critical for some reason? > Or am I remembering incorrectly? > > Michael R Mattys > Mattys Consulting, LLC > www.mattysconsulting.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2012 10:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as > built-in) > > And I do it differntly still. My class accepts a form as an argument in > it's init routine, which is called from the form. The form declares a > variable mFrm as New clsForm and then instantiates the variable like this: > > mFrm.init Me > > We all seem to approach it from a slightly different angle depending on what > we want to do. > > Charlotte > > On Wed, Aug 8, 2012 at 4:43 AM, A.D. Tejpal wrote: > >> It is observed that for trapping custom events raised in a form, >> WithEvents pointer in a new class needs to be declared as that form's >> class object, as per sample statement below: >> >> ' Sample code in class module >> '============================== >> Private WithEvents mfm As Form_MyForm >> '============================== >> >> However, the resulting object does not expose built-in events of >> the form (like Load, Current etc). >> >> On the other hand, declaring it as Access.Form makes available all >> the normal events of a form but not the custom events. >> >> For getting access to both sets of events, it is found necessary >> to set up two separate pointers, one as Access.Form and the other as >> Form_MyForm. >> >> Could there be a better course of action? >> >> Best wishes, >> A.D. Tejpal >> ------------ >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kismert at gmail.com Wed Aug 8 10:25:17 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 8 Aug 2012 10:25:17 -0500 Subject: [AccessD] Software Quality Message-ID: > > Gustav Brock: > You miss: > 0) Works, just like that. > A+) Never fails. > Finally, we meet the world's only 0A+ programmer! You are a god among men, Gustav! ;) From jwcolby at colbyconsulting.com Wed Aug 8 10:28:27 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 11:28:27 -0400 Subject: [AccessD] Open Multiple Instances of a Form and passing a parameter In-Reply-To: References: Message-ID: <5022859B.6030906@colbyconsulting.com> Axiom #1: You NEVER control your code base unless it is for your own personal or company use. Ergo, there is no sane use for TAG. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 11:22 AM, Kenneth Ismert wrote: > My final thought on Tag: > > If you control your code base: > ------------------------------------- > Pick ONE AND ONLY ONE use for Tag. If you use a parameter parsing library, > this can be a fairly sophisticated use. Document the hell out of it. Then, > no matter what the time pressure, or temptation, STICK TO THAT USE. > > If you do not control the code base: > --------------------------------------------- > If you consult for a living, and fix other's code, you DARE NOT introduce > code that uses Tag. Cede use of Tag to the owner, and manage your extra > information some other way. > > This is the only sane way to use Tag. > > -Ken > From fuller.artful at gmail.com Wed Aug 8 10:35:13 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 8 Aug 2012 11:35:13 -0400 Subject: [AccessD] Software Quality In-Reply-To: References: Message-ID: As most of you know, I live mostly in the world of SQL databases, using whatever front-end is appropriate. In addition, I live and code by the principle that whatever the BE *can* do, the BE *should* do. This means that my FEs are as lean and mean as possible, and rely almost totally upon the abilities of the BE to deliver the desired results. That said, I tend to write the test cases before writing the code that they exercise. I also write two sets of testers, the first resulting in failure and the second resulting in success. Writing these first, rather than afterwards, IME makes coding the actual procedure or function lots easier, because when I finally get around to the actual coding, I've already got a very clear idea of what could potentially go wrong. A. On Wed, Aug 8, 2012 at 11:25 AM, Kenneth Ismert wrote: > > > > Gustav Brock: > > You miss: > > 0) Works, just like that. > > A+) Never fails. > > > > Finally, we meet the world's only 0A+ programmer! You are a god among men, > Gustav! ;) > > From gustav at cactus.dk Wed Aug 8 10:58:20 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2012 17:58:20 +0200 Subject: [AccessD] Software Quality Message-ID: Hi Kenneth I'm too modest to brag about it. Our goal should be the ultimate. That said, I think your list fails as "errors" is one thing (caused by lost network/disk connection, bad quality 3. party dlls, strange Citrix environments, etc.) while another topic is "behaving not as intended" like wrong rounding, selecting wrong values, mis-calculations, missing validation of input, etc.) The first are easily caught by error handling while the second can be very difficult or at least cost vast resources, and testing may not even reveal every issue - rounding is an example coming to my mind. /gustav >>> kismert at gmail.com 08-08-12 17:25 >>> > > Gustav Brock: > You miss: > 0) Works, just like that. > A+) Never fails. > Finally, we meet the world's only 0A+ programmer! You are a god among men, Gustav! ;) From gustav at cactus.dk Wed Aug 8 11:08:02 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2012 18:08:02 +0200 Subject: [AccessD] MoveFirst needed in DAO? Message-ID: Hi Dan and Charlotte In my experience, the first record is the current after the recordset is created, thus doing a MoveFirst has no effect. If no records exists, you can verify that in two ways: If rst.RecordCount = 0 or: If rst.BOF = True And rst.EOF = True If just one record exists, I see: rst.BOF = False rst.EOF = False leaving room to do either MovePrevious or MoveNext and that's all. /gustav >>> df.waters at comcast.net 08-08-12 16:41 >>> I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /gustav From michael at mattysconsulting.com Wed Aug 8 11:06:12 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Wed, 8 Aug 2012 12:06:12 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <50228440.1090406@colbyconsulting.com> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> <02f601cd7573$68bfedf0$3a3fc9d0$@mattysconsulting.com> <50228440.1090406@colbyconsulting.com> Message-ID: <030001cd757f$bc62f270$3528d750$@mattysconsulting.com> Hi, John ... I've followed your work for a long time also. Your framework was as mind boggling as DEEP Withevents to me at the first. Unfortunately, I had the rug pulled out from under me at that time and I'm just recovering. I'd be pleased to get back into it, though. Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 08, 2012 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) > Having worked through the material on Shamil's site in 2000, I am impressed that you have done that. I had to work through it three times before I finally got it. However this is my MO anyway, read it three times and then I have it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 10:37 AM, Michael Mattys wrote: > Having worked through the material on Shamil's site in 2000, I recall > that the new class had to have these elements: > > Private WithEvents Form As Access.Form Private mcolControls As New > Collection Private mobjSelfRef As Object > > and then all of the other controls and such. > > It seems like "Private mobjSelfRef As Object" was critical for some reason? > Or am I remembering incorrectly? > > Michael R Mattys > Mattys Consulting, LLC > www.mattysconsulting.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2012 10:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Trapping Events In A Class (custom events as > well as > built-in) > > And I do it differntly still. My class accepts a form as an argument > in it's init routine, which is called from the form. The form > declares a variable mFrm as New clsForm and then instantiates the variable like this: > > mFrm.init Me > > We all seem to approach it from a slightly different angle depending > on what we want to do. > > Charlotte > > On Wed, Aug 8, 2012 at 4:43 AM, A.D. Tejpal wrote: > >> It is observed that for trapping custom events raised in a form, >> WithEvents pointer in a new class needs to be declared as that form's >> class object, as per sample statement below: >> >> ' Sample code in class module >> '============================== >> Private WithEvents mfm As Form_MyForm '============================== >> >> However, the resulting object does not expose built-in events of >> the form (like Load, Current etc). >> >> On the other hand, declaring it as Access.Form makes available >> all the normal events of a form but not the custom events. >> >> For getting access to both sets of events, it is found necessary >> to set up two separate pointers, one as Access.Form and the other as >> Form_MyForm. >> >> Could there be a better course of action? >> >> Best wishes, >> A.D. Tejpal >> ------------ >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Wed Aug 8 11:30:48 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 8 Aug 2012 11:30:48 -0500 Subject: [AccessD] Software Quality Message-ID: > > Mark Simms: > ... > Did you derive this list solely on your own ? > I came up with the list, but I liberally stole the ideas from a mish-mash of other blogs/articles/presentations, and posts from contributors to AccessD. From adtp at airtelmail.in Wed Aug 8 13:44:06 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Thu, 9 Aug 2012 00:14:06 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> <50227146.5000800@colbyconsulting.com> Message-ID: JC, It so happens that hooking of events is not the issue here. In the class module, setting required event properties to "[Event Procedure]" is a fundamental step, without which the event won't fire. That aspect is always taken care of. My question refers to a form where a certain event has been raised via RaiseEvent statement. Let us say a filter and / or search action is carried out through a combination of controls like option groups / combo boxes / text boxes / check boxes etc. On successful filter / search, event EvFilterSearch() is raised via RaiseEvent statement in form's module. In the wrapper class, excessive cluttering up can be avoided by simply trapping EvFilterSearch() - rather than setting up WithEvents pointers to individual controls. In the wrapper class, if the pointer to such a form (named MyForm) is declared as Access.Form, and an attempt made to hook the events after due instantiation, it will be found that there is no property matching EvFilterSearch event. This event is also found missing from the drop down list at top right of VBA window, which shows all built-in events like Load / Current etc, including those for which explicit hooking by setting event property to "[Event Procedure]" has not been done. Of course, unless hooked, code in stubs for un-hooked events won't execute. On the other hand, if the pointer is declared as Form_MyForm (instead of Access.Form), EvFilterSearch event gets displayed in the drop down list at top right of VBA window. Built-in events like Load / Current do not get displayed in this list. Moreover, no explicit hooking for this custom event is needed. In fact you can't do it, as the item is still found missing from properties list of the pointer (interestingly, the properties list does include the built-in events). Code in stub generated for this event gets executed smoothly. Coming back to the original question, it would seem that for such a form, if both sets of events (built-in as well as custom) are to be utilized in a wrapper class, setting up of two separate pointers would be necessary. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: jwcolby To: Access Developers discussion and problem solving Sent: Wednesday, August 08, 2012 19:31 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) AD, When I create a class I create a constructor mInit. In the case of a form class I use something like: Private Const mstrEventProcedure = "[Event Procedure]" 'A constant to hold the string [Event Procedure] private WithEvents mfrm as dao.form function mInit(frm as dao.form) set mfrm = frm mfrm.AfterUpdate = mstrEventProcedure mfrm.BeforeInsert = mstrEventProcedure mfrm.OnDelete = mstrEventProcedure mfrm.OnCurrent = mstrEventProcedure mfrm.OnUnload = mstrEventProcedure mfrm.BeforeUpdate = mstrEventProcedure mfrm.OnClose = mstrEventProcedure end function Having done that all of the built-in events of the form are exposed. However in order to cause the events to actually fire the event property of the form object has to be set to the actual text [Event Procedure] If the property does not have this text in it then even if you click or whatever the event does not fire so the code in the event sink does not run. If you think about it, this allows you to turn on and off events firing by simply inserting or deleting this string from the event that you siwh to control in this manner. Having done all of this, you can now define the event sinks in your custom class which you want to sink. BTW all of this is true for other controls such as a text box, combo etc. The last thing that you need to know is that if you have an event sink in your custom class and you have an event in the form's class directly, the order that the two event sinks run is determined by the version of access! Which REALLLLLY sucks since now your code operates differently depending on the version of Access that it runs under. Gotta love Microsoft. Give them credit though, they got it wrong the first time and made the painful decision to fix the issue in later versions even though it broke things. I call these custom classes "wrappers" since they "wrap" the object which we wish to manipulate and allow us to sink the specific events that we care about. BTW all of this is documented in a ton of emails I sent the group years ago, which purported to teach class programming in Access. BTW I have never dimensioned a form as you do below > Private WithEvents mfm As Form_MyForm so I don't know what events it sources like this. It never occurred to do that but I would have thought that it would be the same events as a normal form, unless of course you are raising your own events in that form's class. We can raise events in our custom class of course so you can likewise raise your own events in the form's class directly. If you simply create a wrapper class for the form and raise the events in there then you have one place to do all that stuff. Not sure if that meets your needs of course. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 7:43 AM, A.D. Tejpal wrote: > It is observed that for trapping custom events raised in a form, WithEvents pointer in a new class needs to be declared as that form's class object, as per sample statement below: > > ' Sample code in class module > '============================== > Private WithEvents mfm As Form_MyForm > '============================== > > However, the resulting object does not expose built-in events of the form (like Load, Current etc). > > On the other hand, declaring it as Access.Form makes available all the normal events of a form but not the custom events. > > For getting access to both sets of events, it is found necessary to set up two separate pointers, one as Access.Form and the other as Form_MyForm. > > Could there be a better course of action? > > Best wishes, > A.D. Tejpal > ------------ From jwcolby at colbyconsulting.com Wed Aug 8 14:37:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 08 Aug 2012 15:37:54 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> <50227146.5000800@colbyconsulting.com> Message-ID: <5022C012.8000408@colbyconsulting.com> A.D. >Coming back to the original question, it would seem that for such a form, if both sets of events (built-in as well as custom) are to be utilized in a wrapper class, setting up of two separate pointers would be necessary. It certainly does appear that way. If my class is going to sink such events I usually create WithEvent pointers in the form wrapper for the control that will be raising the event and then handle it in that form wrapper class. What you are essentially saying is that you want the wrapper class to handle the event in the end so why not just sink the event directly in the form wrapper class? Basically I remove all of that stuff from the form itself and place it in the form wrapper. Now I either pass in the control in my wrapper mInit() method or I reach up into the form and get a pointer to those controls. I always pass a pointer to the form to my wrapper class and store it so getting stuff from the form is trivial. In fact if the control itself has any other functionality it needs to handle I will create a wrapper for the control itself as well. Combos and text boxes are examples of such controls. As an example in my framework I have a mFindControls method which literally iterates the form's controls collection and attempts to create a wrapper for each control found, the type of which is called out in a big case statement. I have prewritten wrapper classes for some but hardly all of the various types of controls. However if down the road I need a new wrapper class for a control type not yet covered, I write it and hook it into this case statement. This is how my framework evolved over time. I use naming conventions to trigger loading variations of control wrappers as needed. As an example I will have a txtPKID text box bound to my PKID (always a long int right!) and when found I plug that into a dimensioned variable in the class header (no wrapper at all). I use that control to tell the form wrapper what PKID the form is currently on in case I need to sync a combo box or whatever. OTOH I have a class which I load for text boxes not matching my naming conventions. This allows me to (for example) look at the data type of the field that the text box is bound to (this is possible with DAO) and set a standardized date/time format in the text box's format property if the control is bound to a date/time data type. For Each ctl In mfrm.Controls 'Find each control in the form's control collection With ctl On Error Resume Next If blnNoRecordset = False Then intCtlDatatype = mrst.Fields(ctl.ControlSource).Type End If On Error GoTo Err_mFindControls Select Case .ControlType 'Determine it's type Case acTextBox 'Find all text boxes and load class to change backcolor ' 'There can be two text boxes used for specific purposes. 'If they exist they will have specific names. ' Select Case .name ' 'txtPKID is the control bound to the PK of the recordset 'and is used for finding records, the recordselector combo etc. ' Case "txtPKID" Set mtxtPKID = ctl ' 'txtParentPKID is bound to the parent form's PK in a subform 'and allows the framework to discover when the parent record changed 'so that objects in the subform can be requeried when the parent form 'changes from record to record ' Case "txtFKParentID" Set mtxtFKParentID = ctl mstrFKFldName = mtxtFKParentID.ControlSource On Error Resume Next mlngParentPK = mtxtFKParentID.Value Case Else mcolClasses.Add New dclsCtlTxtBox, .name mcolClasses(.name).mInit Me, mfrm, ctl, intCtlDatatype End Select Case acSubform mcolSubForms.Add New dclsCtlSFrm, .name mcolSubForms(.name).mInit Me, mfrm, ctl Case acTabCtl 'tab pages are handled in the tab control mcolTabs.Add New dclsCtlTab, .name mcolTabs(.name).mInit Me, mfrm, ctl Case acOptionGroup Case acCheckBox Case acOptionButton Case acCommandButton Case acToggleButton Case acListBox Case acComboBox If .name = "cboRecSel" Then Set mdclsCtlCboRecSel = New dclsCtlCboRecSel 'mcolClasses.Add New dclsCtlCboRecSel, .Name mdclsCtlCboRecSel.mInit Me, mfrm, ctl, mfrm!txtPKID, mblnUsesADO 'mdclsCtlCboRecSel.cGI.pIsADOFrm = mblnUsesADO Else Dim lclsCtlCbo As dclsCtlCbo Set lclsCtlCbo = New dclsCtlCbo lclsCtlCbo.mInit Me, mfrm, ctl, intCtlDatatype lclsCtlCbo.cGI.pIsADOFrm = mblnUsesADO mcolClasses.Add lclsCtlCbo, .name ' mcolClasses(.name).mInit Me, mfrm, ctl, intCtlDatatype End If Case Else End Select John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/8/2012 2:44 PM, A.D. Tejpal wrote: > JC, > > It so happens that hooking of events is not the issue here. In the class module, setting required event properties to "[Event Procedure]" is a fundamental step, without which the event won't fire. That aspect is always taken care of. > > My question refers to a form where a certain event has been raised via RaiseEvent statement. Let us say a filter and / or search action is carried out through a combination of controls like option groups / combo boxes / text boxes / check boxes etc. On successful filter / search, event EvFilterSearch() is raised via RaiseEvent statement in form's module. In the wrapper class, excessive cluttering up can be avoided by simply trapping EvFilterSearch() - rather than setting up WithEvents pointers to individual controls. > > In the wrapper class, if the pointer to such a form (named MyForm) is declared as Access.Form, and an attempt made to hook the events after due instantiation, it will be found that there is no property matching EvFilterSearch event. This event is also found missing from the drop down list at top right of VBA window, which shows all built-in events like Load / Current etc, including those for which explicit hooking by setting event property to "[Event Procedure]" has not been done. Of course, unless hooked, code in stubs for un-hooked events won't execute. > > On the other hand, if the pointer is declared as Form_MyForm (instead of Access.Form), EvFilterSearch event gets displayed in the drop down list at top right of VBA window. Built-in events like Load / Current do not get displayed in this list. Moreover, no explicit hooking for this custom event is needed. In fact you can't do it, as the item is still found missing from properties list of the pointer (interestingly, the properties list does include the built-in events). Code in stub generated for this event gets executed smoothly. > > Coming back to the original question, it would seem that for such a form, if both sets of events (built-in as well as custom) are to be utilized in a wrapper class, setting up of two separate pointers would be necessary. > > Best wishes, > A.D. Tejpal > ------------ From BradM at blackforestltd.com Wed Aug 8 15:53:06 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 8 Aug 2012 15:53:06 -0500 Subject: [AccessD] Open PDF File from Access Application at Specific Percentage References: Message-ID: All, Is there a way to open a PDF file (Adobe Acrobat) from Access VBA code and specify what percentage the PDF file will be opened at? Thanks, Brad From accessd at shaw.ca Wed Aug 8 16:12:22 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 8 Aug 2012 14:12:22 -0700 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: Message-ID: <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com> I knew it was a problem with ADO type recordsets which may just start at the bottom instead of the top. I think DAO type recordsets always seem to start at the top unless there was some intermediate processing. OTOH using the style, you displayed, would work for any recordset so a developer could create simple universal recordset handling code and classes. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, August 08, 2012 2:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] MoveFirst needed in DAO? Hi all Having opened a DAO recordset: Set rst = dbs.OpenRecordset(strSQL) often the first code line following is: rst.MoveFirst or, if the recordset can be empty: If rst.RecordCount > 0 Then rst.MoveFirst EndIf But is that really necessary? At which record could the recordset possibly be positioned if not at the first? Even a snapshot or an ODBC linked recordset will not - as far as I know - move anywhere until you tell it to do so. For ADO recordsets it is different as the recordcount can be -1 until you, for example, have done a MoveLast. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 16:13:17 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 8 Aug 2012 14:13:17 -0700 Subject: [AccessD] Open PDF File from Access Application at SpecificPercentage In-Reply-To: References: Message-ID: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> I use Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL " & Me.txtPicture, vbMaximizedFocus Where me.txtPicture contains a file that is opened with the application with which the extension is associated. If .pdf it opens in Reader. I use: DoCmd.SelectObject acReport, stDocName Reports(stDocName).ZoomControl = gintPreviewZoomPerCent to open a report to a preselected magnification but don't think that would work with Shell. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Wednesday, August 08, 2012 1:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Open PDF File from Access Application at SpecificPercentage All, Is there a way to open a PDF file (Adobe Acrobat) from Access VBA code and specify what percentage the PDF file will be opened at? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 16:20:29 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 8 Aug 2012 14:20:29 -0700 Subject: [AccessD] Open PDF File from Access Application atSpecificPercentage In-Reply-To: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> References: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> Message-ID: <3BB0D339E0674881BACCD660E7FC7C1B@HAL9007> If you don't mind cribbing a little code: http://www.myengineeringworld.net/2012/07/vba-macro-to-open-pdf-file.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 08, 2012 2:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open PDF File from Access Application atSpecificPercentage I use Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL " & Me.txtPicture, vbMaximizedFocus Where me.txtPicture contains a file that is opened with the application with which the extension is associated. If .pdf it opens in Reader. I use: DoCmd.SelectObject acReport, stDocName Reports(stDocName).ZoomControl = gintPreviewZoomPerCent to open a report to a preselected magnification but don't think that would work with Shell. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Wednesday, August 08, 2012 1:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Open PDF File from Access Application at SpecificPercentage All, Is there a way to open a PDF file (Adobe Acrobat) from Access VBA code and specify what percentage the PDF file will be opened at? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 8 16:24:28 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Aug 2012 07:24:28 +1000 Subject: [AccessD] Open PDF File from Access Application at Specific Percentage In-Reply-To: References: , Message-ID: <5022D90C.28865.27C05CC0@stuart.lexacorp.com.pg> Not without knowing what application will be opening it. Different readers have different capabilites and different users have different default reader applications. Several PDF readers offer the option to open to a specific page as a command line argument, If you are designing for a corporate envirnment with standards for such things: Adobe Acrobat Reader uses: /A "page=3=OpenActions" Foxit Reader uses: -n 3 . -- Stuart On 8 Aug 2012 at 15:53, Brad Marks wrote: > All, > > Is there a way to open a PDF file (Adobe Acrobat) from Access VBA code > and specify what percentage the PDF file will be opened at? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Wed Aug 8 16:27:45 2012 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 8 Aug 2012 14:27:45 -0700 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com> References: <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com> Message-ID: I missed the beginning of this thread, so I might not totally understand what was being discussed here. Am I the only one that makes a habit of always moving last then first before getting a count? if Not rs.BOF and not rs.EOF rs.MoveLast rs.MoveFirst debug.print rs.recordcount else 'empty recordset end if On Wed, Aug 8, 2012 at 2:12 PM, Jim Lawrence wrote: > I knew it was a problem with ADO type recordsets which may just start at > the > bottom instead of the top. I think DAO type recordsets always seem to start > at the top unless there was some intermediate processing. > > OTOH using the style, you displayed, would work for any recordset so a > developer could create simple universal recordset handling code and > classes. > > Jim > From jimdettman at verizon.net Wed Aug 8 16:45:52 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Aug 2012 17:45:52 -0400 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com> Message-ID: <17ACDCA9-2314-4F42-8324-2F53BB28E978@verizon.net> No, you have to movelast to get an accurate count. Jet may not fully populate the record set before the first record is returned Jim Sent from my iPhone On Aug 8, 2012, at 5:27 PM, David McAfee wrote: > I missed the beginning of this thread, so I might not totally understand > what was being discussed here. > > Am I the only one that makes a habit of always moving last then first > before getting a count? > > if Not rs.BOF and not rs.EOF > rs.MoveLast > rs.MoveFirst > debug.print rs.recordcount > else > 'empty recordset > end if > > On Wed, Aug 8, 2012 at 2:12 PM, Jim Lawrence wrote: > >> I knew it was a problem with ADO type recordsets which may just start at >> the >> bottom instead of the top. I think DAO type recordsets always seem to start >> at the top unless there was some intermediate processing. >> >> OTOH using the style, you displayed, would work for any recordset so a >> developer could create simple universal recordset handling code and >> classes. >> >> Jim >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 8 16:48:47 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Aug 2012 07:48:47 +1000 Subject: [AccessD] Open PDF File from Access Application at SpecificPercentage In-Reply-To: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> References: , , <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> Message-ID: <5022DEBF.20061.27D6A084@stuart.lexacorp.com.pg> First time I've seen that one, but google tells me it it quite common. It is bascially equivalent to: ShellExecute(ShellExecute(Shellexecute())) If you declare ShellExecute somewhere in your application, you can reduce that to a single call with much more contrtol over the actual invocation: Public Declare Function ShellExecute _ Lib "shell32.dll" _ Alias "ShellExecuteA" ( _ ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) _ As Long Then as a minimum: ShellExecute(0, "", Me.txtPicture, "", "",0) -- Stuart On 8 Aug 2012 at 14:13, Rocky Smolin wrote: > I use Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL " & Me.txtPicture, > vbMaximizedFocus > > Where me.txtPicture contains a file that is opened with the application with > which the extension is associated. If .pdf it opens in Reader. > > I use: > > DoCmd.SelectObject acReport, stDocName > Reports(stDocName).ZoomControl = gintPreviewZoomPerCent > > to open a report to a preselected magnification but don't think that would > work with Shell. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Wednesday, August 08, 2012 1:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Open PDF File from Access Application at > SpecificPercentage > > All, > > Is there a way to open a PDF file (Adobe Acrobat) from Access VBA code and > specify what percentage the PDF file will be opened at? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Wed Aug 8 16:50:33 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Aug 2012 07:50:33 +1000 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: , <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com>, Message-ID: <5022DF29.13052.27D84173@stuart.lexacorp.com.pg> "when getting a count" - you need to, but if you are just going to step through the recordset, there is no need to. On 8 Aug 2012 at 14:27, David McAfee wrote: > I missed the beginning of this thread, so I might not totally understand > what was being discussed here. > > Am I the only one that makes a habit of always moving last then first > before getting a count? > > if Not rs.BOF and not rs.EOF > rs.MoveLast > rs.MoveFirst > debug.print rs.recordcount > else > 'empty recordset > end if > > On Wed, Aug 8, 2012 at 2:12 PM, Jim Lawrence wrote: > > > I knew it was a problem with ADO type recordsets which may just start at > > the > > bottom instead of the top. I think DAO type recordsets always seem to start > > at the top unless there was some intermediate processing. > > > > OTOH using the style, you displayed, would work for any recordset so a > > developer could create simple universal recordset handling code and > > classes. > > > > Jim > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Aug 8 18:34:34 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 8 Aug 2012 23:34:34 +0000 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: <002d01cd7573$e0f23170$a2d69450$@comcast.net> References: <002d01cd7573$e0f23170$a2d69450$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B524FE6F12@SINPRD0410MB381.apcprd04.prod.outlook.com> In many instances I have need to know how many records are found, to do that you need to movelast then movefirst. Especially if you are then going to loop thru those records. Of course, often you don't care how many are found and a >0 count will do. If I am going to loop I will always put in a MoveFirst to be sure it is at the top. Maybe redundant? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, 9 August 2012 12:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MoveFirst needed in DAO? I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /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 darryl at whittleconsulting.com.au Wed Aug 8 18:39:33 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 8 Aug 2012 23:39:33 +0000 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: <774C6F1E96C14F4FA7FEFE7A722266BC@creativesystemdesigns.com> Message-ID: <56653D383CB80341995245C537A9E7B524FE6F39@SINPRD0410MB381.apcprd04.prod.outlook.com> I would recommend you do that (movelast / movefirst) only if I need to know the precise count of records - otherwise in large recordsets you can get quite a delay whilst it works out how many records there are. If you just need to know there is 'something' returned then "if rs.recordcount > 0 then" will do nicely. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, 9 August 2012 7:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? I missed the beginning of this thread, so I might not totally understand what was being discussed here. Am I the only one that makes a habit of always moving last then first before getting a count? if Not rs.BOF and not rs.EOF rs.MoveLast rs.MoveFirst debug.print rs.recordcount else 'empty recordset end if On Wed, Aug 8, 2012 at 2:12 PM, Jim Lawrence wrote: > I knew it was a problem with ADO type recordsets which may just start > at the bottom instead of the top. I think DAO type recordsets always > seem to start at the top unless there was some intermediate > processing. > > OTOH using the style, you displayed, would work for any recordset so a > developer could create simple universal recordset handling code and > classes. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 18:51:47 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 8 Aug 2012 16:51:47 -0700 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: <56653D383CB80341995245C537A9E7B524FE6F12@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <002d01cd7573$e0f23170$a2d69450$@comcast.net> <56653D383CB80341995245C537A9E7B524FE6F12@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <7AA8F8267EB44EB18DBF785420D6D186@HAL9007> I always do this on an app which is processing a recordset sequentially. I display the total number of records in a text box. And then have another text box which displays a counter. That box is updated every 100 records (otherwise the numbers just whiz by and you can't read them). I bump the counter every time through the loop and use modulo 100 division to know when to update the current record counter. It gives the user a sense of how long it will take to complete the processing - as opposed to there appearing to be nothing going on. SO the user knows the machine's not just hung - but is processing the records. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, August 08, 2012 4:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In many instances I have need to know how many records are found, to do that you need to movelast then movefirst. Especially if you are then going to loop thru those records. Of course, often you don't care how many are found and a >0 count will do. If I am going to loop I will always put in a MoveFirst to be sure it is at the top. Maybe redundant? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, 9 August 2012 12:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MoveFirst needed in DAO? I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /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 gustav at cactus.dk Thu Aug 9 02:07:16 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 09 Aug 2012 09:07:16 +0200 Subject: [AccessD] MoveFirst needed in DAO? Message-ID: Hi Darryl True, if you need a precise count, you have to do a MoveLast. However, in most cases I don't care how many records, I just need to loop these. If you just have opened a DAO recordset, I've never seen anything else than it was positioned at the first record. Thus, I don't even have to check for records: Set rst = dbs.OpenRecordset(strSQL) While rst.EOF = False ' do something rst.MoveNext Wend because if the recordset is empty, the loop is skipped. Of course, if the loop runs and you will then run another loop, you then have to move to the first record: If rst.RecordCount > 0 Then rst.MoveFirst EndIf So I was just wondering if anyone had experienced situations where the recordset right after the initial opening was positioned anywhere else than the first record. It doesn't seem so. /gustav >>> darryl at whittleconsulting.com.au 09-08-12 1:34 >>> In many instances I have need to know how many records are found, to do that you need to movelast then movefirst. Especially if you are then going to loop thru those records. Of course, often you don't care how many are found and a >0 count will do. If I am going to loop I will always put in a MoveFirst to be sure it is at the top. Maybe redundant? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, 9 August 2012 12:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MoveFirst needed in DAO? I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /gustav From darryl at whittleconsulting.com.au Thu Aug 9 02:00:12 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 9 Aug 2012 07:00:12 +0000 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B524FE72EC@SINPRD0410MB381.apcprd04.prod.outlook.com> Thanks Gustav, that is good to know. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, 9 August 2012 5:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MoveFirst needed in DAO? Hi Darryl True, if you need a precise count, you have to do a MoveLast. However, in most cases I don't care how many records, I just need to loop these. If you just have opened a DAO recordset, I've never seen anything else than it was positioned at the first record. Thus, I don't even have to check for records: Set rst = dbs.OpenRecordset(strSQL) While rst.EOF = False ' do something rst.MoveNext Wend because if the recordset is empty, the loop is skipped. Of course, if the loop runs and you will then run another loop, you then have to move to the first record: If rst.RecordCount > 0 Then rst.MoveFirst EndIf So I was just wondering if anyone had experienced situations where the recordset right after the initial opening was positioned anywhere else than the first record. It doesn't seem so. /gustav >>> darryl at whittleconsulting.com.au 09-08-12 1:34 >>> In many instances I have need to know how many records are found, to do that you need to movelast then movefirst. Especially if you are then going to loop thru those records. Of course, often you don't care how many are found and a >0 count will do. If I am going to loop I will always put in a MoveFirst to be sure it is at the top. Maybe redundant? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, 9 August 2012 12:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MoveFirst needed in DAO? I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Aug 9 02:10:08 2012 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Aug 2012 08:10:08 +0100 Subject: [AccessD] MoveFirst needed in DAO? In-Reply-To: <56653D383CB80341995245C537A9E7B524FE72EC@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: When you open the recordset you're either at the first record, if there are any, or at EOF, if there aren't. So if you need to know if the recordset is empty this will also do Set rst = db.OpenRecordset....... With rst If .EOF Then Msgbox "No records" Else Do stuff End if End With Cheers Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 09 August 2012 08:00 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? Thanks Gustav, that is good to know. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, 9 August 2012 5:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MoveFirst needed in DAO? Hi Darryl True, if you need a precise count, you have to do a MoveLast. However, in most cases I don't care how many records, I just need to loop these. If you just have opened a DAO recordset, I've never seen anything else than it was positioned at the first record. Thus, I don't even have to check for records: Set rst = dbs.OpenRecordset(strSQL) While rst.EOF = False ' do something rst.MoveNext Wend because if the recordset is empty, the loop is skipped. Of course, if the loop runs and you will then run another loop, you then have to move to the first record: If rst.RecordCount > 0 Then rst.MoveFirst EndIf So I was just wondering if anyone had experienced situations where the recordset right after the initial opening was positioned anywhere else than the first record. It doesn't seem so. /gustav >>> darryl at whittleconsulting.com.au 09-08-12 1:34 >>> In many instances I have need to know how many records are found, to do that you need to movelast then movefirst. Especially if you are then going to loop thru those records. Of course, often you don't care how many are found and a >0 count will do. If I am going to loop I will always put in a MoveFirst to be sure it is at the top. Maybe redundant? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, 9 August 2012 12:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MoveFirst needed in DAO? I've always seen that in a newly opened DAO recordset, the recordset is always positioned at the first record - IF THERE ARE ANY RECORDS! So for most recordsets a check to see if any records exist is needed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MoveFirst needed in DAO? In DAO, the newly opened recordset is positioned at BOF but not necessarily on a record, IIRC. Charlotte On Wed, Aug 8, 2012 at 2:09 AM, Gustav Brock wrote: > Hi all > > Having opened a DAO recordset: > > Set rst = dbs.OpenRecordset(strSQL) > > often the first code line following is: > > rst.MoveFirst > > or, if the recordset can be empty: > > If rst.RecordCount > 0 Then > rst.MoveFirst > EndIf > > But is that really necessary? At which record could the recordset > possibly be positioned if not at the first? > > Even a snapshot or an ODBC linked recordset will not - as far as I > know - move anywhere until you tell it to do so. > > For ADO recordsets it is different as the recordcount can be -1 until > you, for example, have done a MoveLast. > > /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 adtp at airtelmail.in Thu Aug 9 03:28:38 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Thu, 9 Aug 2012 13:58:38 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com> <5022C012.8000408@colbyconsulting.com> Message-ID: J.C., Thanks for the confirmation. I agree - it would normally be preferable to handle everything in the wrapper class itself. However, this particular case seems to merit a modified approach in the context of proposed sample db for simulated split form. The underlying idea is to provide a basic arrangement comprising of main form with two subform controls. The bottom control has a datasheet template as its source object, while the single form meant to serve as source object for top subform control can be designed by any developer wishing to adapt this sample. The person would have complete freedom regarding the design, VBA code and logic used in such a form's module. When such a form (single form view), developed by third party, is assigned as source object for top subform control, everything else needed for display and functioning of split form, is planned to be handled by an integrated class that has WithEvents pointers to the main form as well as the two subforms, ensuring automatic generation of datasheet matching the current status of single form, as well as proper synchronization between the two. It is in this context that some nominal code is added to single form's module (while retaining its existing code intact) for raising custom events, destined for detection in the integrated class. The logic behind raising of such events remains native to the single form, in keeping with its individual design by third party. Object pointer for this class is instantiated in main form's open event. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: jwcolby To: Access Developers discussion and problem solving Sent: Thursday, August 09, 2012 01:07 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) A.D. >Coming back to the original question, it would seem that for such a form, if both sets of events (built-in as well as custom) are to be utilized in a wrapper class, setting up of two separate pointers would be necessary. It certainly does appear that way. If my class is going to sink such events I usually create WithEvent pointers in the form wrapper for the control that will be raising the event and then handle it in that form wrapper class. What you are essentially saying is that you want the wrapper class to handle the event in the end so why not just sink the event directly in the form wrapper class? Basically I remove all of that stuff from the form itself and place it in the form wrapper. Now I either pass in the control in my wrapper mInit() method or I reach up into the form and get a pointer to those controls. I always pass a pointer to the form to my wrapper class and store it so getting stuff from the form is trivial. In fact if the control itself has any other functionality it needs to handle I will create a wrapper for the control itself as well. Combos and text boxes are examples of such controls. As an example in my framework I have a mFindControls method which literally iterates the form's controls collection and attempts to create a wrapper for each control found, the type of which is called out in a big case statement. I have prewritten wrapper classes for some but hardly all of the various types of controls. However if down the road I need a new wrapper class for a control type not yet covered, I write it and hook it into this case statement. This is how my framework evolved over time. I use naming conventions to trigger loading variations of control wrappers as needed. As an example I will have a txtPKID text box bound to my PKID (always a long int right!) and when found I plug that into a dimensioned variable in the class header (no wrapper at all). I use that control to tell the form wrapper what PKID the form is currently on in case I need to sync a combo box or whatever. OTOH I have a class which I load for text boxes not matching my naming conventions. This allows me to (for example) look at the data type of the field that the text box is bound to (this is possible with DAO) and set a standardized date/time format in the text box's format property if the control is bound to a date/time data type. For Each ctl In mfrm.Controls 'Find each control in the form's control collection With ctl On Error Resume Next If blnNoRecordset = False Then intCtlDatatype = mrst.Fields(ctl.ControlSource).Type End If On Error GoTo Err_mFindControls Select Case .ControlType 'Determine it's type Case acTextBox 'Find all text boxes and load class to change backcolor ' 'There can be two text boxes used for specific purposes. 'If they exist they will have specific names. ' Select Case .name ' 'txtPKID is the control bound to the PK of the recordset 'and is used for finding records, the recordselector combo etc. ' Case "txtPKID" Set mtxtPKID = ctl ' 'txtParentPKID is bound to the parent form's PK in a subform 'and allows the framework to discover when the parent record changed 'so that objects in the subform can be requeried when the parent form 'changes from record to record ' Case "txtFKParentID" Set mtxtFKParentID = ctl mstrFKFldName = mtxtFKParentID.ControlSource On Error Resume Next mlngParentPK = mtxtFKParentID.Value Case Else mcolClasses.Add New dclsCtlTxtBox, .name mcolClasses(.name).mInit Me, mfrm, ctl, intCtlDatatype End Select Case acSubform mcolSubForms.Add New dclsCtlSFrm, .name mcolSubForms(.name).mInit Me, mfrm, ctl Case acTabCtl 'tab pages are handled in the tab control mcolTabs.Add New dclsCtlTab, .name mcolTabs(.name).mInit Me, mfrm, ctl Case acOptionGroup Case acCheckBox Case acOptionButton Case acCommandButton Case acToggleButton Case acListBox Case acComboBox If .name = "cboRecSel" Then Set mdclsCtlCboRecSel = New dclsCtlCboRecSel 'mcolClasses.Add New dclsCtlCboRecSel, .Name mdclsCtlCboRecSel.mInit Me, mfrm, ctl, mfrm!txtPKID, mblnUsesADO 'mdclsCtlCboRecSel.cGI.pIsADOFrm = mblnUsesADO Else Dim lclsCtlCbo As dclsCtlCbo Set lclsCtlCbo = New dclsCtlCbo lclsCtlCbo.mInit Me, mfrm, ctl, intCtlDatatype lclsCtlCbo.cGI.pIsADOFrm = mblnUsesADO mcolClasses.Add lclsCtlCbo, .name ' mcolClasses(.name).mInit Me, mfrm, ctl, intCtlDatatype End If Case Else End Select John W. Colby Colby Consulting From carbonnb at gmail.com Thu Aug 9 08:28:14 2012 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 9 Aug 2012 09:28:14 -0400 Subject: [AccessD] Unsubscribe please In-Reply-To: <0bc401cd74d3$5df06710$19d13530$@flsi.com> References: <0bc401cd74d3$5df06710$19d13530$@flsi.com> Message-ID: Follow the link from the bottom of every email, http://databaseadvisors.com/mailman/listinfo/accessd and scroll to the bottom of the page. You will find an unsubscribe/edit box at the bottom of the page. Bryan On Tue, Aug 7, 2012 at 3:32 PM, Darrell Burns wrote: > dhb at flsi.com > > > > Sincerely, > > Darrell > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From dkalsow at yahoo.com Thu Aug 9 08:34:44 2012 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 9 Aug 2012 06:34:44 -0700 (PDT) Subject: [AccessD] Opening a new tab In-Reply-To: References: <0bc401cd74d3$5df06710$19d13530$@flsi.com> Message-ID: <1344519284.70830.YahooMailNeo@web125603.mail.ne1.yahoo.com> I am using the NaviagationFrom in Access 2010.? I would like to add a button to a form that would open a new tab.? What is the VBA code to do this? ? Thanks! ? Dale??? From jwcolby at colbyconsulting.com Thu Aug 9 08:44:31 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 09 Aug 2012 09:44:31 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com> <5022C012.8000408@colbyconsulting.com> Message-ID: <5023BEBF.4020001@colbyconsulting.com> OK, I understand. However any functionality handled in the custom class has to be known about in advance. The user of the "single form" cannot simply raise a new event in the form and expect the wrapper class to do something with it. You are discussing the single form subform raising an event and causing the single form subform class to do something with that event. What kind of event are you thinking about and what does the wrapper class do with these events? In the end, if you truly need a custom event in a standard form class to be sunk in a custom form class then you do indeed have to use the dim statement you first discussed to handle those events. I am just not getting why you would be processing and raising such events in the standard form class to begin with. The standard form class is for the use of the 3rd party designer, the form wrapper is for your functionality. You need to specify an interface between your "single form" wrapper and the rest of the system. Keep feeding back your interface between the three pieces. This is fascinating. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/9/2012 4:28 AM, A.D. Tejpal wrote: > J.C., > > Thanks for the confirmation. > > I agree - it would normally be preferable to handle everything in the wrapper class itself. > However, this particular case seems to merit a modified approach in the context of proposed sample > db for simulated split form. > > The underlying idea is to provide a basic arrangement comprising of main form with two subform > controls. The bottom control has a datasheet template as its source object, while the single form > meant to serve as source object for top subform control can be designed by any developer wishing to > adapt this sample. The person would have complete freedom regarding the design, VBA code and logic > used in such a form's module. > > When such a form (single form view), developed by third party, is assigned as source object for > top subform control, everything else needed for display and functioning of split form, is planned to > be handled by an integrated class that has WithEvents pointers to the main form as well as the two > subforms, ensuring automatic generation of datasheet matching the current status of single form, as > well as proper synchronization between the two. > > It is in this context that some nominal code is added to single form's module (while retaining > its existing code intact) for raising custom events, destined for detection in the integrated class. > The logic behind raising of such events remains native to the single form, in keeping with its > individual design by third party. Object pointer for this class is instantiated in main form's open > event. > > Best wishes, > A.D. Tejpal > ------------ From charlotte.foust at gmail.com Thu Aug 9 09:37:40 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 9 Aug 2012 07:37:40 -0700 Subject: [AccessD] Opening a new tab In-Reply-To: <1344519284.70830.YahooMailNeo@web125603.mail.ne1.yahoo.com> References: <0bc401cd74d3$5df06710$19d13530$@flsi.com> <1344519284.70830.YahooMailNeo@web125603.mail.ne1.yahoo.com> Message-ID: Are you talking about creating a new tab or simply changing the value of a tab control to to show a different page? I use 2010 but I'm not familiar with the NavigationForm, so perhaps I'm misunderstanding the question. In general, you can change the tab page by setting the value of the tab control to the index of the page you want displayed. Charlotte On Thu, Aug 9, 2012 at 6:34 AM, Dale Kalsow wrote: > I am using the NaviagationFrom in Access 2010. I would like to add a > button to a form that would open a new tab. What is the VBA code to do > this? > > Thanks! > > Dale > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Thu Aug 9 10:45:28 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 09 Aug 2012 17:45:28 +0200 Subject: [AccessD] Upsize Wizard to SQL Server: Change schema? Message-ID: Hi all I'm using the upsize wizard in A2010 to SQL Server. When I use it with my SQL Server 2008 R2 Express, it creates tables using the schema dbo: dbo.SomeTable However, if I it run against an existing database on a non-local SQL Server 2008 R2, where I've used other credentials to create the database, the database file (of course) does not have me as user as the owner. This seems to force the created tables to use my credentials as the schema, like MyDomain\Gustav. Thus, tables are named: MyDomain\Gustav.SomeTable This is fine if the tables were "mine" but they are not How can I prevent this? /gustav From BradM at blackforestltd.com Thu Aug 9 15:43:42 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 9 Aug 2012 15:43:42 -0500 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" References: , , <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> <5022DEBF.20061.27D6A084@stuart.lexacorp.com.pg> Message-ID: All, I have a small report that summarizes the number of new orders by week. The report's underlying query uses "DatePart" like this. OrderWeek: DatePart("ww",[OrderDate]) Here is a small sample of what the report looks like. ~~~~~~~~~~~~ Week Nbr-of-Orders 16 333 17 355 ~~~~~~~~~~~~~ I have been asked to spell out what the start and end dates are for each week number on the report. Is it possible to derive the "Start" and "End" dates from a week number? Thanks, Brad From davidmcafee at gmail.com Thu Aug 9 16:04:22 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 9 Aug 2012 14:04:22 -0700 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" In-Reply-To: References: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> <5022DEBF.20061.27D6A084@stuart.lexacorp.com.pg> Message-ID: If Weekday starts on Sunday (which I assume it does as per your datepart example below) Week Starting: (CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, vbMonday))+7 * (DatePart("ww",WeekNumber)) Can test in debug window: ?(CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, vbMonday))+7 * (DatePart("ww",Date())) HTH David McAfee On Thu, Aug 9, 2012 at 1:43 PM, Brad Marks wrote: > All, > > I have a small report that summarizes the number of new orders by week. > The report's underlying query uses "DatePart" like this. > > > OrderWeek: DatePart("ww",[OrderDate]) > > > > Here is a small sample of what the report looks like. > > ~~~~~~~~~~~~ > Week Nbr-of-Orders > 16 333 > 17 355 > ~~~~~~~~~~~~~ > > I have been asked to spell out what the start and end dates are for each > week number on the report. > > Is it possible to derive the "Start" and "End" dates from a week number? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Aug 9 16:16:59 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 9 Aug 2012 14:16:59 -0700 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" In-Reply-To: References: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007> <5022DEBF.20061.27D6A084@stuart.lexacorp.com.pg> Message-ID: Sorry, 2012 was hard coded while testing. It should be: ?(CDate("01/01/" & YEAR(Date())) - WeekDay("01/01/" & YEAR(Date()), vbMonday) )+7 * (DatePart("ww",Date())) Now it work Next year too :P On Thu, Aug 9, 2012 at 2:04 PM, David McAfee wrote: > If Weekday starts on Sunday (which I assume it does as per your datepart > example below) > > Week Starting: (CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, > vbMonday))+7 * (DatePart("ww",WeekNumber)) > > Can test in debug window: > ?(CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, vbMonday))+7 * > (DatePart("ww",Date())) > > > HTH > David McAfee > > > > > On Thu, Aug 9, 2012 at 1:43 PM, Brad Marks wrote: > >> All, >> >> I have a small report that summarizes the number of new orders by week. >> The report's underlying query uses "DatePart" like this. >> >> >> OrderWeek: DatePart("ww",[OrderDate]) >> >> >> >> Here is a small sample of what the report looks like. >> >> ~~~~~~~~~~~~ >> Week Nbr-of-Orders >> 16 333 >> 17 355 >> ~~~~~~~~~~~~~ >> >> I have been asked to spell out what the start and end dates are for each >> week number on the report. >> >> Is it possible to derive the "Start" and "End" dates from a week number? >> >> Thanks, >> Brad >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From BradM at blackforestltd.com Thu Aug 9 16:31:17 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 9 Aug 2012 16:31:17 -0500 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" References: <3B09C2B4A1DF48B2AB2513E782B8B906@HAL9007><5022DEBF.20061.27D6A084@stuart.lexacorp.com.pg> Message-ID: David, Thanks for the help. The code works great. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, August 09, 2012 4:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" Sorry, 2012 was hard coded while testing. It should be: ?(CDate("01/01/" & YEAR(Date())) - WeekDay("01/01/" & YEAR(Date()), vbMonday) )+7 * (DatePart("ww",Date())) Now it work Next year too :P On Thu, Aug 9, 2012 at 2:04 PM, David McAfee wrote: > If Weekday starts on Sunday (which I assume it does as per your datepart > example below) > > Week Starting: (CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, > vbMonday))+7 * (DatePart("ww",WeekNumber)) > > Can test in debug window: > ?(CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, vbMonday))+7 * > (DatePart("ww",Date())) > > > HTH > David McAfee > > > > > On Thu, Aug 9, 2012 at 1:43 PM, Brad Marks wrote: > >> All, >> >> I have a small report that summarizes the number of new orders by week. >> The report's underlying query uses "DatePart" like this. >> >> >> OrderWeek: DatePart("ww",[OrderDate]) >> >> >> >> Here is a small sample of what the report looks like. >> >> ~~~~~~~~~~~~ >> Week Nbr-of-Orders >> 16 333 >> 17 355 >> ~~~~~~~~~~~~~ >> >> I have been asked to spell out what the start and end dates are for each >> week number on the report. >> >> Is it possible to derive the "Start" and "End" dates from a week number? >> >> Thanks, >> Brad >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Thu Aug 9 16:37:46 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 10 Aug 2012 07:37:46 +1000 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" In-Reply-To: References: , , Message-ID: <50242DAA.13637.2CF2E6F0@stuart.lexacorp.com.pg> As an alternative, I sometme do this sort of thing; SELECT DatePart("ww",[SessionDate]) AS WkNum, Min(tblSessions.sessiondate) AS StartDate, Max(tblSessions.sessiondate) AS enddate, Count(tblSessions.SessionPK) AS Sessions FROM tblSessions GROUP BY DatePart("ww",[SessionDate]); This gives you the actual first and last order date in each period, so if there are no orders on Sat/Sun, the dates given for that week will be Mon-Fri -- Stuart On 9 Aug 2012 at 14:16, David McAfee wrote: > Sorry, 2012 was hard coded while testing. > > It should be: > ?(CDate("01/01/" & YEAR(Date())) - WeekDay("01/01/" & YEAR(Date()), > vbMonday) )+7 * (DatePart("ww",Date())) > > Now it work Next year too :P > > > On Thu, Aug 9, 2012 at 2:04 PM, David McAfee wrote: > > > If Weekday starts on Sunday (which I assume it does as per your datepart > > example below) > > > > Week Starting: (CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, > > vbMonday))+7 * (DatePart("ww",WeekNumber)) > > > > Can test in debug window: > > ?(CDate("01/01/" & 2012) - WeekDay("01/01/" & 2012, vbMonday))+7 * > > (DatePart("ww",Date())) > > > > > > HTH > > David McAfee > > > > > > > > > > On Thu, Aug 9, 2012 at 1:43 PM, Brad Marks wrote: > > > >> All, > >> > >> I have a small report that summarizes the number of new orders by week. > >> The report's underlying query uses "DatePart" like this. > >> > >> > >> OrderWeek: DatePart("ww",[OrderDate]) > >> > >> > >> > >> Here is a small sample of what the report looks like. > >> > >> ~~~~~~~~~~~~ > >> Week Nbr-of-Orders > >> 16 333 > >> 17 355 > >> ~~~~~~~~~~~~~ > >> > >> I have been asked to spell out what the start and end dates are for each > >> week number on the report. > >> > >> Is it possible to derive the "Start" and "End" dates from a week number? > >> > >> Thanks, > >> Brad > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Aug 9 20:38:25 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 10 Aug 2012 01:38:25 +0000 Subject: [AccessD] Save Queries in 2010 - bug? Message-ID: <56653D383CB80341995245C537A9E7B524FE7405@SINPRD0410MB381.apcprd04.prod.outlook.com> Hi Guys n Gals, I have noticed when working with queries in A2010 (say, making a change and then saving or copying a query) that A2010 will take a stupidly long time to save. Indeed (in-particular for xtabs) it seems to have to run the query first and then save it. It really should only take milliseconds to save the SQL string, but it doesn't. If "SaveAs" it as a query and rename - it is instant, but copy / paste it takes it own darn good time. I don't know if it does the behaviour for all queries (if they are small it saves so fast so I cannot tell). But you can certainly see this behaviour with complex xtabs. A right PITA really as the save should be pretty much instant, but it is not - takes as long to save as it does to run it (which is why I suspect it IS running it before save). Anyone got any suggestions or can throw some light on this...? Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From marksimms at verizon.net Thu Aug 9 21:58:34 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 09 Aug 2012 22:58:34 -0400 Subject: [AccessD] Save Queries in 2010 - bug? In-Reply-To: <56653D383CB80341995245C537A9E7B524FE7405@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B524FE7405@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <000601cd76a4$08df79f0$1a9e6dd0$@net> MSFT likely changed the query access plan optimizer in 2010. It's likely beneficial in the way that it probably generates a more efficient data access "plan". BUT: That concept needs to be tested vs. Access 2003. From gustav at cactus.dk Fri Aug 10 03:03:48 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2012 10:03:48 +0200 Subject: [AccessD] Need to derive the "Start" and "End" dates from a "DatePart Week Number" Message-ID: Hi Brad and David First, there is no need to fall back to string handling of dates to solve this. Also, you cannot from the week number alone determine the date, because week numbers cross year boundaries meaning that the first week may contain dates from the previous year and the last week may contain dates from the following year. Thus, you need the year of the week as well: Public Function ISO_DateOfWeek( _ ByVal intYear As Integer, _ ByVal bytWeek As Byte, _ Optional ByVal bytWeekday As Byte = vbMonday) _ As Date ' Calculates date of requested weekday in a week of ' a year according to ISO 8601:1988 standard. ' ' Notes: Years less than 100 will be handled as ' two-digit years of our current year frame. ' Years less than zero returns a zero date. ' A weeknumber of zero returns the requested ' weekday of the week before week 1. ' ' 2000-12-17. Cactus Data ApS, Gustav Brock. ' The fourth of January is always included in ' the first week of year intYear. Const cbytDayOfFirstWeek As Byte = 4 ' Number of days in a week. Const cbytDaysOfWeek As Byte = 7 ' Month of January. Const cbytJanuary As Byte = 1 Dim datDateOfFirstWeek As Date Dim intISOMonday As Integer Dim intISOWeekday As Integer Dim intWeekdayOffset As Integer ' No specific error handling. On Error Resume Next If intYear > 0 Then ' Weekday of Monday. intISOMonday = Weekday(vbMonday, vbMonday) ' Date of fourth of January in year intYear. datDateOfFirstWeek = DateSerial(intYear, cbytJanuary, cbytDayOfFirstWeek) ' Weekday of fourth of January in year intYear. intISOWeekday = Weekday(datDateOfFirstWeek, vbMonday) ' Calculate offset from Monday in first week of year intYear. intWeekdayOffset = intISOMonday - intISOWeekday ' Weekday of requested weekday. intISOWeekday = Weekday(bytWeekday, vbMonday) ' Calculate offset from requested weekday in first week of year intYear. intWeekdayOffset = intWeekdayOffset + intISOWeekday - intISOMonday ' Date of requested weekday in first week of year intYear. datDateOfFirstWeek = DateAdd("d", intWeekdayOffset, datDateOfFirstWeek) ' Date of requested weekday in requested week of year intYear. datDateOfFirstWeek = DateAdd("ww", bytWeek - 1, datDateOfFirstWeek) End If ISO_DateOfWeek = datDateOfFirstWeek End Function Run this with vbMonday to find the first day of the week in question. However, in your case you do have a date initially, and from this you can directly calculate the first and last date of the week from that date: Public Function DateWeekFirst( _ ByVal datDate As Date, _ Optional ByVal lngFirstDayOfWeek As Long = vbUseSystemDayOfWeek) _ As Date ' Returns the first date of the week of datDate. ' lngFirstDayOfWeek defines the first weekday of the week. ' 2000-09-07. Cactus Data ApS. ' 2003-05-01. System settings used as default. ' No special error handling. On Error Resume Next ' Validate lngFirstDayOfWeek. Select Case lngFirstDayOfWeek Case _ vbMonday, _ vbTuesday, _ vbWednesday, _ vbThursday, _ vbFriday, _ vbSaturday, _ vbSunday, _ vbUseSystemDayOfWeek Case Else lngFirstDayOfWeek = vbUseSystemDayOfWeek End Select DateWeekFirst = DateAdd("d", vbSunday - WeekDay(datDate, lngFirstDayOfWeek), datDate) End Function Public Function DateWeekLast( _ ByVal datDate As Date, _ Optional ByVal lngFirstDayOfWeek As Long = vbUseSystemDayOfWeek) _ As Date ' Returns the last date of the week of datDate. ' lngFirstDayOfWeek defines the first weekday of the week. ' 2000-09-07. Cactus Data ApS. ' 2003-05-01. System settings used as default. ' No special error handling. On Error Resume Next ' Validate lngFirstDayOfWeek. Select Case lngFirstDayOfWeek Case _ vbMonday, _ vbTuesday, _ vbWednesday, _ vbThursday, _ vbFriday, _ vbSaturday, _ vbSunday, _ vbUseSystemDayOfWeek Case Else lngFirstDayOfWeek = vbUseSystemDayOfWeek End Select DateWeekLast = DateAdd("d", vbSaturday - WeekDay(datDate, lngFirstDayOfWeek), datDate) End Function >>> BradM at blackforestltd.com 09-08-12 22:43 >>> All, I have a small report that summarizes the number of new orders by week. The report's underlying query uses "DatePart" like this. OrderWeek: DatePart("ww",[OrderDate]) Here is a small sample of what the report looks like. ~~~~~~~~~~~~ Week Nbr-of-Orders 16 333 17 355 ~~~~~~~~~~~~~ I have been asked to spell out what the start and end dates are for each week number on the report. Is it possible to derive the "Start" and "End" dates from a week number? Thanks, Brad From adtp at airtelmail.in Fri Aug 10 03:38:12 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Fri, 10 Aug 2012 14:08:12 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> Message-ID: <6B5F77971BF94613A6BADE60F07C4901@personal4a8ede> J.C., Explanatory notes accompanying the sample db will have precise instructions for the prospective developer wishing to use his own single form as part of the split form arrangement. Following two lines are to be copied & pasted in declarations section of his form's module: ' Code in form's module ' Declarations section '=============== Public Event EvFilter() Public Event EvSearchDone(fm As Access.Form, AbsPos As Long) '=============== The following statement is to be inserted by him after any code block affecting form's filter state (This event will get detected in integrated wrapper class so as to enforce updating of recordset for datasheet portion): '=============== RaiseEvent EvFilter '=============== The following statement is to be inserted by him after any code block involving search action (This event will get detected in integrated wrapper class and action taken to ensure that the destination row gets displayed at mid-height of datasheet display window. It will take into account the latest window height depending upon the position of divider bar): '=============== RaiseEvent EvSearchDone(Me, Me.Recordset.AbsolutePosition) '=============== Steps outlined above are demonstrated in the single form currently included in the sample db. Note: Apart from the above, DblClick & Enter events of each bound control on each of the two subforms (i.e. single form & datasheet portion) are used for hiding / un-hiding of columns and for appropriate color highlights (e.g. highlighting of current row as well as current cell in datasheet matching the active control in single form, apart from grey shading of single form controls where matching column in datasheet is in hidden state). These are taken care of automatically through a collection of control class objects whose parent property is set to the integrated wrapper class. The sample db is expected to get ready within a few days and I should be in a position to make it available for examination and ready reference. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: jwcolby To: Access Developers discussion and problem solving Sent: Thursday, August 09, 2012 19:14 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) OK, I understand. However any functionality handled in the custom class has to be known about in advance. The user of the "single form" cannot simply raise a new event in the form and expect the wrapper class to do something with it. You are discussing the single form subform raising an event and causing the single form subform class to do something with that event. What kind of event are you thinking about and what does the wrapper class do with these events? In the end, if you truly need a custom event in a standard form class to be sunk in a custom form class then you do indeed have to use the dim statement you first discussed to handle those events. I am just not getting why you would be processing and raising such events in the standard form class to begin with. The standard form class is for the use of the 3rd party designer, the form wrapper is for your functionality. You need to specify an interface between your "single form" wrapper and the rest of the system. Keep feeding back your interface between the three pieces. This is fascinating. John W. Colby Colby Consulting From jwcolby at colbyconsulting.com Fri Aug 10 07:38:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2012 08:38:55 -0400 Subject: [AccessD] c#: Get identity value back from SQL Server Message-ID: <502500DF.4030802@colbyconsulting.com> I have written a function to perform an insert using a passed in SQL string. I need it to return an integer PK autoincremented by the table: public int mExecNonQueryReturnIdentity(string strCnn, string strSQL, int timeOut) { int intIdentity = 0; //reset the records affected property before we execute SqlConnection mCnn = null; //setup a sql connection object SqlCommand myCommand = null; //setup a sql command object try { mCnn = new SqlConnection(strCnn); //create a new sql connection using the connection string passed in mCnn.Open(); //open the connection myCommand = new SqlCommand(strSQL, mCnn); //create a new command using the sql connection and sql statment myCommand.CommandTimeout = 60; //set the command time out SqlParameter param = new SqlParameter("@ID", SqlDbType.Int, 4); param.Direction = ParameterDirection.Output; myCommand.Parameters.Add(param); myCommand.ExecuteNonQuery(); //execute the sql statement and set the records affected property intIdentity = (int)param.Value; } catch (SqlException ex) { logger.Error(ex.ToString()); } return intIdentity ; } The SQL statement looks like: string strSQLInsert = "INSERT INTO " + dbName + ".dbo." + tblName + " " + "(" + "CSS_Name," + "CSS_DteStart" + ") " + "VALUES " + "(" + "'DatabaseCrossReferenceCount_" + strNow + "'," + "'" + strNow + "' " + "); " + "SELECT @@IDENTITY AS 'ID'" ; PK = mExecNonQueryReturnIdentity(cnn, strSQLInsert, 600); The record is inserted into the table but param in mExecNonQueryReturnIdentity is {} which is null I suppose. As a result i fall into the catch saying that the (int) "specified cast is not valid". I am trying to cast a null to an int. But the question is why is the returned value a null instead of an integer ID. There are a ton of hits on google about how to do this but they always break down into quarrels about "This is not safe and that is not safe and ...". All the safe issues should not apply in my specific case because I am controlling the context by doing this from my C# code. I think the best solution seems to be doing the output parameter and passing something back which is the ID but I can't seem to figure out which part - the sql statement or the c# function (or both?) is in error. Any help greatly appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jackandpat.d at gmail.com Fri Aug 10 07:51:06 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 10 Aug 2012 08:51:06 -0400 Subject: [AccessD] c#: Get identity value back from SQL Server In-Reply-To: <502500DF.4030802@colbyconsulting.com> References: <502500DF.4030802@colbyconsulting.com> Message-ID: John, I'm not a SQL server person, nor c#, but I found this that may be worth a read. http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/ Don't shoot the messenger if it isn't applicable. jack On Fri, Aug 10, 2012 at 8:38 AM, jwcolby wrote: > I have written a function to perform an insert using a passed in SQL > string. I need it to return an integer PK autoincremented by the table: > > public int mExecNonQueryReturnIdentity(**string strCnn, string strSQL, > int timeOut) > { > int intIdentity = 0; //reset the records affected property > before we execute > SqlConnection mCnn = null; //setup a sql connection object > SqlCommand myCommand = null; //setup a sql command object > try > { > mCnn = new SqlConnection(strCnn); //create a new sql > connection using the connection string passed in > mCnn.Open(); //open the connection > myCommand = new SqlCommand(strSQL, mCnn); //create a > new command using the sql connection and sql statment > myCommand.CommandTimeout = 60; //set the command time > out > SqlParameter param = new SqlParameter("@ID", > SqlDbType.Int, 4); > param.Direction = ParameterDirection.Output; > myCommand.Parameters.Add(**param); > > myCommand.ExecuteNonQuery(); //execute the sql > statement and set the records affected property > intIdentity = (int)param.Value; > } > catch (SqlException ex) > { > logger.Error(ex.ToString()); > } > return intIdentity ; > } > > The SQL statement looks like: > > string strSQLInsert = "INSERT INTO " + dbName + ".dbo." + tblName + " " + > "(" + > "CSS_Name," + > "CSS_DteStart" + > ") " + > "VALUES " + > "(" + > "'DatabaseCrossReferenceCount_**" + strNow + "'," + > "'" + strNow + "' " + > "); " + > "SELECT @@IDENTITY AS 'ID'" > ; > > PK = mExecNonQueryReturnIdentity(**cnn, strSQLInsert, 600); > > The record is inserted into the table but param in > mExecNonQueryReturnIdentity is {} which is null I suppose. As a result i > fall into the catch saying that the (int) "specified cast is not valid". I > am trying to cast a null to an int. But the question is why is the > returned value a null instead of an integer ID. > > There are a ton of hits on google about how to do this but they always > break down into quarrels about "This is not safe and that is not safe and > ...". All the safe issues should not apply in my specific case because I > am controlling the context by doing this from my C# code. > > I think the best solution seems to be doing the output parameter and > passing something back which is the ID but I can't seem to figure out which > part - the sql statement or the c# function (or both?) is in error. > > Any help greatly appreciated. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From member at linkedin.com Fri Aug 10 16:27:15 2012 From: member at linkedin.com (David McAfee via LinkedIn) Date: Fri, 10 Aug 2012 21:27:15 +0000 (UTC) Subject: [AccessD] Invitation to connect on LinkedIn Message-ID: <1397592880.3545821.1344634035476.JavaMail.app@ela4-app0135.prod> LinkedIn ------------ David McAfee requested to add you as a connection on LinkedIn: ------------------------------------------ Doris, I'd like to add you to my professional network on LinkedIn. - David Accept invitation from David McAfee http://www.linkedin.com/e/s2e3k1-h5psdxxq-n/GJGqr_Xcuww-eupoeCwqfm8l9PqY0AZwZCdqO6vpjBw/blk/I270284919_16/0UcDpKqiRzolZKqiRybmRSrCBvrmRLoORIrmkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYSclYVcjAQe38MdP99bTBldR5Kt2RbbPwRejwUdjwUcjwLrCBxbOYWrSlI/eml-comm_invm-b-in_ac-inv28/?hs=false&tok=37ISrpMUZ7Zlk1 View profile of David McAfee http://www.linkedin.com/e/s2e3k1-h5psdxxq-n/rso/8574375/eNhS/name/16418335_I270284919_16/?hs=false&tok=1g9pb_mEd7Zlk1 ------------------------------------------ You are receiving Invitation emails. This email was intended for Doris Manning. Learn why this is included: http://www.linkedin.com/e/s2e3k1-h5psdxxq-n/plh/http%3A%2F%2Fhelp%2Elinkedin%2Ecom%2Fapp%2Fanswers%2Fdetail%2Fa_id%2F4788/-GXI/?hs=false&tok=10u04ghWB7Zlk1 (c) 2012, LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA. From gustav at cactus.dk Sat Aug 11 02:10:08 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 11 Aug 2012 09:10:08 +0200 Subject: [AccessD] Upsize Wizard to SQL Server: Change schema? Message-ID: Hi all OK, I found out that the SQL Server Migration Assistant lets you do this: http://blogs.technet.com/b/dataplatforminsider/archive/2012/01/30/microsoft-sql-server-migration-assistant-5-2-is-now-available.aspx /gustav >>> gustav at cactus.dk 09-08-12 17:45 >>> Hi all I'm using the upsize wizard in A2010 to SQL Server. When I use it with my SQL Server 2008 R2 Express, it creates tables using the schema dbo: dbo.SomeTable However, if I it run against an existing database on a non-local SQL Server 2008 R2, where I've used other credentials to create the database, the database file (of course) does not have me as user as the owner. This seems to force the created tables to use my credentials as the schema, like MyDomain\Gustav. Thus, tables are named: MyDomain\Gustav.SomeTable This is fine if the tables were "mine" but they are not How can I prevent this? /gustav From jwcolby at colbyconsulting.com Sat Aug 11 05:24:01 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2012 06:24:01 -0400 Subject: [AccessD] Upsize Wizard to SQL Server: Change schema? In-Reply-To: References: Message-ID: <502632C1.1000503@colbyconsulting.com> Cool! I shall be using this ASAP on a client's Access BE. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/11/2012 3:10 AM, Gustav Brock wrote: > Hi all > > OK, I found out that the SQL Server Migration Assistant lets you do this: > > http://blogs.technet.com/b/dataplatforminsider/archive/2012/01/30/microsoft-sql-server-migration-assistant-5-2-is-now-available.aspx > > /gustav > > >>>> gustav at cactus.dk 09-08-12 17:45 >>> > Hi all > > I'm using the upsize wizard in A2010 to SQL Server. > > When I use it with my SQL Server 2008 R2 Express, it creates tables using the schema dbo: > > dbo.SomeTable > > However, if I it run against an existing database on a non-local SQL Server 2008 R2, where I've used other credentials to create the database, the database file (of course) does not have me as user as the owner. This seems to force the created tables to use my credentials as the schema, like MyDomain\Gustav. Thus, tables are named: > > MyDomain\Gustav.SomeTable > > This is fine if the tables were "mine" but they are not > How can I prevent this? > > /gustav > From accessd at shaw.ca Sat Aug 11 10:56:56 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 11 Aug 2012 08:56:56 -0700 Subject: [AccessD] Upsize Wizard to SQL Server: Change schema? In-Reply-To: References: Message-ID: It is pleasing to note that every major player, Microsoft, Oracle and others have created a series of convertors that make it so easy to import into their particular database. Oracle has a couple of apps that convert from x to Oracle DB and MySQL and it is good to see Microsoft also created the appropriate tools. Thanks Gustav, I will keep your link handy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, August 11, 2012 12:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Upsize Wizard to SQL Server: Change schema? Hi all OK, I found out that the SQL Server Migration Assistant lets you do this: http://blogs.technet.com/b/dataplatforminsider/archive/2012/01/30/microsoft- sql-server-migration-assistant-5-2-is-now-available.aspx /gustav >>> gustav at cactus.dk 09-08-12 17:45 >>> Hi all I'm using the upsize wizard in A2010 to SQL Server. When I use it with my SQL Server 2008 R2 Express, it creates tables using the schema dbo: dbo.SomeTable However, if I it run against an existing database on a non-local SQL Server 2008 R2, where I've used other credentials to create the database, the database file (of course) does not have me as user as the owner. This seems to force the created tables to use my credentials as the schema, like MyDomain\Gustav. Thus, tables are named: MyDomain\Gustav.SomeTable This is fine if the tables were "mine" but they are not How can I prevent this? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Aug 11 11:37:38 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 11 Aug 2012 20:37:38 +0400 Subject: [AccessD] =?utf-8?q?c=23=3A_Get_identity_value_back_from_SQL_Serv?= =?utf-8?q?er?= In-Reply-To: <502500DF.4030802@colbyconsulting.com> References: <502500DF.4030802@colbyconsulting.com> Message-ID: <1344703058.907623375@f92.mail.ru> Hi John -- Here is a working solution: http://stackoverflow.com/questions/9645009/i-have-inserted-a-row-i-want-to-get-its-id-and-plus-it-with-an-int-and-insert Thank you. -- Shamil Fri, 10 Aug 2012 08:38:55 -0400 ?? jwcolby : > > > > >I have written a function to perform an insert using a passed in SQL string. I need it to return an > integer PK autoincremented by the table: > > public int mExecNonQueryReturnIdentity(string strCnn, string strSQL, int timeOut) > { > int intIdentity = 0; //reset the records affected property before we execute > SqlConnection mCnn = null; //setup a sql connection object > SqlCommand myCommand = null; //setup a sql command object > ?????????try > ?????????{ > ????????? mCnn = new SqlConnection(strCnn); //create a new sql connection using the connection > string passed in > ?????????????????mCnn.Open(); //open the connection > ?????????????????myCommand = new SqlCommand(strSQL, mCnn); //create a new command using the > sql connection and sql statment > ?????????????????myCommand.CommandTimeout = 60; //set the command time out > ?????????????????SqlParameter param = new SqlParameter("@ID", SqlDbType.Int, 4); > ?????????????????param.Direction = ParameterDirection.Output; > ?????????????????myCommand.Parameters.Add(param); > > ?????????????????myCommand.ExecuteNonQuery(); //execute the sql statement and set the records > affected property > ?????????????????intIdentity = (int)param.Value; > ?????? } > ?????????catch (SqlException ex) > ?????????{ > ????????? logger.Error(ex.ToString()); > ?????????} > return intIdentity ; > } > > The SQL statement looks like: > > string strSQLInsert = "INSERT INTO " + dbName + ".dbo." + tblName + " " + > "(" + > ?????????"CSS_Name," + > ?????????"CSS_DteStart" + > ?????????") " + > ?????????"VALUES " + > ?????????"(" + > ?????????"'DatabaseCrossReferenceCount_" + strNow + "'," + > ?????????"'" + strNow + "' " + > ?????????"); " + > ?????????"SELECT @@IDENTITY AS 'ID'" > ?????????; > > PK = mExecNonQueryReturnIdentity(cnn, strSQLInsert, 600); > > The record is inserted into the table but param in mExecNonQueryReturnIdentity is {} which is null I > suppose. As a result i fall into the catch saying that the (int) "specified cast is not valid". I > am trying to cast a null to an int. But the question is why is the returned value a null instead of > an integer ID. > > There are a ton of hits on google about how to do this but they always break down into quarrels > about "This is not safe and that is not safe and ...". All the safe issues should not apply in my > specific case because I am controlling the context by doing this from my C# code. > > I think the best solution seems to be doing the output parameter and passing something back which is > the ID but I can't seem to figure out which part - the sql statement or the c# function (or both?) > is in error. > > Any help greatly appreciated. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Aug 11 12:08:30 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2012 13:08:30 -0400 Subject: [AccessD] c#: Get identity value back from SQL Server In-Reply-To: <1344703058.907623375@f92.mail.ru> References: <502500DF.4030802@colbyconsulting.com> <1344703058.907623375@f92.mail.ru> Message-ID: <5026918E.4040309@colbyconsulting.com> Thanks! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/11/2012 12:37 PM, Salakhetdinov Shamil wrote: > Hi John -- > > Here is a working solution: > > http://stackoverflow.com/questions/9645009/i-have-inserted-a-row-i-want-to-get-its-id-and-plus-it-with-an-int-and-insert > > Thank you. > > -- Shamil > > > Fri, 10 Aug 2012 08:38:55 -0400 ?? jwcolby : >> >> >> > > >> > > > >> I have written a function to perform an insert using a passed in SQL string. I need it to return an >> > integer PK autoincremented by the table: >> >> > public int mExecNonQueryReturnIdentity(string strCnn, string strSQL, int timeOut) >> > { >> > int intIdentity = 0; //reset the records affected property before we execute >> > SqlConnection mCnn = null; //setup a sql connection object >> > SqlCommand myCommand = null; //setup a sql command object >> > try >> > { >> > mCnn = new SqlConnection(strCnn); //create a new sql connection using the connection >> > string passed in >> > mCnn.Open(); //open the connection >> > myCommand = new SqlCommand(strSQL, mCnn); //create a new command using the >> > sql connection and sql statment >> > myCommand.CommandTimeout = 60; //set the command time out >> > SqlParameter param = new SqlParameter("@ID", SqlDbType.Int, 4); >> > param.Direction = ParameterDirection.Output; >> > myCommand.Parameters.Add(param); >> >> > myCommand.ExecuteNonQuery(); //execute the sql statement and set the records >> > affected property >> > intIdentity = (int)param.Value; >> > } >> > catch (SqlException ex) >> > { >> > logger.Error(ex.ToString()); >> > } >> > return intIdentity ; >> > } >> >> > The SQL statement looks like: >> >> > string strSQLInsert = "INSERT INTO " + dbName + ".dbo." + tblName + " " + >> > "(" + >> > "CSS_Name," + >> > "CSS_DteStart" + >> > ") " + >> > "VALUES " + >> > "(" + >> > "'DatabaseCrossReferenceCount_" + strNow + "'," + >> > "'" + strNow + "' " + >> > "); " + >> > "SELECT @@IDENTITY AS 'ID'" >> > ; >> >> > PK = mExecNonQueryReturnIdentity(cnn, strSQLInsert, 600); >> >> > The record is inserted into the table but param in mExecNonQueryReturnIdentity is {} which is null I >> > suppose. As a result i fall into the catch saying that the (int) "specified cast is not valid". I >> > am trying to cast a null to an int. But the question is why is the returned value a null instead of >> > an integer ID. >> >> > There are a ton of hits on google about how to do this but they always break down into quarrels >> > about "This is not safe and that is not safe and ...". All the safe issues should not apply in my >> > specific case because I am controlling the context by doing this from my C# code. >> >> > I think the best solution seems to be doing the output parameter and passing something back which is >> > the ID but I can't seem to figure out which part - the sql statement or the c# function (or both?) >> > is in error. >> >> > Any help greatly appreciated. >> >> From dbdoug at gmail.com Sat Aug 11 13:42:20 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 11 Aug 2012 11:42:20 -0700 Subject: [AccessD] Access 2007 rtf fields Message-ID: Hello all: Has anyone used rft fields in Access 2007? Are the formats quite limited compared to 'real' rtf, like Word uses? In particular I would like to format subscripts and superscripts. I'm quite confused right now. Here's what I've found: 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b bold} text} doesn't work (either pasting direct or inserting with VBA). The field treats the formatting codes as text. 2. Inserting (some) html codes does work: "This is bold text" formats correctly. "This is supposed to be a subscript" doesn't. 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 works. 4. Copying and pasting rtf formatted code from Word to Access works only for the limited selection of formats shown in the Access formatting toolbar, but not for subscripts etc. Is is possible to use real rtf codes? What's with the html formatting? Is there a list somewhere of html codes that work? Thanks, Doug From dw-murphy at cox.net Sat Aug 11 14:40:37 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 11 Aug 2012 12:40:37 -0700 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: References: Message-ID: <008301cd77f9$2ee7aef0$8cb70cd0$@cox.net> I am using the RT formatting in a memo field where we store html for items that are uploaded to EBay. I use regular html tags for the content and display the content in Access in an text box set to RT format. The html tags are pretty simple for text formatting, line breaks etc. The text displays with formatting in the text box in an access form. Have not tried superscript tags, or anything exotic. That is my limited experience with A2010 RT formatting. Worked for my requirement. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, August 11, 2012 11:42 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 rtf fields Hello all: Has anyone used rft fields in Access 2007? Are the formats quite limited compared to 'real' rtf, like Word uses? In particular I would like to format subscripts and superscripts. I'm quite confused right now. Here's what I've found: 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b bold} text} doesn't work (either pasting direct or inserting with VBA). The field treats the formatting codes as text. 2. Inserting (some) html codes does work: "This is bold text" formats correctly. "This is supposed to be a subscript" doesn't. 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 works. 4. Copying and pasting rtf formatted code from Word to Access works only for the limited selection of formats shown in the Access formatting toolbar, but not for subscripts etc. Is is possible to use real rtf codes? What's with the html formatting? Is there a list somewhere of html codes that work? Thanks, Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Aug 11 18:15:58 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 11 Aug 2012 19:15:58 -0400 Subject: [AccessD] Invitation to connect on LinkedIn In-Reply-To: <1397592880.3545821.1344634035476.JavaMail.app@ela4-app0135.prod> References: <1397592880.3545821.1344634035476.JavaMail.app@ela4-app0135.prod> Message-ID: It would be my pleasure to be invited to your club. On Fri, Aug 10, 2012 at 5:27 PM, David McAfee via LinkedIn < member at linkedin.com> wrote: > LinkedIn > ------------ > > > > > David McAfee requested to add you as a connection on LinkedIn: > > From davidmcafee at gmail.com Sat Aug 11 18:48:07 2012 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 11 Aug 2012 16:48:07 -0700 Subject: [AccessD] Invitation to connect on LinkedIn In-Reply-To: References: <1397592880.3545821.1344634035476.JavaMail.app@ela4-app0135.prod> Message-ID: Sorry. I went to do something on linked in at it emailed an invite to everyone in my contact list, which in gmail is everyone I've emailed. Sent from my Droid phone. On Aug 11, 2012 4:17 PM, "Arthur Fuller" wrote: > It would be my pleasure to be invited to your club. > > On Fri, Aug 10, 2012 at 5:27 PM, David McAfee via LinkedIn < > member at linkedin.com> wrote: > > > LinkedIn > > ------------ > > > > > > > > > > David McAfee requested to add you as a connection on LinkedIn: > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Sat Aug 11 19:08:56 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 11 Aug 2012 17:08:56 -0700 Subject: [AccessD] Invitation to connect on LinkedIn In-Reply-To: References: <1397592880.3545821.1344634035476.JavaMail.app@ela4-app0135.prod> Message-ID: <9716C460-FA14-4143-BE66-A91C94314B53@phulse.com> Denied! Ouch :) Hans On 2012-08-11, at 4:48 PM, David McAfee wrote: > Sorry. I went to do something on linked in at it emailed an invite to > everyone in my contact list, which in gmail is everyone I've emailed. > > Sent from my Droid phone. > On Aug 11, 2012 4:17 PM, "Arthur Fuller" wrote: > >> It would be my pleasure to be invited to your club. >> >> On Fri, Aug 10, 2012 at 5:27 PM, David McAfee via LinkedIn < >> member at linkedin.com> wrote: >> >>> LinkedIn >>> ------------ >>> >>> >>> >>> >>> David McAfee requested to add you as a connection on LinkedIn: >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Aug 12 03:13:25 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 12 Aug 2012 10:13:25 +0200 Subject: [AccessD] Access 2007 rtf fields Message-ID: Hi Doug The "rich text" fields of A2007+ are not RichText (rtf) but HTML. To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. This can, however, be hard obtain and license but it is possible. /gustav >>> dbdoug at gmail.com 11-08-12 20:42 >>> Hello all: Has anyone used rft fields in Access 2007? Are the formats quite limited compared to 'real' rtf, like Word uses? In particular I would like to format subscripts and superscripts. I'm quite confused right now. Here's what I've found: 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b bold} text} doesn't work (either pasting direct or inserting with VBA). The field treats the formatting codes as text. 2. Inserting (some) html codes does work: "This is bold text" formats correctly. "This is supposed to be a subscript" doesn't. 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 works. 4. Copying and pasting rtf formatted code from Word to Access works only for the limited selection of formats shown in the Access formatting toolbar, but not for subscripts etc. Is is possible to use real rtf codes? What's with the html formatting? Is there a list somewhere of html codes that work? Thanks, Doug From dbdoug at gmail.com Sun Aug 12 09:25:35 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 12 Aug 2012 07:25:35 -0700 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: References: Message-ID: Thanks Gustav and (other) Doug: Can you point me at any detailed reference for this HTML 'rich text'? Thanks, Doug On Sun, Aug 12, 2012 at 1:13 AM, Gustav Brock wrote: > Hi Doug > > The "rich text" fields of A2007+ are not RichText (rtf) but HTML. > > To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. > This can, however, be hard obtain and license but it is possible. > > /gustav > > >>>> dbdoug at gmail.com 11-08-12 20:42 >>> > Hello all: > > Has anyone used rft fields in Access 2007? Are the formats quite > limited compared to 'real' rtf, like Word uses? In particular I would > like to format subscripts and superscripts. I'm quite confused right > now. Here's what I've found: > > 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b > bold} text} doesn't work (either pasting direct or inserting with > VBA). The field treats the formatting codes as text. > 2. Inserting (some) html codes does work: "This is bold > text" formats correctly. "This is supposed to be a > subscript" doesn't. > 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 works. > 4. Copying and pasting rtf formatted code from Word to Access works > only for the limited selection of formats shown in the Access > formatting toolbar, but not for subscripts etc. > > Is is possible to use real rtf codes? > What's with the html formatting? Is there a list somewhere of html > codes that work? > > Thanks, > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Aug 12 19:06:03 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Aug 2012 20:06:03 -0400 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: References: Message-ID: Found this on Techrepublic. I hope it's may be useful. http://www.techrepublic.com/blog/msoffice/how-to-work-with-rich-text-in-access-2007-and-2010/4795 Good luck. On Sun, Aug 12, 2012 at 10:25 AM, Doug Steele wrote: > Thanks Gustav and (other) Doug: > > Can you point me at any detailed reference for this HTML 'rich text'? > > Thanks, > Doug > > On Sun, Aug 12, 2012 at 1:13 AM, Gustav Brock wrote: > > Hi Doug > > > > The "rich text" fields of A2007+ are not RichText (rtf) but HTML. > > > > To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. > > This can, however, be hard obtain and license but it is possible. > > > > /gustav > > > > > >>>> dbdoug at gmail.com 11-08-12 20:42 >>> > > Hello all: > > > > Has anyone used rft fields in Access 2007? Are the formats quite > > limited compared to 'real' rtf, like Word uses? In particular I would > > like to format subscripts and superscripts. I'm quite confused right > > now. Here's what I've found: > > > > 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b > > bold} text} doesn't work (either pasting direct or inserting with > > VBA). The field treats the formatting codes as text. > > 2. Inserting (some) html codes does work: "This is bold > > text" formats correctly. "This is supposed to be a > > subscript" doesn't. > > 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 > works. > > 4. Copying and pasting rtf formatted code from Word to Access works > > only for the limited selection of formats shown in the Access > > formatting toolbar, but not for subscripts etc. > > > > Is is possible to use real rtf codes? > > What's with the html formatting? Is there a list somewhere of html > > codes that work? > > > > Thanks, > > Doug > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Sun Aug 12 19:52:05 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 12 Aug 2012 20:52:05 -0400 Subject: [AccessD] Tab control Message-ID: I'm wondering if the tab control has seen much improvement in the ribbon versions? I'm working on a pro bono database and given the ribbon/tab flood throughout the internet -- they're everywhere -- it seems like a tab control would be a great tool for this particular client, instead of the old menu-based central form. Has this control seen many changes or does it work as it always has? Susan H. From charlotte.foust at gmail.com Sun Aug 12 20:22:49 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 12 Aug 2012 18:22:49 -0700 Subject: [AccessD] Tab control In-Reply-To: References: Message-ID: >From my perspective, it works the way it always has. I'm using them in an app I'm building now in a number of places to provide ways for users to quickly get at related information without having to click through menus. I even figured out how to give the appearance of nested tab controls --it's ugly and you have to do the individual tab controls in other forms until they're the way you want them before pasting them on the target form, but it works. You still have to use the Change event to respond to the thing and there aren't any new and improved methods or properties that I've noticed. Charlotte On Sun, Aug 12, 2012 at 5:52 PM, Susan Harkins wrote: > I'm wondering if the tab control has seen much improvement in the ribbon > versions? I'm working on a pro bono database and given the ribbon/tab flood > throughout the internet -- they're everywhere -- it seems like a tab > control would be a great tool for this particular client, instead of the > old menu-based central form. > > Has this control seen many changes or does it work as it always has? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Sun Aug 12 22:34:51 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 12 Aug 2012 23:34:51 -0400 Subject: [AccessD] Tab control In-Reply-To: References: Message-ID: <003401cd7904$994e7ba0$cbeb72e0$@net> I beseech anyone using the vaunted "Ribbon" to embrace Albert Kallal's object oriented approach. To me: it's been incredibly positive. Very slick. Albert really did his homework on this one. He spotted the problem, understood the best solution, and delivered with the best implementation. Note: Any other approach results in extreme difficulty in making changes. From adtp at airtelmail.in Mon Aug 13 03:17:54 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Mon, 13 Aug 2012 13:47:54 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> Message-ID: J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ Form_SplitFormSimulated (Sample Db) Explanatory Notes: =========================== This sample db demonstrates a simulated split form. It has two adjacent subforms, one below the other, separated by a divider bar. Top subform serves as single form while the bottom one represents datasheet portion. There is two way synchronization between single form and datasheet. Comparative vertical space available for the two subforms can be adjusted at run time by dragging the divider bar up or down. Some of the salient features are listed below: 1 - Ease of adaptation: The developer wishing to make an adaptation of this sample db has to simply assign his single form as source object for the top subform. Based upon generic template, datasheet portion of split form gets generated automatically in the bottom subform, displaying columns matching bound controls in the single form above. 2 - Consolidation of code in a wrapper class: Necessary code for integrated coordination between main form as well as its two subforms is consolidated in a wrapper class, instantiated in open event of main form. This class has pointers to both the subforms as well as the main form. Nominal code for raising certain custom events has been added to existing code in single form's module. 3 - No added burden for data loading: Datasheet subform uses the recordset already loaded for single form, thus avoiding any additional burden. 4 - Divider bar: (a) Divider bar can be dragged for dynamic expansion / shrinkage of datasheet and single form heights at run time. (b) On opening the split form, divider bar assumes the position last held in previous session. 5 - Re-sizing of nominated controls on single form: For added convenience, certain controls on single form, e.g. text box bound to memo field or even an image control, can be slated for vertical re-sizing so as to best utilize the available space resulting from divider bar movement. Tag property of such controls should include the word ReSize. In the sample db, such a behavior is demonstrated for control named Synopsis, bound to memo field. 6 - Hiding / Un-hiding of datasheet columns: On opening, datasheet columns matching memo fields are in hidden state. The user can hide any other column by double clicking the same. Similarly, any column can be un-hidden by double clicking the matching bound control on single form. 7 - Auto adjustment of datasheet column widths: (a) At any given stage, the width of displayed columns gets adjusted automatically, so as to ensure optimum utilization of available width of datasheet window, duly taking into account the latest status of hidden / un-hidden columns. (b) For a given single form, on opening for the very first time, datasheet columns assume equal width, suiting available space. Thereafter, if the user has manually adjusted the column widths, any further automated adjustment of column widths in response to hiding / un-hiding of columns is carried out in such a manner as to retain relative proportion of column widths. (c) On click of a command button, the user has the option to reset all column widths equally distributed, as if it were the first opening of form. 8 - Highlights: (a) When a datasheet column is in hidden state, corresponding control in single form gets highlighted in light grey. As and when the column is un-hidden, matching control on single form reverts to its normal color. (b) Current row in datasheet gets highlighted in light green. (c) As the user tabs from one control to the other on single form, matching cell on current row of datasheet gets highlighted in distinct color (say light maroon). 9 - Search Action - Positioning of destination row in datasheet window: Based upon search action performed via suitable controls (like combo box etc) on the single form, the destination row on datasheet gets positioned at middle of display window. This takes into account dynamic height of datasheet window, resulting from movement of divider bar. Usage: 1 - Incorporation of a new single form (other than the one included in this sample) in split form arrangement. 1.1 - Place following two statements in declarations section of VBA module pertaining to the form planned to be used as single form. Public Event EvFilter() Public Event EvSearchDone(fm As Access.Form, AbsPos As Long) 1.2 - In single form's VBA module, insert the following statement after each code block that affects form's filter state: RaiseEvent EvFilter 1.3 - Similarly, insert the following statement after the code block meant for performing search action: RaiseEvent EvSearchDone(Me, Me.Recordset .AbsolutePosition) 1.4 - In declarations section of code module for class C_SplitForm, modify the following statement so as to match the name of single form actually used by you: Private WithEvents msfmSF2 As Form_FSub_Single (For example, if your form's name is MyForm, it will read Private WithEvents msfmSF2 As Form_MyForm) 2 - Integrated wrapper class C_SplitForm is incorporated in the module of main form F_Main as follows: 2.1 - Following statement is in F_Main's declarations section: Private mfm As C_SplitForm 2.2 - Following code is in F_Main's open event: Set mfm = New C_SplitForm mfm.P_Init Me, Me.SF_A, Me.SF_B, Me.SF_Ref, Me.LbDiv Note: (a) Subform control at top, i.e. SF_A holds the single form while SF_B holds the datasheet form. (b) Hidden subform control named SF_Ref holds a single record subform for storing the position of divider bar as well as name of single form - at close of session. (c) Label LbDiv serves as the divider bar. It can be dragged up & down as desired. (d) Setting of mfm to Nothing is carried out in close event of mfmMain in wrapper class C_SplitForm, so as to ensure proper termination of the class. (Care should be exercised Not To set mfm to Nothing in real form's module, for example in its close event, as that would interfere with smooth termination of wrapper class. - Also see remarks in close event of mfmMain in this class). (e) Class C_SplitFormControls is a child class of wrapper class C_SplitForm. (f) Generic datasheet form used in bottom subform control (SF_B) has no code in its VBA module. It has 200 unbound text boxes along with corresponding attached labels so as to cater up to 200 columns. Version: Access 2000 file format. References: DAO 3.6 A special note of thanks to John W. Colby (of Colby Consulting) for kindly providing valuable insights and willingly sharing his vast expertise in the field of classes. ================================== From robert at servicexp.com Mon Aug 13 06:23:00 2012 From: robert at servicexp.com (Robert) Date: Mon, 13 Aug 2012 07:23:00 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> Message-ID: <001501cd7946$0171cfc0$04556f40$@com> Just a note: If you click on the "filter" button on the upper form, it breaks the synchronization between the 2 forms. I have not had a chance to investigate as I'm heading out the door. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ Form_SplitFormSimulated (Sample Db) Explanatory Notes: =========================== This sample db demonstrates a simulated split form. It has two adjacent subforms, one below the other, separated by a divider bar. Top subform serves as single form while the bottom one represents datasheet portion. There is two way synchronization between single form and datasheet. Comparative vertical space available for the two subforms can be adjusted at run time by dragging the divider bar up or down. Some of the salient features are listed below: 1 - Ease of adaptation: The developer wishing to make an adaptation of this sample db has to simply assign his single form as source object for the top subform. Based upon generic template, datasheet portion of split form gets generated automatically in the bottom subform, displaying columns matching bound controls in the single form above. 2 - Consolidation of code in a wrapper class: Necessary code for integrated coordination between main form as well as its two subforms is consolidated in a wrapper class, instantiated in open event of main form. This class has pointers to both the subforms as well as the main form. Nominal code for raising certain custom events has been added to existing code in single form's module. 3 - No added burden for data loading: Datasheet subform uses the recordset already loaded for single form, thus avoiding any additional burden. 4 - Divider bar: (a) Divider bar can be dragged for dynamic expansion / shrinkage of datasheet and single form heights at run time. (b) On opening the split form, divider bar assumes the position last held in previous session. 5 - Re-sizing of nominated controls on single form: For added convenience, certain controls on single form, e.g. text box bound to memo field or even an image control, can be slated for vertical re-sizing so as to best utilize the available space resulting from divider bar movement. Tag property of such controls should include the word ReSize. In the sample db, such a behavior is demonstrated for control named Synopsis, bound to memo field. 6 - Hiding / Un-hiding of datasheet columns: On opening, datasheet columns matching memo fields are in hidden state. The user can hide any other column by double clicking the same. Similarly, any column can be un-hidden by double clicking the matching bound control on single form. 7 - Auto adjustment of datasheet column widths: (a) At any given stage, the width of displayed columns gets adjusted automatically, so as to ensure optimum utilization of available width of datasheet window, duly taking into account the latest status of hidden / un-hidden columns. (b) For a given single form, on opening for the very first time, datasheet columns assume equal width, suiting available space. Thereafter, if the user has manually adjusted the column widths, any further automated adjustment of column widths in response to hiding / un-hiding of columns is carried out in such a manner as to retain relative proportion of column widths. (c) On click of a command button, the user has the option to reset all column widths equally distributed, as if it were the first opening of form. 8 - Highlights: (a) When a datasheet column is in hidden state, corresponding control in single form gets highlighted in light grey. As and when the column is un-hidden, matching control on single form reverts to its normal color. (b) Current row in datasheet gets highlighted in light green. (c) As the user tabs from one control to the other on single form, matching cell on current row of datasheet gets highlighted in distinct color (say light maroon). 9 - Search Action - Positioning of destination row in datasheet window: Based upon search action performed via suitable controls (like combo box etc) on the single form, the destination row on datasheet gets positioned at middle of display window. This takes into account dynamic height of datasheet window, resulting from movement of divider bar. Usage: 1 - Incorporation of a new single form (other than the one included in this sample) in split form arrangement. 1.1 - Place following two statements in declarations section of VBA module pertaining to the form planned to be used as single form. Public Event EvFilter() Public Event EvSearchDone(fm As Access.Form, AbsPos As Long) 1.2 - In single form's VBA module, insert the following statement after each code block that affects form's filter state: RaiseEvent EvFilter 1.3 - Similarly, insert the following statement after the code block meant for performing search action: RaiseEvent EvSearchDone(Me, Me.Recordset .AbsolutePosition) 1.4 - In declarations section of code module for class C_SplitForm, modify the following statement so as to match the name of single form actually used by you: Private WithEvents msfmSF2 As Form_FSub_Single (For example, if your form's name is MyForm, it will read Private WithEvents msfmSF2 As Form_MyForm) 2 - Integrated wrapper class C_SplitForm is incorporated in the module of main form F_Main as follows: 2.1 - Following statement is in F_Main's declarations section: Private mfm As C_SplitForm 2.2 - Following code is in F_Main's open event: Set mfm = New C_SplitForm mfm.P_Init Me, Me.SF_A, Me.SF_B, Me.SF_Ref, Me.LbDiv Note: (a) Subform control at top, i.e. SF_A holds the single form while SF_B holds the datasheet form. (b) Hidden subform control named SF_Ref holds a single record subform for storing the position of divider bar as well as name of single form - at close of session. (c) Label LbDiv serves as the divider bar. It can be dragged up & down as desired. (d) Setting of mfm to Nothing is carried out in close event of mfmMain in wrapper class C_SplitForm, so as to ensure proper termination of the class. (Care should be exercised Not To set mfm to Nothing in real form's module, for example in its close event, as that would interfere with smooth termination of wrapper class. - Also see remarks in close event of mfmMain in this class). (e) Class C_SplitFormControls is a child class of wrapper class C_SplitForm. (f) Generic datasheet form used in bottom subform control (SF_B) has no code in its VBA module. It has 200 unbound text boxes along with corresponding attached labels so as to cater up to 200 columns. Version: Access 2000 file format. References: DAO 3.6 A special note of thanks to John W. Colby (of Colby Consulting) for kindly providing valuable insights and willingly sharing his vast expertise in the field of classes. ================================== -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Aug 13 06:40:37 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2012 07:40:37 -0400 Subject: [AccessD] Tab control References: Message-ID: <5B6C5BA4F4514E1AAD812E52FE9B36FF@SusanHarkins> Thanks Charlotte! That's helpful! Better the devil ya know, ya know. :) Susan H. > it works. You still have to use the Change event to respond to the thing > and there aren't any new and improved methods or properties that I've > noticed. > > Charlotte From adtp at airtelmail.in Mon Aug 13 07:03:50 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Mon, 13 Aug 2012 17:33:50 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as wellas built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> <001501cd7946$0171cfc0$04556f40$@com> Message-ID: <718887079A2D4BD5942B57BA03B756DC@personal4a8ede> Robert, Could you kindly explain further? In the upper subform, there is an option group with three toggle buttons. Combo box row source depends upon the status of option group. If option group selection is either of first two buttons, the combo box acts as a filter for the category specified by option group. For example, for first button of option group, combo box drop down list displays author names and filter gets applied as per author selected. Similar action is performed for Topic, if option group selection happens to be the second button. On the other hand, if third button of option group is clicked, all filters get cleared and the role of combo box gets transformed to that of a search box. On selection of desired BookID, the form navigates to corresponding record in both subforms. As an added convenience, the destination record in bottom subform gets positioned at middle of datasheet display window. Note: The sample is developed on Access 2003 (Win XP). Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Monday, August 13, 2012 16:53 Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Just a note: If you click on the "filter" button on the upper form, it breaks the synchronization between the 2 forms. I have not had a chance to investigate as I'm heading out the door. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ From charlotte.foust at gmail.com Mon Aug 13 09:16:54 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 13 Aug 2012 07:16:54 -0700 Subject: [AccessD] Tab control In-Reply-To: <003401cd7904$994e7ba0$cbeb72e0$@net> References: <003401cd7904$994e7ba0$cbeb72e0$@net> Message-ID: Sorry, Mark, but I don't get the connection. Do you have a link to share? Charlotte On Sun, Aug 12, 2012 at 8:34 PM, Mark Simms wrote: > I beseech anyone using the vaunted "Ribbon" to embrace Albert Kallal's > object oriented approach. > To me: it's been incredibly positive. > > Very slick. Albert really did his homework on this one. > He spotted the problem, understood the best solution, and delivered with > the > best implementation. > > Note: Any other approach results in extreme difficulty in making changes. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jackandpat.d at gmail.com Mon Aug 13 09:32:51 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Mon, 13 Aug 2012 10:32:51 -0400 Subject: [AccessD] Tab control In-Reply-To: References: Message-ID: I searched for Albert's site and got this link. Hope it's useful http://www.kallal.ca/Ribbon/ribbon.htm On Sun, Aug 12, 2012 at 9:22 PM, Charlotte Foust wrote: > From my perspective, it works the way it always has. I'm using them in an > app I'm building now in a number of places to provide ways for users to > quickly get at related information without having to click through menus. > I even figured out how to give the appearance of nested tab controls --it's > ugly and you have to do the individual tab controls in other forms until > they're the way you want them before pasting them on the target form, but > it works. You still have to use the Change event to respond to the thing > and there aren't any new and improved methods or properties that I've > noticed. > > Charlotte > On Sun, Aug 12, 2012 at 5:52 PM, Susan Harkins > wrote: > > > I'm wondering if the tab control has seen much improvement in the ribbon > > versions? I'm working on a pro bono database and given the ribbon/tab > flood > > throughout the internet -- they're everywhere -- it seems like a tab > > control would be a great tool for this particular client, instead of the > > old menu-based central form. > > > > Has this control seen many changes or does it work as it always has? > > > > Susan H. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Aug 13 11:21:28 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Aug 2012 09:21:28 -0700 Subject: [AccessD] Odd Mouse Behavior Message-ID: Dear List: I have some very odd mouse behavior on only one application. This is A2K3 and in design view, whatever I do with the mouse doesn't show up on the screen until I click the mouse again. For example, if I want to select a handle on a command button, instead of the cursor turning to the double headed arrow when I mouse over the handle, I have to position it there and then left click again. This is very odd. Any ideas? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From dbdoug at gmail.com Mon Aug 13 11:35:11 2012 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 13 Aug 2012 09:35:11 -0700 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: References: Message-ID: Thanks, Jack. This article confirms what I was discovering by experiment - too bad I didn't find it before I wasted an hour or so. I guess that when MS says 'Rich Text', it means whatever MS wants it to at the time! Doug On Sun, Aug 12, 2012 at 5:06 PM, jack drawbridge wrote: > Found this on Techrepublic. I hope it's may be useful. > http://www.techrepublic.com/blog/msoffice/how-to-work-with-rich-text-in-access-2007-and-2010/4795 > Good luck. > On Sun, Aug 12, 2012 at 10:25 AM, Doug Steele wrote: > >> Thanks Gustav and (other) Doug: >> >> Can you point me at any detailed reference for this HTML 'rich text'? >> >> Thanks, >> Doug >> >> On Sun, Aug 12, 2012 at 1:13 AM, Gustav Brock wrote: >> > Hi Doug >> > >> > The "rich text" fields of A2007+ are not RichText (rtf) but HTML. >> > >> > To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. >> > This can, however, be hard obtain and license but it is possible. >> > >> > /gustav >> > >> > >> >>>> dbdoug at gmail.com 11-08-12 20:42 >>> >> > Hello all: >> > >> > Has anyone used rft fields in Access 2007? Are the formats quite >> > limited compared to 'real' rtf, like Word uses? In particular I would >> > like to format subscripts and superscripts. I'm quite confused right >> > now. Here's what I've found: >> > >> > 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b >> > bold} text} doesn't work (either pasting direct or inserting with >> > VBA). The field treats the formatting codes as text. >> > 2. Inserting (some) html codes does work: "This is bold >> > text" formats correctly. "This is supposed to be a >> > subscript" doesn't. >> > 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 >> works. >> > 4. Copying and pasting rtf formatted code from Word to Access works >> > only for the limited selection of formats shown in the Access >> > formatting toolbar, but not for subscripts etc. >> > >> > Is is possible to use real rtf codes? >> > What's with the html formatting? Is there a list somewhere of html >> > codes that work? >> > >> > Thanks, >> > Doug >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Aug 13 12:11:16 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 13 Aug 2012 13:11:16 -0400 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: References: Message-ID: <1CB1F147DF874D00877E2A5703153D51@XPS> By the way, watch out with RTF formatted in HTML; there is a locking bug when it gets over a page (which is around 360 characters in the RTF). When you hit it, you simply can't add anything more as it always tells you the record is locked by another user even if it's not. I turned it into Microsoft over a year ago, but never heard anything back and it's never been fixed that I'm aware of. The work a round is to not use HTML formatting. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Monday, August 13, 2012 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 rtf fields Thanks, Jack. This article confirms what I was discovering by experiment - too bad I didn't find it before I wasted an hour or so. I guess that when MS says 'Rich Text', it means whatever MS wants it to at the time! Doug On Sun, Aug 12, 2012 at 5:06 PM, jack drawbridge wrote: > Found this on Techrepublic. I hope it's may be useful. > http://www.techrepublic.com/blog/msoffice/how-to-work-with-rich-text-in-acce ss-2007-and-2010/4795 > Good luck. > On Sun, Aug 12, 2012 at 10:25 AM, Doug Steele wrote: > >> Thanks Gustav and (other) Doug: >> >> Can you point me at any detailed reference for this HTML 'rich text'? >> >> Thanks, >> Doug >> >> On Sun, Aug 12, 2012 at 1:13 AM, Gustav Brock wrote: >> > Hi Doug >> > >> > The "rich text" fields of A2007+ are not RichText (rtf) but HTML. >> > >> > To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. >> > This can, however, be hard obtain and license but it is possible. >> > >> > /gustav >> > >> > >> >>>> dbdoug at gmail.com 11-08-12 20:42 >>> >> > Hello all: >> > >> > Has anyone used rft fields in Access 2007? Are the formats quite >> > limited compared to 'real' rtf, like Word uses? In particular I would >> > like to format subscripts and superscripts. I'm quite confused right >> > now. Here's what I've found: >> > >> > 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b >> > bold} text} doesn't work (either pasting direct or inserting with >> > VBA). The field treats the formatting codes as text. >> > 2. Inserting (some) html codes does work: "This is bold >> > text" formats correctly. "This is supposed to be a >> > subscript" doesn't. >> > 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 >> works. >> > 4. Copying and pasting rtf formatted code from Word to Access works >> > only for the limited selection of formats shown in the Access >> > formatting toolbar, but not for subscripts etc. >> > >> > Is is possible to use real rtf codes? >> > What's with the html formatting? Is there a list somewhere of html >> > codes that work? >> > >> > Thanks, >> > Doug >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Aug 13 15:50:52 2012 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 13 Aug 2012 13:50:52 -0700 Subject: [AccessD] Access 2007 rtf fields In-Reply-To: <1CB1F147DF874D00877E2A5703153D51@XPS> References: <1CB1F147DF874D00877E2A5703153D51@XPS> Message-ID: Thanks, Jim. We'd definitely need over 360 characters. In addition, the client wants to do equation editing, so without sub and superscripts the MS HTML 'rich text' isn't going to work. Doug On Mon, Aug 13, 2012 at 10:11 AM, Jim Dettman wrote: > > By the way, watch out with RTF formatted in HTML; there is a locking bug > when it gets over a page (which is around 360 characters in the RTF). > > When you hit it, you simply can't add anything more as it always tells you > the record is locked by another user even if it's not. I turned it into > Microsoft over a year ago, but never heard anything back and it's never been > fixed that I'm aware of. > > The work a round is to not use HTML formatting. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Monday, August 13, 2012 12:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 rtf fields > > Thanks, Jack. > > This article confirms what I was discovering by experiment - too bad I > didn't find it before I wasted an hour or so. I guess that when MS > says 'Rich Text', it means whatever MS wants it to at the time! > > Doug > > On Sun, Aug 12, 2012 at 5:06 PM, jack drawbridge > wrote: >> Found this on Techrepublic. I hope it's may be useful. >> > http://www.techrepublic.com/blog/msoffice/how-to-work-with-rich-text-in-acce > ss-2007-and-2010/4795 >> Good luck. >> On Sun, Aug 12, 2012 at 10:25 AM, Doug Steele wrote: >> >>> Thanks Gustav and (other) Doug: >>> >>> Can you point me at any detailed reference for this HTML 'rich text'? >>> >>> Thanks, >>> Doug >>> >>> On Sun, Aug 12, 2012 at 1:13 AM, Gustav Brock wrote: >>> > Hi Doug >>> > >>> > The "rich text" fields of A2007+ are not RichText (rtf) but HTML. >>> > >>> > To use true rtf you'll have to use the RTF-control of A97-A2003 or VB. >>> > This can, however, be hard obtain and license but it is possible. >>> > >>> > /gustav >>> > >>> > >>> >>>> dbdoug at gmail.com 11-08-12 20:42 >>> >>> > Hello all: >>> > >>> > Has anyone used rft fields in Access 2007? Are the formats quite >>> > limited compared to 'real' rtf, like Word uses? In particular I would >>> > like to format subscripts and superscripts. I'm quite confused right >>> > now. Here's what I've found: >>> > >>> > 1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b >>> > bold} text} doesn't work (either pasting direct or inserting with >>> > VBA). The field treats the formatting codes as text. >>> > 2. Inserting (some) html codes does work: "This is bold >>> > text" formats correctly. "This is supposed to be a >>> > subscript" doesn't. >>> > 3. Copying and pasting rtf formatted code from Access 2007 to Word 2007 >>> works. >>> > 4. Copying and pasting rtf formatted code from Word to Access works >>> > only for the limited selection of formats shown in the Access >>> > formatting toolbar, but not for subscripts etc. >>> > >>> > Is is possible to use real rtf codes? >>> > What's with the html formatting? Is there a list somewhere of html >>> > codes that work? >>> > >>> > Thanks, >>> > Doug >>> > >>> > -- >>> > AccessD mailing list >>> > AccessD at databaseadvisors.com >>> > http://databaseadvisors.com/mailman/listinfo/accessd >>> > Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Aug 13 16:28:11 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 13 Aug 2012 16:28:11 -0500 Subject: [AccessD] Exporting Access to "Text" for Overcoming Corruption Problems References: Message-ID: All, I have seen several posts over time regarding a way to deal with a corrupted Access database by exporting the various components to "text" and then importing them back into Access. I would like to learn more about this process. Is there a way to export all components and then import all components into a new accdb file? Does anyone have an example of how to do this? Thanks, Brad From robert at servicexp.com Mon Aug 13 18:04:21 2012 From: robert at servicexp.com (Robert) Date: Mon, 13 Aug 2012 19:04:21 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as wellas built-in) In-Reply-To: <718887079A2D4BD5942B57BA03B756DC@personal4a8ede> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> <001501cd7946$0171cfc0$04556f40$@com> <718887079A2D4BD5942B57BA03B756DC@personal4a8ede> Message-ID: <001801cd79a7$fc487a00$f4d96e00$@com> I have attached link to a screenshot of the upper forms filter button. Inadvertently hitting that button causes the issue, however when the filter is reset (show all) it works again. Also performing a field search in the lower subform causes the same problem. http://i.imgbox.com/ableG8qd.png WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 8:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Robert, Could you kindly explain further? In the upper subform, there is an option group with three toggle buttons. Combo box row source depends upon the status of option group. If option group selection is either of first two buttons, the combo box acts as a filter for the category specified by option group. For example, for first button of option group, combo box drop down list displays author names and filter gets applied as per author selected. Similar action is performed for Topic, if option group selection happens to be the second button. On the other hand, if third button of option group is clicked, all filters get cleared and the role of combo box gets transformed to that of a search box. On selection of desired BookID, the form navigates to corresponding record in both subforms. As an added convenience, the destination record in bottom subform gets positioned at middle of datasheet display window. Note: The sample is developed on Access 2003 (Win XP). Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Monday, August 13, 2012 16:53 Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Just a note: If you click on the "filter" button on the upper form, it breaks the synchronization between the 2 forms. I have not had a chance to investigate as I'm heading out the door. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Aug 13 18:38:31 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 13 Aug 2012 19:38:31 -0400 Subject: [AccessD] Tab control In-Reply-To: References: Message-ID: <014f01cd79ac$c0037400$400a5c00$@net> Maybe I misunderstood this....the Ribbon is effectively one big tab control ! Strangely, and despite all of the weeping and knashing of teeth over the Ribbon, I've grown to like it and so have my clients. Especially under Excel...where in-sheet GUI controls get distorted and change shape...and are totally and absolutely.. Ugly. From ssharkins at gmail.com Mon Aug 13 18:58:08 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2012 19:58:08 -0400 Subject: [AccessD] Tab control References: <014f01cd79ac$c0037400$400a5c00$@net> Message-ID: <60B1C6C0549B43F79A5841D37A44BA2E@SusanHarkins> We adjust. I don't know if I prefer now because I'm just more familiar with it or if it's really a better design and my brain is saying "Thank you!" Don't know -- doesn't even matter. Susan H. > Strangely, and despite all of the weeping and knashing of teeth over the > Ribbon, > I've grown to like it and so have my clients. From darryl at whittleconsulting.com.au Mon Aug 13 21:25:46 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 14 Aug 2012 02:25:46 +0000 Subject: [AccessD] Exporting Access to "Text" for Overcoming Corruption Problems In-Reply-To: References: , Message-ID: <56653D383CB80341995245C537A9E7B524FE7D00@SINPRD0410MB381.apcprd04.prod.outlook.com> Hey Brad, My very first port of call is to import everything from the old database into a new one. To do this I create the new database and then use the import tool on the ribbon to open up the original database. Select all the tables, modules, forms etc and import. It usually takes less an a minutes and fixes the issue 95% of the time. cheers Darryl ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] on behalf of Brad Marks [BradM at blackforestltd.com] Sent: Tuesday, 14 August 2012 7:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Exporting Access to "Text" for Overcoming Corruption Problems All, I have seen several posts over time regarding a way to deal with a corrupted Access database by exporting the various components to "text" and then importing them back into Access. I would like to learn more about this process. Is there a way to export all components and then import all components into a new accdb file? Does anyone have an example of how to do this? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Tue Aug 14 02:36:18 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Tue, 14 Aug 2012 13:06:18 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> <001501cd7946$0171cfc0$04556f40$@com><718887079A2D4BD5942B57BA03B756DC@personal4a8ede> <001801cd79a7$fc487a00$f4d96e00$@com> Message-ID: <4F804374FC2742F7BFDCBDBF3DDD5E92@personal4a8ede> Robert, Thanks for the clarification. Filter button and search box on navigation bar appear to be a new additions, subsequent to access version 2003 (in which the sample db was developed). I shall investigate further so as to cover this aspect too. In the mean time, it would be nice if you could kindly confirm whether the performance is otherwise found OK, if the user carries out filter / search action only through the combination of option group & combo box. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 14, 2012 04:34 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) I have attached link to a screenshot of the upper forms filter button. Inadvertently hitting that button causes the issue, however when the filter is reset (show all) it works again. Also performing a field search in the lower subform causes the same problem. http://i.imgbox.com/ableG8qd.png WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 8:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Robert, Could you kindly explain further? In the upper subform, there is an option group with three toggle buttons. Combo box row source depends upon the status of option group. If option group selection is either of first two buttons, the combo box acts as a filter for the category specified by option group. For example, for first button of option group, combo box drop down list displays author names and filter gets applied as per author selected. Similar action is performed for Topic, if option group selection happens to be the second button. On the other hand, if third button of option group is clicked, all filters get cleared and the role of combo box gets transformed to that of a search box. On selection of desired BookID, the form navigates to corresponding record in both subforms. As an added convenience, the destination record in bottom subform gets positioned at middle of datasheet display window. Note: The sample is developed on Access 2003 (Win XP). Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Monday, August 13, 2012 16:53 Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Just a note: If you click on the "filter" button on the upper form, it breaks the synchronization between the 2 forms. I have not had a chance to investigate as I'm heading out the door. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ From Alun.Garraway at otto.de Tue Aug 14 07:34:03 2012 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 14 Aug 2012 14:34:03 +0200 Subject: [AccessD] how do I remove CRL from text (field)? Message-ID: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Hallo, who can I remove CRL (carriage return linefeed) from text (field)?? Either with in built functions or VBA............ Any tips would be really appreciated :-) alun From Lambert.Heenan at chartisinsurance.com Tue Aug 14 08:01:09 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 14 Aug 2012 09:01:09 -0400 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: strVariable = Replace(strVariable,vbCrLf,"") That should do it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, August 14, 2012 8:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] how do I remove CRL from text (field)? Hallo, who can I remove CRL (carriage return linefeed) from text (field)?? Either with in built functions or VBA............ Any tips would be really appreciated :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 14 08:02:18 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Aug 2012 09:02:18 -0400 Subject: [AccessD] SQL Server: Crosstab (pivot) Message-ID: <502A4C5A.9060408@colbyconsulting.com> I have a general situation where I have three fields in a table: tblAZData (address data) HashPerson HashFamily HashAddress HashPerson contains exactly that, a hash of FName, LName, Addr, Zip5, Zip4 HashFamily contains a hash of LName, Addr, Zip5, Zip4 HashAddr contains a hash of Addr, Zip5, Zip4 Assume I have 5 people in the same family at an address, and I have 2 people from another family at that same address. For those 7 records I would have 7 distinct HashPerson values, 2 distinct HashFamily values and 1 distinct HashAddr value. Now assume a state full of this kind of data. Now I am going to throw in a Nielsen rating (television viewing data) for the zip5 code. Nielsen codes are A,B,C and D. I need to get a cross tab something like: Nielsen code> A B C D HashPerson 8765 5678 4356 9876 HashFamily 7687 4643 4076 9074 HashAddr 7009 4543 3987 8823 I generate this data "manually" by: 1) Building a base query that selects the general population to be counted 2) Building three queries based on the base query - HashPerson_Distinct, HashFamily_Distinct and HashAddr_Distinct 3) Building three queries - HashPerson_Distinct_Cnt, HashFamily_Distinct_Cnt and HashAddr_Distinct_Cnt 4) Running these last three queries and then pasting them into a spreadsheet. Unfortunately the results end up: Nielsen Person Family Address A B C D So I am trying to make this easier. I am doing this kind of stuff a LOT in a lot of different circumstances. However the base information, a selection of records containing HashPerson, HashFamily and HashAddress for which I have to get distinct values for each of those and counts for each of those. I think I could figure out a simple pivot if it were a simple count, however the fact that I have to do a distinct and then a count is throwing a wrench in my ability to handle the while thing. Is this something that can be solved in a general way in TSQL or am I just stuck doing what I am doing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From guss at beechnutconsulting.com Tue Aug 14 08:07:09 2012 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Tue, 14 Aug 2012 08:07:09 -0500 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: <003401cd7a1d$b717c140$254743c0$@beechnutconsulting.com> The Access constant vbCRLF contains that constant, which is Asc(13)). So, try something like this (disclaimer - I have not tested this): If instr(1, mytextfield, vbCRLF) >0 then ' if 0 then no CRLF, otherwise returns the position of the CRLF... Mytextfield = left(mytextfield, instr(1, mytextfield, vbCRLF) - 1) End If Sincerely yours, ? Guss Ginsburg Beechnut Consulting Services Phone: 504-252-9131 Cell: 713-553-6298 www.beechnutconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, August 14, 2012 7:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] how do I remove CRL from text (field)? Hallo, who can I remove CRL (carriage return linefeed) from text (field)?? Either with in built functions or VBA............ Any tips would be really appreciated :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Tue Aug 14 08:19:57 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 14 Aug 2012 09:19:57 -0400 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: If you are removing CrLf, you MAY want to repalce each with a single space. Especially if you are removing CrLf from long text and wish to keep a long text of "words". Slight mod to Lambert's code strVariable = Replace(strVariable,vbCrLf," ") Just trying to guess the context--- I think we've all done this at some time or another. jack On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > strVariable = Replace(strVariable,vbCrLf,"") > > That should do it. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun > Sent: Tuesday, August 14, 2012 8:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] how do I remove CRL from text (field)? > > Hallo, > > who can I remove CRL (carriage return linefeed) from text (field)?? > > Either with in built functions or VBA............ > > Any tips would be really appreciated :-) > > alun > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jm.hwsn at gmail.com Tue Aug 14 08:47:45 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Tue, 14 Aug 2012 08:47:45 -0500 Subject: [AccessD] Exporting Access to "Text" for Overcoming Corruption Problems In-Reply-To: References: Message-ID: Brad, There is a way to export all objects (including tables) to text and then import them back into the database. I've done it. In my case, my problem was importing the text files back into the database. The basic process is to export into text files, delete ALL the objects, compact and repair, then import the text files back into the database. I'd recommend the export the objects then create a new blank file and import into the new file. Try this link for code to do it. It doesn't explain the import very well but you can get it to work. http://www.access-programmers.co.uk/forums/showthread.php?t=99179 I also have a mdb file that takes does it for you that I received from Dan Waters that I had to tweak a little but it really works well. Good luck. Jim On Mon, Aug 13, 2012 at 4:28 PM, Brad Marks wrote: > All, > > I have seen several posts over time regarding a way to deal with a > corrupted Access database by exporting the various components to "text" > and then importing them back into Access. > > I would like to learn more about this process. > > Is there a way to export all components and then import all components > into a new accdb file? > > Does anyone have an example of how to do this? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Tue Aug 14 08:48:08 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 14 Aug 2012 09:48:08 -0400 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: Good point Jack. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Tuesday, August 14, 2012 9:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how do I remove CRL from text (field)? If you are removing CrLf, you MAY want to repalce each with a single space. Especially if you are removing CrLf from long text and wish to keep a long text of "words". Slight mod to Lambert's code strVariable = Replace(strVariable,vbCrLf," ") Just trying to guess the context--- I think we've all done this at some time or another. jack On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > strVariable = Replace(strVariable,vbCrLf,"") > > That should do it. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun > Sent: Tuesday, August 14, 2012 8:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] how do I remove CRL from text (field)? > > Hallo, > > who can I remove CRL (carriage return linefeed) from text (field)?? > > Either with in built functions or VBA............ > > Any tips would be really appreciated :-) > > alun > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Tue Aug 14 09:15:44 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 14 Aug 2012 10:15:44 -0400 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: Thanks Lambert. You only have to do the replace with "" once to realize there may be a different context. Replacing vbcrlf with space is easier than changing strHorriblyLongText back to "space separated words". On Tue, Aug 14, 2012 at 9:48 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Good point Jack. :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge > Sent: Tuesday, August 14, 2012 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how do I remove CRL from text (field)? > > If you are removing CrLf, you MAY want to repalce each with a single space. > Especially if you are removing CrLf from long text and wish to keep a long > text of "words". > Slight mod to Lambert's code > strVariable = Replace(strVariable,vbCrLf," ") > > Just trying to guess the context--- I think we've all done this at some > time or another. > > jack > > On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > strVariable = Replace(strVariable,vbCrLf,"") > > > > That should do it. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun > > Sent: Tuesday, August 14, 2012 8:34 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] how do I remove CRL from text (field)? > > > > Hallo, > > > > who can I remove CRL (carriage return linefeed) from text (field)?? > > > > Either with in built functions or VBA............ > > > > Any tips would be really appreciated :-) > > > > alun > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Tue Aug 14 09:39:21 2012 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 14 Aug 2012 07:39:21 -0700 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: This is a minor point, but it's caught me before - the VB constant vbcrlf is actually two characters - a carriage return chr(13) and a line feed chr(10). But the Replace code mentioned here works fine. Doug On Tue, Aug 14, 2012 at 7:15 AM, jack drawbridge wrote: > Thanks Lambert. You only have to do the replace with "" once to realize > there may be a different context. Replacing vbcrlf with space is easier > than changing strHorriblyLongText back to "space separated words". > > On Tue, Aug 14, 2012 at 9:48 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > >> Good point Jack. :-) >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge >> Sent: Tuesday, August 14, 2012 9:20 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] how do I remove CRL from text (field)? >> >> If you are removing CrLf, you MAY want to repalce each with a single space. >> Especially if you are removing CrLf from long text and wish to keep a long >> text of "words". >> Slight mod to Lambert's code >> strVariable = Replace(strVariable,vbCrLf," ") >> >> Just trying to guess the context--- I think we've all done this at some >> time or another. >> >> jack >> >> On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < >> Lambert.Heenan at chartisinsurance.com> wrote: >> >> > strVariable = Replace(strVariable,vbCrLf,"") >> > >> > That should do it. >> > >> > Lambert >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com [mailto: >> > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun >> > Sent: Tuesday, August 14, 2012 8:34 AM >> > To: Access Developers discussion and problem solving >> > Subject: [AccessD] how do I remove CRL from text (field)? >> > >> > Hallo, >> > >> > who can I remove CRL (carriage return linefeed) from text (field)?? >> > >> > Either with in built functions or VBA............ >> > >> > Any tips would be really appreciated :-) >> > >> > alun >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Tue Aug 14 10:49:18 2012 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 14 Aug 2012 08:49:18 -0700 Subject: [AccessD] Query about Access queries Message-ID: Does anybody know of a place that has a list of these equivalents for an access query? This is a sample of the way my mind works (from spreadsheet and other work), but MS just has to be different. I know some are Like, Not Like, Is Null and Is Not Null. But I'd like some place where there is a list of all the "usual" query terms. Includes Does not contain Not equal to and other things of that nature. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From jackandpat.d at gmail.com Tue Aug 14 11:15:38 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 14 Aug 2012 12:15:38 -0400 Subject: [AccessD] Query about Access queries In-Reply-To: References: Message-ID: You could try http://www.techonthenet.com/sql/ or http://www.w3schools.com/sql/default.asp Not sure about the contain, I remember Oracle did something along that line with a text product (a few years ago). Good luck. On Tue, Aug 14, 2012 at 11:49 AM, Kathryn Bassett wrote: > Does anybody know of a place that has a list of these equivalents for an > access query? This is a sample of the way my mind works (from spreadsheet > and other work), but MS just has to be different. I know some are Like, Not > Like, Is Null and Is Not Null. But I'd like some place where there is a > list > of all the "usual" query terms. > > > > Includes > > Does not contain > > Not equal to > > > > and other things of that nature. > > > > -- > > 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 jwcolby at colbyconsulting.com Tue Aug 14 13:37:07 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Aug 2012 14:37:07 -0400 Subject: [AccessD] Access 2003 can't cut and paste a control Message-ID: <502A9AD3.9050004@colbyconsulting.com> My laptop is running Windows 7 (latest updates) and Office 2003 SP3. I have a form which contains controls which I want to cut and paste to another form. Just works right? No, it doesn't. I was able to cut and paste one specific combo box, two text boxes and 2 command boxes copied just fine. A second combo refuses to copy. It alternates between page faulting (Access has quite working) and appearing that it copies (spinning wheel for a while then returning but not actually copying the combo). In no event does it actually copy that specific combo. I made an empty access container, copied the source and destination forms into that, and tried the copy of these controls in that new container. Same thing. Everything copies except that one combo. If I try to copy any other control right into the same form it works, that control even into the same form, does not copy. I so love Access. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From accessd at shaw.ca Tue Aug 14 13:57:21 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Aug 2012 11:57:21 -0700 Subject: [AccessD] SQL Server: Crosstab (pivot) In-Reply-To: <502A4C5A.9060408@colbyconsulting.com> References: <502A4C5A.9060408@colbyconsulting.com> Message-ID: <04E58CADF7564D318F46C1B6B19E62C6@creativesystemdesigns.com> I wonder if the hashes are truly unique. Have you tested the results? Recently, I was working on a client's project but it took a long time to create an algorithm that generated a hash that did not have too many false duplicates. The hash needed was about 30 characters but the table record count was only about 400K...small compared to your files. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, August 14, 2012 6:02 AM To: Access Developers discussion and problem solving; Sqlserver-Dba Subject: [AccessD] SQL Server: Crosstab (pivot) I have a general situation where I have three fields in a table: tblAZData (address data) HashPerson HashFamily HashAddress HashPerson contains exactly that, a hash of FName, LName, Addr, Zip5, Zip4 HashFamily contains a hash of LName, Addr, Zip5, Zip4 HashAddr contains a hash of Addr, Zip5, Zip4 Assume I have 5 people in the same family at an address, and I have 2 people from another family at that same address. For those 7 records I would have 7 distinct HashPerson values, 2 distinct HashFamily values and 1 distinct HashAddr value. Now assume a state full of this kind of data. Now I am going to throw in a Nielsen rating (television viewing data) for the zip5 code. Nielsen codes are A,B,C and D. I need to get a cross tab something like: Nielsen code> A B C D HashPerson 8765 5678 4356 9876 HashFamily 7687 4643 4076 9074 HashAddr 7009 4543 3987 8823 I generate this data "manually" by: 1) Building a base query that selects the general population to be counted 2) Building three queries based on the base query - HashPerson_Distinct, HashFamily_Distinct and HashAddr_Distinct 3) Building three queries - HashPerson_Distinct_Cnt, HashFamily_Distinct_Cnt and HashAddr_Distinct_Cnt 4) Running these last three queries and then pasting them into a spreadsheet. Unfortunately the results end up: Nielsen Person Family Address A B C D So I am trying to make this easier. I am doing this kind of stuff a LOT in a lot of different circumstances. However the base information, a selection of records containing HashPerson, HashFamily and HashAddress for which I have to get distinct values for each of those and counts for each of those. I think I could figure out a simple pivot if it were a simple count, however the fact that I have to do a distinct and then a count is throwing a wrench in my ability to handle the while thing. Is this something that can be solved in a general way in TSQL or am I just stuck doing what I am doing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Aug 14 14:14:49 2012 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2012 21:14:49 +0200 Subject: [AccessD] Access 2003 can't cut and paste a control Message-ID: Hi John Sounds like you need to delete and rebuild the offending combo. /gustav >>> jwcolby at colbyconsulting.com 14-08-12 20:37 >>> My laptop is running Windows 7 (latest updates) and Office 2003 SP3. I have a form which contains controls which I want to cut and paste to another form. Just works right? No, it doesn't. I was able to cut and paste one specific combo box, two text boxes and 2 command boxes copied just fine. A second combo refuses to copy. It alternates between page faulting (Access has quite working) and appearing that it copies (spinning wheel for a while then returning but not actually copying the combo). In no event does it actually copy that specific combo. I made an empty access container, copied the source and destination forms into that, and tried the copy of these controls in that new container. Same thing. Everything copies except that one combo. If I try to copy any other control right into the same form it works, that control even into the same form, does not copy. I so love Access. -- John W. Colby Colby Consulting From ssharkins at gmail.com Tue Aug 14 14:51:52 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2012 15:51:52 -0400 Subject: [AccessD] Query about Access queries References: Message-ID: > Does not contain =====This would require the ! wildcard (I think that's right). > > Not equal to =====This would require the <> operator. > and other things of that nature. =====You can probably find lots of lists, but you might not find them all in one place -- your examples aren't of the same "type" of character -- one's a wildcard, one's an operator. You might find a page that lists them both. Susan H. From jimdettman at verizon.net Tue Aug 14 15:13:09 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 14 Aug 2012 16:13:09 -0400 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: <24D3D1D174FB4BA085C735C6B121B4D7@XPS> and on that point, there is also vblf and vbcr if you need (or want) to deal with them separately. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, August 14, 2012 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how do I remove CRL from text (field)? This is a minor point, but it's caught me before - the VB constant vbcrlf is actually two characters - a carriage return chr(13) and a line feed chr(10). But the Replace code mentioned here works fine. Doug On Tue, Aug 14, 2012 at 7:15 AM, jack drawbridge wrote: > Thanks Lambert. You only have to do the replace with "" once to realize > there may be a different context. Replacing vbcrlf with space is easier > than changing strHorriblyLongText back to "space separated words". > > On Tue, Aug 14, 2012 at 9:48 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > >> Good point Jack. :-) >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge >> Sent: Tuesday, August 14, 2012 9:20 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] how do I remove CRL from text (field)? >> >> If you are removing CrLf, you MAY want to repalce each with a single space. >> Especially if you are removing CrLf from long text and wish to keep a long >> text of "words". >> Slight mod to Lambert's code >> strVariable = Replace(strVariable,vbCrLf," ") >> >> Just trying to guess the context--- I think we've all done this at some >> time or another. >> >> jack >> >> On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < >> Lambert.Heenan at chartisinsurance.com> wrote: >> >> > strVariable = Replace(strVariable,vbCrLf,"") >> > >> > That should do it. >> > >> > Lambert >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com [mailto: >> > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun >> > Sent: Tuesday, August 14, 2012 8:34 AM >> > To: Access Developers discussion and problem solving >> > Subject: [AccessD] how do I remove CRL from text (field)? >> > >> > Hallo, >> > >> > who can I remove CRL (carriage return linefeed) from text (field)?? >> > >> > Either with in built functions or VBA............ >> > >> > Any tips would be really appreciated :-) >> > >> > alun >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 14 17:10:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Aug 2012 18:10:00 -0400 Subject: [AccessD] Access 2003 can't cut and paste a control In-Reply-To: References: Message-ID: <502ACCB8.10207@colbyconsulting.com> Well, I did rebuild it from scratch in the new form. I just switched back and forth between old / new to get all of the properties the same. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/14/2012 3:14 PM, Gustav Brock wrote: > Hi John > > Sounds like you need to delete and rebuild the offending combo. > > /gustav > > >>>> jwcolby at colbyconsulting.com 14-08-12 20:37 >>> > My laptop is running Windows 7 (latest updates) and Office 2003 SP3. I have a form which contains > controls which I want to cut and paste to another form. Just works right? > > No, it doesn't. I was able to cut and paste one specific combo box, two text boxes and 2 command > boxes copied just fine. A second combo refuses to copy. It alternates between page faulting > (Access has quite working) and appearing that it copies (spinning wheel for a while then returning > but not actually copying the combo). In no event does it actually copy that specific combo. > > I made an empty access container, copied the source and destination forms into that, and tried the > copy of these controls in that new container. Same thing. Everything copies except that one combo. > > If I try to copy any other control right into the same form it works, that control even into the > same form, does not copy. > > I so love Access. > From robert at servicexp.com Tue Aug 14 19:08:46 2012 From: robert at servicexp.com (Robert) Date: Tue, 14 Aug 2012 20:08:46 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <4F804374FC2742F7BFDCBDBF3DDD5E92@personal4a8ede> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> <001501cd7946$0171cfc0$04556f40$@com><718887079A2D4BD5942B57BA03B756DC@personal4a8ede> <001801cd79a7$fc487a00$f4d96e00$@com> <4F804374FC2742F7BFDCBDBF3DDD5E92@personal4a8ede> Message-ID: <000901cd7a7a$2644bc10$72ce3430$@com> Yes, all constructed functions work as expected. Nice Job! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Tuesday, August 14, 2012 3:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) Robert, Thanks for the clarification. Filter button and search box on navigation bar appear to be a new additions, subsequent to access version 2003 (in which the sample db was developed). I shall investigate further so as to cover this aspect too. In the mean time, it would be nice if you could kindly confirm whether the performance is otherwise found OK, if the user carries out filter / search action only through the combination of option group & combo box. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 14, 2012 04:34 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) I have attached link to a screenshot of the upper forms filter button. Inadvertently hitting that button causes the issue, however when the filter is reset (show all) it works again. Also performing a field search in the lower subform causes the same problem. http://i.imgbox.com/ableG8qd.png WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 8:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Robert, Could you kindly explain further? In the upper subform, there is an option group with three toggle buttons. Combo box row source depends upon the status of option group. If option group selection is either of first two buttons, the combo box acts as a filter for the category specified by option group. For example, for first button of option group, combo box drop down list displays author names and filter gets applied as per author selected. Similar action is performed for Topic, if option group selection happens to be the second button. On the other hand, if third button of option group is clicked, all filters get cleared and the role of combo box gets transformed to that of a search box. On selection of desired BookID, the form navigates to corresponding record in both subforms. As an added convenience, the destination record in bottom subform gets positioned at middle of datasheet display window. Note: The sample is developed on Access 2003 (Win XP). Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Monday, August 13, 2012 16:53 Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Just a note: If you click on the "filter" button on the upper form, it breaks the synchronization between the 2 forms. I have not had a chance to investigate as I'm heading out the door. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Monday, August 13, 2012 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) J.C., Further to my previous post, sample db named Form_SplitFormSimulated, incorporating the concepts discussed so far under this thread, is now ready and has been placed at Rogers Access Library. It is in access 2000 file format and can be downloaded at the following Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 A copy of explanatory notes accompanying the sample db is placed below, for ready reference. Interested members of this forum might like to test it and advise whether anything needs further attention. Best wishes, A.D. Tejpal ------------ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Aug 14 19:49:49 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 15 Aug 2012 00:49:49 +0000 Subject: [AccessD] Access 2003 can't cut and paste a control In-Reply-To: <502A9AD3.9050004@colbyconsulting.com> References: <502A9AD3.9050004@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B524FE8547@SINPRD0410MB381.apcprd04.prod.outlook.com> Hi John I have seen this behaviour when you try to paste a control whose name already exists on the target form with a different control. Access is meant to handle that, but in my experience it often doesn't handle it at all and leads to form corruption and crashing. It seems to behave better if you are using the default control names provided by Access, but if you are usign custom names it is rather flakey at best. These days I take a long winded route. Copy the control to a dummy form, rename it there and then repaste it back onto the original form to avoid any name duplicates. A bit of a pain and an extra step, but far less of a pain (and many less steps) then having the whole form go 'splat' as was often the case. May or may not be relevant to you situation, but it seemed like it could be a contender... cheers Darryl. _______________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] on behalf of jwcolby [jwcolby at colbyconsulting.com] Sent: Wednesday, 15 August 2012 4:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 can't cut and paste a control My laptop is running Windows 7 (latest updates) and Office 2003 SP3. I have a form which contains controls which I want to cut and paste to another form. Just works right? No, it doesn't. I was able to cut and paste one specific combo box, two text boxes and 2 command boxes copied just fine. A second combo refuses to copy. It alternates between page faulting (Access has quite working) and appearing that it copies (spinning wheel for a while then returning but not actually copying the combo). In no event does it actually copy that specific combo. I made an empty access container, copied the source and destination forms into that, and tried the copy of these controls in that new container. Same thing. Everything copies except that one combo. If I try to copy any other control right into the same form it works, that control even into the same form, does not copy. I so love Access. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 14 22:01:58 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Aug 2012 23:01:58 -0400 Subject: [AccessD] Access 2003 can't cut and paste a control In-Reply-To: <56653D383CB80341995245C537A9E7B524FE8547@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <502A9AD3.9050004@colbyconsulting.com> <56653D383CB80341995245C537A9E7B524FE8547@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <502B1126.4040306@colbyconsulting.com> I actually tried that, in fact I created a brand new Access container, then copied the two forms from the old container. In my experience that copy out of the old container mostly fails if there is any weirdness in the old form. Anyway, that one combo just did not copy, ever, whether copied and pasted onto the new form or pasted back into the original form. In fact I moved that control in the original form using the arrow key and then did a Ctl-Z (undo) to try and move it back to its original location and it page faulted (Access is closing). Really really strange. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/14/2012 8:49 PM, Darryl Collins wrote: > Hi John > > I have seen this behaviour when you try to paste a control whose name already exists on the target form with a different control. Access is meant to handle that, but in my experience it often doesn't handle it at all and leads to form corruption and crashing. It seems to behave better if you are using the default control names provided by Access, but if you are usign custom names it is rather flakey at best. > > These days I take a long winded route. Copy the control to a dummy form, rename it there and then repaste it back onto the original form to avoid any name duplicates. > > A bit of a pain and an extra step, but far less of a pain (and many less steps) then having the whole form go 'splat' as was often the case. > > May or may not be relevant to you situation, but it seemed like it could be a contender... > > cheers > Darryl. From Alun.Garraway at otto.de Wed Aug 15 03:59:46 2012 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 15 Aug 2012 10:59:46 +0200 Subject: [AccessD] how do I remove CRL from text (field)? In-Reply-To: References: <31777512F3EB114998571F0F46E8DA2BF148D1E0@NTOVMAIL03.ad.otto.de> Message-ID: <31777512F3EB114998571F0F46E8DA2BF148D1EA@NTOVMAIL03.ad.otto.de> Big, big thanks for the quick (and good) reply, saved my day! :D -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Im Auftrag von jack drawbridge Gesendet: Dienstag, 14. August 2012 15:20 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] how do I remove CRL from text (field)? If you are removing CrLf, you MAY want to repalce each with a single space. Especially if you are removing CrLf from long text and wish to keep a long text of "words". Slight mod to Lambert's code strVariable = Replace(strVariable,vbCrLf," ") Just trying to guess the context--- I think we've all done this at some time or another. jack On Tue, Aug 14, 2012 at 9:01 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > strVariable = Replace(strVariable,vbCrLf,"") > > That should do it. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun > Sent: Tuesday, August 14, 2012 8:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] how do I remove CRL from text (field)? > > Hallo, > > who can I remove CRL (carriage return linefeed) from text (field)?? > > Either with in built functions or VBA............ > > Any tips would be really appreciated :-) > > alun > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 15 09:23:38 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 15 Aug 2012 10:23:38 -0400 Subject: [AccessD] SQL Server: Crosstab (pivot) In-Reply-To: <04E58CADF7564D318F46C1B6B19E62C6@creativesystemdesigns.com> References: <502A4C5A.9060408@colbyconsulting.com> <04E58CADF7564D318F46C1B6B19E62C6@creativesystemdesigns.com> Message-ID: <502BB0EA.5020704@colbyconsulting.com> I use a hash function built into SQL Server. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/14/2012 2:57 PM, Jim Lawrence wrote: > I wonder if the hashes are truly unique. Have you tested the results? > > Recently, I was working on a client's project but it took a long time to > create an algorithm that generated a hash that did not have too many false > duplicates. The hash needed was about 30 characters but the table record > count was only about 400K...small compared to your files. > > Jim From jwcolby at colbyconsulting.com Wed Aug 15 09:37:15 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 15 Aug 2012 10:37:15 -0400 Subject: [AccessD] Google Nexus 7 | NVIDIA Developer Zone Message-ID: <502BB41B.4080600@colbyconsulting.com> I just ran across this. It doesn't look "available" yet but when it is it will provide tools under visual studio which will be cool for those of us... -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://developer.nvidia.com/mobile/google-nexus-7-0 From jwcolby at colbyconsulting.com Wed Aug 15 09:40:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 15 Aug 2012 10:40:00 -0400 Subject: [AccessD] NVIDIA Developer Zone Message-ID: <502BB4C0.6030401@colbyconsulting.com> This seems to be the "back" button to the link I sent previously re Nexus 7 dev. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://developer.nvidia.com/category/zone/mobile-development From jm.hwsn at gmail.com Wed Aug 15 09:43:24 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Wed, 15 Aug 2012 09:43:24 -0500 Subject: [AccessD] Question - subform filter Message-ID: Sometimes, it just doesn't make sense - to me anyway. I have two databases, virtually identical. One was working, the other was producing strange results. I have a form with a subform. The subform dynamically changes to either have multiple subforms or a single subform. When the subform changes to have multiple subforms, in one file it would work - the other would not. The contents of the subforms would not change. After much work... comparing code, properties, data (data is identical in both), importing and exporting objects. I finally found the problem. Apparently, if I want to ensure the subforms change dynamically, with different records, the Filter must be set and cannot be left blank. Even though the filter changes for each record the data of the subform does not change. Why is that? Thanks Jim From charlotte.foust at gmail.com Wed Aug 15 10:14:02 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 15 Aug 2012 08:14:02 -0700 Subject: [AccessD] Question - subform filter In-Reply-To: References: Message-ID: I'm not sure I understand. You can, in fact leave a filter blank in the property sheet of the form, but in code you have to turn the filter off, set it to the new string, and then turn it back on. I always save my forms and subforms with blank filter properties as a matter of course. Charlotte On Wed, Aug 15, 2012 at 7:43 AM, Jim Hewson wrote: > Sometimes, it just doesn't make sense - to me anyway. > > I have two databases, virtually identical. One was working, the other was > producing strange results. > I have a form with a subform. The subform dynamically changes to either > have multiple subforms or a single subform. > When the subform changes to have multiple subforms, in one file it would > work - the other would not. The contents of the subforms would not change. > After much work... comparing code, properties, data (data is identical in > both), importing and exporting objects. I finally found the problem. > > Apparently, if I want to ensure the subforms change dynamically, with > different records, the Filter must be set and cannot be left blank. Even > though the filter changes for each record the data of the subform does not > change. > > Why is that? > > Thanks > Jim > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jm.hwsn at gmail.com Wed Aug 15 10:40:25 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Wed, 15 Aug 2012 10:40:25 -0500 Subject: [AccessD] Question - subform filter In-Reply-To: References: Message-ID: I didn't turn off the filter, set it and then turn it back on ... during the course of creating the subforms a few had filters turned on and the filter was set. Those worked. The subforms that had the filter turned off and the filter was empty did not work. Once I turned on the filters of all the subforms and set the filters.... it works! What I hear you say, is the way to get around this is to save the forms and subforms with blank filter properties. Through code, turn off the filter, set it, then turn it back on. Thanks, I'll try that. Jim On Wed, Aug 15, 2012 at 10:14 AM, Charlotte Foust wrote: > I'm not sure I understand. You can, in fact leave a filter blank in the > property sheet of the form, but in code you have to turn the filter off, > set it to the new string, and then turn it back on. I always save my forms > and subforms with blank filter properties as a matter of course. > > Charlotte > > On Wed, Aug 15, 2012 at 7:43 AM, Jim Hewson wrote: > > > Sometimes, it just doesn't make sense - to me anyway. > > > > I have two databases, virtually identical. One was working, the other was > > producing strange results. > > I have a form with a subform. The subform dynamically changes to either > > have multiple subforms or a single subform. > > When the subform changes to have multiple subforms, in one file it would > > work - the other would not. The contents of the subforms would not > change. > > After much work... comparing code, properties, data (data is identical in > > both), importing and exporting objects. I finally found the problem. > > > > Apparently, if I want to ensure the subforms change dynamically, with > > different records, the Filter must be set and cannot be left blank. Even > > though the filter changes for each record the data of the subform does > not > > change. > > > > Why is that? > > > > Thanks > > Jim > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Aug 15 11:23:58 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Aug 2012 18:23:58 +0200 Subject: [AccessD] A2010: Create custom popup menu to run custom function Message-ID: Hi all I need some help with this. I've found out that you need a reference to the Office Object Library and then create a "commandbar" to achieve this, but the code examples I can locate just adds standard Access/Office commands to the menu using "secret" values. My popup should be displayed when right-clicking the form outside the controls. It should contain a few menu entries, say: Create New Reset When clicking one of these, a function of mine should be called, like: CreateNewOrder() ClearOrder() No fancy icons or the like is needed. I've managed to create a shortcutmenu (macro) but, when I right-click, no menu is shown - the macro is executed right away. /gustav From adtp at airtelmail.in Wed Aug 15 11:48:41 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Wed, 15 Aug 2012 22:18:41 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> Message-ID: <82030CB1DA6A42ACA5B6D0078798890B@personal4a8ede> Robert, Thanks for the confirmation. So nice of you. The sample db has now been made suitable for Access 2010 as well and the revised version has been placed at Rogers Access Library. The subforms respond appropriately to the filter button and search box on the navigation bar (these are new features - in versions later than Access 2003). Note: Navigation bar is now displayed only on top subform, which functions as the prime mover for the whole set up. The process of making the db suitable for Access 2010 has fetched another dividend. An interesting solution has been found for detecting filter and search actions on the single form, without requiring raising of custom events in that form. This way the arrangement has become akin to plug & play. The developer can use any form of his choice as the single form portion of simulated split form, without having to write any code. All that needs to be done is to assign such a form as source object for top subform control. Everything else gets taken care of automatically. You deserve special thanks as the above enhancement came about while working upon the feedback provided by you. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Robert To: 'Access Developers discussion and problem solving' Sent: Wednesday, August 15, 2012 05:38 Subject: Re: [AccessD] Trapping Events In A Class (custom events as wellas built-in) Yes, all constructed functions work as expected. Nice Job! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Tuesday, August 14, 2012 3:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trapping Events In A Class (custom events as well as built-in) Robert, Thanks for the clarification. Filter button and search box on navigation bar appear to be a new additions, subsequent to access version 2003 (in which the sample db was developed). I shall investigate further so as to cover this aspect too. In the mean time, it would be nice if you could kindly confirm whether the performance is otherwise found OK, if the user carries out filter / search action only through the combination of option group & combo box. Best wishes, A.D. Tejpal ------------ From fuller.artful at gmail.com Wed Aug 15 13:09:47 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 15 Aug 2012 14:09:47 -0400 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) In-Reply-To: <82030CB1DA6A42ACA5B6D0078798890B@personal4a8ede> References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede> <50227146.5000800@colbyconsulting.com> <5022C012.8000408@colbyconsulting.com> <5023BEBF.4020001@colbyconsulting.com> <82030CB1DA6A42ACA5B6D0078798890B@personal4a8ede> Message-ID: A.D. What's the name of the revised package at Rogers Access Library? Thanks, Arhur On Wed, Aug 15, 2012 at 12:48 PM, A.D. Tejpal wrote: > Robert, > > Thanks for the confirmation. So nice of you. > > The sample db has now been made suitable for Access 2010 as well and > the revised version has been placed at Rogers Access Library. The subforms > respond appropriately to the filter button and search box on the navigation > bar (these are new features - in versions later than Access 2003). > > From stuart at lexacorp.com.pg Wed Aug 15 15:15:50 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Aug 2012 06:15:50 +1000 Subject: [AccessD] Google Nexus 7 | NVIDIA Developer Zone In-Reply-To: <502BB41B.4080600@colbyconsulting.com> References: <502BB41B.4080600@colbyconsulting.com> Message-ID: <502C0376.12637.D957C47@stuart.lexacorp.com.pg> You want a tool to allow you to utilise your many years of BASIC (VB, VBA etc) skills in the Android area? Check out http://www.basic4ppc.com/ -- Stuart On 15 Aug 2012 at 10:37, jwcolby wrote: > I just ran across this. It doesn't look "available" yet but when it is it will provide tools under > visual studio which will be cool for those of us... > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > http://developer.nvidia.com/mobile/google-nexus-7-0 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Aug 15 20:35:17 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Aug 2012 18:35:17 -0700 Subject: [AccessD] My goodness In-Reply-To: <502C0376.12637.D957C47@stuart.lexacorp.com.pg> References: <502BB41B.4080600@colbyconsulting.com> <502C0376.12637.D957C47@stuart.lexacorp.com.pg> Message-ID: A job for an Access programmer...if you want to move to Oklahoma. http://information-technology.thingamajob.com/jobs/Oklahoma/MS-Access-Develo per/2628099 Jim From charlotte.foust at gmail.com Wed Aug 15 20:49:07 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 15 Aug 2012 18:49:07 -0700 Subject: [AccessD] My goodness In-Reply-To: References: <502BB41B.4080600@colbyconsulting.com> <502C0376.12637.D957C47@stuart.lexacorp.com.pg> Message-ID: Wonder if they would accept telecommute? ;-> Charlotte On Wed, Aug 15, 2012 at 6:35 PM, Jim Lawrence wrote: > A job for an Access programmer...if you want to move to Oklahoma. > > > http://information-technology.thingamajob.com/jobs/Oklahoma/MS-Access-Develo > per/2628099 > > > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From adtp at airtelmail.in Wed Aug 15 22:37:49 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Thu, 16 Aug 2012 09:07:49 +0530 Subject: [AccessD] Trapping Events In A Class (custom events as well as built-in) References: <670C3F540C2948F5971F1F9C62F8E055@personal4a8ede><50227146.5000800@colbyconsulting.com><5022C012.8000408@colbyconsulting.com><5023BEBF.4020001@colbyconsulting.com><82030CB1DA6A42ACA5B6D0078798890B@personal4a8ede> Message-ID: <97AC205F59524B8EB08B654955AB1FB8@personal4a8ede> Arthur, The sample db is named Form_SplitFormSimulated. Link for my samples at Rogers Access Library is given below: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 If you find it convenient to have a look at it, kindly do let me know if anything is found to need further attention. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Arthur Fuller To: Access Developers discussion and problem solving Sent: Wednesday, August 15, 2012 23:39 Subject: Re: [AccessD] Trapping Events In A Class (custom events as well asbuilt-in) A.D. What's the name of the revised package at Rogers Access Library? Thanks, Arhur On Wed, Aug 15, 2012 at 12:48 PM, A.D. Tejpal wrote: > Robert, > > Thanks for the confirmation. So nice of you. > > The sample db has now been made suitable for Access 2010 as well and > the revised version has been placed at Rogers Access Library. The subforms > respond appropriately to the filter button and search box on the navigation > bar (these are new features - in versions later than Access 2003). From charlotte.foust at gmail.com Wed Aug 15 23:16:12 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 15 Aug 2012 21:16:12 -0700 Subject: [AccessD] Exporting Access to "Text" for Overcoming Corruption Problems In-Reply-To: References: Message-ID: It also doesn't explain things like needing references set in that new blank database. I'd never used the method but got curious and played with it. One interesting thing I ran into is internal files Access creates that are part of the built in bloat in 2002 and later. There are scads of query files named ~sq_somthing and lots of tables with ~Tmp at the start of the name. I added some tests to exclude those. If access really needs them it can recreate them for itself! Charlotte On Tue, Aug 14, 2012 at 6:47 AM, Jim Hewson wrote: > Brad, > There is a way to export all objects (including tables) to text and then > import them back into the database. > I've done it. In my case, my problem was importing the text files back > into the database. The basic process is to export into text files, delete > ALL the objects, compact and repair, then import the text files back into > the database. I'd recommend the export the objects then create a new blank > file and import into the new file. > > Try this link for code to do it. It doesn't explain the import very well > but you can get it to work. > http://www.access-programmers.co.uk/forums/showthread.php?t=99179 > > > > I also have a mdb file that takes does it for you that I received from Dan > Waters that I had to tweak a little but it really works well. > > Good luck. > > Jim > > On Mon, Aug 13, 2012 at 4:28 PM, Brad Marks >wrote: > > > All, > > > > I have seen several posts over time regarding a way to deal with a > > corrupted Access database by exporting the various components to "text" > > and then importing them back into Access. > > > > I would like to learn more about this process. > > > > Is there a way to export all components and then import all components > > into a new accdb file? > > > > Does anyone have an example of how to do this? > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From ssharkins at gmail.com Thu Aug 16 07:48:29 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 16 Aug 2012 08:48:29 -0400 Subject: [AccessD] My goodness References: <502BB41B.4080600@colbyconsulting.com><502C0376.12637.D957C47@stuart.lexacorp.com.pg> Message-ID: <4837788A49914B8E8E7498D59ACF1813@SusanHarkins> It does sound like a good opportunity -- not many of those still around for Access experts. I'd say, send a resume and tell them you're interesting in telecommuting -- can't hurt. Make them say no! ;) Susan H. > Wonder if they would accept telecommute? ;-> > From jwcolby at colbyconsulting.com Thu Aug 16 08:49:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2012 09:49:03 -0400 Subject: [AccessD] My goodness In-Reply-To: <4837788A49914B8E8E7498D59ACF1813@SusanHarkins> References: <502BB41B.4080600@colbyconsulting.com><502C0376.12637.D957C47@stuart.lexacorp.com.pg> <4837788A49914B8E8E7498D59ACF1813@SusanHarkins> Message-ID: <502CFA4F.6050306@colbyconsulting.com> LOL. And ask what the pay rate is. Curious minds want to know... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/16/2012 8:48 AM, Susan Harkins wrote: > It does sound like a good opportunity -- not many of those still around for Access experts. I'd say, > send a resume and tell them you're interesting in telecommuting -- can't hurt. Make them say no! ;) > > Susan H. > > >> Wonder if they would accept telecommute? ;-> >> > From gustav at cactus.dk Thu Aug 16 12:19:13 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Aug 2012 19:19:13 +0200 Subject: [AccessD] A2010: Create custom popup menu to run custom function Message-ID: Hi all So this would be one of the tough questions at a job interview? Has no one created a popup-menu? /gustav >>> gustav at cactus.dk 15-08-12 18:23 >>> Hi all I need some help with this. I've found out that you need a reference to the Office Object Library and then create a "commandbar" to achieve this, but the code examples I can locate just adds standard Access/Office commands to the menu using "secret" values. My popup should be displayed when right-clicking the form outside the controls. It should contain a few menu entries, say: Create New Reset When clicking one of these, a function of mine should be called, like: CreateNewOrder() ClearOrder() No fancy icons or the like is needed. I've managed to create a shortcutmenu (macro) but, when I right-click, no menu is shown - the macro is executed right away. /gustav From BradM at blackforestltd.com Thu Aug 16 14:20:49 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 16 Aug 2012 14:20:49 -0500 Subject: [AccessD] 6 MB to 32 MB by Changing 15 Table Defs References: Message-ID: All, We have an Access 2007 Reporting Application that pulls data from 15 Firebird Database tables via ODBC. The application works nicely. Its size has been approximately 6 MB for several months. Recently, I added a small amount of new VBA code to modify the "TableDef.Connect" for each of the 15 tables in order to easily switch back and forth between our "Test" and "Prod" Firebird Databases. The new code works nicely. However, I noticed that the size of the accdb file has grown from 6 MB to 32 MB because of the new code. I have run some additional tests and I can consistently see the large increase in size when the new code is executed. (None of the tables were even opened, no data was accessed) I am curious how changing 15 Table Defs could possibly add 26 MB to the size of the accdb file. Has anyone else seen anything like this? Thanks, Brad PS. I first noticed this on the night of the recent Mars Landing :-) From fuller.artful at gmail.com Thu Aug 16 15:35:02 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 16 Aug 2012 16:35:02 -0400 Subject: [AccessD] 6 MB to 32 MB by Changing 15 Table Defs In-Reply-To: References: Message-ID: No doubt you've tried the obvious, compact and repair, but what about creating a new database and importing everything into it? Did that shrink the size back to normal? Arthur From BradM at blackforestltd.com Thu Aug 16 15:48:46 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 16 Aug 2012 15:48:46 -0500 Subject: [AccessD] 6 MB to 32 MB by Changing 15 Table Defs References: Message-ID: Arthur, If I cripple the new code and then run a "Compact and Repair", the size is reduced back to 6 MB. If I create a new database, the size is 6 MB until I run the code that changes the Table-Defs, then it jumps up to 32 MB. Thanks for your ideas. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 16, 2012 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 6 MB to 32 MB by Changing 15 Table Defs No doubt you've tried the obvious, compact and repair, but what about creating a new database and importing everything into it? Did that shrink the size back to normal? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From marksimms at verizon.net Thu Aug 16 20:35:35 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 16 Aug 2012 21:35:35 -0400 Subject: [AccessD] My goodness In-Reply-To: <502CFA4F.6050306@colbyconsulting.com> References: <502BB41B.4080600@colbyconsulting.com><502C0376.12637.D957C47@stuart.lexacorp.com.pg> <4837788A49914B8E8E7498D59ACF1813@SusanHarkins> <502CFA4F.6050306@colbyconsulting.com> Message-ID: <000601cd7c18$99ab4490$cd01cdb0$@net> > LOL. And ask what the pay rate is. Curious minds want to know... Could be embarrassing....... From charlotte.foust at gmail.com Thu Aug 16 22:28:07 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 16 Aug 2012 20:28:07 -0700 Subject: [AccessD] A2010: Create custom popup menu to run custom function In-Reply-To: References: Message-ID: I haven't done it in years in Access. Does this help? http://www.accessribbon.de/en/index.php?FAQ:9 Popup menus seemed to have devolved into context sensitive ribbons, which aren't the same thing at all. Charlotte On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock wrote: > Hi all > > So this would be one of the tough questions at a job interview? > > Has no one created a popup-menu? > > /gustav > > > >>> gustav at cactus.dk 15-08-12 18:23 >>> > Hi all > > I need some help with this. > > I've found out that you need a reference to the Office Object Library and > then create a "commandbar" to achieve this, but the code examples I can > locate just adds standard Access/Office commands to the menu using "secret" > values. > > My popup should be displayed when right-clicking the form outside the > controls. > It should contain a few menu entries, say: > > Create New > Reset > > When clicking one of these, a function of mine should be called, like: > > CreateNewOrder() > ClearOrder() > > No fancy icons or the like is needed. > > I've managed to create a shortcutmenu (macro) but, when I right-click, no > menu is shown - the macro is executed right away. > > /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 Aug 17 04:08:04 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Aug 2012 11:08:04 +0200 Subject: [AccessD] A2010: Create custom popup menu to run custom function Message-ID: Hi Charlotte No, unfortunately not, that link is about the ribbon. My popup menu will be completely separated from that. /gustav >>> charlotte.foust at gmail.com 17-08-12 5:28 >>> I haven't done it in years in Access. Does this help? http://www.accessribbon.de/en/index.php?FAQ:9 Popup menus seemed to have devolved into context sensitive ribbons, which aren't the same thing at all. Charlotte On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock wrote: > Hi all > > So this would be one of the tough questions at a job interview? > > Has no one created a popup-menu? > > /gustav > > > >>> gustav at cactus.dk 15-08-12 18:23 >>> > Hi all > > I need some help with this. > > I've found out that you need a reference to the Office Object Library and > then create a "commandbar" to achieve this, but the code examples I can > locate just adds standard Access/Office commands to the menu using "secret" > values. > > My popup should be displayed when right-clicking the form outside the > controls. > It should contain a few menu entries, say: > > Create New > Reset > > When clicking one of these, a function of mine should be called, like: > > CreateNewOrder() > ClearOrder() > > No fancy icons or the like is needed. > > I've managed to create a shortcutmenu (macro) but, when I right-click, no > menu is shown - the macro is executed right away. > > /gustav From phpons at gmail.com Fri Aug 17 04:55:04 2012 From: phpons at gmail.com (philippe pons) Date: Fri, 17 Aug 2012 11:55:04 +0200 Subject: [AccessD] A2010: Create custom popup menu to run custom function In-Reply-To: References: Message-ID: Gustav, Here is a link where you can download a events.xlsm Excel workbook with a code to create a popup menu. I guess it could be used in access the same way. http://gallery.technet.microsoft.com/Excel-2010-Code-Example-ad66f451 Regards, Philippe 2012/8/17 Gustav Brock > Hi Charlotte > > No, unfortunately not, that link is about the ribbon. > My popup menu will be completely separated from that. > > /gustav > > > >>> charlotte.foust at gmail.com 17-08-12 5:28 >>> > I haven't done it in years in Access. Does this help? > > http://www.accessribbon.de/en/index.php?FAQ:9 > > Popup menus seemed to have devolved into context sensitive ribbons, which > aren't the same thing at all. > > Charlotte > > On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock wrote: > > > Hi all > > > > So this would be one of the tough questions at a job interview? > > > > Has no one created a popup-menu? > > > > /gustav > > > > > > >>> gustav at cactus.dk 15-08-12 18:23 >>> > > Hi all > > > > I need some help with this. > > > > I've found out that you need a reference to the Office Object Library and > > then create a "commandbar" to achieve this, but the code examples I can > > locate just adds standard Access/Office commands to the menu using > "secret" > > values. > > > > My popup should be displayed when right-clicking the form outside the > > controls. > > It should contain a few menu entries, say: > > > > Create New > > Reset > > > > When clicking one of these, a function of mine should be called, like: > > > > CreateNewOrder() > > ClearOrder() > > > > No fancy icons or the like is needed. > > > > I've managed to create a shortcutmenu (macro) but, when I right-click, no > > menu is shown - the macro is executed right away. > > > > /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 Aug 17 05:56:29 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Aug 2012 12:56:29 +0200 Subject: [AccessD] A2010: Create custom popup menu to run custom function Message-ID: Thanks Philippe It sounds right but I just found out how by help from an Experts-Exchange member. The magic method is OnAction. Here is an example with no macros. The first part is what you usualla see, the second part is what I've requested - calling custom functions. Public Function CreateCMenu() On Error Resume Next CommandBars("MyContext").Delete Dim cmb As CommandBar 'Object Dim cmbBtn1 As CommandBarButton 'Object Dim cmbBtn2 As CommandBarButton 'Object Set cmb = CommandBars.Add("MyContext", _ msoBarPopup, False, False) ' msoBarPopup = 5 With cmb ' add cut, copy, and paste buttons with the ' "magic number" technique that assigns ' appearance and behavior. The magic number ' goes in as the second parameter .Controls.Add msoControlButton, _ 21, , , True ' 21=Cut, msoControlButton=1 .Controls.Add msoControlButton, _ 19, , , True '19= Copy .Controls.Add msoControlButton, _ 22, , , True ' 22=Paste ' add customized buttons with our caption and ' function name -- second param is blank Set cmbBtn1 = .Controls.Add(msoControlButton, _ , , , True) With cmbBtn1 .BeginGroup = True .Caption = "Create New" .OnAction = "=CreateNewOrder()" .FaceID = 59 'smiley face End With Set cmbBtn2 = .Controls.Add(msoControlButton, _ , , , True) With cmbBtn2 .Caption = "Reset" .OnAction = "=ClearOrder()" .FaceID = 27 'some other icon End With End With End Function To make it temporary, change the last parameter to True: Set cmb = CommandBars.Add("MyContext", _ msoBarPopup, False, True) Finally, adjust your form: Properties->Other->Shortcut Menu=Yes Properties->Other->Shortcut Menu Bar=MyContext /gustav >>> phpons at gmail.com 17-08-12 11:55 >>> Gustav, Here is a link where you can download a events.xlsm Excel workbook with a code to create a popup menu. I guess it could be used in access the same way. http://gallery.technet.microsoft.com/Excel-2010-Code-Example-ad66f451 Regards, Philippe 2012/8/17 Gustav Brock > Hi Charlotte > > No, unfortunately not, that link is about the ribbon. > My popup menu will be completely separated from that. > > /gustav > > > >>> charlotte.foust at gmail.com 17-08-12 5:28 >>> > I haven't done it in years in Access. Does this help? > > http://www.accessribbon.de/en/index.php?FAQ:9 > > Popup menus seemed to have devolved into context sensitive ribbons, which > aren't the same thing at all. > > Charlotte > > On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock wrote: > > > Hi all > > > > So this would be one of the tough questions at a job interview? > > > > Has no one created a popup-menu? > > > > /gustav > > > > > > >>> gustav at cactus.dk 15-08-12 18:23 >>> > > Hi all > > > > I need some help with this. > > > > I've found out that you need a reference to the Office Object Library and > > then create a "commandbar" to achieve this, but the code examples I can > > locate just adds standard Access/Office commands to the menu using > "secret" > > values. > > > > My popup should be displayed when right-clicking the form outside the > > controls. > > It should contain a few menu entries, say: > > > > Create New > > Reset > > > > When clicking one of these, a function of mine should be called, like: > > > > CreateNewOrder() > > ClearOrder() > > > > No fancy icons or the like is needed. > > > > I've managed to create a shortcutmenu (macro) but, when I right-click, no > > menu is shown - the macro is executed right away. > > > > /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 charlotte.foust at gmail.com Fri Aug 17 08:46:35 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 17 Aug 2012 06:46:35 -0700 Subject: [AccessD] A2010: Create custom popup menu to run custom function In-Reply-To: References: Message-ID: Really? I haven't found a way to create popup menus in 2007+. Only way I know to do it is create it in an earlier version and then convert to the later version, where it becomes an add-in. Charlotte On Fri, Aug 17, 2012 at 2:08 AM, Gustav Brock wrote: > Hi Charlotte > > No, unfortunately not, that link is about the ribbon. > My popup menu will be completely separated from that. > > /gustav > > > >>> charlotte.foust at gmail.com 17-08-12 5:28 >>> > I haven't done it in years in Access. Does this help? > > http://www.accessribbon.de/en/index.php?FAQ:9 > > > > Popup menus seemed to have devolved into context sensitive ribbons, which > aren't the same thing at all. > > Charlotte > > On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock wrote: > > > Hi all > > > > So this would be one of the tough questions at a job interview? > > > > Has no one created a popup-menu? > > > > /gustav > > > > > > >>> gustav at cactus.dk 15-08-12 18:23 >>> > > Hi all > > > > I need some help with this. > > > > I've found out that you need a reference to the Office Object Library and > > then create a "commandbar" to achieve this, but the code examples I can > > locate just adds standard Access/Office commands to the menu using > "secret" > > values. > > > > My popup should be displayed when right-clicking the form outside the > > controls. > > It should contain a few menu entries, say: > > > > Create New > > Reset > > > > When clicking one of these, a function of mine should be called, like: > > > > CreateNewOrder() > > ClearOrder() > > > > No fancy icons or the like is needed. > > > > I've managed to create a shortcutmenu (macro) but, when I right-click, no > > menu is shown - the macro is executed right away. > > > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Fri Aug 17 16:48:28 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 18 Aug 2012 09:48:28 +1200 Subject: [AccessD] Friday Message-ID: http://www.dilbert.com/strips/comic/2012-07-26/ From steve at datamanagementsolutions.biz Fri Aug 17 19:20:45 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sat, 18 Aug 2012 12:20:45 +1200 Subject: [AccessD] Friday In-Reply-To: References: Message-ID: Now that is a good one! :) Thank you very much, Stephen. Regards Steve -----Original Message----- From: Stephen Bond Sent: Saturday, August 18, 2012 9:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Friday http://www.dilbert.com/strips/comic/2012-07-26/ From fuller.artful at gmail.com Sat Aug 18 07:13:55 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 18 Aug 2012 08:13:55 -0400 Subject: [AccessD] Access Book recommendations sought Message-ID: A friend of mine is looking for a Access book that is especially strong on Reports. He knows his database theory already (RI, joins, PK/FK, etc.) and anyway, he won't be creating any tables, only joins to tables originating from a variety of data sources, hit using ODBC. Personally, I like the report writer in 2007+ vastly more than previous versions, so I'm recommending he go with that. I searched Amazon and saw two promising candidates, neither of which I've read. They are *Brilliant Microsoft Access 2007 Forms, Reports and Queries*(which is pricey), and *Microsoft Office Access 2007 Forms, Reports and Queries*, by Paul McFedries (much cheaper). Cost is not the deciding factor. Has anyone read either of these? Any other suggestions? Thanks. -- Arthur Cell: 647.710.1314 If you think education is expensive, try ignorance. -- unknown From ssharkins at gmail.com Sat Aug 18 07:41:26 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2012 08:41:26 -0400 Subject: [AccessD] Access Book recommendations sought References: Message-ID: > > I searched Amazon and saw two promising candidates, neither of which I've > read. They are *Brilliant Microsoft Access 2007 Forms, Reports and > Queries*(which is pricey), and > *Microsoft Office Access 2007 Forms, Reports and Queries*, by Paul > McFedries (much cheaper). Cost is not the deciding factor. =======Did you check the online reviews? You have to be careful -- some readers are just anal -- but they might give you a clue as to which might fit the bill best. I once had a reviewer really trash one of my books, but said enough for me to realize he wasn't even talking about my book! He dropped a line about one of the male authors... um... not me. :) Amazon removed it for me. So, don't let negative remarks sway you too much -- unless they're all negative. :) Susan H. From BradM at blackforestltd.com Sat Aug 18 07:46:36 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Sat, 18 Aug 2012 07:46:36 -0500 Subject: [AccessD] Access Book recommendations sought References: Message-ID: Arthur, I don't have any book recommendations for Access reporting. However, I have used Access 2007 to create many many reports. If your friend has questions, I would certainly be glad to help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Sat 8/18/2012 7:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access Book recommendations sought A friend of mine is looking for a Access book that is especially strong on Reports. He knows his database theory already (RI, joins, PK/FK, etc.) and anyway, he won't be creating any tables, only joins to tables originating from a variety of data sources, hit using ODBC. Personally, I like the report writer in 2007+ vastly more than previous versions, so I'm recommending he go with that. I searched Amazon and saw two promising candidates, neither of which I've read. They are *Brilliant Microsoft Access 2007 Forms, Reports and Queries*(which is pricey), and *Microsoft Office Access 2007 Forms, Reports and Queries*, by Paul McFedries (much cheaper). Cost is not the deciding factor. Has anyone read either of these? Any other suggestions? Thanks. -- Arthur Cell: 647.710.1314 If you think education is expensive, try ignorance. -- unknown -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fuller.artful at gmail.com Sat Aug 18 08:05:19 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 18 Aug 2012 09:05:19 -0400 Subject: [AccessD] Access Book recommendations sought In-Reply-To: References: Message-ID: Susan, That's why I posted my question here. I'm shy of casual reviews as well. Brad, Thanks for the offer. Probably I'll be answering most of his questions, but if I'm stumped I'll be sure to ask you. A. From robert at servicexp.com Sat Aug 18 10:02:50 2012 From: robert at servicexp.com (Robert) Date: Sat, 18 Aug 2012 11:02:50 -0400 Subject: [AccessD] OT: Server RDP Printer Redirect Question In-Reply-To: References: Message-ID: <001201cd7d52$8bea22a0$a3be67e0$@com> Remote user, RDP's into Windows 2008 Server (Internet), which initiates another RDP into a Window 7 Pro machine inside the network (LAN). When the user RDP's into the Server (Internet), the users local printers are correctly redirected, but when the user then makes the 2nd jump into the Windows 7 machine (LAN), none of the users local printers are redirected to the Windows 7 machine. Is there any way to overcome this? TIA WBR Robert From stuart at lexacorp.com.pg Sat Aug 18 16:38:17 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Aug 2012 07:38:17 +1000 Subject: [AccessD] Access Book recommendations sought In-Reply-To: References: , , Message-ID: <50300B49.16922.4FB69C4@stuart.lexacorp.com.pg> And he can always sign up to the list and post his questions here :-) By far the best way to learn IMNSHO is to experiment and ask questions when you get stumped rather than wading through a book. -- Stuart On 18 Aug 2012 at 9:05, Arthur Fuller wrote: > Susan, > > That's why I posted my question here. I'm shy of casual reviews as well. > > Brad, > > Thanks for the offer. Probably I'll be answering most of his questions, but > if I'm stumped I'll be sure to ask you. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Sat Aug 18 17:05:28 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 19 Aug 2012 02:05:28 +0400 Subject: [AccessD] =?utf-8?q?Access_Book_recommendations_sought?= In-Reply-To: References: Message-ID: <1345327528.397274735@f75.mail.ru> Hi Arthur -- "Microsoft Office Access 2007 Forms, Reports and Queries", by Paul?McFedries is not bad IMO. I have an electronic copy here, which I have only glanced but what I have seen and read looked nod bad. But this books does not have any VBA development information. Customers reviews on Amazon web site give a proper overview and set a correct rate for his book I suppose. Thank you. -- Shamil Sat, 18 Aug 2012 08:13:55 -0400 ?? Arthur Fuller : > > > > >A friend of mine is looking for a Access book that is especially strong on > Reports. He knows his database theory already (RI, joins, PK/FK, etc.) and > anyway, he won't be creating any tables, only joins to tables originating > from a variety of data sources, hit using ODBC. Personally, I like the > report writer in 2007+ vastly more than previous versions, so I'm > recommending he go with that. > > I searched Amazon and saw two promising candidates, neither of which I've > read. They are *Brilliant Microsoft Access 2007 Forms, Reports and > Queries*(which is pricey), and > *Microsoft Office Access 2007 Forms, Reports and Queries*, by Paul > McFedries (much cheaper). Cost is not the deciding factor. > > Has anyone read either of these? Any other suggestions? > > Thanks. > -- > Arthur > Cell: 647.710.1314 > > If you think education is expensive, try ignorance. > -- unknown > -- > AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sun Aug 19 09:27:59 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 19 Aug 2012 10:27:59 -0400 Subject: [AccessD] OT: Server RDP Printer Redirect Question In-Reply-To: <001201cd7d52$8bea22a0$a3be67e0$@com> References: <001201cd7d52$8bea22a0$a3be67e0$@com> Message-ID: <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> No. Why not have them just RDP straight to the Window 7 Pro Machine? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, August 18, 2012 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Server RDP Printer Redirect Question Remote user, RDP's into Windows 2008 Server (Internet), which initiates another RDP into a Window 7 Pro machine inside the network (LAN). When the user RDP's into the Server (Internet), the users local printers are correctly redirected, but when the user then makes the 2nd jump into the Windows 7 machine (LAN), none of the users local printers are redirected to the Windows 7 machine. Is there any way to overcome this? TIA WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Aug 19 14:15:20 2012 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 19 Aug 2012 12:15:20 -0700 (PDT) Subject: [AccessD] Running Access App on a Machine that does not have Access In-Reply-To: <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> References: <001201cd7d52$8bea22a0$a3be67e0$@com> <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> Message-ID: <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> I have been working with Access for several years and have never had to do this. I was told it was possible but cannot find a simple solution. I just to be able to run my Access?application?on a?computer?that does not have MS Access installed on it. I am hearing about runtime, developer extensions and acde. What is the real solution and is there a walk through to show you how to do it? Thanks.? From jwcolby at colbyconsulting.com Sun Aug 19 14:55:38 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 19 Aug 2012 15:55:38 -0400 Subject: [AccessD] Friday In-Reply-To: References: Message-ID: <503144BA.1040206@colbyconsulting.com> I think 45 minutes is a pretty accurate estimate! :) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/17/2012 8:20 PM, Steve Schapel wrote: > Now that is a good one! :) > > Thank you very much, Stephen. > > Regards > Steve > > -----Original Message----- From: Stephen Bond Sent: Saturday, August 18, 2012 9:48 AM To: Access > Developers discussion and problem solving Subject: [AccessD] Friday > > http://www.dilbert.com/strips/comic/2012-07-26/ > > > From robert at servicexp.com Sun Aug 19 15:58:44 2012 From: robert at servicexp.com (Robert) Date: Sun, 19 Aug 2012 16:58:44 -0400 Subject: [AccessD] OT: Server RDP Printer Redirect Question In-Reply-To: <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> References: <001201cd7d52$8bea22a0$a3be67e0$@com> <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> Message-ID: <000001cd7e4d$6e24cee0$4a6e6ca0$@com> Good question Jim, I guess I thought this would be a lot easier, and I could control which users get forwarded to their machine from those who do not.. AND I'm Not sure how to direct multiple RDP session to multiple machines through the same router... What do you suggest? WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 19, 2012 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Server RDP Printer Redirect Question No. Why not have them just RDP straight to the Window 7 Pro Machine? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, August 18, 2012 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Server RDP Printer Redirect Question Remote user, RDP's into Windows 2008 Server (Internet), which initiates another RDP into a Window 7 Pro machine inside the network (LAN). When the user RDP's into the Server (Internet), the users local printers are correctly redirected, but when the user then makes the 2nd jump into the Windows 7 machine (LAN), none of the users local printers are redirected to the Windows 7 machine. Is there any way to overcome this? TIA WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 19 15:59:21 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 19 Aug 2012 13:59:21 -0700 Subject: [AccessD] Running Access App on a Machine that does not have Access In-Reply-To: <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> References: <001201cd7d52$8bea22a0$a3be67e0$@com><52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> Message-ID: <2DB8CF8AB8D14CACA0F6483FE99279D9@HAL9007> I have used the Wise installation system for years. Pretty complicated to create the scripts so I bought the run-time scripts from Sage Key. Worth every penny. The Microsoft run-time packager in 2003 was pretty sketchy - which created a market for Sage Key. I don't know if they've done better. If you're using 2010, I'm sure you can get some opinions about it from the list. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, August 19, 2012 12:15 PM To: Access Developers discussion and problem solving Subject: [AccessD] Running Access App on a Machine that does not have Access I have been working with Access for several years and have never had to do this. I was told it was possible but cannot find a simple solution. I just to be able to run my Access?application?on a?computer?that does not have MS Access installed on it. I am hearing about runtime, developer extensions and acde. What is the real solution and is there a walk through to show you how to do it? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Aug 19 16:19:06 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 20 Aug 2012 09:19:06 +1200 Subject: [AccessD] Friday In-Reply-To: <62EE666E21BF41CC9C4996183C85BBD2@BondSoftware.local> References: <62EE666E21BF41CC9C4996183C85BBD2@BondSoftware.local> Message-ID: The story continues. Click the 'next day' button just above the cartoon strip -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 20 August 2012 8:01 a.m. To: Stephen Subject: Re: [AccessD] Friday I think 45 minutes is a pretty accurate estimate! :) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/17/2012 8:20 PM, Steve Schapel wrote: > Now that is a good one! :) > > Thank you very much, Stephen. > > Regards > Steve > > -----Original Message----- From: Stephen Bond Sent: Saturday, August 18, 2012 9:48 AM To: Access > Developers discussion and problem solving Subject: [AccessD] Friday > > http://www.dilbert.com/strips/comic/2012-07-26/ > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Aug 19 16:19:08 2012 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 19 Aug 2012 14:19:08 -0700 (PDT) Subject: [AccessD] Running Access App on a Machine that does not have Access In-Reply-To: <2DB8CF8AB8D14CACA0F6483FE99279D9@HAL9007> References: <001201cd7d52$8bea22a0$a3be67e0$@com><52580465DA7F4FE3AB6C4ADE41AE86D1@XPS> <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> <2DB8CF8AB8D14CACA0F6483FE99279D9@HAL9007> Message-ID: <1345411148.15779.YahooMailNeo@web110215.mail.gq1.yahoo.com> Thanks. Yes, I am using 2010 in 2007 format. ________________________________ From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Sunday, August 19, 2012 3:59 PM Subject: Re: [AccessD] Running Access App on a Machine that does not have Access I have used the Wise installation system for years.? Pretty complicated to create the scripts so I bought the run-time scripts from Sage Key.? Worth every penny.? The Microsoft run-time packager in 2003 was pretty sketchy - which created a market for Sage Key.? I don't know if they've done better.? If you're using 2010, I'm sure you can get some opinions about it from the list. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, August 19, 2012 12:15 PM To: Access Developers discussion and problem solving Subject: [AccessD] Running Access App on a Machine that does not have Access I have been working with Access for several years and have never had to do this. I was told it was possible but cannot find a simple solution. I just to be able to run my Access?application?on a?computer?that does not have MS Access installed on it. I am hearing about runtime, developer extensions and acde. What is the real solution and is there a walk through to show you how to do it? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Aug 19 16:57:29 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Aug 2012 07:57:29 +1000 Subject: [AccessD] Running Access App on a Machine that does not have Access In-Reply-To: <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> References: , <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS>, <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> Message-ID: <50316149.21633.A334158@stuart.lexacorp.com.pg> Hi Lonnie, You can get the Access Runtime here: http://www.microsoft.com/en-us/download/details.aspx?id=10910 It lets you bundle your Access application together with the ACE engine into an installtion package so that it can be installed and run on any PC. -- Stuart On 19 Aug 2012 at 12:15, Lonnie Johnson wrote: > I have been > working with Access for several years and have never had to do this. I was told > it was possible but cannot find a simple solution. I just to be able to run my > Access?application?on a?computer?that does not have MS Access installed > on it. I am hearing about runtime, developer extensions and acde. What is the > real solution and is there a walk through to show you how to do it? > > Thanks.? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Aug 19 18:09:56 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 19 Aug 2012 23:09:56 +0000 Subject: [AccessD] Access Book recommendations sought In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B524FFC142@SINPRD0410MB381.apcprd04.prod.outlook.com> Heh.. Yeah, it is amazing how many folks seem fire off comments on those site, and often it is very obvious that they either have read/heard/seen what they are commenting on, or if they did, they totally missed the point. Sometimes the comments are just someone having a rant about the pet hobby horse of the week. Good quality comments and feedback (positive or otherwise) are often valuable for other consumers, but there is usually a lot of sewage to wade thru to find those nuggets of usefulness. In some ways I can see the whole 'social media' experience drowning in it's own tsunami of babble and hum. Pretty sure at some point folks are going to see quality of comment over quantity... But hey I have been awfully wrong on this stuff before and severely underestimated the market depth for cheap, shallow and meaningless nonsense. On a side note, In Oz there are some pretty tight laws about what you can say in public, especially in Advertising and the media, and the courts here have just decided that Companies are responsible to ensure all comments on their Facebook page are accurate and within the laws regarding advertising. This is because the courts here decided that their Facebook page(s) are actually commercials, and therefore any claims made on them must be factual and not misleading. There must be folks who are employed just to monitor social media comments these days. <> Way OT, but maybe of interest... Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 18 August 2012 10:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Book recommendations sought > > I searched Amazon and saw two promising candidates, neither of which > I've read. They are *Brilliant Microsoft Access 2007 Forms, Reports > and Queries*(which is pricey), and *Microsoft Office Access 2007 > Forms, Reports and Queries*, by Paul McFedries (much cheaper). Cost is > not the deciding factor. =======Did you check the online reviews? You have to be careful -- some readers are just anal -- but they might give you a clue as to which might fit the bill best. I once had a reviewer really trash one of my books, but said enough for me to realize he wasn't even talking about my book! He dropped a line about one of the male authors... um... not me. :) Amazon removed it for me. So, don't let negative remarks sway you too much -- unless they're all negative. :) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Aug 19 19:21:23 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Aug 2012 20:21:23 -0400 Subject: [AccessD] Access Book recommendations sought In-Reply-To: <56653D383CB80341995245C537A9E7B524FFC142@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B524FFC142@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <01cf01cd7e69$bb6bc340$324349c0$@net> Re: " There must be folks who are employed just to monitor social media comments these days." New growth industry ? From prodevmg at yahoo.com Mon Aug 20 09:07:59 2012 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 20 Aug 2012 07:07:59 -0700 (PDT) Subject: [AccessD] Running Access App on a Machine that does not have Access In-Reply-To: <50316149.21633.A334158@stuart.lexacorp.com.pg> References: , <52580465DA7F4FE3AB6C4ADE41AE86D1@XPS>, <1345403720.92148.YahooMailNeo@web110214.mail.gq1.yahoo.com> <50316149.21633.A334158@stuart.lexacorp.com.pg> Message-ID: <1345471679.58755.YahooMailNeo@web110212.mail.gq1.yahoo.com> Thanks Stuart. That is what I discovered last night. I first had to go to control panel==>add/remove/change programs to add the publishing wizard. Then it was pretty easy after that. ________________________________ From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Sunday, August 19, 2012 4:57 PM Subject: Re: [AccessD] Running Access App on a Machine that does not have Access Hi Lonnie, You can get the Access Runtime here: http://www.microsoft.com/en-us/download/details.aspx?id=10910 It lets you bundle your Access application together with the ACE engine into an installtion package so that? it can be installed and run on any PC. -- Stuart On 19 Aug 2012 at 12:15, Lonnie Johnson wrote: > I have been > working with Access for several years and have never had to do this. I was told > it was possible but cannot find a simple solution. I just to be able to run my > Access?application?on a?computer?that does not have MS Access installed > on it. I am hearing about runtime, developer extensions and acde. What is the > real solution and is there a walk through to show you how to do it? > > Thanks.? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com/ From fuller.artful at gmail.com Mon Aug 20 10:46:00 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 20 Aug 2012 11:46:00 -0400 Subject: [AccessD] OT: Database joke Message-ID: This query walks into a bar and joins two tables. The waiter says, "What did you do that for?" The query replies, "I like this View." -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From df.waters at comcast.net Mon Aug 20 11:00:44 2012 From: df.waters at comcast.net (Dan Waters) Date: Mon, 20 Aug 2012 11:00:44 -0500 Subject: [AccessD] OT: Database joke In-Reply-To: References: Message-ID: <002d01cd7eec$f4ac3300$de049900$@comcast.net> Arthur - that is a horrible joke! So laughed for 10 minutes! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 20, 2012 10:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Database joke This query walks into a bar and joins two tables. The waiter says, "What did you do that for?" The query replies, "I like this View." -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Aug 20 11:39:10 2012 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Aug 2012 18:39:10 +0200 Subject: [AccessD] OT: Database joke Message-ID: Hi Arthur Walks? I thought a query runs? Or is that the waiter - to get the order? /gustav >>> fuller.artful at gmail.com 20-08-12 17:46 >>> This query walks into a bar and joins two tables. The waiter says, "What did you do that for?" The query replies, "I like this View." -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From accessd at shaw.ca Mon Aug 20 11:32:06 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Aug 2012 09:32:06 -0700 Subject: [AccessD] OT: Database joke In-Reply-To: References: Message-ID: <12AFBE0025AD4ABABDF791B5B0099236@creativesystemdesigns.com> Please... it is great. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 20, 2012 8:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Database joke This query walks into a bar and joins two tables. The waiter says, "What did you do that for?" The query replies, "I like this View." -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 20 11:36:19 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 20 Aug 2012 09:36:19 -0700 Subject: [AccessD] OT: Database joke In-Reply-To: References: Message-ID: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007> ORDER BY who? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 20, 2012 9:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Database joke Hi Arthur Walks? I thought a query runs? Or is that the waiter - to get the order? /gustav >>> fuller.artful at gmail.com 20-08-12 17:46 >>> This query walks into a bar and joins two tables. The waiter says, "What did you do that for?" The query replies, "I like this View." -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Mon Aug 20 12:14:47 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 20 Aug 2012 13:14:47 -0400 Subject: [AccessD] OT: Database joke In-Reply-To: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007> References: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007> Message-ID: Rocky, Give ,me a minute or two. I think I can run with that suggestion! The possibilities expand before my eyes! Would you like to Order By? A. From Chester_Kaup at kindermorgan.com Mon Aug 20 13:05:27 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 20 Aug 2012 13:05:27 -0500 Subject: [AccessD] Clsing a form. Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? From jimdettman at verizon.net Mon Aug 20 13:23:30 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Aug 2012 14:23:30 -0400 Subject: [AccessD] Clsing a form. In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> Message-ID: <947069DCAD8B4CD3802099FDB9B82651@XPS> Is it enabled? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Clsing a form. I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 20 13:31:14 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 20 Aug 2012 13:31:14 -0500 Subject: [AccessD] Clsing a form. In-Reply-To: <947069DCAD8B4CD3802099FDB9B82651@XPS> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> Isn't setting the form property of the close button to yes the same as enabling it or am I wrong? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 1:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. Is it enabled? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Clsing a form. I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Aug 20 14:21:33 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Aug 2012 15:21:33 -0400 Subject: [AccessD] Clsing a form. In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> Message-ID: <839EDA9615C147A780A95110477AB4D9@XPS> It is...you meant the close in the form window, not a separate button. Can't think of any reason off-hand it should be grayed out. If you can see it, it should be clickable. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clsing a form. Isn't setting the form property of the close button to yes the same as enabling it or am I wrong? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 1:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. Is it enabled? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Clsing a form. I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 20 15:21:01 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 20 Aug 2012 13:21:01 -0700 Subject: [AccessD] OT: Database joke In-Reply-To: References: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007> Message-ID: <5911E3584A3A461486C730DBAE5EA8E1@HAL9007> Humor.Query DESC r -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 20, 2012 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Database joke Rocky, Give ,me a minute or two. I think I can run with that suggestion! The possibilities expand before my eyes! Would you like to Order By? A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Aug 20 16:09:35 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 20 Aug 2012 17:09:35 -0400 Subject: [AccessD] OT: Database joke References: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007> <5911E3584A3A461486C730DBAE5EA8E1@HAL9007> Message-ID: You guys plain scare me. :) Susan H. > Humor.Query DESC > > r From rockysmolin at bchacc.com Mon Aug 20 17:03:15 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 20 Aug 2012 15:03:15 -0700 Subject: [AccessD] OT: Database joke In-Reply-To: References: <1A646CDE5D194EC4B569B33AEA9E6FDF@HAL9007><5911E3584A3A461486C730DBAE5EA8E1@HAL9007> Message-ID: <231030024EFB4D3F8ABEE1B7AA062F23@HAL9007> Mission accomplished. I think our work is done here. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, August 20, 2012 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Database joke You guys plain scare me. :) Susan H. > Humor.Query DESC > > r -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 21 19:51:35 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Aug 2012 17:51:35 -0700 Subject: [AccessD] Error 70 Message-ID: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Dear List: I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access installed - - and had a user come up with an error that I've never had a user report: Error: 70 - Permission denied In: frmMfrsXref.DisplayPartMaster Never had this happen before and have had many users use this system for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster reads from a DAO recordset, but no writing. Can anyone shed any light on what might have caused this? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From paul.hartland at googlemail.com Tue Aug 21 23:24:03 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 22 Aug 2012 05:24:03 +0100 Subject: [AccessD] Error 70 In-Reply-To: <13FD071067D54DA39154F21DD9352CE8@HAL9007> References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: Rocky, I would have thought that error would only appear if the user in question did not have access to a folder, but if it just reads a recordset and doesn't have to look at anything from a folder beforehand then I am stumped, would be interested to see what's causing it though. Paul On 22 August 2012 01:51, Rocky Smolin wrote: > Dear List: > > I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access > installed - - and had a user come up with an error that I've never had a > user report: > > Error: 70 - Permission denied > In: frmMfrsXref.DisplayPartMaster > > Never had this happen before and have had many users use this system for > years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster reads > from a DAO recordset, but no writing. > > Can anyone shed any light on what might have caused this? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From rockysmolin at bchacc.com Tue Aug 21 23:37:09 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Aug 2012 21:37:09 -0700 Subject: [AccessD] Error 70 In-Reply-To: References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: <7A9FB3911DD84C8DB57C2B554714DB96@HAL9007> He's evaluating the software so the whole thing - front and back end included - are installed in a folder on his C: drive - unless he specified otherwise which I doubt. But I'm going to call him tomorrow and make sure. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Tuesday, August 21, 2012 9:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error 70 Rocky, I would have thought that error would only appear if the user in question did not have access to a folder, but if it just reads a recordset and doesn't have to look at anything from a folder beforehand then I am stumped, would be interested to see what's causing it though. Paul On 22 August 2012 01:51, Rocky Smolin wrote: > Dear List: > > I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access > installed - - and had a user come up with an error that I've never had > a user report: > > Error: 70 - Permission denied > In: frmMfrsXref.DisplayPartMaster > > Never had this happen before and have had many users use this system > for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster > reads from a DAO recordset, but no writing. > > Can anyone shed any light on what might have caused this? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at mattysconsulting.com Wed Aug 22 05:24:31 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Wed, 22 Aug 2012 06:24:31 -0400 Subject: [AccessD] Crystal Reports Opportunity Message-ID: <00d001cd8050$5258e930$f70abb90$@mattysconsulting.com> Hi Folks, My client is seeking a Crystal Reports developer. This is a college for health care field training. He said it is definitely not simple stuff. Please send an email to me for contact information. Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com 585-544-4385 Home Office From jimdettman at verizon.net Wed Aug 22 06:45:30 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Aug 2012 07:45:30 -0400 Subject: [AccessD] Error 70 In-Reply-To: <13FD071067D54DA39154F21DD9352CE8@HAL9007> References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: That's definitely a OS level permissions error. Does that form use any kind of Active-X control? Have import/export capability? Use a temp file? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 21, 2012 08:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 70 Dear List: I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access installed - - and had a user come up with an error that I've never had a user report: Error: 70 - Permission denied In: frmMfrsXref.DisplayPartMaster Never had this happen before and have had many users use this system for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster reads from a DAO recordset, but no writing. Can anyone shed any light on what might have caused this? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Aug 22 06:48:37 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Aug 2012 07:48:37 -0400 Subject: [AccessD] Error 70 In-Reply-To: <13FD071067D54DA39154F21DD9352CE8@HAL9007> References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: BTW, one of the things I did to my apps many years ago is apply line numbering and use the undocumented VBA.Erl call in my error handling. That's helped immensely in pinning down errors because it pin points an error to a specific line of code. Line numbering can be added/removed using MZ Tools (and you can do a ton more with it), which is free. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 21, 2012 08:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 70 Dear List: I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access installed - - and had a user come up with an error that I've never had a user report: Error: 70 - Permission denied In: frmMfrsXref.DisplayPartMaster Never had this happen before and have had many users use this system for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster reads from a DAO recordset, but no writing. Can anyone shed any light on what might have caused this? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Wed Aug 22 07:59:21 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 22 Aug 2012 08:59:21 -0400 Subject: [AccessD] Error 70 In-Reply-To: References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: Could not agree more, both in the value of getting error line information and the huge utility of MZ tools. I'm also a fan of Smart Indenter available free from here http://www.oaltd.co.uk/Indenter/Default.htm. It tidies up your code in a flash and makes reading the flow much easier. As for error 70 - the OS is complaining about something. I've only ever come across that when my code has attempted to delete a file that the user has currently open. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 22, 2012 7:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 70 BTW, one of the things I did to my apps many years ago is apply line numbering and use the undocumented VBA.Erl call in my error handling. That's helped immensely in pinning down errors because it pin points an error to a specific line of code. Line numbering can be added/removed using MZ Tools (and you can do a ton more with it), which is free. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 21, 2012 08:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 70 Dear List: I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access installed - - and had a user come up with an error that I've never had a user report: Error: 70 - Permission denied In: frmMfrsXref.DisplayPartMaster Never had this happen before and have had many users use this system for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster reads from a DAO recordset, but no writing. Can anyone shed any light on what might have caused this? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 22 11:25:50 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Aug 2012 09:25:50 -0700 Subject: [AccessD] Error 70 In-Reply-To: References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> Message-ID: <84440652256D4BED810B285C7BE0B611@HAL9007> He's running my runtime but has Office 2010 without Access installed. Just got another error which indicates a reference problem. He's running local - just on his laptop and is going to try it on another machine - one without Office if he can find it. But if they have Office 2010 without access and I'm deploying an Access 2003 mde run-time using Wise/Sagekey, am I screwed? TIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Tuesday, August 21, 2012 9:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error 70 Rocky, I would have thought that error would only appear if the user in question did not have access to a folder, but if it just reads a recordset and doesn't have to look at anything from a folder beforehand then I am stumped, would be interested to see what's causing it though. Paul On 22 August 2012 01:51, Rocky Smolin wrote: > Dear List: > > I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access > installed - - and had a user come up with an error that I've never had > a user report: > > Error: 70 - Permission denied > In: frmMfrsXref.DisplayPartMaster > > Never had this happen before and have had many users use this system > for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster > reads from a DAO recordset, but no writing. > > Can anyone shed any light on what might have caused this? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Aug 22 11:37:04 2012 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 22 Aug 2012 09:37:04 -0700 Subject: [AccessD] Error 70 In-Reply-To: <84440652256D4BED810B285C7BE0B611@HAL9007> References: <13FD071067D54DA39154F21DD9352CE8@HAL9007> <84440652256D4BED810B285C7BE0B611@HAL9007> Message-ID: You shouldn't be. Just wondering, where is he installing it on his PC, and what is his OS? I know I had to tweak some Vista machines to run in C:\Users\Username\AppData\Local\ because of over protective Windows issues On Wed, Aug 22, 2012 at 9:25 AM, Rocky Smolin wrote: > He's running my runtime but has Office 2010 without Access installed. Just > got another error which indicates a reference problem. He's running local > - > just on his laptop and is going to try it on another machine - one without > Office if he can find it. > > But if they have Office 2010 without access and I'm deploying an Access > 2003 > mde run-time using Wise/Sagekey, am I screwed? > > TIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland > Sent: Tuesday, August 21, 2012 9:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error 70 > > Rocky, > > I would have thought that error would only appear if the user in question > did not have access to a folder, but if it just reads a recordset and > doesn't have to look at anything from a folder beforehand then I am > stumped, > would be interested to see what's causing it though. > > Paul > > On 22 August 2012 01:51, Rocky Smolin wrote: > > > Dear List: > > > > I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access > > installed - - and had a user come up with an error that I've never had > > a user report: > > > > Error: 70 - Permission denied > > In: frmMfrsXref.DisplayPartMaster > > > > Never had this happen before and have had many users use this system > > for years. Bit of a mystery. The module frmMfrsXref.DisplayPartMaster > > reads from a DAO recordset, but no writing. > > > > Can anyone shed any light on what might have caused this? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Wed Aug 22 12:03:36 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Aug 2012 10:03:36 -0700 Subject: [AccessD] Error 70 In-Reply-To: References: <13FD071067D54DA39154F21DD9352CE8@HAL9007><84440652256D4BED810B285C7BE0B611@HAL9007> Message-ID: Just got an email from him. He tried it on a different machine and it worked. So it's something about his laptop. I'll forward your response. He's an IT guy so it may tell him something. Thanks to all Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, August 22, 2012 9:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error 70 You shouldn't be. Just wondering, where is he installing it on his PC, and what is his OS? I know I had to tweak some Vista machines to run in C:\Users\Username\AppData\Local\ because of over protective Windows issues On Wed, Aug 22, 2012 at 9:25 AM, Rocky Smolin wrote: > He's running my runtime but has Office 2010 without Access installed. > Just got another error which indicates a reference problem. He's > running local > - > just on his laptop and is going to try it on another machine - one > without Office if he can find it. > > But if they have Office 2010 without access and I'm deploying an > Access > 2003 > mde run-time using Wise/Sagekey, am I screwed? > > TIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul > Hartland > Sent: Tuesday, August 21, 2012 9:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error 70 > > Rocky, > > I would have thought that error would only appear if the user in > question did not have access to a folder, but if it just reads a > recordset and doesn't have to look at anything from a folder > beforehand then I am stumped, would be interested to see what's > causing it though. > > Paul > > On 22 August 2012 01:51, Rocky Smolin wrote: > > > Dear List: > > > > I have an app - mde 2003 - runtime using Wise/Sagekey - so no Access > > installed - - and had a user come up with an error that I've never > > had a user report: > > > > Error: 70 - Permission denied > > In: frmMfrsXref.DisplayPartMaster > > > > Never had this happen before and have had many users use this system > > for years. Bit of a mystery. The module > > frmMfrsXref.DisplayPartMaster reads from a DAO recordset, but no writing. > > > > Can anyone shed any light on what might have caused this? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Aug 22 16:06:58 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 22 Aug 2012 16:06:58 -0500 Subject: [AccessD] Clsing a form. In-Reply-To: <839EDA9615C147A780A95110477AB4D9@XPS> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> <839EDA9615C147A780A95110477AB4D9@XPS> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> The answer is both the control box and close button properties must be set to Yes on the property sheet of the form. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. It is...you meant the close in the form window, not a separate button. Can't think of any reason off-hand it should be grayed out. If you can see it, it should be clickable. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clsing a form. Isn't setting the form property of the close button to yes the same as enabling it or am I wrong? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 1:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. Is it enabled? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Clsing a form. I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Aug 22 20:44:48 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 22 Aug 2012 18:44:48 -0700 Subject: [AccessD] Access 2007 on a network Message-ID: I've got a beta deployed on a citrix network. Shared drive with enterprise and I own the folder. I'm getting reports of people not able to log in from elsehwere in our network. And I'm seeing corruption as a result of their efforts. I use an mdb in 2002-2003 format. I just want them to be able to explore the thing, and I can't duplicate the issues from my machine going into the same shared folder and just running it. IT doesn't support Access and wouldn't know how to start. All of use basically run off of citrix drives unless we specifically save stuff to C: Our "desktop" in on a personal enterprise drive, so having them copy it there might not make any difference; and anyway, I'd have to make sure they all got the latest build every day! I'm not about to build an elaborate front end updater for something that will evolve away from Access as some point, especially when they still have nailed down all their requirements. Any suggestions (keep it clean, please. I'm a Buddhist) Charlotte From dkalsow at yahoo.com Wed Aug 22 21:23:11 2012 From: dkalsow at yahoo.com (Dale Kalsow) Date: Wed, 22 Aug 2012 19:23:11 -0700 (PDT) Subject: [AccessD] Crystal Reports Opportunity In-Reply-To: <00d001cd8050$5258e930$f70abb90$@mattysconsulting.com> References: <00d001cd8050$5258e930$f70abb90$@mattysconsulting.com> Message-ID: <1345688591.30891.YahooMailNeo@web125604.mail.ne1.yahoo.com> Sounds interesting.? I have been doing crystal for several years.? ? dkalsow at yahoo.com? Where is the position located? ? Dale ________________________________ From: Michael Mattys To: Access-D Sent: Wednesday, August 22, 2012 5:24 AM Subject: [AccessD] Crystal Reports Opportunity Hi Folks, My client is seeking a Crystal Reports developer. This is a college for health care field training. He said it is definitely not simple stuff. Please send an email to me for contact information. Michael R Mattys Mattys Consulting, LLC http://www.mattysconsulting.com/ 585-544-4385 Home Office -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at mattysconsulting.com Thu Aug 23 06:47:51 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Thu, 23 Aug 2012 07:47:51 -0400 Subject: [AccessD] Crystal Reports Opportunity In-Reply-To: <1345688591.30891.YahooMailNeo@web125604.mail.ne1.yahoo.com> References: <00d001cd8050$5258e930$f70abb90$@mattysconsulting.com> <1345688591.30891.YahooMailNeo@web125604.mail.ne1.yahoo.com> Message-ID: <014301cd8125$216c6f60$64454e20$@mattysconsulting.com> Hi Dale, The college is in Glendale, AZ. I'll send the contact info to you. Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Wednesday, August 22, 2012 10:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Crystal Reports Opportunity Sounds interesting.? I have been doing crystal for several years.? ? dkalsow at yahoo.com? Where is the position located? ? Dale ________________________________ From: Michael Mattys To: Access-D Sent: Wednesday, August 22, 2012 5:24 AM Subject: [AccessD] Crystal Reports Opportunity Hi Folks, My client is seeking a Crystal Reports developer. This is a college for health care field training. He said it is definitely not simple stuff. Please send an email to me for contact information. Michael R Mattys Mattys Consulting, LLC http://www.mattysconsulting.com/ 585-544-4385 Home Office -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Aug 23 09:02:07 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 23 Aug 2012 10:02:07 -0400 Subject: [AccessD] Clsing a form. In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> <839EDA9615C147A780A95110477AB4D9@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> Message-ID: <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> I'm a little confused on that; you already indicated that the CloseButton property was set to yes. If ControlBox is no, you don't see the box at all, so there's nothing to click. Only way to get a grayed out close button is to have controlbox yes and closebutton no. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 22, 2012 05:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clsing a form. The answer is both the control box and close button properties must be set to Yes on the property sheet of the form. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. It is...you meant the close in the form window, not a separate button. Can't think of any reason off-hand it should be grayed out. If you can see it, it should be clickable. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clsing a form. Isn't setting the form property of the close button to yes the same as enabling it or am I wrong? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 20, 2012 1:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clsing a form. Is it enabled? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 20, 2012 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Clsing a form. I have a form on which the property close button is set to yes. However when I open the form the close button is grayed out and does not work. Any thoughts? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Aug 23 12:04:34 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 23 Aug 2012 17:04:34 +0000 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com>, <947069DCAD8B4CD3802099FDB9B82651@XPS>, <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com>, <839EDA9615C147A780A95110477AB4D9@XPS>, <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com>, <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> Message-ID: Hello All, I have been using the following for some time...today I am comparing coordinates that are very close...and I am getting 'weird' results/errors.(A2007) I entered the lat/long numbers in the code below to show the behavior I am seeing. With these coordinates...the CosArc = 1...but the IF statement below executes the ELSE. Unless the absolute value of 1 is NOT 1...why would this not work? Thanks,,, Mark 'If Abs(CosArc) = 1 Then' Arc = PI'Else Public Function Distance( _ ByVal Latitude1 As Double, _ ByVal Longitude1 As Double, _ ByVal Latitude2 As Double, _ ByVal Longitude2 As Double, _ Optional Miles As Boolean) As Double'courtesy Lyle Fairfield'assumes we are getting latitude-longitude'as degrees with fractions expresed as decimals'if minutes-seconds then use Sexagesimal function to convertDim CosArc As DoubleDim Arc As DoubleLatitude1 = Radians(41.70900431)Longitude1 = Radians(-83.585444)Latitude2 = Radians(41.7090043053031)Longitude2 = Radians(-83.5854439996183)'Latitude1 = Radians(Latitude1)'Longitude1 = Radians(Longitude1)'Latitude2 = Radians(Latitude2)'Longitude2 = Radians(Longitude2) CosArc = (Sin(Latitude1) * Sin(Latitude2)) + _ (Cos(Latitude1) * Cos(Latitude2) * Cos(Longitude1 - Longitude2)) '***PROBLEM HERE***If Abs(CosArc) = 1 Then Arc = PIElse Arc = Atn(-CosArc / Sqr(-CosArc * CosArc + 1)) + 2 * Atn(1)End IfDistance = Arc / PI / 2 * CircumferenceIf Miles = True Then Distance = Distance * MilesPerKilometerDistance = Round(Distance, 2)End Function Private Function Radians(ByVal degrees As Double) As Double Radians = PI * degrees / 180End Function From jackandpat.d at gmail.com Thu Aug 23 13:18:28 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 23 Aug 2012 14:18:28 -0400 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> <839EDA9615C147A780A95110477AB4D9@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> Message-ID: Mark there is no formatting in your text. There are samples in vba at http://www.cpearson.com/excel/LatLong.aspx There may be issues with results where points are very close to each other. What sort of difference in coords do you have? How do you represent coordinates? jack On Thu, Aug 23, 2012 at 1:04 PM, Mark A Matte wrote: > > Hello All, > I have been using the following for some time...today I am comparing > coordinates that are very close...and I am getting 'weird' > results/errors.(A2007) > I entered the lat/long numbers in the code below to show the behavior I am > seeing. > With these coordinates...the CosArc = 1...but the IF statement below > executes the ELSE. > Unless the absolute value of 1 is NOT 1...why would this not work? > Thanks,,, Mark > 'If Abs(CosArc) = 1 Then' Arc = PI'Else > Public Function Distance( _ ByVal Latitude1 As Double, _ ByVal > Longitude1 As Double, _ ByVal Latitude2 As Double, _ ByVal Longitude2 > As Double, _ Optional Miles As Boolean) As Double'courtesy Lyle > Fairfield'assumes we are getting latitude-longitude'as degrees with > fractions expresed as decimals'if minutes-seconds then use Sexagesimal > function to convertDim CosArc As DoubleDim Arc As DoubleLatitude1 = > Radians(41.70900431)Longitude1 = Radians(-83.585444)Latitude2 = > Radians(41.7090043053031)Longitude2 = Radians(-83.5854439996183)'Latitude1 > = Radians(Latitude1)'Longitude1 = Radians(Longitude1)'Latitude2 = > Radians(Latitude2)'Longitude2 = Radians(Longitude2) > CosArc = (Sin(Latitude1) * Sin(Latitude2)) + _ (Cos(Latitude1) * > Cos(Latitude2) * Cos(Longitude1 - Longitude2)) > '***PROBLEM HERE***If Abs(CosArc) = 1 Then Arc = PIElse Arc = > Atn(-CosArc / Sqr(-CosArc * CosArc + 1)) + 2 * Atn(1)End IfDistance = Arc / > PI / 2 * CircumferenceIf Miles = True Then Distance = Distance * > MilesPerKilometerDistance = Round(Distance, 2)End Function > Private Function Radians(ByVal degrees As Double) As Double Radians = > PI * degrees / 180End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Thu Aug 23 13:34:17 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 23 Aug 2012 14:34:17 -0400 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> <839EDA9615C147A780A95110477AB4D9@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> Message-ID: Random email client sabotage of code caused that I guess. Mark, Your problem line is If Abs(CosArc) = 1 Then As you state. As we are talking about floating point math here I would immediately thing that the issue is one of precision. You are checking if the returned value is 1.0, but that is likely never going to be the exact result because its FP math. I think you will need to define a tolerance that is "close enough" to the target value. Something like CONST Tolerance =0.000000001 If Abs((Abs(CosArc) - 1)) <= Tolerance Then... Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, August 23, 2012 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Weird problem with lat/long distance function Mark there is no formatting in your text. There are samples in vba at http://www.cpearson.com/excel/LatLong.aspx There may be issues with results where points are very close to each other. What sort of difference in coords do you have? How do you represent coordinates? jack On Thu, Aug 23, 2012 at 1:04 PM, Mark A Matte wrote: > > Hello All, > I have been using the following for some time...today I am comparing > coordinates that are very close...and I am getting 'weird' > results/errors.(A2007) > I entered the lat/long numbers in the code below to show the behavior > I am seeing. > With these coordinates...the CosArc = 1...but the IF statement below > executes the ELSE. > Unless the absolute value of 1 is NOT 1...why would this not work? > Thanks,,, Mark > 'If Abs(CosArc) = 1 Then' Arc = PI'Else > Public Function Distance( _ ByVal Latitude1 As Double, _ ByVal > Longitude1 As Double, _ ByVal Latitude2 As Double, _ ByVal Longitude2 > As Double, _ Optional Miles As Boolean) As Double'courtesy Lyle > Fairfield'assumes we are getting latitude-longitude'as degrees with > fractions expresed as decimals'if minutes-seconds then use Sexagesimal > function to convertDim CosArc As DoubleDim Arc As DoubleLatitude1 = > Radians(41.70900431)Longitude1 = Radians(-83.585444)Latitude2 = > Radians(41.7090043053031)Longitude2 = > Radians(-83.5854439996183)'Latitude1 > = Radians(Latitude1)'Longitude1 = Radians(Longitude1)'Latitude2 = > Radians(Latitude2)'Longitude2 = Radians(Longitude2) > CosArc = (Sin(Latitude1) * Sin(Latitude2)) + _ (Cos(Latitude1) * > Cos(Latitude2) * Cos(Longitude1 - Longitude2)) > '***PROBLEM HERE***If Abs(CosArc) = 1 Then Arc = PIElse Arc = > Atn(-CosArc / Sqr(-CosArc * CosArc + 1)) + 2 * Atn(1)End IfDistance = > Arc / PI / 2 * CircumferenceIf Miles = True Then Distance = Distance * > MilesPerKilometerDistance = Round(Distance, 2)End Function > Private Function Radians(ByVal degrees As Double) As Double Radians = > PI * degrees / 180End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 23 16:33:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Aug 2012 07:33:09 +1000 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com>, , Message-ID: <5036A195.4863.10A50E2@stuart.lexacorp.com.pg> I agree with Lambert. You need to specify an acceptable "margin of error" Consider that each of the four variables in the following calculation is itself the result of floating poiint calculations using an approximation of PI (how you derive this approximation and how accurate it is is not shown) CosArc = (Sin(Latitude1) * Sin(Latitude2)) + _ (Cos(Latitude1) * Cos(Latitude2) * Cos(Longitude1 - Longitude2)) Because of rounding errors in the multiple floating point calculations involved and the approximation of PI, it is extremenly unlikely that this will ever return exactly 1. Computers can be very precise without being very accurate. -- Stuart On 23 Aug 2012 at 14:34, Heenan, Lambert wrote: > Random email client sabotage of code caused that I guess. > > Mark, > > Your problem line is > > If Abs(CosArc) = 1 Then > > As you state. As we are talking about floating point math here I would immediately thing that the issue is one of precision. > > You are checking if the returned value is 1.0, but that is likely never going to be the exact result because its FP math. I think you will need to define a tolerance that is "close enough" to the target value. Something like > > CONST Tolerance =0.000000001 > > If Abs((Abs(CosArc) - 1)) <= Tolerance Then... > > Lambert > From markamatte at hotmail.com Thu Aug 23 17:07:08 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 23 Aug 2012 22:07:08 +0000 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: <5036A195.4863.10A50E2@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com>, , , , , <5036A195.4863.10A50E2@stuart.lexacorp.com.pg> Message-ID: Thanks All, The problem I am having for these coordinates...is CosArc DOES = 1...or at least says it does when I step through the code...but the IF statement still goes to the ELSE. So...if CosArc says its 1...but really is not...how do I tell what the real value is??? Latitude1 = Radians(41.70900431)Longitude1 = Radians(-83.585444)Latitude2 = Radians(41.7090043053031)Longitude2 = Radians(-83.5854439996183) > From: stuart at lexacorp.com.pg > To: accessd at databaseadvisors.com > Date: Fri, 24 Aug 2012 07:33:09 +1000 > Subject: Re: [AccessD] Weird problem with lat/long distance function > > I agree with Lambert. You need to specify an acceptable "margin of error" > > Consider that each of the four variables in the following calculation is itself the result of > floating poiint calculations using an approximation of PI (how you derive this approximation > and how accurate it is is not shown) > > CosArc = (Sin(Latitude1) * Sin(Latitude2)) + _ > (Cos(Latitude1) * Cos(Latitude2) * Cos(Longitude1 - Longitude2)) > > Because of rounding errors in the multiple floating point calculations involved and the > approximation of PI, it is extremenly unlikely that this will ever return exactly 1. > > Computers can be very precise without being very accurate. > > -- > Stuart > > On 23 Aug 2012 at 14:34, Heenan, Lambert wrote: > > > Random email client sabotage of code caused that I guess. > > > > Mark, > > > > Your problem line is > > > > If Abs(CosArc) = 1 Then > > > > As you state. As we are talking about floating point math here I would immediately thing that the issue is one of precision. > > > > You are checking if the returned value is 1.0, but that is likely never going to be the exact result because its FP math. I think you will need to define a tolerance that is "close enough" to the target value. Something like > > > > CONST Tolerance =0.000000001 > > > > If Abs((Abs(CosArc) - 1)) <= Tolerance Then... > > > > Lambert > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 23 17:56:37 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Aug 2012 08:56:37 +1000 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com>, <5036A195.4863.10A50E2@stuart.lexacorp.com.pg>, Message-ID: <5036B525.19969.156BBA7@stuart.lexacorp.com.pg> How about posting testable code (i.e including the value/calculation of PI) On 23 Aug 2012 at 22:07, Mark A Matte wrote: > > Thanks All, The problem I am having for these coordinates...is CosArc > DOES = 1...or at least says it does when I step through the code...but > the IF statement still goes to the ELSE. So...if CosArc says its > 1...but really is not...how do I tell what the real value is??? > Latitude1 = Radians(41.70900431)Longitude1 = > Radians(-83.585444)Latitude2 = Radians(41.7090043053031)Longitude2 = > Radians(-83.5854439996183) From stuart at lexacorp.com.pg Thu Aug 23 19:37:46 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Aug 2012 10:37:46 +1000 Subject: [AccessD] Weird problem with lat/long distance function In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com>, <5036A195.4863.10A50E2@stuart.lexacorp.com.pg>, Message-ID: <5036CCDA.26846.1B358F1@stuart.lexacorp.com.pg> It's a nasty workround, but this seems to work in testing: If Abs(CosArc) >= 1 Then It looks as though in Access 1 is not always 1. Incidentally, try slipping this line in: Debug.Print CosArc ^ 23 -- Stuart On 23 Aug 2012 at 22:07, Mark A Matte wrote: > > Thanks All, > The problem I am having for these coordinates...is CosArc DOES = 1...or at least says it does when I step through the code...but the IF statement still goes to the ELSE. > So...if CosArc says its 1...but really is not...how do I tell what the real value is??? > Latitude1 = Radians(41.70900431)Longitude1 = Radians(-83.585444)Latitude2 = Radians(41.7090043053031)Longitude2 = Radians(-83.5854439996183) From marksimms at verizon.net Thu Aug 23 19:39:38 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 23 Aug 2012 20:39:38 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: Message-ID: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> In my mind, based on my experiences with both Access and Excel, Citrix is a nightmare. Good luck...you're gonna need it. From marksimms at verizon.net Thu Aug 23 19:56:16 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 23 Aug 2012 20:56:16 -0400 Subject: [AccessD] Samsung and Win 7 mobile-what a story ! In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1D3F599079@houex1.kindermorgan.com> <947069DCAD8B4CD3802099FDB9B82651@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59907B@houex1.kindermorgan.com> <839EDA9615C147A780A95110477AB4D9@XPS> <0B2BF8524B73A248A2F1B81BA751ED3C1D3F59915E@houex1.kindermorgan.com> <07AC6BDBEBF24F62901A1422CF1F4DC9@XPS> Message-ID: <00c001cd8193$445fff50$cd1ffdf0$@net> 2 years ago I upgraded to a nice Samsung Focus S smartphone. Worked nice, except voice recognition for text messaging was awful.... Wouldn't recognize common phrases. Other problems: Bluetooth connectivity would drop randomly. Now, if you are anywhere NEAR this technology, The combination of the above...is actually DEADLY ! Why ? In a car, it forces you to go manual on the keyboard instead of just speaking. Well, I complained to Samsung who didn't really offer a solution. Just 3 weeks ago, I got a message to upgrade the O/S..which was Win7. Took 2 attempts and over 6 hours to do the upgrade via USB port. What's happened recently ? Omigosh...Bluetooth is solid.. And voice recognition for text messaging is really working now ! I love it ! What's the "catch" ? BOTH Samsung and HTC have moved to the Android operating system in their latest and greatest phones. Bottomline: MICROSOFT WAS TOO LATE..TOO LATE...in the fixes. Samsung obviously logged the complaints...and this forced their hand..to move on. This is ominous for this company run by Steve Balmer. I now call him "Slug-O". From charlotte.foust at gmail.com Thu Aug 23 20:22:03 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 23 Aug 2012 18:22:03 -0700 Subject: [AccessD] Access 2007 on a network In-Reply-To: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> References: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> Message-ID: Not a choice. There are all kinds of Access databases run under Citrix here, but something is causing me headaches on this one. Charlotte On Thu, Aug 23, 2012 at 5:39 PM, Mark Simms wrote: > In my mind, based on my experiences with both Access and Excel, > Citrix is a nightmare. > Good luck...you're gonna need it. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Elizabeth.J.Doering at wellsfargo.com Thu Aug 23 20:36:01 2012 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 23 Aug 2012 20:36:01 -0500 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> Message-ID: <4838EC790FF778449985FC3B8A47F8715C99057F90@MSGCMSV21011.ent.wfb.bank.corp> Citrix can be a good friend. But for Access, each user MUST have their own copy of the front end, even on Citrix. Even if it is painful to distribute. And a little luck won't hurt, either. :) Liz This message may contain confidential and/or privileged information.? If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein.? If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.? Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2012 8:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 on a network Not a choice. There are all kinds of Access databases run under Citrix here, but something is causing me headaches on this one. Charlotte On Thu, Aug 23, 2012 at 5:39 PM, Mark Simms wrote: > In my mind, based on my experiences with both Access and Excel, > Citrix is a nightmare. > Good luck...you're gonna need it. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 04:33:06 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2012 05:33:06 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: <4838EC790FF778449985FC3B8A47F8715C99057F90@MSGCMSV21011.ent.wfb.bank.corp> References: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> <4838EC790FF778449985FC3B8A47F8715C99057F90@MSGCMSV21011.ent.wfb.bank.corp> Message-ID: I don't know what Charlotte's problem is, but I do know that what you are saying, Liz, is flat-out wrong. I have had 70+ simultaneous users enjoying only one copy of my Access app, residing on a Terminal Services box, running it via a desktop shortcut on their local box, and NO problems. Well, let me correct that slightly. Now and then a user reported a bug, and then I fixed it, and replaced the MDB residing on the Terminal Services box, and that was that. No fuss, no muss. Just replace the MDB residing on the TS box and Done Deal. Citrix is TS with Bells On; otherwise all the same logic applies. I have concrete evidence that this works a treat -- one user, 70+ users, makes no difference. A. From Elizabeth.J.Doering at wellsfargo.com Fri Aug 24 04:37:41 2012 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Fri, 24 Aug 2012 04:37:41 -0500 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <00bf01cd8190$f1c7f6a0$d557e3e0$@net> <4838EC790FF778449985FC3B8A47F8715C99057F90@MSGCMSV21011.ent.wfb.bank.corp> Message-ID: <4838EC790FF778449985FC3B8A47F8715C99057FFD@MSGCMSV21011.ent.wfb.bank.corp> Awesome, Arthur, I expect your experience is more recent than mine. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2012 4:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 on a network I don't know what Charlotte's problem is, but I do know that what you are saying, Liz, is flat-out wrong. I have had 70+ simultaneous users enjoying only one copy of my Access app, residing on a Terminal Services box, running it via a desktop shortcut on their local box, and NO problems. Well, let me correct that slightly. Now and then a user reported a bug, and then I fixed it, and replaced the MDB residing on the Terminal Services box, and that was that. No fuss, no muss. Just replace the MDB residing on the TS box and Done Deal. Citrix is TS with Bells On; otherwise all the same logic applies. I have concrete evidence that this works a treat -- one user, 70+ users, makes no difference. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Aug 24 07:33:06 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2012 08:33:06 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: Message-ID: Charlotte, <> Login to Citrix or the app? Really there's nothing unique about Citrix over a normal LAN setup with Access in the sense of the usual Access setup. Normal wisdom is to always give each user a copy of the front end as you know. Under Citrix, that's a bit different because everyone is sharing the same C drive, so it takes a little bit of effort, but outside of that, it's a straight Access setup. You can share the same FE between all users, but that's no different then doing the same thing in a usual LAN setup. In regards to the BE, a Citrix setup can be even more robust as often the BE can sit on the Citrix server, which means the local LAN is not involved at all. That's not the case with the usual setup of Access where the clients are reaching across the LAN to access the BE. If the BE is not on the Citrix server, then it's no different then what you'd usually work with. Of course you do have to make sure a Citrix server has adequate resources for the number of users it supports, but that's outside of Access and something you'd check anyway Access or no. <> For any remote user, you want to make sure everything stays on the Citrix server or you will have problems. If a remote user installs the app to their local C drive, then your running Access over a WAN. If their in the office and on the same LAN as the backend, then it doesn't make much difference if they run through Citrix or their station (it would be a bit faster going through their station though unless the BE sits on the Citrix server). << and anyway, I'd have to make sure they all got the latest build every day! >> That's no different then a normal Access setup and can be accomplished easily with a simple batch file. Under Citrix however, each user needs a drive mapping that is unique to them. Normally a login script is setup like: NET USE M: \\\Users\%username%\myApp\ This makes the mapping unique to each user and then within the app, everything you do is with the "M" drive. The only other wrinkle with Citrix is references. If you have any external DLL's or Active-X components, users will still be sharing the same file unless you set the reference with the "M" drive letter. Not quite the normal situation, but often overlooked when using Citrix and it can cause problems. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 22, 2012 09:45 PM To: Access Developers discussion and problem Subject: [AccessD] Access 2007 on a network I've got a beta deployed on a citrix network. Shared drive with enterprise and I own the folder. I'm getting reports of people not able to log in from elsehwere in our network. And I'm seeing corruption as a result of their efforts. I use an mdb in 2002-2003 format. I just want them to be able to explore the thing, and I can't duplicate the issues from my machine going into the same shared folder and just running it. IT doesn't support Access and wouldn't know how to start. All of use basically run off of citrix drives unless we specifically save stuff to C: Our "desktop" in on a personal enterprise drive, so having them copy it there might not make any difference; and anyway, I'd have to make sure they all got the latest build every day! I'm not about to build an elaborate front end updater for something that will evolve away from Access as some point, especially when they still have nailed down all their requirements. Any suggestions (keep it clean, please. I'm a Buddhist) Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Aug 24 08:32:27 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 24 Aug 2012 09:32:27 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: Message-ID: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> Charlotte, " I'm not about to build an elaborate front end updater ... " Tony Toews relays this information which may be of help: See http://www.granite.ab.ca/access/terminalserver.htm " The solution was to update my Auto FE Updater to support directory naming by userid so you can put individual FE MDB/MDEs in their own directory." Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 22, 2012 9:45 PM To: Access Developers discussion and problem Subject: [AccessD] Access 2007 on a network I've got a beta deployed on a citrix network. Shared drive with enterprise and I own the folder. I'm getting reports of people not able to log in from elsehwere in our network. And I'm seeing corruption as a result of their efforts. I use an mdb in 2002-2003 format. I just want them to be able to explore the thing, and I can't duplicate the issues from my machine going into the same shared folder and just running it. IT doesn't support Access and wouldn't know how to start. All of use basically run off of citrix drives unless we specifically save stuff to C: Our "desktop" in on a personal enterprise drive, so having them copy it there might not make any difference; and anyway, I'd have to make sure they all got the latest build every day! I'm not about to build an elaborate front end updater for something that will evolve away from Access as some point, especially when they still have nailed down all their requirements. Any suggestions (keep it clean, please. I'm a Buddhist) Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Aug 24 09:40:35 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 24 Aug 2012 07:40:35 -0700 Subject: [AccessD] Access 2007 on a network In-Reply-To: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> Message-ID: Thanks, but I have no control over the network setup, period. We all log into citrix and we all have a personal citrix drive, which is where our desktops are located. It works fine, including Access apps, but the user who is trying to VPN in is the one having issues (and causing them) I can't duplicate the setup because I'm not assigned a company laptop. And I haven't done front-end updating because the app is still under development.and I don't yet know how it's going to be deployed, but it will probably be from a shortcut on their desktop. Charlotte On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < michael at mattysconsulting.com> wrote: > Charlotte, > > " I'm not about to build an elaborate front end updater ... " > > Tony Toews relays this information which may be of help: > > See http://www.granite.ab.ca/access/terminalserver.htm > > > > " The solution was to update my Auto FE Updater to support > directory naming by userid so you can put individual FE > MDB/MDEs in their own directory." > > Michael R Mattys > Mattys Consulting, LLC > www.mattysconsulting.com > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 22, 2012 9:45 PM > To: Access Developers discussion and problem > Subject: [AccessD] Access 2007 on a network > > I've got a beta deployed on a citrix network. Shared drive with enterprise > and I own the folder. I'm getting reports of people not able to log in > from > elsehwere in our network. And I'm seeing corruption as a result of their > efforts. I use an mdb in 2002-2003 format. I just want them to be able to > explore the thing, and I can't duplicate the issues from my machine going > into the same shared folder and just running it. IT doesn't support Access > and wouldn't know how to start. All of use basically run off of citrix > drives unless we specifically save stuff to C: Our "desktop" in on a > personal enterprise drive, so having them copy it there might not make any > difference; and anyway, I'd have to make sure they all got the latest build > every day! I'm not about to build an elaborate front end updater for > something that will evolve away from Access as some point, especially when > they still have nailed down all their requirements. > > Any suggestions (keep it clean, please. I'm a Buddhist) > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From Chester_Kaup at kindermorgan.com Fri Aug 24 12:05:56 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 24 Aug 2012 12:05:56 -0500 Subject: [AccessD] Query not returning monthly average Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D44F4F121@houex1.kindermorgan.com> His query is not returning a monthly average but rather a record for each day. I have used the format method before to get a monthly average. Guess I am missing something here. SELECT Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, Format([WellTest.TestDate],"yyyy-mm") as MonthDate, WellTest.Well_Name, Avg(WellTest.LinePres) as LPAvg, Avg(WellTest.TubingPres) as TPAvg FROM dbo_DSS_WellTests AS WellTest, Configmaster AS Comp_Members, Configmaster AS Patt_Members WHERE WellTest.pid = Comp_Members.ChildPID and WellTest.TestDate>#1/1/2012# and Comp_Members.ChildPTYPE = 'COMP' and comp_Members.PID = Patt_Members.ChildPID and Patt_Members.ChildPTYPE = 'PATT' and Patt_Members.PID = 'MGRP125' and (WellTest.Test_Wtri >0 or WellTest.Test_Co2I_MCF>0) Group by Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, WellTest.TestDate, WellTest.Well_Name; From gustav at cactus.dk Fri Aug 24 12:31:53 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Aug 2012 19:31:53 +0200 Subject: [AccessD] Query not returning monthly average Message-ID: Hi Chester Adjust to group by: Format([WellTest.TestDate],"yyyy-mm") not the date. /gustav >>> Chester_Kaup at kindermorgan.com 24-08-12 19:05 >>> His query is not returning a monthly average but rather a record for each day. I have used the format method before to get a monthly average. Guess I am missing something here. SELECT Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, Format([WellTest.TestDate],"yyyy-mm") as MonthDate, WellTest.Well_Name, Avg(WellTest.LinePres) as LPAvg, Avg(WellTest.TubingPres) as TPAvg FROM dbo_DSS_WellTests AS WellTest, Configmaster AS Comp_Members, Configmaster AS Patt_Members WHERE WellTest.pid = Comp_Members.ChildPID and WellTest.TestDate>#1/1/2012# and Comp_Members.ChildPTYPE = 'COMP' and comp_Members.PID = Patt_Members.ChildPID and Patt_Members.ChildPTYPE = 'PATT' and Patt_Members.PID = 'MGRP125' and (WellTest.Test_Wtri >0 or WellTest.Test_Co2I_MCF>0) Group by Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, WellTest.TestDate, WellTest.Well_Name; From jimdettman at verizon.net Fri Aug 24 13:06:37 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2012 14:06:37 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> Message-ID: <> Is the app local on their station? Why are they using a VPN? Or is the Citrix server only available internally? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2012 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 on a network Thanks, but I have no control over the network setup, period. We all log into citrix and we all have a personal citrix drive, which is where our desktops are located. It works fine, including Access apps, but the user who is trying to VPN in is the one having issues (and causing them) I can't duplicate the setup because I'm not assigned a company laptop. And I haven't done front-end updating because the app is still under development.and I don't yet know how it's going to be deployed, but it will probably be from a shortcut on their desktop. Charlotte On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < michael at mattysconsulting.com> wrote: > Charlotte, > > " I'm not about to build an elaborate front end updater ... " > > Tony Toews relays this information which may be of help: > > See http://www.granite.ab.ca/access/terminalserver.htm > > > > " The solution was to update my Auto FE Updater to support > directory naming by userid so you can put individual FE > MDB/MDEs in their own directory." > > Michael R Mattys > Mattys Consulting, LLC > www.mattysconsulting.com > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 22, 2012 9:45 PM > To: Access Developers discussion and problem > Subject: [AccessD] Access 2007 on a network > > I've got a beta deployed on a citrix network. Shared drive with enterprise > and I own the folder. I'm getting reports of people not able to log in > from > elsehwere in our network. And I'm seeing corruption as a result of their > efforts. I use an mdb in 2002-2003 format. I just want them to be able to > explore the thing, and I can't duplicate the issues from my machine going > into the same shared folder and just running it. IT doesn't support Access > and wouldn't know how to start. All of use basically run off of citrix > drives unless we specifically save stuff to C: Our "desktop" in on a > personal enterprise drive, so having them copy it there might not make any > difference; and anyway, I'd have to make sure they all got the latest build > every day! I'm not about to build an elaborate front end updater for > something that will evolve away from Access as some point, especially when > they still have nailed down all their requirements. > > Any suggestions (keep it clean, please. I'm a Buddhist) > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Fri Aug 24 13:09:56 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 24 Aug 2012 13:09:56 -0500 Subject: [AccessD] Query not returning monthly average In-Reply-To: References: Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D44F4F128@houex1.kindermorgan.com> Perfect. Thank You. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 24, 2012 12:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query not returning monthly average Hi Chester Adjust to group by: Format([WellTest.TestDate],"yyyy-mm") not the date. /gustav >>> Chester_Kaup at kindermorgan.com 24-08-12 19:05 >>> His query is not returning a monthly average but rather a record for each day. I have used the format method before to get a monthly average. Guess I am missing something here. SELECT Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, Format([WellTest.TestDate],"yyyy-mm") as MonthDate, WellTest.Well_Name, Avg(WellTest.LinePres) as LPAvg, Avg(WellTest.TubingPres) as TPAvg FROM dbo_DSS_WellTests AS WellTest, Configmaster AS Comp_Members, Configmaster AS Patt_Members WHERE WellTest.pid = Comp_Members.ChildPID and WellTest.TestDate>#1/1/2012# and Comp_Members.ChildPTYPE = 'COMP' and comp_Members.PID = Patt_Members.ChildPID and Patt_Members.ChildPTYPE = 'PATT' and Patt_Members.PID = 'MGRP125' and (WellTest.Test_Wtri >0 or WellTest.Test_Co2I_MCF>0) Group by Patt_Members.PID, Patt_Members.ChildPID, Comp_Members.ChildPID, WellTest.TestDate, WellTest.Well_Name; -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 15:36:16 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2012 16:36:16 -0400 Subject: [AccessD] A request for standardized questions Message-ID: I just read YASFQQ (yet another stupid forking query question) in which the poster sends the query itself and asks for advice, correction, etc. What I would really like to have, in such questions, is code to create the tables, populate them with a few sample rows, and then issue the query itself. In the absence of same, I have to hypothesize on purely syntax-related issues, and in all likelihood I am not going to respond. Give me a script that creates the tables and populates them and adds the problematic query, and chances are that you'll receive a response much more quickly than when dealing with abstractions. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From charlotte.foust at gmail.com Fri Aug 24 21:32:57 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 24 Aug 2012 19:32:57 -0700 Subject: [AccessD] A request for standardized questions In-Reply-To: References: Message-ID: But tell us how you really feel, Arthur? LOL Charlotte On Fri, Aug 24, 2012 at 1:36 PM, Arthur Fuller wrote: > I just read YASFQQ (yet another stupid forking query question) in which the > poster sends the query itself and asks for advice, correction, etc. > > What I would really like to have, in such questions, is code to create the > tables, populate them with a few sample rows, and then issue the query > itself. In the absence of same, I have to hypothesize on purely > syntax-related issues, and in all likelihood I am not going to respond. > > Give me a script that creates the tables and populates them and adds the > problematic query, and chances are that you'll receive a response much more > quickly than when dealing with abstractions. > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Fri Aug 24 21:37:07 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2012 22:37:07 -0400 Subject: [AccessD] A request for standardized questions In-Reply-To: References: Message-ID: Hush hush sweet Charlotte, I just want to make babies with you! On Fri, Aug 24, 2012 at 10:32 PM, Charlotte Foust wrote: > But tell us how you really feel, Arthur? LOL > > Charlotte > > From charlotte.foust at gmail.com Fri Aug 24 21:39:04 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 24 Aug 2012 19:39:04 -0700 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> Message-ID: I inadvertently misled you on the citrix. We have access to the citrix network for various things like software not installed on our machines, etc., but it isn't in play here. The VPN is into the network, and he's using it because it's the way the company laptops are set up to connect. He doesn't have a desktop to remote into. We run lots of Access apps from the network, and it doesn't really make sense that he can't, but when he copied the FE to his virtual personal folder and ran it from there, it worked just fine. That's the kind of network craziness that keeps me writing code and avoiding hardware! The back end is on the same server as it was, and the FE has table links to the same folder the FE came from. My head aches!! Charlotte On Fri, Aug 24, 2012 at 11:06 AM, Jim Dettman wrote: > < who is trying to VPN in is the one having issues (and causing them)>> > > Is the app local on their station? Why are they using a VPN? Or is the > Citrix server only available internally? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, August 24, 2012 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 on a network > > Thanks, but I have no control over the network setup, period. We all log > into citrix and we all have a personal citrix drive, which is where our > desktops are located. It works fine, including Access apps, but the user > who is trying to VPN in is the one having issues (and causing them) I > can't duplicate the setup because I'm not assigned a company laptop. And I > haven't done front-end updating because the app is still under > development.and I don't yet know how it's going to be deployed, but it will > probably be from a shortcut on their desktop. > > Charlotte > > On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < > michael at mattysconsulting.com> wrote: > > > Charlotte, > > > > " I'm not about to build an elaborate front end updater ... " > > > > Tony Toews relays this information which may be of help: > > > > See http://www.granite.ab.ca/access/terminalserver.htm > > > > > > > > > > " The solution was to update my Auto FE Updater to support > > directory naming by userid so you can put individual FE > > MDB/MDEs in their own directory." > > > > Michael R Mattys > > Mattys Consulting, LLC > > www.mattysconsulting.com > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > > Sent: Wednesday, August 22, 2012 9:45 PM > > To: Access Developers discussion and problem > > Subject: [AccessD] Access 2007 on a network > > > > I've got a beta deployed on a citrix network. Shared drive with > enterprise > > and I own the folder. I'm getting reports of people not able to log in > > from > > elsehwere in our network. And I'm seeing corruption as a result of their > > efforts. I use an mdb in 2002-2003 format. I just want them to be able > to > > explore the thing, and I can't duplicate the issues from my machine going > > into the same shared folder and just running it. IT doesn't support > Access > > and wouldn't know how to start. All of use basically run off of citrix > > drives unless we specifically save stuff to C: Our "desktop" in on a > > personal enterprise drive, so having them copy it there might not make > any > > difference; and anyway, I'd have to make sure they all got the latest > build > > every day! I'm not about to build an elaborate front end updater for > > something that will evolve away from Access as some point, especially > when > > they still have nailed down all their requirements. > > > > Any suggestions (keep it clean, please. I'm a Buddhist) > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Fri Aug 24 21:39:59 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 24 Aug 2012 19:39:59 -0700 Subject: [AccessD] A request for standardized questions In-Reply-To: References: Message-ID: ROTFLMAO!!! Thanks for that, Arthur. My baby making days are thankfully way in the past. Charlotte On Fri, Aug 24, 2012 at 7:37 PM, Arthur Fuller wrote: > Hush hush sweet Charlotte, I just want to make babies with you! > > On Fri, Aug 24, 2012 at 10:32 PM, Charlotte Foust < > charlotte.foust at gmail.com > > wrote: > > > But tell us how you really feel, Arthur? LOL > > > > Charlotte > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jimdettman at verizon.net Sat Aug 25 06:46:56 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 25 Aug 2012 07:46:56 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> Message-ID: <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> > < company laptops are set up to connect. He doesn't have a desktop to remote > into. >> That's most certainly why then; you can't run Jet over a WAN. Jim Sent from my iPhone On Aug 24, 2012, at 10:39 PM, Charlotte Foust wrote: > I inadvertently misled you on the citrix. We have access to the citrix > network for various things like software not installed on our machines, > etc., but it isn't in play here. > > The VPN is into the network, and he's using it because it's the way the > company laptops are set up to connect. He doesn't have a desktop to remote > into. We run lots of Access apps from the network, and it doesn't really > make sense that he can't, but when he copied the FE to his virtual personal > folder and ran it from there, it worked just fine. That's the kind of > network craziness that keeps me writing code and avoiding hardware! The > back end is on the same server as it was, and the FE has table links to the > same folder the FE came from. My head aches!! > > Charlotte > > On Fri, Aug 24, 2012 at 11:06 AM, Jim Dettman wrote: > >> <> who is trying to VPN in is the one having issues (and causing them)>> >> >> Is the app local on their station? Why are they using a VPN? Or is the >> Citrix server only available internally? >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Friday, August 24, 2012 10:41 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Access 2007 on a network >> >> Thanks, but I have no control over the network setup, period. We all log >> into citrix and we all have a personal citrix drive, which is where our >> desktops are located. It works fine, including Access apps, but the user >> who is trying to VPN in is the one having issues (and causing them) I >> can't duplicate the setup because I'm not assigned a company laptop. And I >> haven't done front-end updating because the app is still under >> development.and I don't yet know how it's going to be deployed, but it will >> probably be from a shortcut on their desktop. >> >> Charlotte >> >> On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < >> michael at mattysconsulting.com> wrote: >> >>> Charlotte, >>> >>> " I'm not about to build an elaborate front end updater ... " >>> >>> Tony Toews relays this information which may be of help: >>> >>> See http://www.granite.ab.ca/access/terminalserver.htm >> >> >>> >>> >>> >>> " The solution was to update my Auto FE Updater to support >>> directory naming by userid so you can put individual FE >>> MDB/MDEs in their own directory." >>> >>> Michael R Mattys >>> Mattys Consulting, LLC >>> www.mattysconsulting.com >> >> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >>> Sent: Wednesday, August 22, 2012 9:45 PM >>> To: Access Developers discussion and problem >>> Subject: [AccessD] Access 2007 on a network >>> >>> I've got a beta deployed on a citrix network. Shared drive with >> enterprise >>> and I own the folder. I'm getting reports of people not able to log in >>> from >>> elsehwere in our network. And I'm seeing corruption as a result of their >>> efforts. I use an mdb in 2002-2003 format. I just want them to be able >> to >>> explore the thing, and I can't duplicate the issues from my machine going >>> into the same shared folder and just running it. IT doesn't support >> Access >>> and wouldn't know how to start. All of use basically run off of citrix >>> drives unless we specifically save stuff to C: Our "desktop" in on a >>> personal enterprise drive, so having them copy it there might not make >> any >>> difference; and anyway, I'd have to make sure they all got the latest >> build >>> every day! I'm not about to build an elaborate front end updater for >>> something that will evolve away from Access as some point, especially >> when >>> they still have nailed down all their requirements. >>> >>> Any suggestions (keep it clean, please. I'm a Buddhist) >>> >>> Charlotte >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >>> >>> >>> Website: http://www.databaseadvisors.com >> >> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >>> >>> >>> Website: http://www.databaseadvisors.com >> >> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 25 07:50:13 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 25 Aug 2012 08:50:13 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> Message-ID: <5038CA05.9090907@colbyconsulting.com> Well kinda true. Jet is the engine as you know. The data store is what is important. Jet cannot (reliably) connect to an Access BE over a WAN. JET can connect to SQL Server over a WAN. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/25/2012 7:46 AM, Jim Dettman wrote: >> <> company laptops are set up to connect. He doesn't have a desktop to remote >> into. >> > > That's most certainly why then; you can't run Jet over a WAN. > > Jim > Sent from my iPhone > > On Aug 24, 2012, at 10:39 PM, Charlotte Foust wrote: > >> I inadvertently misled you on the citrix. We have access to the citrix >> network for various things like software not installed on our machines, >> etc., but it isn't in play here. >> >> The VPN is into the network, and he's using it because it's the way the >> company laptops are set up to connect. He doesn't have a desktop to remote >> into. We run lots of Access apps from the network, and it doesn't really >> make sense that he can't, but when he copied the FE to his virtual personal >> folder and ran it from there, it worked just fine. That's the kind of >> network craziness that keeps me writing code and avoiding hardware! The >> back end is on the same server as it was, and the FE has table links to the >> same folder the FE came from. My head aches!! >> >> Charlotte >> >> On Fri, Aug 24, 2012 at 11:06 AM, Jim Dettman wrote: >> >>> <>> who is trying to VPN in is the one having issues (and causing them)>> >>> >>> Is the app local on their station? Why are they using a VPN? Or is the >>> Citrix server only available internally? >>> >>> Jim. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >>> Sent: Friday, August 24, 2012 10:41 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Access 2007 on a network >>> >>> Thanks, but I have no control over the network setup, period. We all log >>> into citrix and we all have a personal citrix drive, which is where our >>> desktops are located. It works fine, including Access apps, but the user >>> who is trying to VPN in is the one having issues (and causing them) I >>> can't duplicate the setup because I'm not assigned a company laptop. And I >>> haven't done front-end updating because the app is still under >>> development.and I don't yet know how it's going to be deployed, but it will >>> probably be from a shortcut on their desktop. >>> >>> Charlotte >>> >>> On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < >>> michael at mattysconsulting.com> wrote: >>> >>>> Charlotte, >>>> >>>> " I'm not about to build an elaborate front end updater ..." >>>> >>>> Tony Toews relays this information which may be of help: >>>> >>>> See http://www.granite.ab.ca/access/terminalserver.htm >>> >>> >>>> >>>> >>>> >>>> " The solution was to update my Auto FE Updater to support >>>> directory naming by userid so you can put individual FE >>>> MDB/MDEs in their own directory." >>>> >>>> Michael R Mattys >>>> Mattys Consulting, LLC >>>> www.mattysconsulting.com >>> >>> >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>> Foust >>>> Sent: Wednesday, August 22, 2012 9:45 PM >>>> To: Access Developers discussion and problem >>>> Subject: [AccessD] Access 2007 on a network >>>> >>>> I've got a beta deployed on a citrix network. Shared drive with >>> enterprise >>>> and I own the folder. I'm getting reports of people not able to log in >>>> from >>>> elsehwere in our network. And I'm seeing corruption as a result of their >>>> efforts. I use an mdb in 2002-2003 format. I just want them to be able >>> to >>>> explore the thing, and I can't duplicate the issues from my machine going >>>> into the same shared folder and just running it. IT doesn't support >>> Access >>>> and wouldn't know how to start. All of use basically run off of citrix >>>> drives unless we specifically save stuff to C: Our "desktop" in on a >>>> personal enterprise drive, so having them copy it there might not make >>> any >>>> difference; and anyway, I'd have to make sure they all got the latest >>> build >>>> every day! I'm not about to build an elaborate front end updater for >>>> something that will evolve away from Access as some point, especially >>> when >>>> they still have nailed down all their requirements. >>>> >>>> Any suggestions (keep it clean, please. I'm a Buddhist) >>>> >>>> Charlotte >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>> >>> >>>> >>>> >>>> Website: http://www.databaseadvisors.com >>> >>> >>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>> >>> >>>> >>>> >>>> Website: http://www.databaseadvisors.com >>> >>> >>>> >>>> >>>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> >>> >>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> >>> >>> Website: http://www.databaseadvisors.com >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Sat Aug 25 07:49:40 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 25 Aug 2012 08:49:40 -0400 Subject: [AccessD] A request for standardized questions References: Message-ID: <477DF66AC27C499BAE44E907DF8FCA22@SusanHarkins> Arthur, is it really likely that if they can't solve their query problem that they have the expertise to send you code that creates the table(s) and populates it with sample data? Susan H. > But tell us how you really feel, Arthur? LOL > > Charlotte > > On Fri, Aug 24, 2012 at 1:36 PM, Arthur Fuller > wrote: > >> I just read YASFQQ (yet another stupid forking query question) in which >> the >> poster sends the query itself and asks for advice, correction, etc. >> >> What I would really like to have, in such questions, is code to create >> the >> tables, populate them with a few sample rows, and then issue the query >> itself. In the absence of same, I have to hypothesize on purely >> syntax-related issues, and in all likelihood I am not going to respond. >> >> Give me a script that creates the tables and populates them and adds the >> problematic query, and chances are that you'll receive a response much >> more >> quickly than when dealing with abstractions. From jwcolby at colbyconsulting.com Sat Aug 25 08:22:20 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 25 Aug 2012 09:22:20 -0400 Subject: [AccessD] A request for standardized questions In-Reply-To: <477DF66AC27C499BAE44E907DF8FCA22@SusanHarkins> References: <477DF66AC27C499BAE44E907DF8FCA22@SusanHarkins> Message-ID: <5038D18C.9030606@colbyconsulting.com> I was being good! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/25/2012 8:49 AM, Susan Harkins wrote: > Arthur, is it really likely that if they can't solve their query problem that they have the > expertise to send you code that creates the table(s) and populates it with sample data? > > Susan H. > > >> But tell us how you really feel, Arthur? LOL >> >> Charlotte >> >> On Fri, Aug 24, 2012 at 1:36 PM, Arthur Fuller wrote: >> >>> I just read YASFQQ (yet another stupid forking query question) in which the >>> poster sends the query itself and asks for advice, correction, etc. >>> >>> What I would really like to have, in such questions, is code to create the >>> tables, populate them with a few sample rows, and then issue the query >>> itself. In the absence of same, I have to hypothesize on purely >>> syntax-related issues, and in all likelihood I am not going to respond. >>> >>> Give me a script that creates the tables and populates them and adds the >>> problematic query, and chances are that you'll receive a response much more >>> quickly than when dealing with abstractions. > From charlotte.foust at gmail.com Sat Aug 25 10:29:03 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 25 Aug 2012 08:29:03 -0700 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> Message-ID: Guys, I know the conventional wisdom as well as you do, but the fact is, both front and back ends are on the network, even if he runs the front end from his personal drive. We do this all the time. I wasn't given a choice of playing field, and they have a wealth of other Access apps running in this environment, all lovingly tended by other developers. It probably will turn out to be a network issue, which is somebody else's baby, but I still have to find ways to make it work. My boss reacted with horror to the idea of copying front ends to personal drives, but that's what I have them doing for now until the network situation is explained/resolved. Ultimately the back end will be SQL Server, but I'm still tinkering with tables, and getting admin rights to a SQL Server in this organization is probably not going to happen. Charlotte >> >> >> From charlotte.foust at gmail.com Sat Aug 25 10:23:23 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 25 Aug 2012 08:23:23 -0700 Subject: [AccessD] Access 2007 on a network In-Reply-To: <5038CA05.9090907@colbyconsulting.com> References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> Message-ID: Guys, I know the conventional wisdom as well as you do, but the fact is, both front and back ends are on the network, even if he runs the front end from his personal drive. We do this all the time. I wasn't given a choice of playing field, and they have a wealth of other Access apps running in this environment, all lovingly tended by other developers. It probably will turn out to be a network issue, which is somebody else's baby, but I still have to find ways to make it work. My boss reacted with horror to the idea of copying front ends to personal drives, but that's what I have them doing for now until the network situation is explained/resolved. Ultimately the back end will be SQL Server, but I'm still tinkering with tables, and getting admin rights to a SQL Server in this organization is probably not going to happen. Charlotte On Sat, Aug 25, 2012 at 5:50 AM, jwcolby wrote: > Well kinda true. Jet is the engine as you know. The data store is what > is important. Jet cannot (reliably) connect to an Access BE over a WAN. > JET can connect to SQL Server over a WAN. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > > On 8/25/2012 7:46 AM, Jim Dettman wrote: > >> <>> company laptops are set up to connect. He doesn't have a desktop to >>> remote >>> into. >> >>> >> >> That's most certainly why then; you can't run Jet over a WAN. >> >> Jim >> Sent from my iPhone >> >> On Aug 24, 2012, at 10:39 PM, Charlotte Foust >> wrote: >> >> I inadvertently misled you on the citrix. We have access to the citrix >>> network for various things like software not installed on our machines, >>> etc., but it isn't in play here. >>> >>> The VPN is into the network, and he's using it because it's the way the >>> company laptops are set up to connect. He doesn't have a desktop to >>> remote >>> into. We run lots of Access apps from the network, and it doesn't really >>> make sense that he can't, but when he copied the FE to his virtual >>> personal >>> folder and ran it from there, it worked just fine. That's the kind of >>> network craziness that keeps me writing code and avoiding hardware! The >>> back end is on the same server as it was, and the FE has table links to >>> the >>> same folder the FE came from. My head aches!! >>> >>> Charlotte >>> >>> On Fri, Aug 24, 2012 at 11:06 AM, Jim Dettman >> >wrote: >>> >>> <>>> who is trying to VPN in is the one having issues (and causing them)>> >>>> >>>> Is the app local on their station? Why are they using a VPN? Or is the >>>> Citrix server only available internally? >>>> >>>> Jim. >>>> >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Charlotte Foust >>>> Sent: Friday, August 24, 2012 10:41 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Access 2007 on a network >>>> >>>> Thanks, but I have no control over the network setup, period. We all >>>> log >>>> into citrix and we all have a personal citrix drive, which is where our >>>> desktops are located. It works fine, including Access apps, but the >>>> user >>>> who is trying to VPN in is the one having issues (and causing them) I >>>> can't duplicate the setup because I'm not assigned a company laptop. >>>> And I >>>> haven't done front-end updating because the app is still under >>>> development.and I don't yet know how it's going to be deployed, but it >>>> will >>>> probably be from a shortcut on their desktop. >>>> >>>> Charlotte >>>> >>>> On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < >>>> michael at mattysconsulting.com> wrote: >>>> >>>> Charlotte, >>>>> >>>>> " I'm not about to build an elaborate front end updater ..." >>>>> >>>>> Tony Toews relays this information which may be of help: >>>>> >>>>> See http://www.granite.ab.ca/**access/terminalserver.htm >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> " The solution was to update my Auto FE Updater to support >>>>> directory naming by userid so you can put individual FE >>>>> MDB/MDEs in their own directory." >>>>> >>>>> Michael R Mattys >>>>> Mattys Consulting, LLC >>>>> www.mattysconsulting.com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces@**databaseadvisors.com >>>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>>> On Behalf Of Charlotte >>>>> >>>> Foust >>>> >>>>> Sent: Wednesday, August 22, 2012 9:45 PM >>>>> To: Access Developers discussion and problem >>>>> Subject: [AccessD] Access 2007 on a network >>>>> >>>>> I've got a beta deployed on a citrix network. Shared drive with >>>>> >>>> enterprise >>>> >>>>> and I own the folder. I'm getting reports of people not able to log in >>>>> from >>>>> elsehwere in our network. And I'm seeing corruption as a result of >>>>> their >>>>> efforts. I use an mdb in 2002-2003 format. I just want them to be able >>>>> >>>> to >>>> >>>>> explore the thing, and I can't duplicate the issues from my machine >>>>> going >>>>> into the same shared folder and just running it. IT doesn't support >>>>> >>>> Access >>>> >>>>> and wouldn't know how to start. All of use basically run off of citrix >>>>> drives unless we specifically save stuff to C: Our "desktop" in on a >>>>> personal enterprise drive, so having them copy it there might not make >>>>> >>>> any >>>> >>>>> difference; and anyway, I'd have to make sure they all got the latest >>>>> >>>> build >>>> >>>>> every day! I'm not about to build an elaborate front end updater for >>>>> something that will evolve away from Access as some point, especially >>>>> >>>> when >>>> >>>>> they still have nailed down all their requirements. >>>>> >>>>> Any suggestions (keep it clean, please. I'm a Buddhist) >>>>> >>>>> Charlotte >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> >>>> >>>> >>>> >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> >>>> >>>> >>>> >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> >>> >>> Website: http://www.databaseadvisors.**com >>> >>> >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Sat Aug 25 19:59:06 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 25 Aug 2012 20:59:06 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> Message-ID: <001c01cd8325$fe656960$fb303c20$@net> > but I still have to find ways > to make it work. My boss reacted with horror to the idea of copying > front ends to personal drives, but that's what I have them doing for now > until the network situation is explained/resolved. I'm still a huge fan of Tony Towes AutoFEUpdater. He really saved my "keezer" in a complex wealth management app that needed independent Access Front-ends as well as independent Excel 2010 workbooks...because the client's management preferred a spreadsheet environment to maintain and view their accounts. Because of Tony's tool, the app has been rock-solid for 2 months now. The previous consulting firm was unable to establish a multi-user access/excel environment without the usual lock-out, read--only conflicts. From Chester_Kaup at kindermorgan.com Mon Aug 27 08:15:35 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 27 Aug 2012 08:15:35 -0500 Subject: [AccessD] Query - Design View vs SQL Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1D44F4F162@houex1.kindermorgan.com> I have a query I built in SQL and it runs and returns the correct results in about 10 seconds. If I open the query in design view and then try to run it after several hours no results are returned. To satisfy my curiosity what occurs in the background when opening the query in design view? From BradM at blackforestltd.com Mon Aug 27 13:23:19 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 27 Aug 2012 13:23:19 -0500 Subject: [AccessD] Access 2007 on a network References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com><90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net><5038CA05.9090907@colbyconsulting.com> <001c01cd8325$fe656960$fb303c20$@net> Message-ID: Mark, If you have time, could you elaborate on the "multi-user access/excel environment without the usual lock-out, read--only conflicts" I am just starting to work with integrating Excel into an Access application and I would like to better understand the "lock out" issues, etc. before I head down the wrong path. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, August 25, 2012 7:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 on a network > but I still have to find ways > to make it work. My boss reacted with horror to the idea of copying > front ends to personal drives, but that's what I have them doing for now > until the network situation is explained/resolved. I'm still a huge fan of Tony Towes AutoFEUpdater. He really saved my "keezer" in a complex wealth management app that needed independent Access Front-ends as well as independent Excel 2010 workbooks...because the client's management preferred a spreadsheet environment to maintain and view their accounts. Because of Tony's tool, the app has been rock-solid for 2 months now. The previous consulting firm was unable to establish a multi-user access/excel environment without the usual lock-out, read--only conflicts. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jimdettman at verizon.net Mon Aug 27 13:37:34 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 27 Aug 2012 14:37:34 -0400 Subject: [AccessD] Access 2007 on a network In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> Message-ID: <15E1CD3C58144D3BB65454C23076A89D@XPS> Charlotte, <> Your missing the point; yes his personal drive is on the server, but that is not where it executes from. When he fires up his VPN and views his personal drive, then double clicks the DB (or double clicks Access and then does an open), that DB comes over the VPN to his laptop and executes there. Unless he is using the VPN to get to a Citrix server on the network and executes the FE there, then JET operations are taking place across the VPN and you will have problems. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, August 25, 2012 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 on a network Guys, I know the conventional wisdom as well as you do, but the fact is, both front and back ends are on the network, even if he runs the front end from his personal drive. We do this all the time. I wasn't given a choice of playing field, and they have a wealth of other Access apps running in this environment, all lovingly tended by other developers. It probably will turn out to be a network issue, which is somebody else's baby, but I still have to find ways to make it work. My boss reacted with horror to the idea of copying front ends to personal drives, but that's what I have them doing for now until the network situation is explained/resolved. Ultimately the back end will be SQL Server, but I'm still tinkering with tables, and getting admin rights to a SQL Server in this organization is probably not going to happen. Charlotte On Sat, Aug 25, 2012 at 5:50 AM, jwcolby wrote: > Well kinda true. Jet is the engine as you know. The data store is what > is important. Jet cannot (reliably) connect to an Access BE over a WAN. > JET can connect to SQL Server over a WAN. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > > On 8/25/2012 7:46 AM, Jim Dettman wrote: > >> <>> company laptops are set up to connect. He doesn't have a desktop to >>> remote >>> into. >> >>> >> >> That's most certainly why then; you can't run Jet over a WAN. >> >> Jim >> Sent from my iPhone >> >> On Aug 24, 2012, at 10:39 PM, Charlotte Foust >> wrote: >> >> I inadvertently misled you on the citrix. We have access to the citrix >>> network for various things like software not installed on our machines, >>> etc., but it isn't in play here. >>> >>> The VPN is into the network, and he's using it because it's the way the >>> company laptops are set up to connect. He doesn't have a desktop to >>> remote >>> into. We run lots of Access apps from the network, and it doesn't really >>> make sense that he can't, but when he copied the FE to his virtual >>> personal >>> folder and ran it from there, it worked just fine. That's the kind of >>> network craziness that keeps me writing code and avoiding hardware! The >>> back end is on the same server as it was, and the FE has table links to >>> the >>> same folder the FE came from. My head aches!! >>> >>> Charlotte >>> >>> On Fri, Aug 24, 2012 at 11:06 AM, Jim Dettman >> >wrote: >>> >>> <>>> who is trying to VPN in is the one having issues (and causing them)>> >>>> >>>> Is the app local on their station? Why are they using a VPN? Or is the >>>> Citrix server only available internally? >>>> >>>> Jim. >>>> >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Charlotte Foust >>>> Sent: Friday, August 24, 2012 10:41 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Access 2007 on a network >>>> >>>> Thanks, but I have no control over the network setup, period. We all >>>> log >>>> into citrix and we all have a personal citrix drive, which is where our >>>> desktops are located. It works fine, including Access apps, but the >>>> user >>>> who is trying to VPN in is the one having issues (and causing them) I >>>> can't duplicate the setup because I'm not assigned a company laptop. >>>> And I >>>> haven't done front-end updating because the app is still under >>>> development.and I don't yet know how it's going to be deployed, but it >>>> will >>>> probably be from a shortcut on their desktop. >>>> >>>> Charlotte >>>> >>>> On Fri, Aug 24, 2012 at 6:32 AM, Michael Mattys < >>>> michael at mattysconsulting.com> wrote: >>>> >>>> Charlotte, >>>>> >>>>> " I'm not about to build an elaborate front end updater ..." >>>>> >>>>> Tony Toews relays this information which may be of help: >>>>> >>>>> See http://www.granite.ab.ca/**access/terminalserver.htm >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> " The solution was to update my Auto FE Updater to support >>>>> directory naming by userid so you can put individual FE >>>>> MDB/MDEs in their own directory." >>>>> >>>>> Michael R Mattys >>>>> Mattys Consulting, LLC >>>>> www.mattysconsulting.com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces@**databaseadvisors.com >>>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>>> On Behalf Of Charlotte >>>>> >>>> Foust >>>> >>>>> Sent: Wednesday, August 22, 2012 9:45 PM >>>>> To: Access Developers discussion and problem >>>>> Subject: [AccessD] Access 2007 on a network >>>>> >>>>> I've got a beta deployed on a citrix network. Shared drive with >>>>> >>>> enterprise >>>> >>>>> and I own the folder. I'm getting reports of people not able to log in >>>>> from >>>>> elsehwere in our network. And I'm seeing corruption as a result of >>>>> their >>>>> efforts. I use an mdb in 2002-2003 format. I just want them to be able >>>>> >>>> to >>>> >>>>> explore the thing, and I can't duplicate the issues from my machine >>>>> going >>>>> into the same shared folder and just running it. IT doesn't support >>>>> >>>> Access >>>> >>>>> and wouldn't know how to start. All of use basically run off of citrix >>>>> drives unless we specifically save stuff to C: Our "desktop" in on a >>>>> personal enterprise drive, so having them copy it there might not make >>>>> >>>> any >>>> >>>>> difference; and anyway, I'd have to make sure they all got the latest >>>>> >>>> build >>>> >>>>> every day! I'm not about to build an elaborate front end updater for >>>>> something that will evolve away from Access as some point, especially >>>>> >>>> when >>>> >>>>> they still have nailed down all their requirements. >>>>> >>>>> Any suggestions (keep it clean, please. I'm a Buddhist) >>>>> >>>>> Charlotte >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> >>>> >>>> >>>> >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> >>>> >>>> >>>> >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> >>> >>> Website: http://www.databaseadvisors.**com >>> >>> >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Aug 27 14:21:51 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 27 Aug 2012 14:21:51 -0500 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com><90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net><5038CA05.9090907@colbyconsulting.com> <15E1CD3C58144D3BB65454C23076A89D@XPS> Message-ID: All, I have several Access applications that I need to monitor every night (remotely). When I am at home working with a desktop PC, I simply use the Windows "Remote Desktop Connection" to connect to the remote box that hosts the Access applications. This works very nicely. When not at home, I also use Windows "Remote Desktop Connection" on an very old laptop to connect to the remote box. Recently, I have been having serious trouble with the old laptop. Also, my wife recently purchased an iPad that will always be with us when we are away from home. Instead of replacing the old laptop with another laptop, I have been thinking about using the new iPad for the nightly monitoring. It is my understanding that there are several products that can provide a remote connection from an iPad to a remote Windows box. I have to live with major one restriction, however. I probably cannot install any "communications" software on the "remote box". Therefore, I have started to hunt for a "Remote Desktop Connection" ap for the iPad that simulates the Windows "Remote Desktop Connection" (does not need any additional software on the remote box). Has anyone else experimented with products in this realm? Any advice? Recommendations? Thanks, Brad From dnod at aol.com Mon Aug 27 15:29:31 2012 From: dnod at aol.com (Dean Davids) Date: Mon, 27 Aug 2012 16:29:31 -0400 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> <15E1CD3C58144D3BB65454C23076A89D@XPS> Message-ID: I use an app called Jump. It works reliably and I would easily recommend it. I connect to a terminal server and work with access several front ends from my iPhone and iPad. I can't say this is ideal, the Touchscreen to Windows Mouse UI translation is clumsy. I don't blame this on Jump, theirs seems a decent implementation. Screen size is a significant limiting factor on either device. I suppose I would adapt the use of the screen and layout controls in the Access FE much differently if I were trying to use it this way on a regular basis. For access occasionally, quickly looking up information or troubleshooting, I have to say it is rock solid reliable. Works every time, very speedy and no bugs. Dean S. Davids www.cmbscorp.com On Aug 27, 2012, at 3:21 PM, "Brad Marks" wrote: > All, > > I have several Access applications that I need to monitor every night > (remotely). When I am at home working with a desktop PC, I simply use > the Windows "Remote Desktop Connection" to connect to the remote box > that hosts the Access applications. This works very nicely. > > When not at home, I also use Windows "Remote Desktop Connection" on an > very old laptop to connect to the remote box. > > Recently, I have been having serious trouble with the old laptop. Also, > my wife recently purchased an iPad that will always be with us when we > are away from home. > > Instead of replacing the old laptop with another laptop, I have been > thinking about using the new iPad for the nightly monitoring. > > It is my understanding that there are several products that can provide > a remote connection from an iPad to a remote Windows box. > > I have to live with major one restriction, however. I probably cannot > install any "communications" software on the "remote box". > > Therefore, I have started to hunt for a "Remote Desktop Connection" ap > for the iPad that simulates the Windows "Remote Desktop Connection" > (does not need any additional software on the remote box). > > Has anyone else experimented with products in this realm? Any advice? > Recommendations? > > Thanks, > Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Aug 27 15:38:48 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 27 Aug 2012 15:38:48 -0500 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com><90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net><5038CA05.9090907@colbyconsulting.com><15E1CD3C58144D3BB65454C23076A89D@XPS> Message-ID: Dean, Thanks for the info. Does the Jump Ap require the installation of anything on the "server side"? Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Davids Sent: Monday, August 27, 2012 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor AccessApplications I use an app called Jump. It works reliably and I would easily recommend it. I connect to a terminal server and work with access several front ends from my iPhone and iPad. I can't say this is ideal, the Touchscreen to Windows Mouse UI translation is clumsy. I don't blame this on Jump, theirs seems a decent implementation. Screen size is a significant limiting factor on either device. I suppose I would adapt the use of the screen and layout controls in the Access FE much differently if I were trying to use it this way on a regular basis. For access occasionally, quickly looking up information or troubleshooting, I have to say it is rock solid reliable. Works every time, very speedy and no bugs. Dean S. Davids www.cmbscorp.com On Aug 27, 2012, at 3:21 PM, "Brad Marks" wrote: > All, > > I have several Access applications that I need to monitor every night > (remotely). When I am at home working with a desktop PC, I simply use > the Windows "Remote Desktop Connection" to connect to the remote box > that hosts the Access applications. This works very nicely. > > When not at home, I also use Windows "Remote Desktop Connection" on an > very old laptop to connect to the remote box. > > Recently, I have been having serious trouble with the old laptop. Also, > my wife recently purchased an iPad that will always be with us when we > are away from home. > > Instead of replacing the old laptop with another laptop, I have been > thinking about using the new iPad for the nightly monitoring. > > It is my understanding that there are several products that can provide > a remote connection from an iPad to a remote Windows box. > > I have to live with major one restriction, however. I probably cannot > install any "communications" software on the "remote box". > > Therefore, I have started to hunt for a "Remote Desktop Connection" ap > for the iPad that simulates the Windows "Remote Desktop Connection" > (does not need any additional software on the remote box). > > Has anyone else experimented with products in this realm? Any advice? > Recommendations? > > Thanks, > Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From dnod at aol.com Mon Aug 27 15:43:20 2012 From: dnod at aol.com (Dean) Date: Mon, 27 Aug 2012 16:43:20 -0400 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com><90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net><5038CA05.9090907@colbyconsulting.com><15E1CD3C58144D3BB65454C23076A89D@XPS> Message-ID: <7091D79C-2821-492E-B5D7-31BC5D13FC26@aol.com> Not in my case. It is a Win server running Terminal Services. I imagine any box that you could connect to with RDP would be accessible with Jump. Dean On Aug 27, 2012, at 4:38 PM, "Brad Marks" wrote: > Dean, > > Thanks for the info. > > Does the Jump Ap require the installation of anything on the "server > side"? > > Thanks, > Brad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Davids > Sent: Monday, August 27, 2012 3:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor > AccessApplications > > I use an app called Jump. It works reliably and I would easily recommend > it. I connect to a terminal server and work with access several front > ends from my iPhone and iPad. > I can't say this is ideal, the Touchscreen to Windows Mouse UI > translation is clumsy. I don't blame this on Jump, theirs seems a decent > implementation. Screen size is a significant limiting factor on either > device. I suppose I would adapt the use of the screen and layout > controls in the Access FE much differently if I were trying to use it > this way on a regular basis. > For access occasionally, quickly looking up information or > troubleshooting, I have to say it is rock solid reliable. Works every > time, very speedy and no bugs. > > > Dean S. Davids > www.cmbscorp.com > > On Aug 27, 2012, at 3:21 PM, "Brad Marks" > wrote: > >> All, >> >> I have several Access applications that I need to monitor every night >> (remotely). When I am at home working with a desktop PC, I simply use >> the Windows "Remote Desktop Connection" to connect to the remote box >> that hosts the Access applications. This works very nicely. >> >> When not at home, I also use Windows "Remote Desktop Connection" on an >> very old laptop to connect to the remote box. >> >> Recently, I have been having serious trouble with the old laptop. > Also, >> my wife recently purchased an iPad that will always be with us when we >> are away from home. >> >> Instead of replacing the old laptop with another laptop, I have been >> thinking about using the new iPad for the nightly monitoring. >> >> It is my understanding that there are several products that can > provide >> a remote connection from an iPad to a remote Windows box. >> >> I have to live with major one restriction, however. I probably cannot >> install any "communications" software on the "remote box". >> >> Therefore, I have started to hunt for a "Remote Desktop Connection" ap >> for the iPad that simulates the Windows "Remote Desktop Connection" >> (does not need any additional software on the remote box). >> >> Has anyone else experimented with products in this realm? Any advice? >> Recommendations? >> >> Thanks, >> Brad >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Aug 27 16:02:03 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 27 Aug 2012 16:02:03 -0500 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor AccessApplications References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com><90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net><5038CA05.9090907@colbyconsulting.com><15E1CD3C58144D3BB65454C23076A89D@XPS> <7091D79C-2821-492E-B5D7-31BC5D13FC26@aol.com> Message-ID: Dean, Sounds good. Thanks for the additional info, I appreciate it. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Sent: Monday, August 27, 2012 3:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor AccessApplications Not in my case. It is a Win server running Terminal Services. I imagine any box that you could connect to with RDP would be accessible with Jump. Dean On Aug 27, 2012, at 4:38 PM, "Brad Marks" wrote: > Dean, > > Thanks for the info. > > Does the Jump Ap require the installation of anything on the "server > side"? > > Thanks, > Brad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Davids > Sent: Monday, August 27, 2012 3:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor > AccessApplications > > I use an app called Jump. It works reliably and I would easily recommend > it. I connect to a terminal server and work with access several front > ends from my iPhone and iPad. > I can't say this is ideal, the Touchscreen to Windows Mouse UI > translation is clumsy. I don't blame this on Jump, theirs seems a decent > implementation. Screen size is a significant limiting factor on either > device. I suppose I would adapt the use of the screen and layout > controls in the Access FE much differently if I were trying to use it > this way on a regular basis. > For access occasionally, quickly looking up information or > troubleshooting, I have to say it is rock solid reliable. Works every > time, very speedy and no bugs. > > > Dean S. Davids > www.cmbscorp.com > > On Aug 27, 2012, at 3:21 PM, "Brad Marks" > wrote: > >> All, >> >> I have several Access applications that I need to monitor every night >> (remotely). When I am at home working with a desktop PC, I simply use >> the Windows "Remote Desktop Connection" to connect to the remote box >> that hosts the Access applications. This works very nicely. >> >> When not at home, I also use Windows "Remote Desktop Connection" on an >> very old laptop to connect to the remote box. >> >> Recently, I have been having serious trouble with the old laptop. > Also, >> my wife recently purchased an iPad that will always be with us when we >> are away from home. >> >> Instead of replacing the old laptop with another laptop, I have been >> thinking about using the new iPad for the nightly monitoring. >> >> It is my understanding that there are several products that can > provide >> a remote connection from an iPad to a remote Windows box. >> >> I have to live with major one restriction, however. I probably cannot >> install any "communications" software on the "remote box". >> >> Therefore, I have started to hunt for a "Remote Desktop Connection" ap >> for the iPad that simulates the Windows "Remote Desktop Connection" >> (does not need any additional software on the remote box). >> >> Has anyone else experimented with products in this realm? Any advice? >> Recommendations? >> >> Thanks, >> Brad >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From dw-murphy at cox.net Mon Aug 27 20:35:21 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 27 Aug 2012 18:35:21 -0700 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications In-Reply-To: References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> <15E1CD3C58144D3BB65454C23076A89D@XPS> Message-ID: <00e101cd84bd$646ca6e0$2d45f4a0$@cox.net> My wife uses TeamViewer from her IPod touch and it works well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Davids Sent: Monday, August 27, 2012 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications I use an app called Jump. It works reliably and I would easily recommend it. I connect to a terminal server and work with access several front ends from my iPhone and iPad. I can't say this is ideal, the Touchscreen to Windows Mouse UI translation is clumsy. I don't blame this on Jump, theirs seems a decent implementation. Screen size is a significant limiting factor on either device. I suppose I would adapt the use of the screen and layout controls in the Access FE much differently if I were trying to use it this way on a regular basis. For access occasionally, quickly looking up information or troubleshooting, I have to say it is rock solid reliable. Works every time, very speedy and no bugs. Dean S. Davids www.cmbscorp.com On Aug 27, 2012, at 3:21 PM, "Brad Marks" wrote: > All, > > I have several Access applications that I need to monitor every night > (remotely). When I am at home working with a desktop PC, I simply use > the Windows "Remote Desktop Connection" to connect to the remote box > that hosts the Access applications. This works very nicely. > > When not at home, I also use Windows "Remote Desktop Connection" on an > very old laptop to connect to the remote box. > > Recently, I have been having serious trouble with the old laptop. > Also, my wife recently purchased an iPad that will always be with us > when we are away from home. > > Instead of replacing the old laptop with another laptop, I have been > thinking about using the new iPad for the nightly monitoring. > > It is my understanding that there are several products that can > provide a remote connection from an iPad to a remote Windows box. > > I have to live with major one restriction, however. I probably cannot > install any "communications" software on the "remote box". > > Therefore, I have started to hunt for a "Remote Desktop Connection" ap > for the iPad that simulates the Windows "Remote Desktop Connection" > (does not need any additional software on the remote box). > > Has anyone else experimented with products in this realm? Any advice? > Recommendations? > > Thanks, > Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Aug 28 03:44:40 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 Aug 2012 04:44:40 -0400 Subject: [AccessD] "Remote Desktop" on an iPad to Monitor AccessApplications In-Reply-To: <00e101cd84bd$646ca6e0$2d45f4a0$@cox.net> References: <001601cd81fc$e853f350$b8fbd9f0$@mattysconsulting.com> <90E0A581-5412-494A-A7BF-737BE07EB498@verizon.net> <5038CA05.9090907@colbyconsulting.com> <15E1CD3C58144D3BB65454C23076A89D@XPS> <00e101cd84bd$646ca6e0$2d45f4a0$@cox.net> Message-ID: I use Team Viewer as well and it works fantastic, but it requires software installed on the remote end for un-attended access. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Monday, August 27, 2012 09:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor AccessApplications My wife uses TeamViewer from her IPod touch and it works well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Davids Sent: Monday, August 27, 2012 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] "Remote Desktop" on an iPad to Monitor Access Applications I use an app called Jump. It works reliably and I would easily recommend it. I connect to a terminal server and work with access several front ends from my iPhone and iPad. I can't say this is ideal, the Touchscreen to Windows Mouse UI translation is clumsy. I don't blame this on Jump, theirs seems a decent implementation. Screen size is a significant limiting factor on either device. I suppose I would adapt the use of the screen and layout controls in the Access FE much differently if I were trying to use it this way on a regular basis. For access occasionally, quickly looking up information or troubleshooting, I have to say it is rock solid reliable. Works every time, very speedy and no bugs. Dean S. Davids www.cmbscorp.com On Aug 27, 2012, at 3:21 PM, "Brad Marks" wrote: > All, > > I have several Access applications that I need to monitor every night > (remotely). When I am at home working with a desktop PC, I simply use > the Windows "Remote Desktop Connection" to connect to the remote box > that hosts the Access applications. This works very nicely. > > When not at home, I also use Windows "Remote Desktop Connection" on an > very old laptop to connect to the remote box. > > Recently, I have been having serious trouble with the old laptop. > Also, my wife recently purchased an iPad that will always be with us > when we are away from home. > > Instead of replacing the old laptop with another laptop, I have been > thinking about using the new iPad for the nightly monitoring. > > It is my understanding that there are several products that can > provide a remote connection from an iPad to a remote Windows box. > > I have to live with major one restriction, however. I probably cannot > install any "communications" software on the "remote box". > > Therefore, I have started to hunt for a "Remote Desktop Connection" ap > for the iPad that simulates the Windows "Remote Desktop Connection" > (does not need any additional software on the remote box). > > Has anyone else experimented with products in this realm? Any advice? > Recommendations? > > Thanks, > Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 11:55:26 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Aug 2012 09:55:26 -0700 Subject: [AccessD] Access Won't Close Message-ID: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From Lambert.Heenan at chartisinsurance.com Tue Aug 28 11:59:03 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 28 Aug 2012 12:59:03 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> Message-ID: That kind of thing is frequently caused by an object variable not being released (set to Nothing). Got any startup code that creates objects of any kind? Database, Recordset, Outlook Message? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Aug 28 12:03:20 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 Aug 2012 13:03:20 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> Message-ID: Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 29 06:02:42 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 07:02:42 -0400 Subject: [AccessD] Access 2007 + Visual Source Safe Message-ID: Can this combination work? I used to use VSS but haven't for years. IIRC Microsoft doesn't even ship it any more. The reason I'm asking is that a prospect wants this combination on a contract. While on the subject, I haven't used Subversion either. Has anyone used it with Access 2007+? Does one check in the whole ACCDB or will it recognize the changed parts of it? If not Subversion, what else do you use? I confess that what I've been doing is frequent backups, a few times per day, typically just before I'm about to perform radical surgery. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Wed Aug 29 06:04:02 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 07:04:02 -0400 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ Message-ID: Is it possible to hide the Access navigation pane in code? If so, how? TIA. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From gustav at cactus.dk Wed Aug 29 06:55:58 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Aug 2012 13:55:58 +0200 Subject: [AccessD] Access 2007 + Visual Source Safe Message-ID: Hi Arthur It works with Access 2010. /gustav >>> fuller.artful at gmail.com 29-08-12 13:02 >>> Can this combination work? I used to use VSS but haven't for years. IIRC Microsoft doesn't even ship it any more. The reason I'm asking is that a prospect wants this combination on a contract. While on the subject, I haven't used Subversion either. Has anyone used it with Access 2007+? Does one check in the whole ACCDB or will it recognize the changed parts of it? If not Subversion, what else do you use? I confess that what I've been doing is frequent backups, a few times per day, typically just before I'm about to perform radical surgery. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jimdettman at verizon.net Wed Aug 29 07:24:43 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Aug 2012 08:24:43 -0400 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ In-Reply-To: References: Message-ID: Arthur, This is one way to do it: Public Sub DisplayNavPane(Optional IsVisible As Boolean = True) DoCmd.SelectObject acTable, , True If IsVisible = False Then DoCmd.RunCommand acCmdWindowHide End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2012 07:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ Is it possible to hide the Access navigation pane in code? If so, how? TIA. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 29 08:04:07 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 09:04:07 -0400 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ In-Reply-To: References: Message-ID: Thanks, Jim. I'll give that a try. A. On Wed, Aug 29, 2012 at 8:24 AM, Jim Dettman wrote: > Arthur, > > This is one way to do it: > > Public Sub DisplayNavPane(Optional IsVisible As Boolean = True) > > DoCmd.SelectObject acTable, , True > If IsVisible = False Then DoCmd.RunCommand acCmdWindowHide > > End Sub > > > Jim. > > From fuller.artful at gmail.com Wed Aug 29 08:16:23 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 09:16:23 -0400 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ In-Reply-To: References: Message-ID: Ha ha ha! I whipped up a little test app to try it out, containing nothing but a form. The code you supplied bombed because there was no table to select LOL. So I created a table and re-ran the test form, and it worked like a charm. Then I selected Queries in the nav pane and the code still worked fine. So, in the real world, apps will have at least one table, so this will always work. LOL. Arthur On Wed, Aug 29, 2012 at 9:04 AM, Arthur Fuller wrote: > Thanks, Jim. I'll give that a try. > A. > > > On Wed, Aug 29, 2012 at 8:24 AM, Jim Dettman wrote: > >> Arthur, >> >> This is one way to do it: >> >> Public Sub DisplayNavPane(Optional IsVisible As Boolean = True) >> >> DoCmd.SelectObject acTable, , True >> If IsVisible = False Then DoCmd.RunCommand acCmdWindowHide >> >> End Sub >> >> From fuller.artful at gmail.com Wed Aug 29 08:24:52 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 09:24:52 -0400 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: Thanks for the quick reply, Gustav. But tell me, does it version-control the individual objects within the database app, or just the entire app as a unit? I hope I have a copy of VSS on an old CD from Visual Basic 6 or something. I hope I didn't chuck that old stuff out. A. On Wed, Aug 29, 2012 at 7:55 AM, Gustav Brock wrote: > Hi Arthur > > It works with Access 2010. > > /gustav > > > From charlotte.foust at gmail.com Wed Aug 29 09:21:55 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 Aug 2012 07:21:55 -0700 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ In-Reply-To: References: Message-ID: Arthur, it's the same code we used to hide the database window in earlier versions. Works the same way too. Charlotte On Wed, Aug 29, 2012 at 6:16 AM, Arthur Fuller wrote: > Ha ha ha! I whipped up a little test app to try it out, containing nothing > but a form. The code you supplied bombed because there was no table to > select LOL. So I created a table and re-ran the test form, and it worked > like a charm. Then I selected Queries in the nav pane and the code still > worked fine. So, in the real world, apps will have at least one table, so > this will always work. LOL. > > Arthur > > On Wed, Aug 29, 2012 at 9:04 AM, Arthur Fuller >wrote: > > > Thanks, Jim. I'll give that a try. > > A. > > > > > > On Wed, Aug 29, 2012 at 8:24 AM, Jim Dettman >wrote: > > > >> Arthur, > >> > >> This is one way to do it: > >> > >> Public Sub DisplayNavPane(Optional IsVisible As Boolean = True) > >> > >> DoCmd.SelectObject acTable, , True > >> If IsVisible = False Then DoCmd.RunCommand acCmdWindowHide > >> > >> End Sub > >> > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Wed Aug 29 09:23:40 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 Aug 2012 07:23:40 -0700 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: In earlier versions, Access needed an add-in to work at an atomic level with SourceSafe. I assume the same holds true in this version. You should be able to track it down on the Microsoft site. Charlotte On Wed, Aug 29, 2012 at 6:24 AM, Arthur Fuller wrote: > Thanks for the quick reply, Gustav. But tell me, does it version-control > the individual objects within the database app, or just the entire app as a > unit? > > I hope I have a copy of VSS on an old CD from Visual Basic 6 or something. > I hope I didn't chuck that old stuff out. > A. > > On Wed, Aug 29, 2012 at 7:55 AM, Gustav Brock wrote: > > > Hi Arthur > > > > It works with Access 2010. > > > > /gustav > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jimdettman at verizon.net Wed Aug 29 09:35:32 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Aug 2012 10:35:32 -0400 Subject: [AccessD] Hiding the Navigation Pane in Access 2007+ In-Reply-To: References: Message-ID: <8EFDE63285F14448B47846D02602587C@XPS> Well a DB would have to have at least one object and the code would need to be modified. I don't see that as a big deal. If you don't want to count on that, you can always use sendkeys and Alt/F11, which is another way to show/hide the nav pane. As Charlotte said, the nav pane is the replacement for the DBC and controlling it works the same. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2012 09:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Hiding the Navigation Pane in Access 2007+ Ha ha ha! I whipped up a little test app to try it out, containing nothing but a form. The code you supplied bombed because there was no table to select LOL. So I created a table and re-ran the test form, and it worked like a charm. Then I selected Queries in the nav pane and the code still worked fine. So, in the real world, apps will have at least one table, so this will always work. LOL. Arthur On Wed, Aug 29, 2012 at 9:04 AM, Arthur Fuller wrote: > Thanks, Jim. I'll give that a try. > A. > > > On Wed, Aug 29, 2012 at 8:24 AM, Jim Dettman wrote: > >> Arthur, >> >> This is one way to do it: >> >> Public Sub DisplayNavPane(Optional IsVisible As Boolean = True) >> >> DoCmd.SelectObject acTable, , True >> If IsVisible = False Then DoCmd.RunCommand acCmdWindowHide >> >> End Sub >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 29 09:46:18 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 10:46:18 -0400 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: Thanks, Charlotte. I'll look now. A. On Wed, Aug 29, 2012 at 10:23 AM, Charlotte Foust wrote: > In earlier versions, Access needed an add-in to work at an atomic level > with SourceSafe. I assume the same holds true in this version. You should > be able to track it down on the Microsoft site. > > Charlotte > > From fuller.artful at gmail.com Wed Aug 29 09:57:53 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 10:57:53 -0400 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: >From a casual reading, it would appear that MS wants everyone to migrate from VSS to Team Foundation Server (TFS). Is my reading correct? Will it work with Access? The reads seem to be directed at .NET users. A. On Wed, Aug 29, 2012 at 10:46 AM, Arthur Fuller wrote: > Thanks, Charlotte. I'll look now. > A. > > > On Wed, Aug 29, 2012 at 10:23 AM, Charlotte Foust < > charlotte.foust at gmail.com> wrote: > >> In earlier versions, Access needed an add-in to work at an atomic level >> with SourceSafe. I assume the same holds true in this version. You >> should >> be able to track it down on the Microsoft site. >> >> Charlotte >> >> From gustav at cactus.dk Wed Aug 29 10:49:08 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Aug 2012 17:49:08 +0200 Subject: [AccessD] Access 2007 + Visual Source Safe Message-ID: Hi Arthur It is the individual objects. As seen in intellisense if you type SaveAsText. /gustav >>> fuller.artful at gmail.com 29-08-12 15:24 >>> Thanks for the quick reply, Gustav. But tell me, does it version-control the individual objects within the database app, or just the entire app as a unit? I hope I have a copy of VSS on an old CD from Visual Basic 6 or something. I hope I didn't chuck that old stuff out. A. On Wed, Aug 29, 2012 at 7:55 AM, Gustav Brock wrote: > Hi Arthur > > It works with Access 2010. > > /gustav From gustav at cactus.dk Wed Aug 29 11:15:09 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Aug 2012 18:15:09 +0200 Subject: [AccessD] Access 2007 + Visual Source Safe Message-ID: Hi Arthur This is how: 1. From your VSS CD, install the "client" NETSETUP.EXE. 2. Input your CD-Key. VSS is now installed. 3. Open from the Start menu: Microsoft Visual SourceSafe 6.0 4. VSS Login is shown. Input Username and Password. Click Browse ... 5. Open sourceSafe Database is shown. Click Browse.. 6. Find Database is shown. Input your file name: \\server\path\databasefilename 7. The folder is displayed. Mark srcsafe.ini and click Open. 8. Browse for Visual SourceSafe Database is displayed with your database name. Click OK. 9. Open sourceSafe Database now also shows the line with your database. 10. Mark your database. Click Open. 11. Continue and VSS is opened with your database. Install Access Developer Extensions til Access 2010 1. Run the file AccessDeveloperExtensions.exe 2. Open Access 2010 without opening a database. 3. Select menu Source Object, Options. 4. Source Code Control Options is displayed. Click Advanced. 5. VSS Login is shown. Input Username and Password. Click Browse ... 6. Open sourceSafe Database is shown. Mark your database. Click Open. 7. Input if necessary your password in VSS Login. Click OK. 8. Click OK in Source Code Control Options. Check objects out and in by right-clicking them and select from the bottom-listed menu items. /gustav >>> fuller.artful at gmail.com 29-08-12 16:57 >>> >From a casual reading, it would appear that MS wants everyone to migrate from VSS to Team Foundation Server (TFS). Is my reading correct? Will it work with Access? The reads seem to be directed at .NET users. A. On Wed, Aug 29, 2012 at 10:46 AM, Arthur Fuller wrote: > Thanks, Charlotte. I'll look now. > A. > > > On Wed, Aug 29, 2012 at 10:23 AM, Charlotte Foust < > charlotte.foust at gmail.com> wrote: > >> In earlier versions, Access needed an add-in to work at an atomic level >> with SourceSafe. I assume the same holds true in this version. You >> should >> be able to track it down on the Microsoft site. >> >> Charlotte From gustav at cactus.dk Wed Aug 29 13:58:12 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Aug 2012 20:58:12 +0200 Subject: [AccessD] Copy and paste records with no column names Message-ID: Hi all I can run these commands: DoCmd.RunCommand acCmdSelectAllRecords DoCmd.RunCommand acCmdCopy to select and copy all records from, say, an open query. Then I can open a spreadsheet in Lotus Notes and paste in the records. However, the first row is the column names ... How can I prevent these from being pasted? /gustav From fuller.artful at gmail.com Wed Aug 29 14:04:17 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2012 15:04:17 -0400 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: Thanks for the step-by-step, Gustav. Now all I need to do is locate the disk containing VSS. I'm a little bit afraid that I chucked it out, along with such gems as ADH97, Delphi, dBASE IV and other things I ought to have kept for sale to collectors at lawn-sales. O well. Perhaps I'll come across a copy of the relevant CD at a lawn-sale. A. From dw-murphy at cox.net Wed Aug 29 14:28:55 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 29 Aug 2012 12:28:55 -0700 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: <007e01cd861c$879caa10$96d5fe30$@cox.net> EBay? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2012 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 + Visual Source Safe Thanks for the step-by-step, Gustav. Now all I need to do is locate the disk containing VSS. I'm a little bit afraid that I chucked it out, along with such gems as ADH97, Delphi, dBASE IV and other things I ought to have kept for sale to collectors at lawn-sales. O well. Perhaps I'll come across a copy of the relevant CD at a lawn-sale. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Aug 29 15:12:37 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Aug 2012 22:12:37 +0200 Subject: [AccessD] Access 2007 + Visual Source Safe Message-ID: Hi Arthur I don't know, I never had it myself. But eBay might be a good bet. /gustav >>> fuller.artful at gmail.com 29-08-12 21:04 >>> Thanks for the step-by-step, Gustav. Now all I need to do is locate the disk containing VSS. I'm a little bit afraid that I chucked it out, along with such gems as ADH97, Delphi, dBASE IV and other things I ought to have kept for sale to collectors at lawn-sales. O well. Perhaps I'll come across a copy of the relevant CD at a lawn-sale. A. From rockysmolin at bchacc.com Wed Aug 29 16:52:28 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 29 Aug 2012 14:52:28 -0700 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> Message-ID: <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Aug 29 19:39:08 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 30 Aug 2012 00:39:08 +0000 Subject: [AccessD] Access 2007/2010 'File Not Found' bug... Message-ID: <56653D383CB80341995245C537A9E7B5250000AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Hi guys n girls, I had come across this a couple of times before, but as I was in a hurry I just imported all the objects into a new db and the problem went away. Today I go the error again, a seemingly random issue where the DB will work fine, but then you get a "File Not Found" error (but nothing else) and the VBE will pop open. Now the error won't go away and you always get it when you try to access the code. Several people via Google have mentioned the suspect seems to be when you have a VBA Module that is fully commented out. And this would certainly be consistent with my experience as well. Trouble is, I have not been able to reproduce this behaviour intentionally. Indeed it seems to be rather random. This morning had a DB that was functioning perfectly well for days, when suddenly the "File Not Found" error came up and it was cactus. There was a legacy commented out module in that file though - had been there for many days and hadn't caused a problem. Anyway, if you get this error importing all the objects (sans the offending module) into a new workbook does fix it. (actually even importing the suspect module will fix it, but for how long?). Going to run this now with all commented out modules removed and see if it fails again sometime in the future or not.... Perhaps not the most concise or accurate bit of info, but it might save one of you some headaches if you get this error pop up. Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From charlotte.foust at gmail.com Wed Aug 29 20:55:55 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 Aug 2012 18:55:55 -0700 Subject: [AccessD] Access 2007 + Visual Source Safe In-Reply-To: References: Message-ID: What version of Access? I found the download for 2007 at http://www.microsoft.com/en-us/download/details.aspx?id=24569. Source Safe used to come with the developer version of Office, but apparently you can still download the developer extensions. Charlotte On Wed, Aug 29, 2012 at 7:57 AM, Arthur Fuller wrote: > From a casual reading, it would appear that MS wants everyone to migrate > from VSS to Team Foundation Server (TFS). Is my reading correct? Will it > work with Access? The reads seem to be directed at .NET users. > > A. > > On Wed, Aug 29, 2012 at 10:46 AM, Arthur Fuller >wrote: > > > Thanks, Charlotte. I'll look now. > > A. > > > > > > On Wed, Aug 29, 2012 at 10:23 AM, Charlotte Foust < > > charlotte.foust at gmail.com> wrote: > > > >> In earlier versions, Access needed an add-in to work at an atomic level > >> with SourceSafe. I assume the same holds true in this version. You > >> should > >> be able to track it down on the Microsoft site. > >> > >> Charlotte > >> > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Wed Aug 29 20:58:36 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 Aug 2012 18:58:36 -0700 Subject: [AccessD] Copy and paste records with no column names In-Reply-To: References: Message-ID: Forgive a dumb question, but why would you want to paste a whole table of records without anything to tell you which column is which? Charlotte On Wed, Aug 29, 2012 at 11:58 AM, Gustav Brock wrote: > Hi all > > I can run these commands: > > DoCmd.RunCommand acCmdSelectAllRecords > DoCmd.RunCommand acCmdCopy > > to select and copy all records from, say, an open query. > Then I can open a spreadsheet in Lotus Notes and paste in the records. > > However, the first row is the column names ... > How can I prevent these from being pasted? > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Wed Aug 29 21:46:14 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 30 Aug 2012 02:46:14 +0000 Subject: [AccessD] Copy and paste records with no column names In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B5250001B6@SINPRD0410MB381.apcprd04.prod.outlook.com> My understanding is using that method you will always get the headers. There are ways of doing it sans headers, but copy and paste like that isn't one of them AFAIK. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 30 August 2012 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy and paste records with no column names Forgive a dumb question, but why would you want to paste a whole table of records without anything to tell you which column is which? Charlotte On Wed, Aug 29, 2012 at 11:58 AM, Gustav Brock wrote: > Hi all > > I can run these commands: > > DoCmd.RunCommand acCmdSelectAllRecords > DoCmd.RunCommand acCmdCopy > > to select and copy all records from, say, an open query. > Then I can open a spreadsheet in Lotus Notes and paste in the records. > > However, the first row is the column names ... > How can I prevent these from being pasted? > > /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 gustav at cactus.dk Thu Aug 30 02:35:12 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Aug 2012 09:35:12 +0200 Subject: [AccessD] Copy and paste records with no column names Message-ID: Hi Charlotte That's because the spreadsheet "area" in the Notes document (or whatever such are called) is ready-made. Normally the user will type in the data or copy-n-paste from a real worksheet. This Access app will replace the old manual sheets to copy from and present data ready to be copied and pasted into Notes in the correct coloumn order. /gustav >>> charlotte.foust at gmail.com 30-08-12 3:58 >>> Forgive a dumb question, but why would you want to paste a whole table of records without anything to tell you which column is which? Charlotte On Wed, Aug 29, 2012 at 11:58 AM, Gustav Brock wrote: > Hi all > > I can run these commands: > > DoCmd.RunCommand acCmdSelectAllRecords > DoCmd.RunCommand acCmdCopy > > to select and copy all records from, say, an open query. > Then I can open a spreadsheet in Lotus Notes and paste in the records. > > However, the first row is the column names ... > How can I prevent these from being pasted? > > /gustav From gustav at cactus.dk Thu Aug 30 02:37:43 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Aug 2012 09:37:43 +0200 Subject: [AccessD] Copy and paste records with no column names Message-ID: Hi Darryl OK, not much hope is left back I can see. /gustav >>> darryl at whittleconsulting.com.au 30-08-12 4:46 >>> My understanding is using that method you will always get the headers. There are ways of doing it sans headers, but copy and paste like that isn't one of them AFAIK. Cheers Darryl From darryl at whittleconsulting.com.au Thu Aug 30 04:39:39 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 30 Aug 2012 09:39:39 +0000 Subject: [AccessD] Copy and paste records with no column names In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B52500FA5D@SINPRD0410MB381.apcprd04.prod.outlook.com> It is early evening in Oz and I am home, but I move data out of Access all the time, usually into Excel. I have a function with a true /false parameter. True will download the table into Excel with headers, false will leave them out. I can post it to the list tomorrow AM Aussie time (so about 14 hours away) when I get into work. Being a Friday tomorrow I have to drop the kids of first, thus the longer delay than usual. Cheers Darryl ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] on behalf of Gustav Brock [gustav at cactus.dk] Sent: Thursday, 30 August 2012 5:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Copy and paste records with no column names Hi Darryl OK, not much hope is left back I can see. /gustav >>> darryl at whittleconsulting.com.au 30-08-12 4:46 >>> My understanding is using that method you will always get the headers. There are ways of doing it sans headers, but copy and paste like that isn't one of them AFAIK. Cheers Darryl -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Aug 30 05:16:40 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Aug 2012 12:16:40 +0200 Subject: [AccessD] Copy and paste records with no column names Message-ID: Hi Darryl That's very kind of you, but it will not do in this case. It is not Excel but Lotus Notes, and the document is locked down. The Notes admins at the client claim that the only way to "automate" data into Notes is by pasting something already copied to the clipboard. I have zero experience with Notes, so I have to believe them. /gustav >>> darryl at whittleconsulting.com.au 30-08-12 11:39 >>> It is early evening in Oz and I am home, but I move data out of Access all the time, usually into Excel. I have a function with a true /false parameter. True will download the table into Excel with headers, false will leave them out. I can post it to the list tomorrow AM Aussie time (so about 14 hours away) when I get into work. Being a Friday tomorrow I have to drop the kids of first, thus the longer delay than usual. Cheers Darryl From Lambert.Heenan at chartisinsurance.com Thu Aug 30 08:05:06 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 30 Aug 2012 09:05:06 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> Message-ID: Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Aug 30 08:20:50 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Aug 2012 09:20:50 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> Message-ID: <887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> <> That's interesting and sure sounds like it. Never knew there was a distinction between DoCmd.Quit and Application.Quit (there really shouldn't be either). Which brings to mind a feature which I always wish Access had; a way to inspect the open reference count and list them. That would be really interesting to look at. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 30, 2012 09:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Aug 30 08:59:05 2012 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Aug 2012 15:59:05 +0200 Subject: [AccessD] Copy and paste records with no column names Message-ID: Hi all Found a lo-tech solution to this. Create an unbound form. Drag-n-drop into the form the table/query to copy from. A subform control with the table/query is created. Create a textbox and a button on the form. The textbox can have zero height to make it not visible. Apply this code to the button: Private Sub btnCopy_Click() Dim strCopy As String Me!txtCopy.Value = Null Me!subSalesWeek.SetFocus DoCmd.RunCommand acCmdSelectAllRecords DoCmd.RunCommand acCmdCopy Me!txtCopy.SetFocus DoCmd.RunCommand acCmdPaste strCopy = Me!txtCopy.Text strCopy = Mid(strCopy, Len(vbCrLf) + InStr(1, strCopy, vbCrLf, vbBinaryCompare)) Me!txtCopy.Value = strCopy DoCmd.RunCommand acCmdCopy Me!txtCopy.Value = Null End Sub Click the button. Click the pane where to paste the data. Paste. /gustav >>> gustav at cactus.dk 29-08-12 20:58 >>> Hi all I can run these commands: DoCmd.RunCommand acCmdSelectAllRecords DoCmd.RunCommand acCmdCopy to select and copy all records from, say, an open query. Then I can open a spreadsheet in Lotus Notes and paste in the records. However, the first row is the column names ... How can I prevent these from being pasted? /gustav From rockysmolin at bchacc.com Thu Aug 30 08:58:35 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 30 Aug 2012 06:58:35 -0700 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> Message-ID: <00572758483F44DD802361030F4FA98E@HAL9007> (Because it's Access) that makes sense. Tks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 30, 2012 6:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 30 08:59:51 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 30 Aug 2012 06:59:51 -0700 Subject: [AccessD] Access Won't Close In-Reply-To: <887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> <887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: How about open objects to make it easier to track down where you forgot close/set to nothing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, August 30, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close <> That's interesting and sure sounds like it. Never knew there was a distinction between DoCmd.Quit and Application.Quit (there really shouldn't be either). Which brings to mind a feature which I always wish Access had; a way to inspect the open reference count and list them. That would be really interesting to look at. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 30, 2012 09:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 30 09:25:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2012 10:25:03 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> <887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: <503F77BF.7010203@colbyconsulting.com> How about a garbage collector that works? ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 9:59 AM, Rocky Smolin wrote: > How about open objects to make it easier to track down where you forgot > close/set to nothing? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, August 30, 2012 6:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > <> > > That's interesting and sure sounds like it. Never knew there was a > distinction between DoCmd.Quit and Application.Quit (there really shouldn't > be either). > > Which brings to mind a feature which I always wish Access had; a way to > inspect the open reference count and list them. That would be really > interesting to look at. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Thursday, August 30, 2012 09:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Won't Close > > Best guess, invoking DoCmd creates an object behind the scenes? > > DoCmd is a property of the Application object, and if you look at Help it > says: > > "You can use the DoCmd property to access the read-only DoCmd object and its > related methods." > > So when you invoke Docmd.Quit you have created another Application object on > the fly. Whereas with Application.Quit you are using the existing > Application object. > > Something like that anyway! > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, August 29, 2012 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > Brian and Lambert: > > So I substituted Application.Quit for DoCmd.Quit and that solved it. Go > figure... > > Thanks > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, August 28, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > Rocky, > > make sure any object you open is closed and it's variable set to nothing. > > Access has no idea if it's been called as an automation server or not. > When it goes to close, if it sees an open reference, it minimizes to the > task bar assuming that another program is not finished with it yet. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 28, 2012 12:55 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access Won't Close > > Dear List: > > My client wanted an email function in his app. No problem - they use > Outlook and I had the code already I could crib from another app. > > However, now when I exit the app, Access doesn't close - can't close it from > the X, have to use the Task Manager. > > This happens if I just start the app and click exit from the opening splash > screen. > > I'm pretty sure it has to do with Outlook (which is open all the time on my > box). > > And I remember reading about this on the list years ago. > > Does anybody know the problem/solution? > > MTIA > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Aug 30 09:26:20 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 30 Aug 2012 07:26:20 -0700 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> <887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: Well, for built in objects, you can get a count of any currently open using something like Application.Forms.Count, although that doesn't include subforms, IIRC. Charlotte On Thu, Aug 30, 2012 at 6:59 AM, Rocky Smolin wrote: > How about open objects to make it easier to track down where you forgot > close/set to nothing? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, August 30, 2012 6:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > <> > > That's interesting and sure sounds like it. Never knew there was a > distinction between DoCmd.Quit and Application.Quit (there really shouldn't > be either). > > Which brings to mind a feature which I always wish Access had; a way to > inspect the open reference count and list them. That would be really > interesting to look at. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Thursday, August 30, 2012 09:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Won't Close > > Best guess, invoking DoCmd creates an object behind the scenes? > > DoCmd is a property of the Application object, and if you look at Help it > says: > > "You can use the DoCmd property to access the read-only DoCmd object and > its > related methods." > > So when you invoke Docmd.Quit you have created another Application object > on > the fly. Whereas with Application.Quit you are using the existing > Application object. > > Something like that anyway! > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, August 29, 2012 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > Brian and Lambert: > > So I substituted Application.Quit for DoCmd.Quit and that solved it. Go > figure... > > Thanks > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, August 28, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Won't Close > > Rocky, > > make sure any object you open is closed and it's variable set to nothing. > > Access has no idea if it's been called as an automation server or not. > When it goes to close, if it sees an open reference, it minimizes to the > task bar assuming that another program is not finished with it yet. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 28, 2012 12:55 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access Won't Close > > Dear List: > > My client wanted an email function in his app. No problem - they use > Outlook and I had the code already I could crib from another app. > > However, now when I exit the app, Access doesn't close - can't close it > from > the X, have to use the Task Manager. > > This happens if I just start the app and click exit from the opening splash > screen. > > I'm pretty sure it has to do with Outlook (which is open all the time on my > box). > > And I remember reading about this on the list years ago. > > Does anybody know the problem/solution? > > MTIA > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Thu Aug 30 10:36:50 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2012 11:36:50 -0400 Subject: [AccessD] I love the Nexus In-Reply-To: <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> Message-ID: <503F8892.7020701@colbyconsulting.com> As I mentioned earlier, I bought the Nexus 7 (8 gb) and I am likewise impressed. I came in to the living room one day to find my 11 year old son using Skype to talk to aunt Janice in NY. No help from me, just opened it and made it work. My 8 year old daughter who is "intellectually disabled" loves to open Google Map and look at things from the satellite view. Less user friendly, I managed to sync my Amazon Kindle book list and download all the books I am reading plus a bunch for the future. The Nexus 7 is no 10 inch tablet but it is cheap and powerful. Once my multiple WIFI access points are unlocked and stored, it connects quickly and easily. We have a Kindle Fire and the Nexus 7 and the kids fight over the Nexus. IMHO, for those of us who don't have to do the Apple thing, Android tablets have arrived. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 7/14/2012 10:11 AM, Stuart McLachlan wrote: > Talking of new toys... > > I've just bought myself a Motorola Xoom. > > We've been using them for recording and emailing results for the PNG National Elections. > Some else wrote the application to do that and I've written a system in PowerBasic/Access to > automagically collect the emails, strip out the results, store them in the database, print out a > copy on receipt and send updates to the website at http://results.pngec.gov.pg. The Access > app also generated various printouts/reports. > > Having seen what the tablets can do, I decided that I really had to learn to program them. > I've found a neat tool called Basic4Android and installed all the necessary bits but haven't > really started learning to use it yet. It looks like a great way to develop Android apps for > anyone with VBA/PB etc skills. > > I've spent the last couple of days playing with the Xoom and downloading various free > tools/apps. > > All I can say is - WOW! I love it. MS are really going to have to work to make a dent with > Win8 for tablets. > From df.waters at comcast.net Thu Aug 30 10:45:52 2012 From: df.waters at comcast.net (Dan Waters) Date: Thu, 30 Aug 2012 10:45:52 -0500 Subject: [AccessD] I love the Nexus In-Reply-To: <503F8892.7020701@colbyconsulting.com> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> Message-ID: <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> Hi John, How do you compare reading a book on the Nexus vs. the Kindle Fire vs. a real Book? My father needs large-print books so I've been considering some kind of reader, as well as one for myself. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2012 10:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] I love the Nexus As I mentioned earlier, I bought the Nexus 7 (8 gb) and I am likewise impressed. I came in to the living room one day to find my 11 year old son using Skype to talk to aunt Janice in NY. No help from me, just opened it and made it work. My 8 year old daughter who is "intellectually disabled" loves to open Google Map and look at things from the satellite view. Less user friendly, I managed to sync my Amazon Kindle book list and download all the books I am reading plus a bunch for the future. The Nexus 7 is no 10 inch tablet but it is cheap and powerful. Once my multiple WIFI access points are unlocked and stored, it connects quickly and easily. We have a Kindle Fire and the Nexus 7 and the kids fight over the Nexus. IMHO, for those of us who don't have to do the Apple thing, Android tablets have arrived. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 7/14/2012 10:11 AM, Stuart McLachlan wrote: > Talking of new toys... > > I've just bought myself a Motorola Xoom. > > We've been using them for recording and emailing results for the PNG National Elections. > Some else wrote the application to do that and I've written a system > in PowerBasic/Access to automagically collect the emails, strip out the results, store them in the database, print out a > copy on receipt and send updates to the website at http://results.pngec.gov.pg. The Access > app also generated various printouts/reports. > > Having seen what the tablets can do, I decided that I really had to learn to program them. > I've found a neat tool called Basic4Android and installed all the > necessary bits but haven't really started learning to use it yet. It > looks like a great way to develop Android apps for anyone with VBA/PB etc skills. > > I've spent the last couple of days playing with the Xoom and > downloading various free tools/apps. > > All I can say is - WOW! I love it. MS are really going to have to work to make a dent with > Win8 for tablets. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 30 11:17:59 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 30 Aug 2012 09:17:59 -0700 Subject: [AccessD] I love the Nexus In-Reply-To: <503F8892.7020701@colbyconsulting.com> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com><50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> Message-ID: Noah got one too and loves it. (junior, H.S. this year) and is using it to keep his assignments under control. Syncs with his Gcal. Great tool. The only annoying thing about it that I see it that the screen is always smudged but that's touch-screen - can't get away from that I suppose. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2012 8:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] I love the Nexus As I mentioned earlier, I bought the Nexus 7 (8 gb) and I am likewise impressed. I came in to the living room one day to find my 11 year old son using Skype to talk to aunt Janice in NY. No help from me, just opened it and made it work. My 8 year old daughter who is "intellectually disabled" loves to open Google Map and look at things from the satellite view. Less user friendly, I managed to sync my Amazon Kindle book list and download all the books I am reading plus a bunch for the future. The Nexus 7 is no 10 inch tablet but it is cheap and powerful. Once my multiple WIFI access points are unlocked and stored, it connects quickly and easily. We have a Kindle Fire and the Nexus 7 and the kids fight over the Nexus. IMHO, for those of us who don't have to do the Apple thing, Android tablets have arrived. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 7/14/2012 10:11 AM, Stuart McLachlan wrote: > Talking of new toys... > > I've just bought myself a Motorola Xoom. > > We've been using them for recording and emailing results for the PNG National Elections. > Some else wrote the application to do that and I've written a system > in PowerBasic/Access to automagically collect the emails, strip out the results, store them in the database, print out a > copy on receipt and send updates to the website at http://results.pngec.gov.pg. The Access > app also generated various printouts/reports. > > Having seen what the tablets can do, I decided that I really had to learn to program them. > I've found a neat tool called Basic4Android and installed all the > necessary bits but haven't really started learning to use it yet. It > looks like a great way to develop Android apps for anyone with VBA/PB etc skills. > > I've spent the last couple of days playing with the Xoom and > downloading various free tools/apps. > > All I can say is - WOW! I love it. MS are really going to have to work to make a dent with > Win8 for tablets. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 30 11:50:25 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2012 12:50:25 -0400 Subject: [AccessD] I love the Nexus In-Reply-To: <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> Message-ID: <503F99D1.3000000@colbyconsulting.com> If you are going for large print, you probably want to avoid the 7" form factor since there just isn't enough screen area to go very big print. I don't have a 10" so I can't say for sure but I would guess that would be fine, however when you get that big (I have read) they are not real comfortable to hold "like a book" for long periods. As to comparisons, I prefer the e-readers for ease of reading except that they are not back-lit so reading them in low light isn't possible. e-ink really is very easy on the eyes. After that, the Kindle Fire and Nexus are "equivalent". Original Kindle: 600?800 Kindle Fire: 1024?600 Google Nexus 7: 1280x800 Supposedly the higher resolution screens cause less eye strain. The other thing to know is that the original Kindles do not have the accelerometer so it doesn't (can't) "rotate" the screen to landscape mode. I have been doing a lot of reading lately and I like the original Kindle or the Nexus. The Nexus is significantly lighter than the Kindle Fire and easier to hold. That said, the Kindle "Fire 2" is right around the corner so we shall see what that tablet looks like. I would use the Fire if I couldn't use either of the others. I really like that the Nexus isn't "locked in" to the Amazon store. The Nexus can use either the Google Play store or, by using the browser, you can buy things from Amazon although the experience isn't as smooth as through the kindle Fire. The Amazon web page is really crowded, designed for large screen computers, not (small) tablet friendly at all. And finally, I actually rooted my Fire and loaded an alternate desktop which I can get at if I want to but I never really use that. Because of the front facing camera and the GPS circuit, the Nexus is in a different league from the current Kindle Fire in terms of capability. Again, my son (without any help from me) got on the Google Map, put in a starting point (Syracuse) and end point (Hudson), downloaded maps for the trip from Syracuse NY to Hudson, NC and was telling mom that her dedicated GPS was taking them the right way. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 11:45 AM, Dan Waters wrote: > Hi John, > > How do you compare reading a book on the Nexus vs. the Kindle Fire vs. a > real Book? My father needs large-print books so I've been considering some > kind of reader, as well as one for myself. > > Thanks! > Dan > From df.waters at comcast.net Thu Aug 30 12:38:22 2012 From: df.waters at comcast.net (Dan Waters) Date: Thu, 30 Aug 2012 12:38:22 -0500 Subject: [AccessD] I love the Nexus In-Reply-To: <503F99D1.3000000@colbyconsulting.com> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> <503F99D1.3000000@colbyconsulting.com> Message-ID: <007901cd86d6$409da910$c1d8fb30$@comcast.net> Excellent Info -- Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2012 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I love the Nexus If you are going for large print, you probably want to avoid the 7" form factor since there just isn't enough screen area to go very big print. I don't have a 10" so I can't say for sure but I would guess that would be fine, however when you get that big (I have read) they are not real comfortable to hold "like a book" for long periods. As to comparisons, I prefer the e-readers for ease of reading except that they are not back-lit so reading them in low light isn't possible. e-ink really is very easy on the eyes. After that, the Kindle Fire and Nexus are "equivalent". Original Kindle: 600?800 Kindle Fire: 1024?600 Google Nexus 7: 1280x800 Supposedly the higher resolution screens cause less eye strain. The other thing to know is that the original Kindles do not have the accelerometer so it doesn't (can't) "rotate" the screen to landscape mode. I have been doing a lot of reading lately and I like the original Kindle or the Nexus. The Nexus is significantly lighter than the Kindle Fire and easier to hold. That said, the Kindle "Fire 2" is right around the corner so we shall see what that tablet looks like. I would use the Fire if I couldn't use either of the others. I really like that the Nexus isn't "locked in" to the Amazon store. The Nexus can use either the Google Play store or, by using the browser, you can buy things from Amazon although the experience isn't as smooth as through the kindle Fire. The Amazon web page is really crowded, designed for large screen computers, not (small) tablet friendly at all. And finally, I actually rooted my Fire and loaded an alternate desktop which I can get at if I want to but I never really use that. Because of the front facing camera and the GPS circuit, the Nexus is in a different league from the current Kindle Fire in terms of capability. Again, my son (without any help from me) got on the Google Map, put in a starting point (Syracuse) and end point (Hudson), downloaded maps for the trip from Syracuse NY to Hudson, NC and was telling mom that her dedicated GPS was taking them the right way. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 11:45 AM, Dan Waters wrote: > Hi John, > > How do you compare reading a book on the Nexus vs. the Kindle Fire vs. > a real Book? My father needs large-print books so I've been > considering some kind of reader, as well as one for myself. > > Thanks! > Dan > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 30 15:04:23 2012 From: john at winhaven.net (John Bartow) Date: Thu, 30 Aug 2012 15:04:23 -0500 Subject: [AccessD] I love the Nexus In-Reply-To: <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> Message-ID: <031501cd86ea$a6d37e80$f47a7b80$@winhaven.net> Hey Dan, I have Kindle on my PC, my android tablet and phone and on my 7" e-ink based Kindle (of course). The only one I actually use to any degree is the Kindle. Easy on the eyes. It's very light weight and reads like a paper back only maybe even lighter. I bought the leather case with integrated light and it works great too. Makes the whole thing heavier, more like a hard cover bound book but that's been fine too. I've never really understood the whole Kindle Fire thing. Kind of ruined Kindle's reputation IMO. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, August 30, 2012 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I love the Nexus Hi John, How do you compare reading a book on the Nexus vs. the Kindle Fire vs. a real Book? My father needs large-print books so I've been considering some kind of reader, as well as one for myself. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2012 10:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] I love the Nexus As I mentioned earlier, I bought the Nexus 7 (8 gb) and I am likewise impressed. I came in to the living room one day to find my 11 year old son using Skype to talk to aunt Janice in NY. No help from me, just opened it and made it work. My 8 year old daughter who is "intellectually disabled" loves to open Google Map and look at things from the satellite view. Less user friendly, I managed to sync my Amazon Kindle book list and download all the books I am reading plus a bunch for the future. The Nexus 7 is no 10 inch tablet but it is cheap and powerful. Once my multiple WIFI access points are unlocked and stored, it connects quickly and easily. We have a Kindle Fire and the Nexus 7 and the kids fight over the Nexus. IMHO, for those of us who don't have to do the Apple thing, Android tablets have arrived. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 7/14/2012 10:11 AM, Stuart McLachlan wrote: > Talking of new toys... > > I've just bought myself a Motorola Xoom. > > We've been using them for recording and emailing results for the PNG National Elections. > Some else wrote the application to do that and I've written a system > in PowerBasic/Access to automagically collect the emails, strip out > the results, store them in the database, print out a > copy on receipt and send updates to the website at http://results.pngec.gov.pg. The Access > app also generated various printouts/reports. > > Having seen what the tablets can do, I decided that I really had to > learn to program them. > I've found a neat tool called Basic4Android and installed all the > necessary bits but haven't really started learning to use it yet. It > looks like a great way to develop Android apps for anyone with VBA/PB > etc skills. > > I've spent the last couple of days playing with the Xoom and > downloading various free tools/apps. > > All I can say is - WOW! I love it. MS are really going to have to work to make a dent with > Win8 for tablets. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- I am using the free version of SPAMfighter. SPAMfighter has removed 18406 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len Do you have a slow PC? Try Free scan http://www.spamfighter.com/SLOW-PCfighter?cid=sigen From jwcolby at colbyconsulting.com Thu Aug 30 16:36:05 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2012 17:36:05 -0400 Subject: [AccessD] I love the Nexus In-Reply-To: <031501cd86ea$a6d37e80$f47a7b80$@winhaven.net> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> <031501cd86ea$a6d37e80$f47a7b80$@winhaven.net> Message-ID: <503FDCC5.2070708@colbyconsulting.com> The Kindle fire has its place. Because it is color it can play games and even video. It can also be used for color children's books, comics etc whereas much of that is wasted on the e-reader. I bought the Seagate Satellite and streamed video to the Kindle Fire and the Nexus 7 for the trip to NY this summer. A 7" tablet makes a decent video screen for the car, and with the Satellite avoided the whole argument of which video the entertainment system was going to play. The Fire is just OK as a reader but it is much more than that. The Kindle readers are only a reader, and not much good for anything else. Don't get me wrong, I have the Kindle e-reader and it is my first choice for actually reading books. OTOH the Nexus 7 is a good reader as well and is back lit so it can be used in the dark without an external light. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 4:04 PM, John Bartow wrote: > Hey Dan, > I have Kindle on my PC, my android tablet and phone and on my 7" e-ink based > Kindle (of course). The only one I actually use to any degree is the Kindle. > Easy on the eyes. It's very light weight and reads like a paper back only > maybe even lighter. I bought the leather case with integrated light and it > works great too. Makes the whole thing heavier, more like a hard cover bound > book but that's been fine too. > > I've never really understood the whole Kindle Fire thing. Kind of ruined > Kindle's reputation IMO. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, August 30, 2012 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I love the Nexus > > Hi John, > > How do you compare reading a book on the Nexus vs. the Kindle Fire vs. a > real Book? My father needs large-print books so I've been considering some > kind of reader, as well as one for myself. > > Thanks! > Dan > From kathryn at bassett.net Thu Aug 30 18:01:11 2012 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 30 Aug 2012 16:01:11 -0700 Subject: [AccessD] I love the Nexus In-Reply-To: <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> Message-ID: I'm not John, but I have a Samsung Galaxy Nexus (Android). I read on it all the time. I use FBreader (fbreader.org), though there are plenty of others. You can choose the font size and color, and the background color. I have mine as black on pale yellow. Without going to look at it (it's in charger at moment), I don't remember font and size, but it's a san serif and a medium size - I could go much larger. You can bookmark where you left off, which some free readers don't do. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 30 Aug 2012 8:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I love the Nexus > > Hi John, > > How do you compare reading a book on the Nexus vs. the Kindle Fire vs. a > real Book? My father needs large-print books so I've been considering some > kind of reader, as well as one for myself. > > Thanks! > Dan From john at winhaven.net Thu Aug 30 18:51:58 2012 From: john at winhaven.net (John Bartow) Date: Thu, 30 Aug 2012 18:51:58 -0500 Subject: [AccessD] I love the Nexus In-Reply-To: <503FDCC5.2070708@colbyconsulting.com> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> <031501cd86ea$a6d37e80$f47a7b80$@winhaven.net> <503FDCC5.2070708@colbyconsulting.com> Message-ID: <041201cd870a$71dc0600$55941200$@winhaven.net> So it's basically an android tablet with a weird UI ;-) I gave up reading on backlit screens about 10 years ago when I used to used my pocket pc. The light stimulates your brain in some way that keeps you awake and I generally read for entertainment at night. I do have kindle reader on my androids just in case I forget my kindle but I shy away from reading late in the evening with those. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2012 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I love the Nexus The Kindle fire has its place. Because it is color it can play games and even video. It can also be used for color children's books, comics etc whereas much of that is wasted on the e-reader. I bought the Seagate Satellite and streamed video to the Kindle Fire and the Nexus 7 for the trip to NY this summer. A 7" tablet makes a decent video screen for the car, and with the Satellite avoided the whole argument of which video the entertainment system was going to play. The Fire is just OK as a reader but it is much more than that. The Kindle readers are only a reader, and not much good for anything else. Don't get me wrong, I have the Kindle e-reader and it is my first choice for actually reading books. OTOH the Nexus 7 is a good reader as well and is back lit so it can be used in the dark without an external light. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 4:04 PM, John Bartow wrote: > Hey Dan, > I have Kindle on my PC, my android tablet and phone and on my 7" e-ink > based Kindle (of course). The only one I actually use to any degree is the Kindle. > Easy on the eyes. It's very light weight and reads like a paper back > only maybe even lighter. I bought the leather case with integrated > light and it works great too. Makes the whole thing heavier, more like > a hard cover bound book but that's been fine too. > > I've never really understood the whole Kindle Fire thing. Kind of > ruined Kindle's reputation IMO. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, August 30, 2012 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I love the Nexus > > Hi John, > > How do you compare reading a book on the Nexus vs. the Kindle Fire vs. > a real Book? My father needs large-print books so I've been > considering some kind of reader, as well as one for myself. > > Thanks! > Dan > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- I am using the free version of SPAMfighter. SPAMfighter has removed 18406 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len Do you have a slow PC? Try Free scan http://www.spamfighter.com/SLOW-PCfighter?cid=sigen From marksimms at verizon.net Thu Aug 30 20:15:13 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 30 Aug 2012 21:15:13 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007> <2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007> Message-ID: <000601cd8716$132eb1f0$398c15d0$@net> Lambert....well done...I've always wondered why the really experienced programmers avoided DoCmd wherever possible. That being said, I think there are a lot of them that cannot be substituted. > So when you invoke Docmd.Quit you have created another Application > object on the fly. Whereas with Application.Quit you are using the > existing Application object. From jwcolby at colbyconsulting.com Thu Aug 30 21:44:04 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2012 22:44:04 -0400 Subject: [AccessD] I love the Nexus In-Reply-To: <041201cd870a$71dc0600$55941200$@winhaven.net> References: <5000F4C1.7000906@colbyconsulting.com>, <500162ED.3000806@torchlake.com> <50017DFB.5806.2B986DA5@stuart.lexacorp.com.pg> <503F8892.7020701@colbyconsulting.com> <005f01cd86c6$894f88f0$9bee9ad0$@comcast.net> <031501cd86ea$a6d37e80$f47a7b80$@winhaven.net> <503FDCC5.2070708@colbyconsulting.com> <041201cd870a$71dc0600$55941200$@winhaven.net> Message-ID: <504024F4.8000009@colbyconsulting.com> > So it's basically an android tablet with a weird UI ;-) LOL, Yep! It's called "skinning" and has been done forever in cell phones which are also Android tablets with a weird interface. Amazon just wrote a highly customized skin to lock you into Amazon store. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 8/30/2012 7:51 PM, John Bartow wrote: > So it's basically an android tablet with a weird UI ;-) > > I gave up reading on backlit screens about 10 years ago when I used to used > my pocket pc. The light stimulates your brain in some way that keeps you > awake and I generally read for entertainment at night. I do have kindle > reader on my androids just in case I forget my kindle but I shy away from > reading late in the evening with those. > From stuart at lexacorp.com.pg Thu Aug 30 22:43:50 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 31 Aug 2012 13:43:50 +1000 Subject: [AccessD] I love the Nexus In-Reply-To: <504024F4.8000009@colbyconsulting.com> References: <5000F4C1.7000906@colbyconsulting.com>, <041201cd870a$71dc0600$55941200$@winhaven.net>, <504024F4.8000009@colbyconsulting.com> Message-ID: <504032F6.20546.266A1C8E@stuart.lexacorp.com.pg> Talking of Android, I see that they are working on Android for the Raspberry Pi. http://www.raspberrypi.org/archives/1700 On 30 Aug 2012 at 22:44, jwcolby wrote: > > So it's basically an android tablet with a weird UI ;-) > > LOL, Yep! It's called "skinning" and has been done forever in cell phones which are also Android > tablets with a weird interface. > > Amazon just wrote a highly customized skin to lock you into Amazon store. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/30/2012 7:51 PM, John Bartow wrote: > > So it's basically an android tablet with a weird UI ;-) > > > > I gave up reading on backlit screens about 10 years ago when I used to used > > my pocket pc. The light stimulates your brain in some way that keeps you > > awake and I generally read for entertainment at night. I do have kindle > > reader on my androids just in case I forget my kindle but I shy away from > > reading late in the evening with those. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Aug 30 23:21:01 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 30 Aug 2012 21:21:01 -0700 Subject: [AccessD] I love the Nexus In-Reply-To: <504032F6.20546.266A1C8E@stuart.lexacorp.com.pg> References: <5000F4C1.7000906@colbyconsulting.com>, <041201cd870a$71dc0600$55941200$@winhaven.net>, <504024F4.8000009@colbyconsulting.com> <504032F6.20546.266A1C8E@stuart.lexacorp.com.pg> Message-ID: That is excellent. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, August 30, 2012 8:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I love the Nexus Talking of Android, I see that they are working on Android for the Raspberry Pi. http://www.raspberrypi.org/archives/1700 On 30 Aug 2012 at 22:44, jwcolby wrote: > > So it's basically an android tablet with a weird UI ;-) > > LOL, Yep! It's called "skinning" and has been done forever in cell phones which are also Android > tablets with a weird interface. > > Amazon just wrote a highly customized skin to lock you into Amazon store. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 8/30/2012 7:51 PM, John Bartow wrote: > > So it's basically an android tablet with a weird UI ;-) > > > > I gave up reading on backlit screens about 10 years ago when I used to used > > my pocket pc. The light stimulates your brain in some way that keeps you > > awake and I generally read for entertainment at night. I do have kindle > > reader on my androids just in case I forget my kindle but I shy away from > > reading late in the evening with those. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Fri Aug 31 14:15:57 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 31 Aug 2012 14:15:57 -0500 Subject: [AccessD] Access Won't Close References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007><887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: All, Is there possibly some way to obtain a list of "Open Objects" or "Open Reference Count" from a utility "Outside" of Access? Is there information somewhere deep within Windows that could be obtained? I am coming from an IBM Mainframe background. Our systems programmers had great diagnostic tools to look at information stored inside the operating system. I wonder if there are such tools available in the Windows world that could help with the issue of Open Objects. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, August 30, 2012 9:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close How about open objects to make it easier to track down where you forgot close/set to nothing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, August 30, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close <> That's interesting and sure sounds like it. Never knew there was a distinction between DoCmd.Quit and Application.Quit (there really shouldn't be either). Which brings to mind a feature which I always wish Access had; a way to inspect the open reference count and list them. That would be really interesting to look at. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 30, 2012 09:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From BradM at blackforestltd.com Fri Aug 31 14:19:40 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 31 Aug 2012 14:19:40 -0500 Subject: [AccessD] Friday Topic References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007><887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: There was an old man named Mel, Who taught himself SQL, He grimaced and said, As he scratched his bald head, I believe I am living in hell. Have a nice weekend! Brad From jimdettman at verizon.net Fri Aug 31 14:40:43 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 31 Aug 2012 15:40:43 -0400 Subject: [AccessD] Access Won't Close In-Reply-To: References: <50A701F91CDB42C69A3E136C61120E2E@HAL9007><2EE4877C71F94BB5B60FB9FBFDF01F82@HAL9007><887F372EDAAD42A2A02CB4D9BDDD9E6A@XPS> Message-ID: Brad, The reference count is internal to Access/VBA and is part of the process memory space. I'm sure you could poke through the memory from the OS level, but it's not in any standardized form that the OS would be aware of. Probably not saying that well, but the short answer is no. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, August 31, 2012 03:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close All, Is there possibly some way to obtain a list of "Open Objects" or "Open Reference Count" from a utility "Outside" of Access? Is there information somewhere deep within Windows that could be obtained? I am coming from an IBM Mainframe background. Our systems programmers had great diagnostic tools to look at information stored inside the operating system. I wonder if there are such tools available in the Windows world that could help with the issue of Open Objects. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, August 30, 2012 9:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close How about open objects to make it easier to track down where you forgot close/set to nothing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, August 30, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close <> That's interesting and sure sounds like it. Never knew there was a distinction between DoCmd.Quit and Application.Quit (there really shouldn't be either). Which brings to mind a feature which I always wish Access had; a way to inspect the open reference count and list them. That would be really interesting to look at. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 30, 2012 09:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Won't Close Best guess, invoking DoCmd creates an object behind the scenes? DoCmd is a property of the Application object, and if you look at Help it says: "You can use the DoCmd property to access the read-only DoCmd object and its related methods." So when you invoke Docmd.Quit you have created another Application object on the fly. Whereas with Application.Quit you are using the existing Application object. Something like that anyway! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, August 29, 2012 5:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Brian and Lambert: So I substituted Application.Quit for DoCmd.Quit and that solved it. Go figure... Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 28, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Won't Close Rocky, make sure any object you open is closed and it's variable set to nothing. Access has no idea if it's been called as an automation server or not. When it goes to close, if it sees an open reference, it minimizes to the task bar assuming that another program is not finished with it yet. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 28, 2012 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Won't Close Dear List: My client wanted an email function in his app. No problem - they use Outlook and I had the code already I could crib from another app. However, now when I exit the app, Access doesn't close - can't close it from the X, have to use the Task Manager. This happens if I just start the app and click exit from the opening splash screen. I'm pretty sure it has to do with Outlook (which is open all the time on my box). And I remember reading about this on the list years ago. Does anybody know the problem/solution? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com