From fahooper at gmail.com Mon Nov 2 09:47:26 2015 From: fahooper at gmail.com (Fred Hooper) Date: Mon, 02 Nov 2015 10:47:26 -0500 Subject: [AccessD] Anyone used dbSync? Message-ID: <5637858E.1060705@gmail.com> I found this product: https://dbconvert.com/access/mssql/, which claims to keep an Access database in sync with a SQL Server database. Has anyone used it? I'm converting the record-keeping program for my brother-in-law's software program from an Access back end to a SQL Server back end. If the program works as described, it would reduce the risk of the switchover. I'm not interested in their convert product as I've written something I'm happy with and that gives me control at the points where I need it. As I have plenty of time right now, I've tried every permutation of how to link the front and back end that I've read or thought of; this was necessary as the first test of simple links to SQL Server brought a critical form from 10 seconds to 3 minutes -- so I did a lot of rethinking. If anyone is interested I'd be happy to provide more detail. Thanks, Fred From charlotte.foust at gmail.com Mon Nov 2 10:59:10 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 2 Nov 2015 08:59:10 -0800 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637858E.1060705@gmail.com> References: <5637858E.1060705@gmail.com> Message-ID: Sounds good in theory, but I haven't used it. Charlotte Charlotte Foust (916) 206-4336 On Mon, Nov 2, 2015 at 7:47 AM, Fred Hooper wrote: > I found this product: https://dbconvert.com/access/mssql/, which claims > to keep an Access database in sync with a SQL Server database. Has > anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need it. > As I have plenty of time right now, I've tried every permutation of how > to link the front and back end that I've read or thought of; this was > necessary as the first test of simple links to SQL Server brought a > critical form from 10 seconds to 3 minutes -- so I did a lot of > rethinking. If anyone is interested I'd be happy to provide more detail. > > Thanks, > Fred > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at outlook.com Mon Nov 2 11:40:38 2015 From: df.waters at outlook.com (Dan Waters) Date: Mon, 2 Nov 2015 11:40:38 -0600 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637858E.1060705@gmail.com> References: <5637858E.1060705@gmail.com> Message-ID: Hi Fred, It looks to me like you may not need the synchronization product. I went to the site - what it does is keep two databases (or two backends) in synch with each other on a periodic basis (for $149). But it sounds like what you need to do is this: 1) From your Access BE, upsize the Access tables to SQL Server tables. (do a search for 'upsize Access tables to SQL Server tables') 2) In the Access FE, remove the FE table links to the Access database with the data tables. 3) In the Access FE, create ODBC links to the same tables in the SQL Server database. (do a search for 'link Access to SQL Server) 4) Try out your application - it should run exactly like it did with the Access tables. You won't need to do this again so a synchronization product won't be of any help. Once it's all working, you won't need your Access BE file anymore. HTH, Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, November 02, 2015 9:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Anyone used dbSync? I found this product: https://dbconvert.com/access/mssql/, which claims to keep an Access database in sync with a SQL Server database. Has anyone used it? I'm converting the record-keeping program for my brother-in-law's software program from an Access back end to a SQL Server back end. If the program works as described, it would reduce the risk of the switchover. I'm not interested in their convert product as I've written something I'm happy with and that gives me control at the points where I need it. As I have plenty of time right now, I've tried every permutation of how to link the front and back end that I've read or thought of; this was necessary as the first test of simple links to SQL Server brought a critical form from 10 seconds to 3 minutes -- so I did a lot of rethinking. If anyone is interested I'd be happy to provide more detail. Thanks, Fred -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at gmail.com Mon Nov 2 12:30:31 2015 From: fahooper at gmail.com (Fred Hooper) Date: Mon, 02 Nov 2015 13:30:31 -0500 Subject: [AccessD] Anyone used dbSync? In-Reply-To: References: <5637858E.1060705@gmail.com> Message-ID: <5637ABC7.4010301@gmail.com> Hi Dan, That's what I did, but it brought the critical form-opening time from 10 seconds to 3 minutes on their network (instant on my PC, so I was surprised). However, since then I've (1) changed from nvarchar to varchar (hoping to reduce the data quantity by 40% or so); and, (2) asked them to upgrade the single cat-5 cable bottleneck (100Mhz) from the server to the switch to 2 cat-7 cables (600Mhz each). I'm hoping that the combination of the two changes will provide the necessary speed. However, I can't test it until next week so I'm trying to explore alternatives. However, the increased speed just postpones the problem, as their business grows they will have the problem again. I've got to do more to move the processing from the FE to the server. I've converted their queries to views but dragging whole views across the network for Access to use the few records it actually needs is not going to provide a long term speedup either. I've tried three ways to move the processing to the server: 1. On-the-fly modified passthru queries, but you can't edit through these. 2. On-the-fly created separate views for each user (a/k/a "user view") with the link to the server's table modified to point to that view. To avoid SQL Server's limitation of editing only one table through a multi-table view, I retained the queries locally (although I created them on the server too, for when they are useful) -- and created those user views for each table needed by the local query. Their second most commonly used form has 9 subforms, some fed by queries -- requiring a total of 12 "linked tables" fed by user views. 3. ADO recordsets as the forms' Recordset. This is noticeably quicker than 2 on my PC; the differences will probably be less when masked by network traffic, but I prefer this simpler solution so far. For this, my solution to the multiple-table problem is to force updating after every field's change (kludgy, but it works). In retrospect, I could have done this with 2 and had only 9 user views, but that's not much of an improvement from 12. Unless someone has some experience with dbSync to guide me, I expect I'm going to try it unless the network change and the varchar's speed the program up enough to allow the direct switch and gradual changes from there. BTW, I'm working in Access 2002 & 2003 and SQL Server 2012. Best, Fred > Dan Waters > Monday, November 02, 2015 12:40 PM > Hi Fred, > > It looks to me like you may not need the synchronization product. I > went to > the site - what it does is keep two databases (or two backends) in synch > with each other on a periodic basis (for $149). But it sounds like > what you > need to do is this: > > 1) From your Access BE, upsize the Access tables to SQL Server tables. > (do a > search for 'upsize Access tables to SQL Server tables') > 2) In the Access FE, remove the FE table links to the Access database with > the data tables. > 3) In the Access FE, create ODBC links to the same tables in the SQL > Server > database. (do a search for 'link Access to SQL Server) > 4) Try out your application - it should run exactly like it did with the > Access tables. > > You won't need to do this again so a synchronization product won't be > of any > help. Once it's all working, you won't need your Access BE file anymore. > > HTH, > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Fred Hooper > Sent: Monday, November 02, 2015 9:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Anyone used dbSync? > > I found this product: https://dbconvert.com/access/mssql/, which claims to > keep an Access database in sync with a SQL Server database. Has anyone > used > it? > > I'm converting the record-keeping program for my brother-in-law's software > program from an Access back end to a SQL Server back end. If the program > works as described, it would reduce the risk of the switchover. > > I'm not interested in their convert product as I've written something I'm > happy with and that gives me control at the points where I need it. > As I have plenty of time right now, I've tried every permutation of how to > link the front and back end that I've read or thought of; this was > necessary > as the first test of simple links to SQL Server brought a critical > form from > 10 seconds to 3 minutes -- so I did a lot of rethinking. If anyone is > interested I'd be happy to provide more detail. > > Thanks, > Fred > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Fred Hooper > Monday, November 02, 2015 10:47 AM > I found this product: https://dbconvert.com/access/mssql/, which > claims to keep an Access database in sync with a SQL Server database. > Has anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the > switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need > it. As I have plenty of time right now, I've tried every permutation > of how to link the front and back end that I've read or thought of; > this was necessary as the first test of simple links to SQL Server > brought a critical form from 10 seconds to 3 minutes -- so I did a lot > of rethinking. If anyone is interested I'd be happy to provide more > detail. > > Thanks, > Fred > From jbodin at sbor.com Mon Nov 2 12:39:59 2015 From: jbodin at sbor.com (John Bodin) Date: Mon, 2 Nov 2015 18:39:59 +0000 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637ABC7.4010301@gmail.com> References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> Message-ID: Fred, on the cable change, the Cat5 and Cat7 ratings will not help you if the switch the server is connected to can only go 100meg or even a gig (Cat 5 will still get you fine throughput at a gig). The switch will be the bottleneck. If on the other hand you have a 10gig switch that the server is connected to and 10gig ports on the server, then the better cable will aid you there, and then whatever speed network card the users have (typically a gig) will dictate how much and how fast they can connect to the network to send/receive data. Good luck. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, November 02, 2015 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone used dbSync? Hi Dan, That's what I did, but it brought the critical form-opening time from 10 seconds to 3 minutes on their network (instant on my PC, so I was surprised). However, since then I've (1) changed from nvarchar to varchar (hoping to reduce the data quantity by 40% or so); and, (2) asked them to upgrade the single cat-5 cable bottleneck (100Mhz) from the server to the switch to 2 cat-7 cables (600Mhz each). I'm hoping that the combination of the two changes will provide the necessary speed. However, I can't test it until next week so I'm trying to explore alternatives. However, the increased speed just postpones the problem, as their business grows they will have the problem again. I've got to do more to move the processing from the FE to the server. I've converted their queries to views but dragging whole views across the network for Access to use the few records it actually needs is not going to provide a long term speedup either. I've tried three ways to move the processing to the server: 1. On-the-fly modified passthru queries, but you can't edit through these. 2. On-the-fly created separate views for each user (a/k/a "user view") with the link to the server's table modified to point to that view. To avoid SQL Server's limitation of editing only one table through a multi-table view, I retained the queries locally (although I created them on the server too, for when they are useful) -- and created those user views for each table needed by the local query. Their second most commonly used form has 9 subforms, some fed by queries -- requiring a total of 12 "linked tables" fed by user views. 3. ADO recordsets as the forms' Recordset. This is noticeably quicker than 2 on my PC; the differences will probably be less when masked by network traffic, but I prefer this simpler solution so far. For this, my solution to the multiple-table problem is to force updating after every field's change (kludgy, but it works). In retrospect, I could have done this with 2 and had only 9 user views, but that's not much of an improvement from 12. Unless someone has some experience with dbSync to guide me, I expect I'm going to try it unless the network change and the varchar's speed the program up enough to allow the direct switch and gradual changes from there. BTW, I'm working in Access 2002 & 2003 and SQL Server 2012. Best, Fred > Dan Waters Monday, November 02, 2015 > 12:40 PM Hi Fred, > > It looks to me like you may not need the synchronization product. I > went to the site - what it does is keep two databases (or two > backends) in synch with each other on a periodic basis (for $149). But > it sounds like what you need to do is this: > > 1) From your Access BE, upsize the Access tables to SQL Server tables. > (do a > search for 'upsize Access tables to SQL Server tables') > 2) In the Access FE, remove the FE table links to the Access database > with the data tables. > 3) In the Access FE, create ODBC links to the same tables in the SQL > Server database. (do a search for 'link Access to SQL Server) > 4) Try out your application - it should run exactly like it did with > the Access tables. > > You won't need to do this again so a synchronization product won't be > of any help. Once it's all working, you won't need your Access BE file > anymore. > > HTH, > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Fred Hooper > Sent: Monday, November 02, 2015 9:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Anyone used dbSync? > > I found this product: https://dbconvert.com/access/mssql/, which > claims to keep an Access database in sync with a SQL Server database. > Has anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need it. > As I have plenty of time right now, I've tried every permutation of > how to link the front and back end that I've read or thought of; this > was necessary as the first test of simple links to SQL Server brought > a critical form from > 10 seconds to 3 minutes -- so I did a lot of rethinking. If anyone is > interested I'd be happy to provide more detail. > > Thanks, > Fred > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Fred Hooper Monday, November 02, 2015 > 10:47 AM I found this product: https://dbconvert.com/access/mssql/, > which claims to keep an Access database in sync with a SQL Server > database. > Has anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the > switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need > it. As I have plenty of time right now, I've tried every permutation > of how to link the front and back end that I've read or thought of; > this was necessary as the first test of simple links to SQL Server > brought a critical form from 10 seconds to 3 minutes -- so I did a lot > of rethinking. If anyone is interested I'd be happy to provide more > detail. > > Thanks, > Fred > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Mon Nov 2 13:09:46 2015 From: df.waters at outlook.com (Dan Waters) Date: Mon, 2 Nov 2015 13:09:46 -0600 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637ABC7.4010301@gmail.com> References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> Message-ID: Hi Fred, Are you logged onto their network using a VPN and Remote Desktop from outside that network? If so, your massive increase in speed is expected. ODBC table links connected to a SQL Server database from outside the network will never have acceptable speed. No table link, Access or ODBC, ever has acceptable performance using a VPN on the internet. If the application will only be actually used within the network, then just do the testing on identical tables on your PC. When you're done just ship the FE to your brother in law and let him know he'll need to relink the ODBC table links to SQL Server on his server. If that doesn't work there are three other paths: 1) if possible, log into their network and do all the work on their server. 2) You could rewrite all the FE code using ADO. This does not require table links and does provide good performance. About 10 years ago I started to learn this but I no longer remember 3) Download Visual Studio Community 2015 (free) and learn to write a WinForms app. Develop on your PC using SQL Server Express (or SQL Server Developer). Very similar look and feel, great performance, and has the same purpose as an Access app. Short term 1 is best, 2 is OK. Long term 3 is best. 2 used to be called an Access Project but today, learning Visual Studio is a better path long term. Still, unless you are going to keep tables in an Access .mdb file and in identical tables in SQL Server synchronized continuously, I don't believe that dbSync would be helpful. Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, November 02, 2015 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone used dbSync? Hi Dan, That's what I did, but it brought the critical form-opening time from 10 seconds to 3 minutes on their network (instant on my PC, so I was surprised). However, since then I've (1) changed from nvarchar to varchar (hoping to reduce the data quantity by 40% or so); and, (2) asked them to upgrade the single cat-5 cable bottleneck (100Mhz) from the server to the switch to 2 cat-7 cables (600Mhz each). I'm hoping that the combination of the two changes will provide the necessary speed. However, I can't test it until next week so I'm trying to explore alternatives. However, the increased speed just postpones the problem, as their business grows they will have the problem again. I've got to do more to move the processing from the FE to the server. I've converted their queries to views but dragging whole views across the network for Access to use the few records it actually needs is not going to provide a long term speedup either. I've tried three ways to move the processing to the server: 1. On-the-fly modified passthru queries, but you can't edit through these. 2. On-the-fly created separate views for each user (a/k/a "user view") with the link to the server's table modified to point to that view. To avoid SQL Server's limitation of editing only one table through a multi-table view, I retained the queries locally (although I created them on the server too, for when they are useful) -- and created those user views for each table needed by the local query. Their second most commonly used form has 9 subforms, some fed by queries -- requiring a total of 12 "linked tables" fed by user views. 3. ADO recordsets as the forms' Recordset. This is noticeably quicker than 2 on my PC; the differences will probably be less when masked by network traffic, but I prefer this simpler solution so far. For this, my solution to the multiple-table problem is to force updating after every field's change (kludgy, but it works). In retrospect, I could have done this with 2 and had only 9 user views, but that's not much of an improvement from 12. Unless someone has some experience with dbSync to guide me, I expect I'm going to try it unless the network change and the varchar's speed the program up enough to allow the direct switch and gradual changes from there. BTW, I'm working in Access 2002 & 2003 and SQL Server 2012. Best, Fred > Dan Waters Monday, November 02, 2015 > 12:40 PM Hi Fred, > > It looks to me like you may not need the synchronization product. I > went to the site - what it does is keep two databases (or two > backends) in synch with each other on a periodic basis (for $149). But > it sounds like what you need to do is this: > > 1) From your Access BE, upsize the Access tables to SQL Server tables. > (do a > search for 'upsize Access tables to SQL Server tables') > 2) In the Access FE, remove the FE table links to the Access database > with the data tables. > 3) In the Access FE, create ODBC links to the same tables in the SQL > Server database. (do a search for 'link Access to SQL Server) > 4) Try out your application - it should run exactly like it did with > the Access tables. > > You won't need to do this again so a synchronization product won't be > of any help. Once it's all working, you won't need your Access BE file > anymore. > > HTH, > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Fred Hooper > Sent: Monday, November 02, 2015 9:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Anyone used dbSync? > > I found this product: https://dbconvert.com/access/mssql/, which > claims to keep an Access database in sync with a SQL Server database. > Has anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need it. > As I have plenty of time right now, I've tried every permutation of > how to link the front and back end that I've read or thought of; this > was necessary as the first test of simple links to SQL Server brought > a critical form from > 10 seconds to 3 minutes -- so I did a lot of rethinking. If anyone is > interested I'd be happy to provide more detail. > > Thanks, > Fred > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Fred Hooper Monday, November 02, 2015 > 10:47 AM I found this product: https://dbconvert.com/access/mssql/, > which claims to keep an Access database in sync with a SQL Server > database. > Has anyone used it? > > I'm converting the record-keeping program for my brother-in-law's > software program from an Access back end to a SQL Server back end. If > the program works as described, it would reduce the risk of the > switchover. > > I'm not interested in their convert product as I've written something > I'm happy with and that gives me control at the points where I need > it. As I have plenty of time right now, I've tried every permutation > of how to link the front and back end that I've read or thought of; > this was necessary as the first test of simple links to SQL Server > brought a critical form from 10 seconds to 3 minutes -- so I did a lot > of rethinking. If anyone is interested I'd be happy to provide more > detail. > > Thanks, > Fred > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at gmail.com Mon Nov 2 13:12:30 2015 From: fahooper at gmail.com (Fred Hooper) Date: Mon, 02 Nov 2015 14:12:30 -0500 Subject: [AccessD] Anyone used dbSync? In-Reply-To: References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> Message-ID: <5637B59E.5070000@gmail.com> Thank you John, I didn't know that. They have a 5-year old DLink 24-port switch, that I assume is a gig. Their server is a small Dell of the same age, probably also with gig ports. When I started looked at their network, they mentioned that every network company they've ever used is out of business a year or two later (they're on Cape Cod). Do you have any recommendations if (as I now expect), the network speed shows only small improvements after the cable change, for the switch and/or the ports? Thanks, Fred > John Bodin > Monday, November 02, 2015 1:39 PM > Fred, on the cable change, the Cat5 and Cat7 ratings will not help you > if the switch the server is connected to can only go 100meg or even a > gig (Cat 5 will still get you fine throughput at a gig). The switch > will be the bottleneck. If on the other hand you have a 10gig switch > that the server is connected to and 10gig ports on the server, then > the better cable will aid you there, and then whatever speed network > card the users have (typically a gig) will dictate how much and how > fast they can connect to the network to send/receive data. Good luck. > > John > From fahooper at gmail.com Mon Nov 2 13:26:54 2015 From: fahooper at gmail.com (Fred Hooper) Date: Mon, 02 Nov 2015 14:26:54 -0500 Subject: [AccessD] Anyone used dbSync? In-Reply-To: References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> Message-ID: <5637B8FE.5020400@gmail.com> Hi Dan, I was local and hard-wired to their network, using one of their PC's. I've started on your 2) and have it working for the most-used form. Next I'll extend it to the second most used to complete a proof of concept. I've got working code that switches between the Access BE, SQL Server BE, and ADO recordsets, so we'll assess the speed with all of the alternatives using the same code, as much as possible. Part of the reason I want to use recordsets is that their product is mostly written in VB.Net. I expect that they will start a back burner project to convert the Access FE and the recordsets should help some of that. I hadn't considered WinForms. Currently, they have all their people in three adjacent rooms. Since one person has a 1.5 hour commute each way, they might be interested in being able to work remotely. I'll talk to them about it after I've done some reading. Thanks additionally for that idea. I've got a little Demo mdb that I used to debug the ADO recordset approach if you or anyone else is interested. Best, Fred > Dan Waters > Monday, November 02, 2015 2:09 PM > Hi Fred, > > Are you logged onto their network using a VPN and Remote Desktop from > outside that network? If so, your massive increase in speed is expected. > ODBC table links connected to a SQL Server database from outside the network > will never have acceptable speed. No table link, Access or ODBC, ever has > acceptable performance using a VPN on the internet. > > If the application will only be actually used within the network, then just > do the testing on identical tables on your PC. When you're done just ship > the FE to your brother in law and let him know he'll need to relink the ODBC > table links to SQL Server on his server. > > If that doesn't work there are three other paths: > > 1) if possible, log into their network and do all the work on their server. > 2) You could rewrite all the FE code using ADO. This does not require table > links and does provide good performance. About 10 years ago I started to > learn this but I no longer remember > 3) Download Visual Studio Community 2015 (free) and learn to write a > WinForms app. Develop on your PC using SQL Server Express (or SQL Server > Developer). Very similar look and feel, great performance, and has the same > purpose as an Access app. > > Short term 1 is best, 2 is OK. Long term 3 is best. 2 used to be called an > Access Project but today, learning Visual Studio is a better path long term. > > Still, unless you are going to keep tables in an Access .mdb file and in > identical tables in SQL Server synchronized continuously, I don't believe > that dbSync would be helpful. > > Good Luck! > Dan > From jbodin at sbor.com Mon Nov 2 13:37:12 2015 From: jbodin at sbor.com (John Bodin) Date: Mon, 2 Nov 2015 19:37:12 +0000 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637B59E.5070000@gmail.com> References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> <5637B59E.5070000@gmail.com> Message-ID: Ah, they must have spent too much time at the Beachcomber in Wellfleet... On hardware, I'd get the model of the switch to make sure it is gigabit. You can probably just hover your mouse over the networking icon in the system tray on the server and see what it says for connection speed. On software, you want SQL Server to do all the heavy lifting and only return the results. With Access, it pulls all the tables locally that you are querying and then performs the action. Check what Dan is providing for options, especially the ADO option. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, November 02, 2015 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone used dbSync? Thank you John, I didn't know that. They have a 5-year old DLink 24-port switch, that I assume is a gig. Their server is a small Dell of the same age, probably also with gig ports. When I started looked at their network, they mentioned that every network company they've ever used is out of business a year or two later (they're on Cape Cod). Do you have any recommendations if (as I now expect), the network speed shows only small improvements after the cable change, for the switch and/or the ports? Thanks, Fred > John Bodin > Monday, November 02, 2015 1:39 PM > Fred, on the cable change, the Cat5 and Cat7 ratings will not help you > if the switch the server is connected to can only go 100meg or even a > gig (Cat 5 will still get you fine throughput at a gig). The switch > will be the bottleneck. If on the other hand you have a 10gig switch > that the server is connected to and 10gig ports on the server, then > the better cable will aid you there, and then whatever speed network > card the users have (typically a gig) will dictate how much and how > fast they can connect to the network to send/receive data. Good luck. > > John > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at gmail.com Mon Nov 2 14:15:13 2015 From: fahooper at gmail.com (Fred Hooper) Date: Mon, 02 Nov 2015 15:15:13 -0500 Subject: [AccessD] Anyone used dbSync? In-Reply-To: References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> <5637B59E.5070000@gmail.com> Message-ID: <5637C451.3010107@gmail.com> You know the area... The switch is aDLink DGS-1224T, which is a gigabit switch. The NIC cards in the server are both gigabit cards. Is that good enough to feed a cat5 network? Thanks, Fred > John Bodin > Monday, November 02, 2015 2:37 PM > Ah, they must have spent too much time at the Beachcomber in Wellfleet... > > On hardware, I'd get the model of the switch to make sure it is > gigabit. You can probably just hover your mouse over the networking > icon in the system tray on the server and see what it says for > connection speed. > > On software, you want SQL Server to do all the heavy lifting and only > return the results. With Access, it pulls all the tables locally that > you are querying and then performs the action. Check what Dan is > providing for options, especially the ADO option. > From jbodin at sbor.com Mon Nov 2 14:30:11 2015 From: jbodin at sbor.com (John Bodin) Date: Mon, 2 Nov 2015 20:30:11 +0000 Subject: [AccessD] Anyone used dbSync? In-Reply-To: <5637C451.3010107@gmail.com> References: <5637858E.1060705@gmail.com> <5637ABC7.4010301@gmail.com> <5637B59E.5070000@gmail.com> <5637C451.3010107@gmail.com> Message-ID: That s/b alright. Lot of other factors that could affect performance (Ram, hard drive speed, other software on the server like Exchange, # of users making I/O intensive requests, etc.) I would lean more towards the ADO idea as the server is not really that old. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, November 02, 2015 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone used dbSync? You know the area... The switch is aDLink DGS-1224T, which is a gigabit switch. The NIC cards in the server are both gigabit cards. Is that good enough to feed a cat5 network? Thanks, Fred > John Bodin > Monday, November 02, 2015 2:37 PM > Ah, they must have spent too much time at the Beachcomber in Wellfleet... > > On hardware, I'd get the model of the switch to make sure it is > gigabit. You can probably just hover your mouse over the networking > icon in the system tray on the server and see what it says for > connection speed. > > On software, you want SQL Server to do all the heavy lifting and only > return the results. With Access, it pulls all the tables locally that > you are querying and then performs the action. Check what Dan is > providing for options, especially the ADO option. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Salato at ky.gov Tue Nov 3 15:14:12 2015 From: Salato at ky.gov (FW Salato Center) Date: Tue, 3 Nov 2015 21:14:12 +0000 Subject: [AccessD] Determine whether list box control has a selected value Message-ID: I need to write a quick validation snippet for a multi-value list box. This control's Value property always returns Null. What's the quickest way to determine if something's selected? I don't need the actual value, just a True/False response - there's an item selected or there isn't. Thanks! Susan H. From jackandpat.d at gmail.com Tue Nov 3 15:28:39 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 3 Nov 2015 16:28:39 -0500 Subject: [AccessD] Determine whether list box control has a selected value In-Reply-To: References: Message-ID: Susan, Here is a snippet Private Sub MoveDown_Click() ' ' with Access Listbox.column(columnindex, row) ' ' Move Items Down ' Allow multicolumn items to move ' Dim lngIndex As Long Dim lngStarToRow As Long Dim blnSelected() As Boolean '<< wrote: > I need to write a quick validation snippet for a multi-value list box. > This control's Value property always returns Null. What's the quickest way > to determine if something's selected? I don't need the actual value, just a > True/False response - there's an item selected or there isn't. > > Thanks! > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Tue Nov 3 15:31:07 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 3 Nov 2015 13:31:07 -0800 Subject: [AccessD] Determine whether list box control has a selected value In-Reply-To: References: Message-ID: Check the selected items count. Charlotte On Nov 3, 2015 1:16 PM, "FW Salato Center" wrote: > I need to write a quick validation snippet for a multi-value list box. > This control's Value property always returns Null. What's the quickest way > to determine if something's selected? I don't need the actual value, just a > True/False response - there's an item selected or there isn't. > > Thanks! > Susan H. > -- > 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 Nov 3 15:31:59 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 3 Nov 2015 16:31:59 -0500 Subject: [AccessD] Determine whether list box control has a selected value In-Reply-To: References: Message-ID: Susan, Here is the whole routine. Shows how the blnSelected()is used. Private Sub MoveDown_Click() ' ' with Access Listbox.column(columnindex, row) ' ' Move Items Down ' Allow multicolumn items to move ' Dim lngIndex As Long Dim lngStarToRow As Long Dim blnSelected() As Boolean 10 On Error GoTo Movedown_Click_Error 20 With listbox1 30 ReDim blnSelected(.ListCount) As Boolean 40 For lngIndex = 0 To .ListCount - 1 50 blnSelected(lngIndex) = .Selected(lngIndex) 60 Next 70 lngStarToRow = -1 80 For lngIndex = 0 To .ListCount - 1 90 If blnSelected(lngIndex) Then 100 If lngStarToRow = -1 Then lngStarToRow = lngIndex 110 Else 120 If lngStarToRow >= 0 Then 130 SwapListboxItems listbox1, lngIndex, lngStarToRow 140 lngStarToRow = -1 150 End If 160 End If 170 Next 180 End With 190 On Error GoTo 0 200 Exit Sub Movedown_Click_Error: 210 MsgBox "Error " & Err.number & " in line " & Erl & " (" & Err.Description & ") in procedure Movedown_Click of VBA Document Form_formTestListBox" End Sub On Tue, Nov 3, 2015 at 4:28 PM, jack drawbridge wrote: > Susan, > > Here is a snippet > > Private Sub MoveDown_Click() > ' > ' with Access Listbox.column(columnindex, row) > ' > ' Move Items Down > ' Allow multicolumn items to move > ' > Dim lngIndex As Long > Dim lngStarToRow As Long > Dim blnSelected() As Boolean '<< 10 On Error GoTo Movedown_Click_Error > > 20 With listbox1 > 30 ReDim blnSelected(.ListCount) As Boolean > 40 For lngIndex = 0 To .ListCount - 1 > 50 blnSelected(lngIndex) = .Selected(lngIndex) ' boolean array according to whether the itemis selected or not > 60 Next > > > Good luck. > > On Tue, Nov 3, 2015 at 4:14 PM, FW Salato Center wrote: > >> I need to write a quick validation snippet for a multi-value list box. >> This control's Value property always returns Null. What's the quickest way >> to determine if something's selected? I don't need the actual value, just a >> True/False response - there's an item selected or there isn't. >> >> Thanks! >> Susan H. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From Salato at ky.gov Tue Nov 3 15:47:11 2015 From: Salato at ky.gov (FW Salato Center) Date: Tue, 3 Nov 2015 21:47:11 +0000 Subject: [AccessD] Determine whether list box control has a selected value In-Reply-To: References: Message-ID: Thanks Jack and Charlotte! Susan H. Susan, Here is the whole routine. Shows how the blnSelected()is used. Private Sub MoveDown_Click() ' ' with Access Listbox.column(columnindex, row) ' ' Move Items Down ' Allow multicolumn items to move ' Dim lngIndex As Long Dim lngStarToRow As Long Dim blnSelected() As Boolean 10 On Error GoTo Movedown_Click_Error 20 With listbox1 30 ReDim blnSelected(.ListCount) As Boolean 40 For lngIndex = 0 To .ListCount - 1 50 blnSelected(lngIndex) = .Selected(lngIndex) 60 Next 70 lngStarToRow = -1 80 For lngIndex = 0 To .ListCount - 1 90 If blnSelected(lngIndex) Then 100 If lngStarToRow = -1 Then lngStarToRow = lngIndex 110 Else 120 If lngStarToRow >= 0 Then 130 SwapListboxItems listbox1, lngIndex, lngStarToRow 140 lngStarToRow = -1 150 End If 160 End If 170 Next 180 End With 190 On Error GoTo 0 200 Exit Sub Movedown_Click_Error: 210 MsgBox "Error " & Err.number & " in line " & Erl & " (" & Err.Description & ") in procedure Movedown_Click of VBA Document Form_formTestListBox" End Sub On Tue, Nov 3, 2015 at 4:28 PM, jack drawbridge wrote: > Susan, > > Here is a snippet > > Private Sub MoveDown_Click() > ' > ' with Access Listbox.column(columnindex, row) > ' > ' Move Items Down > ' Allow multicolumn items to move > ' > Dim lngIndex As Long > Dim lngStarToRow As Long > Dim blnSelected() As Boolean '<< 10 On Error GoTo Movedown_Click_Error > > 20 With listbox1 > 30 ReDim blnSelected(.ListCount) As Boolean > 40 For lngIndex = 0 To .ListCount - 1 > 50 blnSelected(lngIndex) = .Selected(lngIndex) ' boolean array according to whether the itemis selected or not > 60 Next > > > Good luck. > > On Tue, Nov 3, 2015 at 4:14 PM, FW Salato Center wrote: > >> I need to write a quick validation snippet for a multi-value list box. >> This control's Value property always returns Null. What's the >> quickest way to determine if something's selected? I don't need the >> actual value, just a True/False response - there's an item selected or there isn't. >> >> Thanks! >> Susan H. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Nov 3 16:51:43 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Nov 2015 08:51:43 +1000 Subject: [AccessD] Determine whether list box control has a selected value In-Reply-To: References: , Message-ID: <56393A7F.25993.EFAAD8B@stuart.lexacorp.com.pg> Just to clarify, that would be: If lstMyList.ItemsSelected.Count ... -- Stuart On 3 Nov 2015 at 13:31, Charlotte Foust wrote: > Check the selected items count. > > Charlotte > On Nov 3, 2015 1:16 PM, "FW Salato Center" wrote: > > > I need to write a quick validation snippet for a multi-value list > > box. This control's Value property always returns Null. What's the > > quickest way to determine if something's selected? I don't need the > > actual value, just a True/False response - there's an item selected > > or there isn't. > > > > Thanks! > > Susan H. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Tue Nov 3 16:54:02 2015 From: ssharkins at gmail.com (ssharkins at gmail.com) Date: Tue, 3 Nov 2015 22:54:02 +0000 Subject: [AccessD] =?utf-8?q?Determine_whether_list_box_control_has_a_sele?= =?utf-8?q?cted=09value?= In-Reply-To: <56393A7F.25993.EFAAD8B@stuart.lexacorp.com.pg> References: , , <56393A7F.25993.EFAAD8B@stuart.lexacorp.com.pg> Message-ID: <56393b29.930c810a.39c19.3821@mx.google.com> Thanks Stuart -- you guys certainly make my work easier. ? Susan H. Just to clarify, that would be: If lstMyList.ItemsSelected.Count ... -- Stuart From Chester_Kaup at kindermorgan.com Wed Nov 4 14:27:40 2015 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 4 Nov 2015 20:27:40 +0000 Subject: [AccessD] Office 2010 Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? Also since the calendar control no longer exists what is a good solution? Thank you for your thoughts. From stuart at lexacorp.com.pg Wed Nov 4 14:51:24 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Nov 2015 06:51:24 +1000 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> Message-ID: <563A6FCC.1409.13B2E5B4@stuart.lexacorp.com.pg> 1. Deselet the reference to ADO? 2. A text box formatted as a date with ShowDatePicker set? On 4 Nov 2015 at 20:27, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office > 2010. In my database in the code module I have Dim mydb as DAO > database. Office 2010 seems to want me to put DAO in front of every > recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a > better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good > solution? > > Thank you for your thoughts. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Wed Nov 4 14:58:38 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 4 Nov 2015 12:58:38 -0800 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> Message-ID: <32A9B152F7E74BAC98FA60472B940889@HAL9007> Explicitly identifying Recordset as DAO is a good idea. Makes the code more maintainable down the line and avoids unintended conflicts. I would do a global replace on "AS Recordset" with "AS DAO.Recordset" with the option to Replace or Find Next - couldn't take very long, could it? Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 04, 2015 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2010 My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? Also since the calendar control no longer exists what is a good solution? Thank you for your thoughts. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From darryl at whittleconsulting.com.au Wed Nov 4 16:25:01 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 4 Nov 2015 22:25:01 +0000 Subject: [AccessD] Office 2010 In-Reply-To: <32A9B152F7E74BAC98FA60472B940889@HAL9007> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> <32A9B152F7E74BAC98FA60472B940889@HAL9007> Message-ID: Agreed. You should do it this way anyway. Being as explicit as necessary with variables can save you from flaky behaviour and crashes. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 5 November 2015 7:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2010 Explicitly identifying Recordset as DAO is a good idea. Makes the code more maintainable down the line and avoids unintended conflicts. I would do a global replace on "AS Recordset" with "AS DAO.Recordset" with the option to Replace or Find Next - couldn't take very long, could it? Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 04, 2015 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2010 My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? Also since the calendar control no longer exists what is a good solution? Thank you for your thoughts. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Wed Nov 4 18:13:56 2015 From: jwcolby at gmail.com (John Colby) Date: Wed, 4 Nov 2015 19:13:56 -0500 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> Message-ID: <563A9F44.9050900@Gmail.com> It used to be that if you had ADO and DAO both referenced in the check box list, then the ORDER of the listing mattered, and DAO should come first. Basically ADO and DAO used the same names for some objects. It is good habit to always use the prefix anyway, whether forced to or not. On 11/4/2015 3:27 PM, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good solution? > > Thank you for your thoughts. -- John W. Colby From bryan at internode.on.net Wed Nov 4 18:35:56 2015 From: bryan at internode.on.net (Bryan) Date: Thu, 05 Nov 2015 11:35:56 +1100 Subject: [AccessD] Office 2010 In-Reply-To: <563A9F44.9050900@Gmail.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> <563A9F44.9050900@Gmail.com> Message-ID: <563AA46C.90909@internode.on.net> The Access 2010 text box control now includes a property "Show Date picker", which includes a calendar control. Select "For Dates" for any date field. Cheers Bryan John Colby wrote: > It used to be that if you had ADO and DAO both referenced in the check > box list, then the ORDER of the listing mattered, and DAO should come > first. Basically ADO and DAO used the same names for some objects. > > It is good habit to always use the prefix anyway, whether forced to or > not. > > On 11/4/2015 3:27 PM, Kaup, Chester wrote: >> My office computer recently got upgraded from Office 2007 to Office >> 2010. In my database in the code module I have Dim mydb as DAO >> database. Office 2010 seems to want me to put DAO in front of every >> recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a >> better way than having to do this for the entire database? >> >> Also since the calendar control no longer exists what is a good >> solution? >> >> Thank you for your thoughts. > From Chester_Kaup at kindermorgan.com Thu Nov 5 14:17:57 2015 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 5 Nov 2015 20:17:57 +0000 Subject: [AccessD] Office 2010 In-Reply-To: <563A9F44.9050900@Gmail.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> <563A9F44.9050900@Gmail.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> I did the search and replace adding DAO to the Dim statement for Database and Recordset. The dbOpenTable in the following line generates the message "Compile Error Cannot find project library". I am not expert enough to know how to fix this. Your assistance appreciated. Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time Period", dbOpenTable) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 It used to be that if you had ADO and DAO both referenced in the check box list, then the ORDER of the listing mattered, and DAO should come first. Basically ADO and DAO used the same names for some objects. It is good habit to always use the prefix anyway, whether forced to or not. On 11/4/2015 3:27 PM, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good solution? > > Thank you for your thoughts. -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 5 14:22:59 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 5 Nov 2015 12:22:59 -0800 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com><563A9F44.9050900@Gmail.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> Message-ID: <2E4195EB80C9471A80E17046DA855992@HAL9007> Stop the code. On the VBA page go to Tools-->References. One (or more) should be marked MISSING. Scan down the list, find it and check it. I'm guessing you also have a reference to a VBA library from a version of access later than the one you're using. Make sure that one's unchecked. Close the references dialog box and try a compile. If you've still got a problem it'll tell you. Then write back and we'll make up some other solution. :) HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, November 05, 2015 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 I did the search and replace adding DAO to the Dim statement for Database and Recordset. The dbOpenTable in the following line generates the message "Compile Error Cannot find project library". I am not expert enough to know how to fix this. Your assistance appreciated. Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time Period", dbOpenTable) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 It used to be that if you had ADO and DAO both referenced in the check box list, then the ORDER of the listing mattered, and DAO should come first. Basically ADO and DAO used the same names for some objects. It is good habit to always use the prefix anyway, whether forced to or not. On 11/4/2015 3:27 PM, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good solution? > > Thank you for your thoughts. -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From darryl at whittleconsulting.com.au Thu Nov 5 14:24:29 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 5 Nov 2015 20:24:29 +0000 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com> <563A9F44.9050900@Gmail.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> Message-ID: Hi Chester, If you look in the VBE (Visual Basic Editor) under the menu option of "Tools" > "References" - what do you see as ticked / selected? Regards Darryl -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Friday, 6 November 2015 7:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 I did the search and replace adding DAO to the Dim statement for Database and Recordset. The dbOpenTable in the following line generates the message "Compile Error Cannot find project library". I am not expert enough to know how to fix this. Your assistance appreciated. Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time Period", dbOpenTable) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 It used to be that if you had ADO and DAO both referenced in the check box list, then the ORDER of the listing mattered, and DAO should come first. Basically ADO and DAO used the same names for some objects. It is good habit to always use the prefix anyway, whether forced to or not. On 11/4/2015 3:27 PM, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good solution? > > Thank you for your thoughts. -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Nov 5 14:43:59 2015 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 5 Nov 2015 20:43:59 +0000 Subject: [AccessD] Office 2010 In-Reply-To: <2E4195EB80C9471A80E17046DA855992@HAL9007> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com><563A9F44.9050900@Gmail.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB08A351D6@HOUEX11.kindermorgan.com> <2E4195EB80C9471A80E17046DA855992@HAL9007> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A3523D@HOUEX11.kindermorgan.com> The problem is fixed but not in a way I expected. The old version of the database was using the calendar control (MSCAL.OCX). I checked the references and it was checked and of course stated MISSING. I unchecked it and all the code compiles now. Why I do not know. Thanks for the help. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, November 05, 2015 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2010 Stop the code. On the VBA page go to Tools-->References. One (or more) should be marked MISSING. Scan down the list, find it and check it. I'm guessing you also have a reference to a VBA library from a version of access later than the one you're using. Make sure that one's unchecked. Close the references dialog box and try a compile. If you've still got a problem it'll tell you. Then write back and we'll make up some other solution. :) HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, November 05, 2015 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 I did the search and replace adding DAO to the Dim statement for Database and Recordset. The dbOpenTable in the following line generates the message "Compile Error Cannot find project library". I am not expert enough to know how to fix this. Your assistance appreciated. Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time Period", dbOpenTable) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 It used to be that if you had ADO and DAO both referenced in the check box list, then the ORDER of the listing mattered, and DAO should come first. Basically ADO and DAO used the same names for some objects. It is good habit to always use the prefix anyway, whether forced to or not. On 11/4/2015 3:27 PM, Kaup, Chester wrote: > My office computer recently got upgraded from Office 2007 to Office 2010. In my database in the code module I have Dim mydb as DAO database. Office 2010 seems to want me to put DAO in front of every recordset dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than having to do this for the entire database? > > Also since the calendar control no longer exists what is a good solution? > > Thank you for your thoughts. -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 5 15:50:25 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 06 Nov 2015 07:50:25 +1000 Subject: [AccessD] Office 2010 In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A3523D@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com>, <2E4195EB80C9471A80E17046DA855992@HAL9007>, <8E16E03987F1FD4FB0A9BEBF7CC160CB08A3523D@HOUEX11.kindermorgan.com> Message-ID: <563BCF21.21820.190F46C3@stuart.lexacorp.com.pg> If you have a missing reference, like to an OCX, the error can crop up anywhere when Access is trying to re-compile itself. The first time it comes across a a reference to any library during compilation, Access will chack that all of the required ones are available. The "Set Myds = MyDb.OpenRecordset(" was not a line of code containing an error. It was just the first point where Access went looking for libraries and found one missing. -- Stuart On 5 Nov 2015 at 20:43, Kaup, Chester wrote: > The problem is fixed but not in a way I expected. The old version of > the database was using the calendar control (MSCAL.OCX). I checked the > references and it was checked and of course stated MISSING. I > unchecked it and all the code compiles now. Why I do not know. > > Thanks for the help. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Thursday, November 05, 2015 2:23 PM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Office 2010 > > Stop the code. On the VBA page go to Tools-->References. One (or > more) should be marked MISSING. Scan down the list, find it and check > it. > > I'm guessing you also have a reference to a VBA library from a version > of access later than the one you're using. Make sure that one's > unchecked. Close the references dialog box and try a compile. If > you've still got a problem it'll tell you. > > Then write back and we'll make up some other solution. :) > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Kaup, Chester Sent: Thursday, November 05, 2015 12:18 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > I did the search and replace adding DAO to the Dim statement for > Database and Recordset. > > The dbOpenTable in the following line generates the message "Compile > Error Cannot find project library". I am not expert enough to know how > to fix this. Your assistance appreciated. > > Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time > Period", dbOpenTable) > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > It used to be that if you had ADO and DAO both referenced in the check > box list, then the ORDER of the listing mattered, and DAO should come > first. Basically ADO and DAO used the same names for some objects. > > It is good habit to always use the prefix anyway, whether forced to or > not. > > On 11/4/2015 3:27 PM, Kaup, Chester wrote: > > My office computer recently got upgraded from Office 2007 to Office > > 2010. > In my database in the code module I have Dim mydb as DAO database. > Office 2010 seems to want me to put DAO in front of every recordset > dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than > having to do this for the entire database? > > Also since the calendar > control no longer exists what is a good solution? > > Thank you for > your thoughts. > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 5 16:18:00 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 5 Nov 2015 22:18:00 +0000 Subject: [AccessD] Office 2010 In-Reply-To: <563BCF21.21820.190F46C3@stuart.lexacorp.com.pg> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com>, <2E4195EB80C9471A80E17046DA855992@HAL9007>, <8E16E03987F1FD4FB0A9BEBF7CC160CB08A3523D@HOUEX11.kindermorgan.com> <563BCF21.21820.190F46C3@stuart.lexacorp.com.pg> Message-ID: Yep, and to add to Stuart's comments. It compiles now because it can. With the missing reference still in place it will bug out, as Stuart explained, when it checks what references are requested vs what is available. Hope that helps a bit. Cheers Darryl -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, 6 November 2015 8:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 If you have a missing reference, like to an OCX, the error can crop up anywhere when Access is trying to re-compile itself. The first time it comes across a a reference to any library during compilation, Access will chack that all of the required ones are available. The "Set Myds = MyDb.OpenRecordset(" was not a line of code containing an error. It was just the first point where Access went looking for libraries and found one missing. -- Stuart On 5 Nov 2015 at 20:43, Kaup, Chester wrote: > The problem is fixed but not in a way I expected. The old version of > the database was using the calendar control (MSCAL.OCX). I checked the > references and it was checked and of course stated MISSING. I > unchecked it and all the code compiles now. Why I do not know. > > Thanks for the help. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Thursday, November 05, 2015 2:23 PM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Office 2010 > > Stop the code. On the VBA page go to Tools-->References. One (or > more) should be marked MISSING. Scan down the list, find it and check > it. > > I'm guessing you also have a reference to a VBA library from a version > of access later than the one you're using. Make sure that one's > unchecked. Close the references dialog box and try a compile. If > you've still got a problem it'll tell you. > > Then write back and we'll make up some other solution. :) > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Kaup, Chester Sent: Thursday, November 05, 2015 12:18 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > I did the search and replace adding DAO to the Dim statement for > Database and Recordset. > > The dbOpenTable in the following line generates the message "Compile > Error Cannot find project library". I am not expert enough to know how > to fix this. Your assistance appreciated. > > Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time > Period", dbOpenTable) > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > It used to be that if you had ADO and DAO both referenced in the check > box list, then the ORDER of the listing mattered, and DAO should come > first. Basically ADO and DAO used the same names for some objects. > > It is good habit to always use the prefix anyway, whether forced to or > not. > > On 11/4/2015 3:27 PM, Kaup, Chester wrote: > > My office computer recently got upgraded from Office 2007 to Office > > 2010. > In my database in the code module I have Dim mydb as DAO database. > Office 2010 seems to want me to put DAO in front of every recordset > dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than > having to do this for the entire database? > > Also since the calendar > control no longer exists what is a good solution? > > Thank you for > your thoughts. > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Nov 5 16:51:42 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Thu, 5 Nov 2015 22:51:42 +0000 Subject: [AccessD] Office 2010 In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB08A34A23@HOUEX11.kindermorgan.com>, <2E4195EB80C9471A80E17046DA855992@HAL9007>, <8E16E03987F1FD4FB0A9BEBF7CC160CB08A3523D@HOUEX11.kindermorgan.com> <563BCF21.21820.190F46C3@stuart.lexacorp.com.pg> Message-ID: MSCAL.OCX missing ... info at this link might be useful http://community.spiceworks.com/how_to/5517-how-to-solve-missing-mscal-ocx-reference-in-microsoft-access-2010 -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, November 05, 2015 4:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 Yep, and to add to Stuart's comments. It compiles now because it can. With the missing reference still in place it will bug out, as Stuart explained, when it checks what references are requested vs what is available. Hope that helps a bit. Cheers Darryl -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, 6 November 2015 8:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2010 If you have a missing reference, like to an OCX, the error can crop up anywhere when Access is trying to re-compile itself. The first time it comes across a a reference to any library during compilation, Access will chack that all of the required ones are available. The "Set Myds = MyDb.OpenRecordset(" was not a line of code containing an error. It was just the first point where Access went looking for libraries and found one missing. -- Stuart On 5 Nov 2015 at 20:43, Kaup, Chester wrote: > The problem is fixed but not in a way I expected. The old version of > the database was using the calendar control (MSCAL.OCX). I checked the > references and it was checked and of course stated MISSING. I > unchecked it and all the code compiles now. Why I do not know. > > Thanks for the help. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Thursday, November 05, 2015 2:23 PM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Office 2010 > > Stop the code. On the VBA page go to Tools-->References. One (or > more) should be marked MISSING. Scan down the list, find it and check > it. > > I'm guessing you also have a reference to a VBA library from a version > of access later than the one you're using. Make sure that one's > unchecked. Close the references dialog box and try a compile. If > you've still got a problem it'll tell you. > > Then write back and we'll make up some other solution. :) > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Kaup, Chester Sent: Thursday, November 05, 2015 12:18 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > I did the search and replace adding DAO to the Dim statement for > Database and Recordset. > > The dbOpenTable in the following line generates the message "Compile > Error Cannot find project library". I am not expert enough to know how > to fix this. Your assistance appreciated. > > Set Myds = MyDb.OpenRecordset("tbl One Manifold Production for a Time > Period", dbOpenTable) > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby Sent: Wednesday, November 04, 2015 6:14 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Office 2010 > > It used to be that if you had ADO and DAO both referenced in the check > box list, then the ORDER of the listing mattered, and DAO should come > first. Basically ADO and DAO used the same names for some objects. > > It is good habit to always use the prefix anyway, whether forced to or > not. > > On 11/4/2015 3:27 PM, Kaup, Chester wrote: > > My office computer recently got upgraded from Office 2007 to Office > > 2010. > In my database in the code module I have Dim mydb as DAO database. > Office 2010 seems to want me to put DAO in front of every recordset > dim statement. EX Dim RS1 as DAO.Recordset. Is there a better way than > having to do this for the entire database? > > Also since the calendar > control no longer exists what is a good solution? > > Thank you for > your thoughts. > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach.db at gmail.com Thu Nov 5 17:03:28 2015 From: jerbach.db at gmail.com (Janet Erbach) Date: Thu, 5 Nov 2015 17:03:28 -0600 Subject: [AccessD] Digital Signatures Message-ID: Hello! Have any of you implemented a way to capture a digital signature on an access form? I haven't found too much help through google searches. After playing around for awhile with a test form, I found that an unbound bitmap image allows me to get the signature - but it's a clunky interface. Any ideas for me? Thank you! Janet Erbach From stuart at lexacorp.com.pg Thu Nov 5 17:24:46 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 06 Nov 2015 09:24:46 +1000 Subject: [AccessD] Digital Signatures In-Reply-To: References: Message-ID: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> "What do you mean by "digital signature"? There are several methods of "digitally signing" something including using public/private key encryption or embedidng a facsimile of a written signature. In the latter case, the facsimile can either by scanned or captured Do you mean the last case where someone draws on an input device such as a graphics pad or tries to scrawl their signature with a mouse? If so, what sort of input are you using? On 5 Nov 2015 at 17:03, Janet Erbach wrote: > Hello! > > Have any of you implemented a way to capture a digital signature on an > access form? I haven't found too much help through google searches. > After playing around for awhile with a test form, I found that an > unbound bitmap image allows me to get the signature - but it's a > clunky interface. Any ideas for me? > > Thank you! > > Janet Erbach > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jerbach.db at gmail.com Fri Nov 6 09:36:11 2015 From: jerbach.db at gmail.com (Janet Erbach) Date: Fri, 6 Nov 2015 09:36:11 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: Stuart - Yes, a digital tablet and pen is what I was referring to. I have an inexpensive usb tablet to test with; this is for an employee reviews application, and the idea is to have the whole thing be paperless. The review is completed in the Access app, the supervisor meets with the employee, and then both would (in theory) sign the document digitally using the pad. My husband thinks it's a waste of time to pursue doing this through access...he says it's bad enough at his workplace getting it to work properly in C#. He thinks that printing the review, signing the paper, and then scanning it and storing a link to the image is the way to go... Janet On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan wrote: > "What do you mean by "digital signature"? There are several methods of > "digitally signing" > something including using public/private key encryption or embedidng a > facsimile of a written > signature. In the latter case, the facsimile can either by scanned or > captured > > Do you mean the last case where someone draws on an input device such as a > graphics pad > or tries to scrawl their signature with a mouse? If so, what sort of > input are you using? > > > > > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > > > Hello! > > > > Have any of you implemented a way to capture a digital signature on an > > access form? I haven't found too much help through google searches. > > After playing around for awhile with a test form, I found that an > > unbound bitmap image allows me to get the signature - but it's a > > clunky interface. Any ideas for me? > > > > Thank you! > > > > Janet Erbach > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Nov 6 09:40:54 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Nov 2015 15:40:54 +0000 Subject: [AccessD] Digital Signatures Message-ID: Hi Janet What a clever husband you have! /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Janet Erbach Sendt: 6. november 2015 16:36 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Digital Signatures Stuart - Yes, a digital tablet and pen is what I was referring to. I have an inexpensive usb tablet to test with; this is for an employee reviews application, and the idea is to have the whole thing be paperless. The review is completed in the Access app, the supervisor meets with the employee, and then both would (in theory) sign the document digitally using the pad. My husband thinks it's a waste of time to pursue doing this through access...he says it's bad enough at his workplace getting it to work properly in C#. He thinks that printing the review, signing the paper, and then scanning it and storing a link to the image is the way to go... Janet On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan wrote: > "What do you mean by "digital signature"? There are several methods > of "digitally signing" > something including using public/private key encryption or embedidng a > facsimile of a written > signature. In the latter case, the facsimile can either by scanned or > captured > > Do you mean the last case where someone draws on an input device such > as a graphics pad or tries to scrawl their signature with a mouse? If > so, what sort of input are you using? > > > > > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > > > Hello! > > > > Have any of you implemented a way to capture a digital signature on > > an access form? I haven't found too much help through google searches. > > After playing around for awhile with a test form, I found that an > > unbound bitmap image allows me to get the signature - but it's a > > clunky interface. Any ideas for me? > > > > Thank you! > > > > Janet Erbach From paul.hartland at googlemail.com Fri Nov 6 09:42:02 2015 From: paul.hartland at googlemail.com (Paul Hartland) Date: Fri, 6 Nov 2015 15:42:02 +0000 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: You could do a little mix of both, we had a little photo scanner at my old place that I had to get to work with Access and a VB6 application for employee photo's to be added to their record. You could do the review in Access, then get both the supervisor and employee to sign a little piece of paper, then just scan the signatures onto the application. On 6 November 2015 at 15:36, Janet Erbach wrote: > Stuart - > > Yes, a digital tablet and pen is what I was referring to. I have an > inexpensive usb tablet to test with; this is for an employee reviews > application, and the idea is to have the whole thing be paperless. The > review is completed in the Access app, the supervisor meets with the > employee, and then both would (in theory) sign the document digitally using > the pad. > > My husband thinks it's a waste of time to pursue doing this through > access...he says it's bad enough at his workplace getting it to work > properly in C#. He thinks that printing the review, signing the paper, and > then scanning it and storing a link to the image is the way to go... > > Janet > > On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan > wrote: > > > "What do you mean by "digital signature"? There are several methods of > > "digitally signing" > > something including using public/private key encryption or embedidng a > > facsimile of a written > > signature. In the latter case, the facsimile can either by scanned or > > captured > > > > Do you mean the last case where someone draws on an input device such as > a > > graphics pad > > or tries to scrawl their signature with a mouse? If so, what sort of > > input are you using? > > > > > > > > > > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > > > > > Hello! > > > > > > Have any of you implemented a way to capture a digital signature on an > > > access form? I haven't found too much help through google searches. > > > After playing around for awhile with a test form, I found that an > > > unbound bitmap image allows me to get the signature - but it's a > > > clunky interface. Any ideas for me? > > > > > > Thank you! > > > > > > Janet Erbach > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 charlotte.foust at gmail.com Fri Nov 6 10:33:06 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 6 Nov 2015 08:33:06 -0800 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: Janet, At my previous full time job, our application did exactly what you're talking about. We started with it in Access and later migrated it to vb.net, but in both cases we used signature tablets from Topaz. There's work involved, because you have security issues when you store signatures (we encrypted/decrypted ours). You need to have an API to program to for the tablet. It's doable, but may not be worth the effort. There are electronic signature verification services available to validate typed e-signatures, so that might be a better way to go. Storing signatures electronically is fraught with security issues. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach wrote: > Stuart - > > Yes, a digital tablet and pen is what I was referring to. I have an > inexpensive usb tablet to test with; this is for an employee reviews > application, and the idea is to have the whole thing be paperless. The > review is completed in the Access app, the supervisor meets with the > employee, and then both would (in theory) sign the document digitally using > the pad. > > My husband thinks it's a waste of time to pursue doing this through > access...he says it's bad enough at his workplace getting it to work > properly in C#. He thinks that printing the review, signing the paper, and > then scanning it and storing a link to the image is the way to go... > > Janet > > On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan > wrote: > > > "What do you mean by "digital signature"? There are several methods of > > "digitally signing" > > something including using public/private key encryption or embedidng a > > facsimile of a written > > signature. In the latter case, the facsimile can either by scanned or > > captured > > > > Do you mean the last case where someone draws on an input device such as > a > > graphics pad > > or tries to scrawl their signature with a mouse? If so, what sort of > > input are you using? > > > > > > > > > > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > > > > > Hello! > > > > > > Have any of you implemented a way to capture a digital signature on an > > > access form? I haven't found too much help through google searches. > > > After playing around for awhile with a test form, I found that an > > > unbound bitmap image allows me to get the signature - but it's a > > > clunky interface. Any ideas for me? > > > > > > Thank you! > > > > > > Janet Erbach > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeff.developer at gmail.com Fri Nov 6 10:37:27 2015 From: jeff.developer at gmail.com (Jeff Barrows) Date: Fri, 06 Nov 2015 10:37:27 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: Have you considered using ASP.net or some other web app? I use a very simple add-in to collect real signatures from clients, store them on the server, and can save the actual document with signatures as a PDF if necessary. Thank You, Jeff Barrows Jeff.developer at gmail.com On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" wrote: >Janet, > >At my previous full time job, our application did exactly what you're >talking about. We started with it in Access and later migrated it to vb.net, >but in both cases we used signature tablets from Topaz. There's work >involved, because you have security issues when you store signatures (we >encrypted/decrypted ours). You need to have an API to program to for the >tablet. It's doable, but may not be worth the effort. There are >electronic signature verification services available to validate typed >e-signatures, so that might be a better way to go. Storing signatures >electronically is fraught with security issues. > >Charlotte > >Charlotte Foust >(916) 206-4336 > >On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach wrote: > >> Stuart - >> >> Yes, a digital tablet and pen is what I was referring to. I have an >> inexpensive usb tablet to test with; this is for an employee reviews >> application, and the idea is to have the whole thing be paperless. The >> review is completed in the Access app, the supervisor meets with the >> employee, and then both would (in theory) sign the document digitally using >> the pad. >> >> My husband thinks it's a waste of time to pursue doing this through >> access...he says it's bad enough at his workplace getting it to work >> properly in C#. He thinks that printing the review, signing the paper, and >> then scanning it and storing a link to the image is the way to go... >> >> Janet >> >> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan >> wrote: >> >> > "What do you mean by "digital signature"? There are several methods of >> > "digitally signing" >> > something including using public/private key encryption or embedidng a >> > facsimile of a written >> > signature. In the latter case, the facsimile can either by scanned or >> > captured >> > >> > Do you mean the last case where someone draws on an input device such as >> a >> > graphics pad >> > or tries to scrawl their signature with a mouse? If so, what sort of >> > input are you using? >> > >> > >> > >> > >> > On 5 Nov 2015 at 17:03, Janet Erbach wrote: >> > >> > > Hello! >> > > >> > > Have any of you implemented a way to capture a digital signature on an >> > > access form? I haven't found too much help through google searches. >> > > After playing around for awhile with a test form, I found that an >> > > unbound bitmap image allows me to get the signature - but it's a >> > > clunky interface. Any ideas for me? >> > > >> > > Thank you! >> > > >> > > Janet Erbach >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jerbach.db at gmail.com Fri Nov 6 11:32:52 2015 From: jerbach.db at gmail.com (Janet Erbach) Date: Fri, 6 Nov 2015 11:32:52 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: Thank you all for your comments! Charlotte, I had read about Topaz tablets yesterday, so I know what we're referring to. But there's no way I'm going to get budget approval for those, as my company just went on a serious no-extraneous-expenditure diet. And the same would apply to getting small scanners to hook up at the supervisor's workstation. Jeff - can you please tell me a bit more about the ASP/net add in you use? And Gustav, I will tell my husband you approve of his methodology. :) That may be the route I have to take for now until the company starts spending money again. Janet On Fri, Nov 6, 2015 at 10:37 AM, Jeff Barrows wrote: > Have you considered using ASP.net or some other web app? I use a very > simple add-in to collect real signatures from clients, store them on the > server, and can save the actual document with signatures as a PDF if > necessary. > > Thank You, > > Jeff Barrows > Jeff.developer at gmail.com > > > > > > > > On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < > accessd-bounces at databaseadvisors.com on behalf of > charlotte.foust at gmail.com> wrote: > > >Janet, > > > >At my previous full time job, our application did exactly what you're > >talking about. We started with it in Access and later migrated it to > vb.net, > >but in both cases we used signature tablets from Topaz. There's work > >involved, because you have security issues when you store signatures (we > >encrypted/decrypted ours). You need to have an API to program to for the > >tablet. It's doable, but may not be worth the effort. There are > >electronic signature verification services available to validate typed > >e-signatures, so that might be a better way to go. Storing signatures > >electronically is fraught with security issues. > > > >Charlotte > > > >Charlotte Foust > >(916) 206-4336 > > > >On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach > wrote: > > > >> Stuart - > >> > >> Yes, a digital tablet and pen is what I was referring to. I have an > >> inexpensive usb tablet to test with; this is for an employee reviews > >> application, and the idea is to have the whole thing be paperless. The > >> review is completed in the Access app, the supervisor meets with the > >> employee, and then both would (in theory) sign the document digitally > using > >> the pad. > >> > >> My husband thinks it's a waste of time to pursue doing this through > >> access...he says it's bad enough at his workplace getting it to work > >> properly in C#. He thinks that printing the review, signing the paper, > and > >> then scanning it and storing a link to the image is the way to go... > >> > >> Janet > >> > >> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < > stuart at lexacorp.com.pg> > >> wrote: > >> > >> > "What do you mean by "digital signature"? There are several methods > of > >> > "digitally signing" > >> > something including using public/private key encryption or embedidng a > >> > facsimile of a written > >> > signature. In the latter case, the facsimile can either by scanned > or > >> > captured > >> > > >> > Do you mean the last case where someone draws on an input device such > as > >> a > >> > graphics pad > >> > or tries to scrawl their signature with a mouse? If so, what sort of > >> > input are you using? > >> > > >> > > >> > > >> > > >> > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > >> > > >> > > Hello! > >> > > > >> > > Have any of you implemented a way to capture a digital signature on > an > >> > > access form? I haven't found too much help through google searches. > >> > > After playing around for awhile with a test form, I found that an > >> > > unbound bitmap image allows me to get the signature - but it's a > >> > > clunky interface. Any ideas for me? > >> > > > >> > > Thank you! > >> > > > >> > > Janet Erbach > >> > > -- > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > > >> > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Fri Nov 6 11:49:23 2015 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 6 Nov 2015 12:49:23 -0500 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: I think the wrinkle with that idea is that the signature must be recorded on the reviewed document, not something merged later. It's your only proof they signed THAT (oh and by the way ONLY THAT) document. On Nov 6, 2015 11:39 AM, "Jeff Barrows" wrote: > Have you considered using ASP.net or some other web app? I use a very > simple add-in to collect real signatures from clients, store them on the > server, and can save the actual document with signatures as a PDF if > necessary. > > Thank You, > > Jeff Barrows > Jeff.developer at gmail.com > > > > > > > > On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < > accessd-bounces at databaseadvisors.com on behalf of > charlotte.foust at gmail.com> wrote: > > >Janet, > > > >At my previous full time job, our application did exactly what you're > >talking about. We started with it in Access and later migrated it to > vb.net, > >but in both cases we used signature tablets from Topaz. There's work > >involved, because you have security issues when you store signatures (we > >encrypted/decrypted ours). You need to have an API to program to for the > >tablet. It's doable, but may not be worth the effort. There are > >electronic signature verification services available to validate typed > >e-signatures, so that might be a better way to go. Storing signatures > >electronically is fraught with security issues. > > > >Charlotte > > > >Charlotte Foust > >(916) 206-4336 > > > >On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach > wrote: > > > >> Stuart - > >> > >> Yes, a digital tablet and pen is what I was referring to. I have an > >> inexpensive usb tablet to test with; this is for an employee reviews > >> application, and the idea is to have the whole thing be paperless. The > >> review is completed in the Access app, the supervisor meets with the > >> employee, and then both would (in theory) sign the document digitally > using > >> the pad. > >> > >> My husband thinks it's a waste of time to pursue doing this through > >> access...he says it's bad enough at his workplace getting it to work > >> properly in C#. He thinks that printing the review, signing the paper, > and > >> then scanning it and storing a link to the image is the way to go... > >> > >> Janet > >> > >> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < > stuart at lexacorp.com.pg> > >> wrote: > >> > >> > "What do you mean by "digital signature"? There are several methods > of > >> > "digitally signing" > >> > something including using public/private key encryption or embedidng a > >> > facsimile of a written > >> > signature. In the latter case, the facsimile can either by scanned > or > >> > captured > >> > > >> > Do you mean the last case where someone draws on an input device such > as > >> a > >> > graphics pad > >> > or tries to scrawl their signature with a mouse? If so, what sort of > >> > input are you using? > >> > > >> > > >> > > >> > > >> > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > >> > > >> > > Hello! > >> > > > >> > > Have any of you implemented a way to capture a digital signature on > an > >> > > access form? I haven't found too much help through google searches. > >> > > After playing around for awhile with a test form, I found that an > >> > > unbound bitmap image allows me to get the signature - but it's a > >> > > clunky interface. Any ideas for me? > >> > > > >> > > Thank you! > >> > > > >> > > Janet Erbach > >> > > -- > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > > >> > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeff.developer at gmail.com Fri Nov 6 12:29:40 2015 From: jeff.developer at gmail.com (Jeff) Date: Fri, 6 Nov 2015 12:29:40 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: <8892B97A-457D-458B-A451-0785E1A16151@gmail.com> I'm not at the office any more today, but I believe the add-in is called SuperSignature. I'll check to make sure as soon as I can. I created a website for field technicians to report on what they did, and get a signature from the manager on duty. We store a link to the signature in our SQL database and name the signature with (in our situation) the associated JobNumber. If you want to see it in action, I can provide you with a link to the test website I use. You are in Wisconsin, aren't you? I'm down in Racine, and could probably arrange a 'live' demo if you wanted. Sent from my iPhone > On Nov 6, 2015, at 11:32 AM, Janet Erbach wrote: > > Thank you all for your comments! > > Charlotte, I had read about Topaz tablets yesterday, so I know what we're > referring to. But there's no way I'm going to get budget approval for > those, as my company just went on a serious no-extraneous-expenditure > diet. And the same would apply to getting small scanners to hook up at the > supervisor's workstation. > > Jeff - can you please tell me a bit more about the ASP/net add in you use? > > And Gustav, I will tell my husband you approve of his methodology. :) That > may be the route I have to take for now until the company starts spending > money again. > > Janet > > On Fri, Nov 6, 2015 at 10:37 AM, Jeff Barrows > wrote: > >> Have you considered using ASP.net or some other web app? I use a very >> simple add-in to collect real signatures from clients, store them on the >> server, and can save the actual document with signatures as a PDF if >> necessary. >> >> Thank You, >> >> Jeff Barrows >> Jeff.developer at gmail.com >> >> >> >> >> >> >> >> On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < >> accessd-bounces at databaseadvisors.com on behalf of >> charlotte.foust at gmail.com> wrote: >> >>> Janet, >>> >>> At my previous full time job, our application did exactly what you're >>> talking about. We started with it in Access and later migrated it to >> vb.net, >>> but in both cases we used signature tablets from Topaz. There's work >>> involved, because you have security issues when you store signatures (we >>> encrypted/decrypted ours). You need to have an API to program to for the >>> tablet. It's doable, but may not be worth the effort. There are >>> electronic signature verification services available to validate typed >>> e-signatures, so that might be a better way to go. Storing signatures >>> electronically is fraught with security issues. >>> >>> Charlotte >>> >>> Charlotte Foust >>> (916) 206-4336 >>> >>>> On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach >>> wrote: >>> >>>> Stuart - >>>> >>>> Yes, a digital tablet and pen is what I was referring to. I have an >>>> inexpensive usb tablet to test with; this is for an employee reviews >>>> application, and the idea is to have the whole thing be paperless. The >>>> review is completed in the Access app, the supervisor meets with the >>>> employee, and then both would (in theory) sign the document digitally >> using >>>> the pad. >>>> >>>> My husband thinks it's a waste of time to pursue doing this through >>>> access...he says it's bad enough at his workplace getting it to work >>>> properly in C#. He thinks that printing the review, signing the paper, >> and >>>> then scanning it and storing a link to the image is the way to go... >>>> >>>> Janet >>>> >>>> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < >> stuart at lexacorp.com.pg> >>>> wrote: >>>> >>>>> "What do you mean by "digital signature"? There are several methods >> of >>>>> "digitally signing" >>>>> something including using public/private key encryption or embedidng a >>>>> facsimile of a written >>>>> signature. In the latter case, the facsimile can either by scanned >> or >>>>> captured >>>>> >>>>> Do you mean the last case where someone draws on an input device such >> as >>>> a >>>>> graphics pad >>>>> or tries to scrawl their signature with a mouse? If so, what sort of >>>>> input are you using? >>>>> >>>>> >>>>> >>>>> >>>>>> On 5 Nov 2015 at 17:03, Janet Erbach wrote: >>>>>> >>>>>> Hello! >>>>>> >>>>>> Have any of you implemented a way to capture a digital signature on >> an >>>>>> access form? I haven't found too much help through google searches. >>>>>> After playing around for awhile with a test form, I found that an >>>>>> unbound bitmap image allows me to get the signature - but it's a >>>>>> clunky interface. Any ideas for me? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> Janet Erbach >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jerbach.db at gmail.com Fri Nov 6 14:09:06 2015 From: jerbach.db at gmail.com (Janet Erbach) Date: Fri, 6 Nov 2015 14:09:06 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: <8892B97A-457D-458B-A451-0785E1A16151@gmail.com> References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> <8892B97A-457D-458B-A451-0785E1A16151@gmail.com> Message-ID: Jeff - There's no rush as I won't be able to look into this again until mid next week anyway. Yes, I'm in Wisconsin - Neenah, in fact. Let me know next week if 'SuperSignature' is indeed the add in...if I'm not snowed under next week (which is a distinct metaphorical possibility) then I a live demo could be very helpful. Thank you. Janet On Fri, Nov 6, 2015 at 12:29 PM, Jeff wrote: > I'm not at the office any more today, but I believe the add-in is called > SuperSignature. I'll check to make sure as soon as I can. I created a > website for field technicians to report on what they did, and get a > signature from the manager on duty. We store a link to the signature in > our SQL database and name the signature with (in our situation) the > associated JobNumber. > > If you want to see it in action, I can provide you with a link to the test > website I use. > > You are in Wisconsin, aren't you? I'm down in Racine, and could probably > arrange a 'live' demo if you wanted. > > Sent from my iPhone > > > On Nov 6, 2015, at 11:32 AM, Janet Erbach wrote: > > > > Thank you all for your comments! > > > > Charlotte, I had read about Topaz tablets yesterday, so I know what we're > > referring to. But there's no way I'm going to get budget approval for > > those, as my company just went on a serious no-extraneous-expenditure > > diet. And the same would apply to getting small scanners to hook up at > the > > supervisor's workstation. > > > > Jeff - can you please tell me a bit more about the ASP/net add in you > use? > > > > And Gustav, I will tell my husband you approve of his methodology. :) > That > > may be the route I have to take for now until the company starts spending > > money again. > > > > Janet > > > > On Fri, Nov 6, 2015 at 10:37 AM, Jeff Barrows > > wrote: > > > >> Have you considered using ASP.net or some other web app? I use a very > >> simple add-in to collect real signatures from clients, store them on the > >> server, and can save the actual document with signatures as a PDF if > >> necessary. > >> > >> Thank You, > >> > >> Jeff Barrows > >> Jeff.developer at gmail.com > >> > >> > >> > >> > >> > >> > >> > >> On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < > >> accessd-bounces at databaseadvisors.com on behalf of > >> charlotte.foust at gmail.com> wrote: > >> > >>> Janet, > >>> > >>> At my previous full time job, our application did exactly what you're > >>> talking about. We started with it in Access and later migrated it to > >> vb.net, > >>> but in both cases we used signature tablets from Topaz. There's work > >>> involved, because you have security issues when you store signatures > (we > >>> encrypted/decrypted ours). You need to have an API to program to for > the > >>> tablet. It's doable, but may not be worth the effort. There are > >>> electronic signature verification services available to validate typed > >>> e-signatures, so that might be a better way to go. Storing signatures > >>> electronically is fraught with security issues. > >>> > >>> Charlotte > >>> > >>> Charlotte Foust > >>> (916) 206-4336 > >>> > >>>> On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach > >>> wrote: > >>> > >>>> Stuart - > >>>> > >>>> Yes, a digital tablet and pen is what I was referring to. I have an > >>>> inexpensive usb tablet to test with; this is for an employee reviews > >>>> application, and the idea is to have the whole thing be paperless. > The > >>>> review is completed in the Access app, the supervisor meets with the > >>>> employee, and then both would (in theory) sign the document digitally > >> using > >>>> the pad. > >>>> > >>>> My husband thinks it's a waste of time to pursue doing this through > >>>> access...he says it's bad enough at his workplace getting it to work > >>>> properly in C#. He thinks that printing the review, signing the paper, > >> and > >>>> then scanning it and storing a link to the image is the way to go... > >>>> > >>>> Janet > >>>> > >>>> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < > >> stuart at lexacorp.com.pg> > >>>> wrote: > >>>> > >>>>> "What do you mean by "digital signature"? There are several methods > >> of > >>>>> "digitally signing" > >>>>> something including using public/private key encryption or embedidng > a > >>>>> facsimile of a written > >>>>> signature. In the latter case, the facsimile can either by scanned > >> or > >>>>> captured > >>>>> > >>>>> Do you mean the last case where someone draws on an input device such > >> as > >>>> a > >>>>> graphics pad > >>>>> or tries to scrawl their signature with a mouse? If so, what sort of > >>>>> input are you using? > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> On 5 Nov 2015 at 17:03, Janet Erbach wrote: > >>>>>> > >>>>>> Hello! > >>>>>> > >>>>>> Have any of you implemented a way to capture a digital signature on > >> an > >>>>>> access form? I haven't found too much help through google searches. > >>>>>> After playing around for awhile with a test form, I found that an > >>>>>> unbound bitmap image allows me to get the signature - but it's a > >>>>>> clunky interface. Any ideas for me? > >>>>>> > >>>>>> Thank you! > >>>>>> > >>>>>> Janet Erbach > >>>>>> -- > >>>>>> AccessD mailing list > >>>>>> AccessD at databaseadvisors.com > >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd > >>>>>> Website: http://www.databaseadvisors.com > >>>>> > >>>>> > >>>>> -- > >>>>> AccessD mailing list > >>>>> AccessD at databaseadvisors.com > >>>>> http://databaseadvisors.com/mailman/listinfo/accessd > >>>>> Website: http://www.databaseadvisors.com > >>>> -- > >>>> AccessD mailing list > >>>> AccessD at databaseadvisors.com > >>>> http://databaseadvisors.com/mailman/listinfo/accessd > >>>> Website: http://www.databaseadvisors.com > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sun Nov 8 16:02:36 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 8 Nov 2015 22:02:36 +0000 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: "That may be the route I have to take for now until the company starts spending money again." Heh.. That was my thought exactly. If you are budget constrained than it will be hard to bet the scanner approach. Another possible option maybe to use an external solution like 'Docusign". < We used this when we purchased a house in the US and it was great. Saved a ton of time and stuffing around. No idea if that is feasible for you or not, but worth considering. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Saturday, 7 November 2015 4:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Digital Signatures Thank you all for your comments! Charlotte, I had read about Topaz tablets yesterday, so I know what we're referring to. But there's no way I'm going to get budget approval for those, as my company just went on a serious no-extraneous-expenditure diet. And the same would apply to getting small scanners to hook up at the supervisor's workstation. Jeff - can you please tell me a bit more about the ASP/net add in you use? And Gustav, I will tell my husband you approve of his methodology. :) That may be the route I have to take for now until the company starts spending money again. Janet On Fri, Nov 6, 2015 at 10:37 AM, Jeff Barrows wrote: > Have you considered using ASP.net or some other web app? I use a very > simple add-in to collect real signatures from clients, store them on > the server, and can save the actual document with signatures as a PDF > if necessary. > > Thank You, > > Jeff Barrows > Jeff.developer at gmail.com > > > > > > > > On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < > accessd-bounces at databaseadvisors.com on behalf of > charlotte.foust at gmail.com> wrote: > > >Janet, > > > >At my previous full time job, our application did exactly what you're > >talking about. We started with it in Access and later migrated it to > vb.net, > >but in both cases we used signature tablets from Topaz. There's work > >involved, because you have security issues when you store signatures > >(we encrypted/decrypted ours). You need to have an API to program to > >for the tablet. It's doable, but may not be worth the effort. There > >are electronic signature verification services available to validate > >typed e-signatures, so that might be a better way to go. Storing > >signatures electronically is fraught with security issues. > > > >Charlotte > > > >Charlotte Foust > >(916) 206-4336 > > > >On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach > wrote: > > > >> Stuart - > >> > >> Yes, a digital tablet and pen is what I was referring to. I have > >> an inexpensive usb tablet to test with; this is for an employee > >> reviews application, and the idea is to have the whole thing be > >> paperless. The review is completed in the Access app, the > >> supervisor meets with the employee, and then both would (in theory) > >> sign the document digitally > using > >> the pad. > >> > >> My husband thinks it's a waste of time to pursue doing this through > >> access...he says it's bad enough at his workplace getting it to > >> work properly in C#. He thinks that printing the review, signing > >> the paper, > and > >> then scanning it and storing a link to the image is the way to go... > >> > >> Janet > >> > >> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < > stuart at lexacorp.com.pg> > >> wrote: > >> > >> > "What do you mean by "digital signature"? There are several > >> > methods > of > >> > "digitally signing" > >> > something including using public/private key encryption or > >> > embedidng a facsimile of a written > >> > signature. In the latter case, the facsimile can either by scanned > or > >> > captured > >> > > >> > Do you mean the last case where someone draws on an input device > >> > such > as > >> a > >> > graphics pad > >> > or tries to scrawl their signature with a mouse? If so, what > >> > sort of input are you using? > >> > > >> > > >> > > >> > > >> > On 5 Nov 2015 at 17:03, Janet Erbach wrote: > >> > > >> > > Hello! > >> > > > >> > > Have any of you implemented a way to capture a digital > >> > > signature on > an > >> > > access form? I haven't found too much help through google searches. > >> > > After playing around for awhile with a test form, I found that > >> > > an unbound bitmap image allows me to get the signature - but > >> > > it's a clunky interface. Any ideas for me? > >> > > > >> > > Thank you! > >> > > > >> > > Janet Erbach > >> > > -- > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > > >> > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeff.developer at gmail.com Mon Nov 9 07:52:41 2015 From: jeff.developer at gmail.com (Jeff Barrows) Date: Mon, 09 Nov 2015 07:52:41 -0600 Subject: [AccessD] Digital Signatures In-Reply-To: References: <563BE53E.4761.1965A7E7@stuart.lexacorp.com.pg> Message-ID: <221BEDBB-5B1F-42A6-BAF6-5CBC6BD8FA68@gmail.com> Janet, The signature add-in IS called Super Signature. There website is www.supersignature.com If you want to contact me directly, my email address is in my signature. Thank You, Jeff Barrows Jeff.developer at gmail.com On 11/6/15, 11:32 AM, "AccessD on behalf of Janet Erbach" wrote: >Thank you all for your comments! > >Charlotte, I had read about Topaz tablets yesterday, so I know what we're >referring to. But there's no way I'm going to get budget approval for >those, as my company just went on a serious no-extraneous-expenditure >diet. And the same would apply to getting small scanners to hook up at the >supervisor's workstation. > >Jeff - can you please tell me a bit more about the ASP/net add in you use? > >And Gustav, I will tell my husband you approve of his methodology. :) That >may be the route I have to take for now until the company starts spending >money again. > >Janet > >On Fri, Nov 6, 2015 at 10:37 AM, Jeff Barrows >wrote: > >> Have you considered using ASP.net or some other web app? I use a very >> simple add-in to collect real signatures from clients, store them on the >> server, and can save the actual document with signatures as a PDF if >> necessary. >> >> Thank You, >> >> Jeff Barrows >> Jeff.developer at gmail.com >> >> >> >> >> >> >> >> On 11/6/15, 10:33 AM, "AccessD on behalf of Charlotte Foust" < >> accessd-bounces at databaseadvisors.com on behalf of >> charlotte.foust at gmail.com> wrote: >> >> >Janet, >> > >> >At my previous full time job, our application did exactly what you're >> >talking about. We started with it in Access and later migrated it to >> vb.net, >> >but in both cases we used signature tablets from Topaz. There's work >> >involved, because you have security issues when you store signatures (we >> >encrypted/decrypted ours). You need to have an API to program to for the >> >tablet. It's doable, but may not be worth the effort. There are >> >electronic signature verification services available to validate typed >> >e-signatures, so that might be a better way to go. Storing signatures >> >electronically is fraught with security issues. >> > >> >Charlotte >> > >> >Charlotte Foust >> >(916) 206-4336 >> > >> >On Fri, Nov 6, 2015 at 7:36 AM, Janet Erbach >> wrote: >> > >> >> Stuart - >> >> >> >> Yes, a digital tablet and pen is what I was referring to. I have an >> >> inexpensive usb tablet to test with; this is for an employee reviews >> >> application, and the idea is to have the whole thing be paperless. The >> >> review is completed in the Access app, the supervisor meets with the >> >> employee, and then both would (in theory) sign the document digitally >> using >> >> the pad. >> >> >> >> My husband thinks it's a waste of time to pursue doing this through >> >> access...he says it's bad enough at his workplace getting it to work >> >> properly in C#. He thinks that printing the review, signing the paper, >> and >> >> then scanning it and storing a link to the image is the way to go... >> >> >> >> Janet >> >> >> >> On Thu, Nov 5, 2015 at 5:24 PM, Stuart McLachlan < >> stuart at lexacorp.com.pg> >> >> wrote: >> >> >> >> > "What do you mean by "digital signature"? There are several methods >> of >> >> > "digitally signing" >> >> > something including using public/private key encryption or embedidng a >> >> > facsimile of a written >> >> > signature. In the latter case, the facsimile can either by scanned >> or >> >> > captured >> >> > >> >> > Do you mean the last case where someone draws on an input device such >> as >> >> a >> >> > graphics pad >> >> > or tries to scrawl their signature with a mouse? If so, what sort of >> >> > input are you using? >> >> > >> >> > >> >> > >> >> > >> >> > On 5 Nov 2015 at 17:03, Janet Erbach wrote: >> >> > >> >> > > Hello! >> >> > > >> >> > > Have any of you implemented a way to capture a digital signature on >> an >> >> > > access form? I haven't found too much help through google searches. >> >> > > After playing around for awhile with a test form, I found that an >> >> > > unbound bitmap image allows me to get the signature - but it's a >> >> > > clunky interface. Any ideas for me? >> >> > > >> >> > > Thank you! >> >> > > >> >> > > Janet Erbach >> >> > > -- >> >> > > AccessD mailing list >> >> > > AccessD at databaseadvisors.com >> >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> >> > > Website: http://www.databaseadvisors.com >> >> > > >> >> > >> >> > >> >> > -- >> >> > AccessD mailing list >> >> > AccessD at databaseadvisors.com >> >> > http://databaseadvisors.com/mailman/listinfo/accessd >> >> > Website: http://www.databaseadvisors.com >> >> > >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >-- >> >AccessD mailing list >> >AccessD at databaseadvisors.com >> >http://databaseadvisors.com/mailman/listinfo/accessd >> >Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 gmail.com Tue Nov 10 19:07:36 2015 From: jwcolby at gmail.com (John Colby) Date: Tue, 10 Nov 2015 20:07:36 -0500 Subject: [AccessD] Windows 10 supposed speed advantage Message-ID: <564294D8.5040903@gmail.com> Not so much??? http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows-7/ John W. Colby From gustav at cactus.dk Wed Nov 11 01:10:44 2015 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Nov 2015 07:10:44 +0000 Subject: [AccessD] Windows 10 supposed speed advantage In-Reply-To: <564294D8.5040903@gmail.com> References: <564294D8.5040903@gmail.com> Message-ID: Hi John Don't what he did, but boot should, of course, be much slower than wake up. My ThinkStation boots in 13 seconds, while wake up is 3 seconds. /gustav ________________________________________ Fra: AccessD p? vegne af John Colby Sendt: 11. november 2015 02:07 Til: accessd at databaseadvisors.com Emne: [AccessD] Windows 10 supposed speed advantage Not so much??? http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows-7/ John W. Colby From jimdettman at verizon.net Wed Nov 11 08:47:04 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 11 Nov 2015 09:47:04 -0500 Subject: [AccessD] Windows 10 supposed speed advantage In-Reply-To: <564294D8.5040903@gmail.com> References: <564294D8.5040903@gmail.com> Message-ID: John, I think it's too early to say yet. As noted, 10 is on par with anything back to Win 7 on the same hardware, and further tweaks will be coming to windows 10 along with new technologies (DirectX 12), so it may ultimately pull ahead. Even as it stands though, it's pretty solid and they did a good job with it. Personally, that's good enough for me. Anytime you can add features and still keep performance basically the same, I think that's a win. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 10, 2015 08:08 PM To: accessd at databaseadvisors.com Subject: [AccessD] Windows 10 supposed speed advantage Not so much??? http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows-7/ John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Wed Nov 11 10:02:51 2015 From: jwcolby at gmail.com (John Colby) Date: Wed, 11 Nov 2015 11:02:51 -0500 Subject: [AccessD] Windows 10 supposed speed advantage In-Reply-To: References: <564294D8.5040903@gmail.com> Message-ID: <564366AB.7050600@Gmail.com> It is pretty solid and they did do a good job with it. Now if they would just knock off the "forced upgrade" scandal. On 11/11/2015 9:47 AM, Jim Dettman wrote: > John, > > I think it's too early to say yet. > > As noted, 10 is on par with anything back to Win 7 on the same hardware, > and further tweaks will be coming to windows 10 along with new technologies > (DirectX 12), so it may ultimately pull ahead. Even as it stands though, > it's pretty solid and they did a good job with it. > > Personally, that's good enough for me. Anytime you can add features and > still keep performance basically the same, I think that's a win. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > Sent: Tuesday, November 10, 2015 08:08 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Windows 10 supposed speed advantage > > Not so much??? > > http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows-7/ > > John W. Colby -- John W. Colby From accesspro at gmail.com Wed Nov 11 11:19:21 2015 From: accesspro at gmail.com (Bob Heygood) Date: Wed, 11 Nov 2015 09:19:21 -0800 Subject: [AccessD] Can't find Query Message-ID: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob From jbodin at sbor.com Wed Nov 11 15:07:16 2015 From: jbodin at sbor.com (John Bodin) Date: Wed, 11 Nov 2015 21:07:16 +0000 Subject: [AccessD] Peterssoftware Drag N Dropper Message-ID: Has anyone used the Drag N Dropper utility from peterssoftware.com that enables Drag and Drop between text boxes, listboxes, etc? http://www.peterssoftware.com/dd.htm The Demo works fine, but is read only so I can't tell what's required to input into what properties of a control and I didn't know how well it works in any of the versions of Access 2000-2013. Thanks. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 11, 2015 11:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 10 supposed speed advantage It is pretty solid and they did do a good job with it. Now if they would just knock off the "forced upgrade" scandal. On 11/11/2015 9:47 AM, Jim Dettman wrote: > John, > > I think it's too early to say yet. > > As noted, 10 is on par with anything back to Win 7 on the same > hardware, and further tweaks will be coming to windows 10 along with > new technologies (DirectX 12), so it may ultimately pull ahead. Even > as it stands though, it's pretty solid and they did a good job with it. > > Personally, that's good enough for me. Anytime you can add > features and still keep performance basically the same, I think that's a win. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby > Sent: Tuesday, November 10, 2015 08:08 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Windows 10 supposed speed advantage > > Not so much??? > > http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows > -7/ > > John W. Colby -- John W. Colby -- 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 Nov 11 17:05:17 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Nov 2015 09:05:17 +1000 Subject: [AccessD] Can't find Query In-Reply-To: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <5643C9AD.3327.3839D790@stuart.lexacorp.com.pg> Try "Show System Objects" as well. If it's been named starting with "msys" or "usys", it will not show up without that switch as well. On 11 Nov 2015 at 9:19, Bob Heygood wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record > Deleted". When viewing in design view, I see the source of the query > is another query and some tables. BUT, when looking at the Nav pane, I > can't find the source query I see in the design view. IOW it seems > like it is hidden. Though when I check if "hidden" objects can be > viewed, the option is set to view them. Is it possible that someone > deleted it ? Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Wed Nov 11 22:41:39 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 11 Nov 2015 23:41:39 -0500 Subject: [AccessD] Peterssoftware Drag N Dropper In-Reply-To: References: Message-ID: Yep, bought it, used it, it works pretty well. I customized it a but. Peter is VERY customer centric and will work through problems with you. This was Ac2010, don't know how it is with Ac2013+. I'd say give it a try. On Nov 11, 2015 4:08 PM, "John Bodin" wrote: > Has anyone used the Drag N Dropper utility from peterssoftware.com that > enables Drag and Drop between text boxes, listboxes, etc? > http://www.peterssoftware.com/dd.htm The Demo works fine, but is read > only so I can't tell what's required to input into what properties of a > control and I didn't know how well it works in any of the versions of > Access 2000-2013. Thanks. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > Sent: Wednesday, November 11, 2015 11:03 AM > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Subject: Re: [AccessD] Windows 10 supposed speed advantage > > It is pretty solid and they did do a good job with it. Now if they would > just knock off the "forced upgrade" scandal. > > On 11/11/2015 9:47 AM, Jim Dettman wrote: > > John, > > > > I think it's too early to say yet. > > > > As noted, 10 is on par with anything back to Win 7 on the same > > hardware, and further tweaks will be coming to windows 10 along with > > new technologies (DirectX 12), so it may ultimately pull ahead. Even > > as it stands though, it's pretty solid and they did a good job with it. > > > > Personally, that's good enough for me. Anytime you can add > > features and still keep performance basically the same, I think that's a > win. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of John Colby > > Sent: Tuesday, November 10, 2015 08:08 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Windows 10 supposed speed advantage > > > > Not so much??? > > > > http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows > > -7/ > > > > John W. Colby > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Wed Nov 11 22:44:43 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 11 Nov 2015 23:44:43 -0500 Subject: [AccessD] Can't find Query In-Reply-To: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: Maybe a stupid question but is it perhaps a row source to a control somewhere? On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record Deleted". > When viewing in design view, I see the source of the query is another query > and some tables. > BUT, when looking at the Nav pane, I can't find the source query I see in > the design view. IOW it seems like it is hidden. > Though when I check if "hidden" objects can be viewed, the option is set to > view them. > Is it possible that someone deleted it ? > Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbodin at sbor.com Thu Nov 12 06:38:16 2015 From: jbodin at sbor.com (John Bodin) Date: Thu, 12 Nov 2015 12:38:16 +0000 Subject: [AccessD] Peterssoftware Drag N Dropper In-Reply-To: References: , Message-ID: Thanks Bill. Do you put calls in various events of the controls you want to allow this for? I have a technician's Dispatch Board that's made up of a grid of text boxes and each day, I cycle through all the text boxes for each tech customizing the assignments for each tech and adding custom functions to the on-click event of each text box. John Colby gave me some ideas on implementing a class to enable drag and drop between two technicians (two text boxes) where I would put customized calls in the mouse events of the text box controls, but I was never able to get that off the ground. John Bodin jbodin at sbor.com ________________________________________ From: AccessD on behalf of Bill Benson Sent: Wednesday, November 11, 2015 11:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Peterssoftware Drag N Dropper Yep, bought it, used it, it works pretty well. I customized it a but. Peter is VERY customer centric and will work through problems with you. This was Ac2010, don't know how it is with Ac2013+. I'd say give it a try. On Nov 11, 2015 4:08 PM, "John Bodin" wrote: > Has anyone used the Drag N Dropper utility from peterssoftware.com that > enables Drag and Drop between text boxes, listboxes, etc? > http://www.peterssoftware.com/dd.htm The Demo works fine, but is read > only so I can't tell what's required to input into what properties of a > control and I didn't know how well it works in any of the versions of > Access 2000-2013. Thanks. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > Sent: Wednesday, November 11, 2015 11:03 AM > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Subject: Re: [AccessD] Windows 10 supposed speed advantage > > It is pretty solid and they did do a good job with it. Now if they would > just knock off the "forced upgrade" scandal. > > On 11/11/2015 9:47 AM, Jim Dettman wrote: > > John, > > > > I think it's too early to say yet. > > > > As noted, 10 is on par with anything back to Win 7 on the same > > hardware, and further tweaks will be coming to windows 10 along with > > new technologies (DirectX 12), so it may ultimately pull ahead. Even > > as it stands though, it's pretty solid and they did a good job with it. > > > > Personally, that's good enough for me. Anytime you can add > > features and still keep performance basically the same, I think that's a > win. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of John Colby > > Sent: Tuesday, November 10, 2015 08:08 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Windows 10 supposed speed advantage > > > > Not so much??? > > > > http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows > > -7/ > > > > John W. Colby > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 12 07:06:26 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 12 Nov 2015 08:06:26 -0500 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: Bob, if you can't find it in the Navigation pane, tell us how you know it's a "Query" object? That might help. What's the complete error message? Susan H. On Wed, Nov 11, 2015 at 11:44 PM, Bill Benson wrote: > Maybe a stupid question but is it perhaps a row source to a control > somewhere? > On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > > > Hello to the List, > > I am trying to troubleshoot a query that returns an error "Record > Deleted". > > When viewing in design view, I see the source of the query is another > query > > and some tables. > > BUT, when looking at the Nav pane, I can't find the source query I see in > > the design view. IOW it seems like it is hidden. > > Though when I check if "hidden" objects can be viewed, the option is set > to > > view them. > > Is it possible that someone deleted it ? > > Where is it? > > > > TIA > > Bob > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Thu Nov 12 07:14:34 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 12 Nov 2015 08:14:34 -0500 Subject: [AccessD] Peterssoftware Drag N Dropper In-Reply-To: References: Message-ID: Sorry the last year I used it was 2011. I believe he used events. I don't recall him using class modules. It worked imperfectly but took quite some time to implement it. I think you would do well to ask Peter directly or wait for someone else on the List here to answer, as I am at some distance and time from the only project I used it on, and not near the pc that has it. On Nov 12, 2015 7:39 AM, "John Bodin" wrote: > Thanks Bill. Do you put calls in various events of the controls you want > to allow this for? I have a technician's Dispatch Board that's made up of > a grid of text boxes and each day, I cycle through all the text boxes for > each tech customizing the assignments for each tech and adding custom > functions to the on-click event of each text box. John Colby gave me some > ideas on implementing a class to enable drag and drop between two > technicians (two text boxes) where I would put customized calls in the > mouse events of the text box controls, but I was never able to get that off > the ground. > > > > > > John Bodin > > jbodin at sbor.com > > > > ________________________________________ > From: AccessD on behalf of Bill > Benson > Sent: Wednesday, November 11, 2015 11:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Peterssoftware Drag N Dropper > > Yep, bought it, used it, it works pretty well. I customized it a but. Peter > is VERY customer centric and will work through problems with you. This was > Ac2010, don't know how it is with Ac2013+. > > I'd say give it a try. > On Nov 11, 2015 4:08 PM, "John Bodin" wrote: > > > Has anyone used the Drag N Dropper utility from peterssoftware.com that > > enables Drag and Drop between text boxes, listboxes, etc? > > http://www.peterssoftware.com/dd.htm The Demo works fine, but is read > > only so I can't tell what's required to input into what properties of a > > control and I didn't know how well it works in any of the versions of > > Access 2000-2013. Thanks. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > John Colby > > Sent: Wednesday, November 11, 2015 11:03 AM > > To: Access Developers discussion and problem solving < > > accessd at databaseadvisors.com> > > Subject: Re: [AccessD] Windows 10 supposed speed advantage > > > > It is pretty solid and they did do a good job with it. Now if they would > > just knock off the "forced upgrade" scandal. > > > > On 11/11/2015 9:47 AM, Jim Dettman wrote: > > > John, > > > > > > I think it's too early to say yet. > > > > > > As noted, 10 is on par with anything back to Win 7 on the same > > > hardware, and further tweaks will be coming to windows 10 along with > > > new technologies (DirectX 12), so it may ultimately pull ahead. Even > > > as it stands though, it's pretty solid and they did a good job with it. > > > > > > Personally, that's good enough for me. Anytime you can add > > > features and still keep performance basically the same, I think that's > a > > win. > > > > > > Jim. > > > > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > > Of John Colby > > > Sent: Tuesday, November 10, 2015 08:08 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Windows 10 supposed speed advantage > > > > > > Not so much??? > > > > > > http://www.techspot.com/review/1042-windows-10-vs-windows-8-vs-windows > > > -7/ > > > > > > John W. Colby > > > > -- > > John W. Colby > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 12 07:47:08 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Nov 2015 08:47:08 -0500 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: or possibly even a "table" if it's a view in a BE somewhere. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, November 11, 2015 11:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Maybe a stupid question but is it perhaps a row source to a control somewhere? On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record Deleted". > When viewing in design view, I see the source of the query is another query > and some tables. > BUT, when looking at the Nav pane, I can't find the source query I see in > the design view. IOW it seems like it is hidden. > Though when I check if "hidden" objects can be viewed, the option is set to > view them. > Is it possible that someone deleted it ? > Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Thu Nov 12 10:28:51 2015 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Thu, 12 Nov 2015 16:28:51 +0000 Subject: [AccessD] Can't find Query In-Reply-To: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: Hi Bob, Check the SQL behind the query. It's possible that the "query" showing in the design view is really embedded SQL with an alias. Something like: SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE MyTable.MyColumn = 'FooBar') as qryFooBar; In the design view this will appear as a table called "qryFooBar", but that query won't exist among your defined queries in the DB container. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't find Query Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 12 15:16:37 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Nov 2015 07:16:37 +1000 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com>, Message-ID: <564501B5.27147.3CFCB50C@stuart.lexacorp.com.pg> Very good point! -- Stuart On 12 Nov 2015 at 16:28, McGillivray, Don wrote: > Hi Bob, > > Check the SQL behind the query. It's possible that the "query" > showing in the design view is really embedded SQL with an alias. > > Something like: > > SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE > MyTable.MyColumn = 'FooBar') as qryFooBar; > > In the design view this will appear as a table called "qryFooBar", but > that query won't exist among your defined queries in the DB container. > > Don > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access > Developers discussion and problem solving' Subject: [AccessD] Can't > find Query > > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record > Deleted". When viewing in design view, I see the source of the query > is another query and some tables. BUT, when looking at the Nav pane, I > can't find the source query I see in the design view. IOW it seems > like it is hidden. Though when I check if "hidden" objects can be > viewed, the option is set to view them. Is it possible that someone > deleted it ? Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From steve at datamanagementsolutions.biz Fri Nov 13 16:22:18 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sat, 14 Nov 2015 11:22:18 +1300 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <7F63B74067ED49AE8D25E8E35802EA39@SteveT540p> Or alternatively that is is Aliased. You would be able to see that by examining the Properties of the source query/table in the query design view. Or looking at the SQL you would see something like this... SELECT SomeField, AnotherField FROM OneTable INNER JOIN AnotherTable AS SomethingElse ON OneTable.Key = SomethingElse.Key Regards Steve -----Original Message----- From: McGillivray, Don Sent: Friday, November 13, 2015 5:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Hi Bob, Check the SQL behind the query. It's possible that the "query" showing in the design view is really embedded SQL with an alias. Something like: SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE MyTable.MyColumn = 'FooBar') as qryFooBar; In the design view this will appear as a table called "qryFooBar", but that query won't exist among your defined queries in the DB container. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't find Query Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accesspro at gmail.com Sat Nov 14 10:26:28 2015 From: accesspro at gmail.com (Bob Heygood) Date: Sat, 14 Nov 2015 08:26:28 -0800 Subject: [AccessD] Can't find Query In-Reply-To: <5643C9AD.3327.3839D790@stuart.lexacorp.com.pg> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> <5643C9AD.3327.3839D790@stuart.lexacorp.com.pg> Message-ID: <00f301d11ef9$391dcf80$ab596e80$@gmail.com> No not a sys object. Thanks for responding. Bob -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 11, 2015 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Try "Show System Objects" as well. If it's been named starting with "msys" or "usys", it will not show up without that switch as well. On 11 Nov 2015 at 9:19, Bob Heygood wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record > Deleted". When viewing in design view, I see the source of the query > is another query and some tables. BUT, when looking at the Nav pane, I > can't find the source query I see in the design view. IOW it seems > like it is hidden. Though when I check if "hidden" objects can be > viewed, the option is set to view them. Is it possible that someone > deleted it ? Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Accesspro at cox.net Sat Nov 14 10:33:29 2015 From: Accesspro at cox.net (B Heygood) Date: Sat, 14 Nov 2015 08:33:29 -0800 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <00f401d11efa$31928c00$94b7a400$@cox.net> Not an attached object. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 12, 2015 5:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't find Query or possibly even a "table" if it's a view in a BE somewhere. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, November 11, 2015 11:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Maybe a stupid question but is it perhaps a row source to a control somewhere? On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record Deleted". > When viewing in design view, I see the source of the query is another query > and some tables. > BUT, when looking at the Nav pane, I can't find the source query I see > in the design view. IOW it seems like it is hidden. > Though when I check if "hidden" objects can be viewed, the option is > set to > view them. > Is it possible that someone deleted it ? > Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Accesspro at cox.net Sat Nov 14 10:33:29 2015 From: Accesspro at cox.net (B Heygood) Date: Sat, 14 Nov 2015 08:33:29 -0800 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <00f501d11efa$31d0a670$9571f350$@cox.net> The naming convention used would indicate it is a query. ("qryXXXXXX") I also checked if it could be a table, but no. It is clearly visible in the design view. Thanks for responding. bob -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 12, 2015 5:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Bob, if you can't find it in the Navigation pane, tell us how you know it's a "Query" object? That might help. What's the complete error message? Susan H. On Wed, Nov 11, 2015 at 11:44 PM, Bill Benson wrote: > Maybe a stupid question but is it perhaps a row source to a control > somewhere? > On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > > > Hello to the List, > > I am trying to troubleshoot a query that returns an error "Record > Deleted". > > When viewing in design view, I see the source of the query is > > another > query > > and some tables. > > BUT, when looking at the Nav pane, I can't find the source query I > > see in the design view. IOW it seems like it is hidden. > > Though when I check if "hidden" objects can be viewed, the option is > > set > to > > view them. > > Is it possible that someone deleted it ? > > Where is it? > > > > TIA > > Bob > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accesspro at gmail.com Sat Nov 14 10:39:27 2015 From: accesspro at gmail.com (Bob Heygood) Date: Sat, 14 Nov 2015 08:39:27 -0800 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <00f601d11efb$078ada60$16a08f20$@gmail.com> Ah Maybe The object in the design view that does not appear in the nav pane is "qryFFActrptA" The SQL of the query is: SELECT qryFFActrptA.*, C_TypeOfPlacemt.TypeOfPlacemt, C_Status.Status AS DtlStatus No, that's the opposite......... Thanks -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Thursday, November 12, 2015 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Hi Bob, Check the SQL behind the query. It's possible that the "query" showing in the design view is really embedded SQL with an alias. Something like: SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE MyTable.MyColumn = 'FooBar') as qryFooBar; In the design view this will appear as a table called "qryFooBar", but that query won't exist among your defined queries in the DB container. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't find Query Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accesspro at gmail.com Sat Nov 14 10:47:32 2015 From: accesspro at gmail.com (Bob Heygood) Date: Sat, 14 Nov 2015 08:47:32 -0800 Subject: [AccessD] Can't find Query In-Reply-To: References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> Message-ID: <00f701d11efc$290d3ba0$7b27b2e0$@gmail.com> BTW. I gave up on this and rewrote an alternative. Got to know when to fold them. THEN, Before shipping to the client, I did a repair and compact and no longer got the error message. Lots of info on Google about the "Deleted Record" error message; and compacting and repairing solving some causes of the error. BUT Still do not see the query in the nav pane.... So still not solved. Thanks Again Bob -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of B Heygood Sent: Saturday, November 14, 2015 8:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't find Query Not an attached object. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 12, 2015 5:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't find Query or possibly even a "table" if it's a view in a BE somewhere. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, November 11, 2015 11:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Maybe a stupid question but is it perhaps a row source to a control somewhere? On Nov 11, 2015 12:20 PM, "Bob Heygood" wrote: > Hello to the List, > I am trying to troubleshoot a query that returns an error "Record Deleted". > When viewing in design view, I see the source of the query is another query > and some tables. > BUT, when looking at the Nav pane, I can't find the source query I see > in the design view. IOW it seems like it is hidden. > Though when I check if "hidden" objects can be viewed, the option is > set to > view them. > Is it possible that someone deleted it ? > Where is it? > > TIA > Bob > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 gmail.com Sat Nov 14 11:38:50 2015 From: jwcolby at gmail.com (John Colby) Date: Sat, 14 Nov 2015 12:38:50 -0500 Subject: [AccessD] Visual Studio and source control Message-ID: <564771AA.4010403@Gmail.com> I have been using Visual Studio 2008 and 2010 for many years. I am about to move up to 2013, which has built-in support for GitHub. I have VS 2013 Community edition installed on a new dev virtual machine and upgraded to the latest service pack (pack 3). I would like to run a local GitHub server on my Windows 2008 R2 VM server which hosts my dev virtual machines, then build a project from an already existing 2010 project. To this point I have found all kinds of "it can be done" but no clear instructions to getting the server set up on Windows and from there getting connected from inside of Visual Studio. Can anyone point me to a clear and concise instruction for making this work? Any assistance much appreciated. -- John W. Colby From gustav at cactus.dk Sat Nov 14 12:07:26 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 14 Nov 2015 18:07:26 +0000 Subject: [AccessD] Visual Studio and source control In-Reply-To: <564771AA.4010403@Gmail.com> References: <564771AA.4010403@Gmail.com> Message-ID: Hi John First question: Why not VS2015? You may have your reasons for choosing VS2013, but I believe the GitHub support (the add-in) is better in VS2015. That said, it works, but I think the user interface and way to operate is primitive and clumsy - but it works when you have found out ... it's not difficult but not very logical. Second: I just use a shared network folder for my Git repositories. Then, when I tell so from VS, the current project is synced to GitHub (I only use the public site). GitHub is a Linux thing, so it shouldn't be very offending to you ... but as you seem to be in a hurry, I binged for alternatives (because also I actually would like to have my own server as the public server is, eh, just that: Public) and found GitStack targeted at lazy people like me having other things to do: http://gitstack.com/ They sport a "Basic" full-featured community version limited to two users, but wouldn't that fit your setup? I'll give it a look in the near future. /gustav ________________________________________ Fra: AccessD p? vegne af John Colby Sendt: 14. november 2015 18:38 Til: dba-vb at databaseadvisors.com; Access Developers discussion and problem solving; jwcolby at gmail.com Emne: [AccessD] Visual Studio and source control I have been using Visual Studio 2008 and 2010 for many years. I am about to move up to 2013, which has built-in support for GitHub. I have VS 2013 Community edition installed on a new dev virtual machine and upgraded to the latest service pack (pack 3). I would like to run a local GitHub server on my Windows 2008 R2 VM server which hosts my dev virtual machines, then build a project from an already existing 2010 project. To this point I have found all kinds of "it can be done" but no clear instructions to getting the server set up on Windows and from there getting connected from inside of Visual Studio. Can anyone point me to a clear and concise instruction for making this work? Any assistance much appreciated. -- John W. Colby From jwcolby at gmail.com Sat Nov 14 12:20:50 2015 From: jwcolby at gmail.com (John Colby) Date: Sat, 14 Nov 2015 13:20:50 -0500 Subject: [AccessD] Visual Studio and source control In-Reply-To: References: <564771AA.4010403@Gmail.com> Message-ID: <56477B82.1050702@Gmail.com> >First question: Why not VS2015? Mostly just that I have 2013 installed from awhile ago. From my reading, the 2013 version now supports github natively. I do not want to put this specific project up into a public place because it is company business. I am going to try this: https://bonobogitserver.com/install/ On 11/14/2015 1:07 PM, Gustav Brock wrote: > Hi John > > First question: Why not VS2015? > > You may have your reasons for choosing VS2013, but I believe the GitHub support (the add-in) is better in VS2015. That said, it works, but I think the user interface and way to operate is primitive and clumsy - but it works when you have found out ... it's not difficult but not very logical. > > Second: I just use a shared network folder for my Git repositories. Then, when I tell so from VS, the current project is synced to GitHub (I only use the public site). > > GitHub is a Linux thing, so it shouldn't be very offending to you ... but as you seem to be in a hurry, I binged for alternatives (because also I actually would like to have my own server as the public server is, eh, just that: Public) and found GitStack targeted at lazy people like me having other things to do: > > http://gitstack.com/ > > They sport a "Basic" full-featured community version limited to two users, but wouldn't that fit your setup? > > I'll give it a look in the near future. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af John Colby > Sendt: 14. november 2015 18:38 > Til: dba-vb at databaseadvisors.com; Access Developers discussion and problem solving; jwcolby at gmail.com > Emne: [AccessD] Visual Studio and source control > > I have been using Visual Studio 2008 and 2010 for many years. I am > about to move up to 2013, which has built-in support for GitHub. I have > VS 2013 Community edition installed on a new dev virtual machine and > upgraded to the latest service pack (pack 3). > > I would like to run a local GitHub server on my Windows 2008 R2 VM > server which hosts my dev virtual machines, then build a project from an > already existing 2010 project. > > To this point I have found all kinds of "it can be done" but no clear > instructions to getting the server set up on Windows and from there > getting connected from inside of Visual Studio. Can anyone point me to > a clear and concise instruction for making this work? > > Any assistance much appreciated. > > -- > John W. Colby -- John W. Colby From gustav at cactus.dk Sat Nov 14 12:26:24 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 14 Nov 2015 18:26:24 +0000 Subject: [AccessD] [dba-VS] Visual Studio and source control In-Reply-To: <56477B82.1050702@Gmail.com> References: <564771AA.4010403@Gmail.com> , <56477B82.1050702@Gmail.com> Message-ID: Hi John OK. Yes, VS2013 does support GitHub. Let us know about your findings with Bonobo Git Server. /gustav ________________________________________ Fra: dba-VS p? vegne af John Colby Sendt: 14. november 2015 19:20 Til: Access Developers discussion and problem solving; dba-vs at databaseadvisors.com Emne: Re: [dba-VS] [AccessD] Visual Studio and source control >First question: Why not VS2015? Mostly just that I have 2013 installed from awhile ago. From my reading, the 2013 version now supports github natively. I do not want to put this specific project up into a public place because it is company business. I am going to try this: https://bonobogitserver.com/install/ On 11/14/2015 1:07 PM, Gustav Brock wrote: > Hi John > > First question: Why not VS2015? > > You may have your reasons for choosing VS2013, but I believe the GitHub support (the add-in) is better in VS2015. That said, it works, but I think the user interface and way to operate is primitive and clumsy - but it works when you have found out ... it's not difficult but not very logical. > > Second: I just use a shared network folder for my Git repositories. Then, when I tell so from VS, the current project is synced to GitHub (I only use the public site). > > GitHub is a Linux thing, so it shouldn't be very offending to you ... but as you seem to be in a hurry, I binged for alternatives (because also I actually would like to have my own server as the public server is, eh, just that: Public) and found GitStack targeted at lazy people like me having other things to do: > > http://gitstack.com/ > > They sport a "Basic" full-featured community version limited to two users, but wouldn't that fit your setup? > > I'll give it a look in the near future. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af John Colby > Sendt: 14. november 2015 18:38 > Til: dba-vb at databaseadvisors.com; Access Developers discussion and problem solving; jwcolby at gmail.com > Emne: [AccessD] Visual Studio and source control > > I have been using Visual Studio 2008 and 2010 for many years. I am > about to move up to 2013, which has built-in support for GitHub. I have > VS 2013 Community edition installed on a new dev virtual machine and > upgraded to the latest service pack (pack 3). > > I would like to run a local GitHub server on my Windows 2008 R2 VM > server which hosts my dev virtual machines, then build a project from an > already existing 2010 project. > > To this point I have found all kinds of "it can be done" but no clear > instructions to getting the server set up on Windows and from there > getting connected from inside of Visual Studio. Can anyone point me to > a clear and concise instruction for making this work? > > Any assistance much appreciated. > > -- > John W. Colby -- John W. Colby From jwcolby at gmail.com Sat Nov 14 13:31:43 2015 From: jwcolby at gmail.com (John Colby) Date: Sat, 14 Nov 2015 14:31:43 -0500 Subject: [AccessD] Visual Studio and source control In-Reply-To: References: <564771AA.4010403@Gmail.com> Message-ID: <56478C1F.8040800@Gmail.com> is anyone else getting a delivery failure to normkara at nyc.rr.com from posting to the list? On 11/14/2015 1:07 PM, Gustav Brock wrote: > Hi John > > First question: Why not VS2015? > > You may have your reasons for choosing VS2013, but I believe the GitHub support (the add-in) is better in VS2015. That said, it works, but I think the user interface and way to operate is primitive and clumsy - but it works when you have found out ... it's not difficult but not very logical. > > Second: I just use a shared network folder for my Git repositories. Then, when I tell so from VS, the current project is synced to GitHub (I only use the public site). > > GitHub is a Linux thing, so it shouldn't be very offending to you ... but as you seem to be in a hurry, I binged for alternatives (because also I actually would like to have my own server as the public server is, eh, just that: Public) and found GitStack targeted at lazy people like me having other things to do: > > http://gitstack.com/ > > They sport a "Basic" full-featured community version limited to two users, but wouldn't that fit your setup? > > I'll give it a look in the near future. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af John Colby > Sendt: 14. november 2015 18:38 > Til: dba-vb at databaseadvisors.com; Access Developers discussion and problem solving; jwcolby at gmail.com > Emne: [AccessD] Visual Studio and source control > > I have been using Visual Studio 2008 and 2010 for many years. I am > about to move up to 2013, which has built-in support for GitHub. I have > VS 2013 Community edition installed on a new dev virtual machine and > upgraded to the latest service pack (pack 3). > > I would like to run a local GitHub server on my Windows 2008 R2 VM > server which hosts my dev virtual machines, then build a project from an > already existing 2010 project. > > To this point I have found all kinds of "it can be done" but no clear > instructions to getting the server set up on Windows and from there > getting connected from inside of Visual Studio. Can anyone point me to > a clear and concise instruction for making this work? > > Any assistance much appreciated. > > -- > John W. Colby -- John W. Colby From steve at datamanagementsolutions.biz Sat Nov 14 14:14:25 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sun, 15 Nov 2015 09:14:25 +1300 Subject: [AccessD] Can't find Query In-Reply-To: <00f601d11efb$078ada60$16a08f20$@gmail.com> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> <00f601d11efb$078ada60$16a08f20$@gmail.com> Message-ID: <28CA3265B3564429A2B5EC9C59A701F4@SteveT540p> Bob What's the FROM clause of the query? Regards Steve -----Original Message----- From: Bob Heygood Sent: Sunday, November 15, 2015 5:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't find Query Ah Maybe The object in the design view that does not appear in the nav pane is "qryFFActrptA" The SQL of the query is: SELECT qryFFActrptA.*, C_TypeOfPlacemt.TypeOfPlacemt, C_Status.Status AS DtlStatus No, that's the opposite......... Thanks -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Thursday, November 12, 2015 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Hi Bob, Check the SQL behind the query. It's possible that the "query" showing in the design view is really embedded SQL with an alias. Something like: SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE MyTable.MyColumn = 'FooBar') as qryFooBar; In the design view this will appear as a table called "qryFooBar", but that query won't exist among your defined queries in the DB container. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't find Query Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accesspro at gmail.com Sat Nov 14 15:23:59 2015 From: accesspro at gmail.com (Bob Heygood) Date: Sat, 14 Nov 2015 13:23:59 -0800 Subject: [AccessD] Can't find Query In-Reply-To: <28CA3265B3564429A2B5EC9C59A701F4@SteveT540p> References: <012401d11ca5$1c05aa90$5410ffb0$@gmail.com> <00f601d11efb$078ada60$16a08f20$@gmail.com> <28CA3265B3564429A2B5EC9C59A701F4@SteveT540p> Message-ID: <010a01d11f22$c75dafd0$56190f70$@gmail.com> Hello Steve, The object in the design view that does not appear in the nav pane is "qryFFActrptA" Here goes: FROM (C_Status AS C_Status_1 RIGHT JOIN (B_ClientProduct RIGHT JOIN (B_Client INNER JOIN (C_TypeOfPlacemt RIGHT JOIN (B_Inventory RIGHT JOIN qryFFActrptA ON B_Inventory.Barcode = qryFFActrptA.Barcode) ON C_TypeOfPlacemt.TypeOfPlacemtID = qryFFActrptA.TypeofPlacemtID) ON B_Client.ClientID = qryFFActrptA.ClientID) ON B_ClientProduct.ClientProdID = qryFFActrptA.ClientProdID) ON C_Status_1.StatusID = qryFFActrptA.StatusID) LEFT JOIN C_Status ON qryFFActrptA.RptStatus = C_Status.StatusID; Bob -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, November 14, 2015 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Bob What's the FROM clause of the query? Regards Steve -----Original Message----- From: Bob Heygood Sent: Sunday, November 15, 2015 5:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't find Query Ah Maybe The object in the design view that does not appear in the nav pane is "qryFFActrptA" The SQL of the query is: SELECT qryFFActrptA.*, C_TypeOfPlacemt.TypeOfPlacemt, C_Status.Status AS DtlStatus No, that's the opposite......... Thanks -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Thursday, November 12, 2015 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't find Query Hi Bob, Check the SQL behind the query. It's possible that the "query" showing in the design view is really embedded SQL with an alias. Something like: SELECT qryFooBar.* FROM (SELECT MyTable.* FROM MyTable WHERE MyTable.MyColumn = 'FooBar') as qryFooBar; In the design view this will appear as a table called "qryFooBar", but that query won't exist among your defined queries in the DB container. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, November 11, 2015 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't find Query Hello to the List, I am trying to troubleshoot a query that returns an error "Record Deleted". When viewing in design view, I see the source of the query is another query and some tables. BUT, when looking at the Nav pane, I can't find the source query I see in the design view. IOW it seems like it is hidden. Though when I check if "hidden" objects can be viewed, the option is set to view them. Is it possible that someone deleted it ? Where is it? TIA Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 16:15:28 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 14:15:28 -0800 Subject: [AccessD] Connect String for Linked Table Message-ID: I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on Windows 10. I have code that worked just fine last year but is breaking this year because suddenly, if the back end file is moved or renamed, the code to set a tabledef object to the linked table in question can't find the linked table. Obviously, the table still exists because the linked table manager can see it, so it's still in the system tables, but the code breaks. Any ideas? Charlotte Foust (916) 206-4336 From gustav at cactus.dk Fri Nov 20 16:57:29 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Nov 2015 22:57:29 +0000 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: Hi Charlotte And your code is? /gustav ________________________________________ Fra: AccessD p? vegne af Charlotte Foust Sendt: 20. november 2015 23:15 Til: Access Developers discussion and problem solving Emne: [AccessD] Connect String for Linked Table I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on Windows 10. I have code that worked just fine last year but is breaking this year because suddenly, if the back end file is moved or renamed, the code to set a tabledef object to the linked table in question can't find the linked table. Obviously, the table still exists because the linked table manager can see it, so it's still in the system tables, but the code breaks. Any ideas? Charlotte Foust (916) 206-4336 From charlotte.foust at gmail.com Fri Nov 20 17:02:22 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 15:02:22 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: Public Function DoesObjectExist(ByVal strObjName As String) As Boolean On Error Resume Next Dim intCnt As Integer intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & "'") DoesObjectExist = (intCnt > 0) End Function this *usually* returns true for a table with a broken link. Except, sometimes it doesn't. It does when I call it from the immediate window, but when it's called from code, it may return a False. If my hair weren't already nearly white, it would be with this. I'm also sometimes getting "item not found in this collection" when I try to call the above routine from code. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > Hi Charlotte > > And your code is? > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 20. november 2015 23:15 > Til: Access Developers discussion and problem solving > Emne: [AccessD] Connect String for Linked Table > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > Windows 10. I have code that worked just fine last year but is breaking > this year because suddenly, if the back end file is moved or renamed, the > code to set a tabledef object to the linked table in question can't find > the linked table. Obviously, the table still exists because the linked > table manager can see it, so it's still in the system tables, but the code > breaks. > > Any ideas? > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Nov 20 17:21:56 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Nov 2015 23:21:56 +0000 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: , Message-ID: Hi Charlotte Oh, I thought you meant some code for relinking the tables. I'm not sure I understand how you use this function? If the backend is moved, the linked table objects in the frontend don't vanish. So what may cause your linked table objects to be deleted? /gustav ________________________________________ Fra: AccessD p? vegne af Charlotte Foust Sendt: 21. november 2015 00:02 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Connect String for Linked Table Public Function DoesObjectExist(ByVal strObjName As String) As Boolean On Error Resume Next Dim intCnt As Integer intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & "'") DoesObjectExist = (intCnt > 0) End Function this *usually* returns true for a table with a broken link. Except, sometimes it doesn't. It does when I call it from the immediate window, but when it's called from code, it may return a False. If my hair weren't already nearly white, it would be with this. I'm also sometimes getting "item not found in this collection" when I try to call the above routine from code. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > Hi Charlotte > > And your code is? > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 20. november 2015 23:15 > Til: Access Developers discussion and problem solving > Emne: [AccessD] Connect String for Linked Table > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > Windows 10. I have code that worked just fine last year but is breaking > this year because suddenly, if the back end file is moved or renamed, the > code to set a tabledef object to the linked table in question can't find > the linked table. Obviously, the table still exists because the linked > table manager can see it, so it's still in the system tables, but the code > breaks. > > Any ideas? > > Charlotte Foust > (916) 206-4336 From stuart at lexacorp.com.pg Fri Nov 20 17:26:43 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Nov 2015 09:26:43 +1000 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: , , Message-ID: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> I doubt that your problem les with this function. If it returns False "when called from code", then I'd suspect that your code is deleting the table before this function is called. What line is highlighted when you get the "item not found" error. On 20 Nov 2015 at 15:02, Charlotte Foust wrote: > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > On Error Resume Next > Dim intCnt As Integer > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName > & > "'") > DoesObjectExist = (intCnt > 0) > End Function > > this *usually* returns true for a table with a broken link. Except, > sometimes it doesn't. It does when I call it from the immediate > window, but when it's called from code, it may return a False. If my > hair weren't already nearly white, it would be with this. > > I'm also sometimes getting "item not found in this collection" when I > try to call the above routine from code. > > Charlotte > > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock > wrote: > > > Hi Charlotte > > > > And your code is? > > > > /gustav > > > > ________________________________________ > > Fra: AccessD p? vegne af > > Charlotte Foust Sendt: 20. november 2015 > > 23:15 Til: Access Developers discussion and problem solving Emne: > > [AccessD] Connect String for Linked Table > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > Windows 10. I have code that worked just fine last year but is > > breaking this year because suddenly, if the back end file is moved > > or renamed, the code to set a tabledef object to the linked table in > > question can't find the linked table. Obviously, the table still > > exists because the linked table manager can see it, so it's still in > > the system tables, but the code breaks. > > > > Any ideas? > > > > Charlotte Foust > > (916) 206-4336 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 20 17:31:07 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 15:31:07 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: The linked tables are still there, as they should be since the links are in the front end. I used it originally to find a linked table to test in case the hard-coded one was missing. But what's baffling me it the inconsistent results. It should never return a false but it does! This is driving me crazy! My clients sometimes rename folders, which results in broken links. I've used tests before to determine if something had broken the links so I could prompt the user to browse to the correct folder. But in this case, it's not happening because the routine is returning a false on a broken-linked table. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 3:21 PM, Gustav Brock wrote: > Hi Charlotte > > Oh, I thought you meant some code for relinking the tables. > > I'm not sure I understand how you use this function? If the backend is > moved, the linked table objects in the frontend don't vanish. > So what may cause your linked table objects to be deleted? > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 21. november 2015 00:02 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Connect String for Linked Table > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > On Error Resume Next > Dim intCnt As Integer > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & > "'") > DoesObjectExist = (intCnt > 0) > End Function > > this *usually* returns true for a table with a broken link. Except, > sometimes it doesn't. It does when I call it from the immediate window, > but when it's called from code, it may return a False. If my hair weren't > already nearly white, it would be with this. > > I'm also sometimes getting "item not found in this collection" when I try > to call the above routine from code. > > Charlotte > > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > > > Hi Charlotte > > > > And your code is? > > > > /gustav > > > > ________________________________________ > > Fra: AccessD p? vegne af > Charlotte > > Foust > > Sendt: 20. november 2015 23:15 > > Til: Access Developers discussion and problem solving > > Emne: [AccessD] Connect String for Linked Table > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > Windows 10. I have code that worked just fine last year but is breaking > > this year because suddenly, if the back end file is moved or renamed, the > > code to set a tabledef object to the linked table in question can't find > > the linked table. Obviously, the table still exists because the linked > > table manager can see it, so it's still in the system tables, but the > code > > breaks. > > > > Any ideas? > > > > Charlotte Foust > > (916) 206-4336 > > -- > 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 Nov 20 17:33:27 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 15:33:27 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: The table isn't getting deleted, that's the crazy thing. It's still there, and it still appears in the navigation pane. The "item not found" was being triggered by the call to the DoesObjectExist function. I'm about ready to start googling for exorcists! Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan wrote: > I doubt that your problem les with this function. > > If it returns False "when called from code", then I'd suspect that your > code is deleting the > table before this function is called. > > What line is highlighted when you get the "item not found" error. > > On 20 Nov 2015 at 15:02, Charlotte Foust wrote: > > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > > On Error Resume Next > > Dim intCnt As Integer > > > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName > > & > > "'") > > DoesObjectExist = (intCnt > 0) > > End Function > > > > this *usually* returns true for a table with a broken link. Except, > > sometimes it doesn't. It does when I call it from the immediate > > window, but when it's called from code, it may return a False. If my > > hair weren't already nearly white, it would be with this. > > > > I'm also sometimes getting "item not found in this collection" when I > > try to call the above routine from code. > > > > Charlotte > > > > > > Charlotte Foust > > (916) 206-4336 > > > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock > > wrote: > > > > > Hi Charlotte > > > > > > And your code is? > > > > > > /gustav > > > > > > ________________________________________ > > > Fra: AccessD p? vegne af > > > Charlotte Foust Sendt: 20. november 2015 > > > 23:15 Til: Access Developers discussion and problem solving Emne: > > > [AccessD] Connect String for Linked Table > > > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > > Windows 10. I have code that worked just fine last year but is > > > breaking this year because suddenly, if the back end file is moved > > > or renamed, the code to set a tabledef object to the linked table in > > > question can't find the linked table. Obviously, the table still > > > exists because the linked table manager can see it, so it's still in > > > the system tables, but the code breaks. > > > > > > Any ideas? > > > > > > Charlotte Foust > > > (916) 206-4336 > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 20 17:46:07 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 15:46:07 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: Now I'm getting the "item not found" message on Set tdf = CurrentDb.TableDefs(strTableName) Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 3:33 PM, Charlotte Foust wrote: > The table isn't getting deleted, that's the crazy thing. It's still > there, and it still appears in the navigation pane. The "item not found" > was being triggered by the call to the DoesObjectExist function. I'm about > ready to start googling for exorcists! > > Charlotte > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan > wrote: > >> I doubt that your problem les with this function. >> >> If it returns False "when called from code", then I'd suspect that your >> code is deleting the >> table before this function is called. >> >> What line is highlighted when you get the "item not found" error. >> >> On 20 Nov 2015 at 15:02, Charlotte Foust wrote: >> >> > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean >> > On Error Resume Next >> > Dim intCnt As Integer >> > >> > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName >> > & >> > "'") >> > DoesObjectExist = (intCnt > 0) >> > End Function >> > >> > this *usually* returns true for a table with a broken link. Except, >> > sometimes it doesn't. It does when I call it from the immediate >> > window, but when it's called from code, it may return a False. If my >> > hair weren't already nearly white, it would be with this. >> > >> > I'm also sometimes getting "item not found in this collection" when I >> > try to call the above routine from code. >> > >> > Charlotte >> > >> > >> > Charlotte Foust >> > (916) 206-4336 >> > >> > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock >> > wrote: >> > >> > > Hi Charlotte >> > > >> > > And your code is? >> > > >> > > /gustav >> > > >> > > ________________________________________ >> > > Fra: AccessD p? vegne af >> > > Charlotte Foust Sendt: 20. november 2015 >> > > 23:15 Til: Access Developers discussion and problem solving Emne: >> > > [AccessD] Connect String for Linked Table >> > > >> > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on >> > > Windows 10. I have code that worked just fine last year but is >> > > breaking this year because suddenly, if the back end file is moved >> > > or renamed, the code to set a tabledef object to the linked table in >> > > question can't find the linked table. Obviously, the table still >> > > exists because the linked table manager can see it, so it's still in >> > > the system tables, but the code breaks. >> > > >> > > Any ideas? >> > > >> > > Charlotte Foust >> > > (916) 206-4336 >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > 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 outlook.com Fri Nov 20 18:00:40 2015 From: df.waters at outlook.com (Dan Waters) Date: Fri, 20 Nov 2015 18:00:40 -0600 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: Hi Charlotte, Just for something to try, replace 'CurrentDb' with 'DBEngine(0)(0)' to see if that works. Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 20, 2015 5:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connect String for Linked Table Now I'm getting the "item not found" message on Set tdf = CurrentDb.TableDefs(strTableName) Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 3:33 PM, Charlotte Foust wrote: > The table isn't getting deleted, that's the crazy thing. It's still > there, and it still appears in the navigation pane. The "item not found" > was being triggered by the call to the DoesObjectExist function. I'm > about ready to start googling for exorcists! > > Charlotte > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan > > wrote: > >> I doubt that your problem les with this function. >> >> If it returns False "when called from code", then I'd suspect that >> your code is deleting the table before this function is called. >> >> What line is highlighted when you get the "item not found" error. >> >> On 20 Nov 2015 at 15:02, Charlotte Foust wrote: >> >> > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean >> > On Error Resume Next >> > Dim intCnt As Integer >> > >> > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName >> > & >> > "'") >> > DoesObjectExist = (intCnt > 0) >> > End Function >> > >> > this *usually* returns true for a table with a broken link. Except, >> > sometimes it doesn't. It does when I call it from the immediate >> > window, but when it's called from code, it may return a False. If >> > my hair weren't already nearly white, it would be with this. >> > >> > I'm also sometimes getting "item not found in this collection" when >> > I try to call the above routine from code. >> > >> > Charlotte >> > >> > >> > Charlotte Foust >> > (916) 206-4336 >> > >> > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock >> > wrote: >> > >> > > Hi Charlotte >> > > >> > > And your code is? >> > > >> > > /gustav >> > > >> > > ________________________________________ >> > > Fra: AccessD p? vegne af >> > > Charlotte Foust Sendt: 20. november >> > > 2015 >> > > 23:15 Til: Access Developers discussion and problem solving Emne: >> > > [AccessD] Connect String for Linked Table >> > > >> > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 >> > > on Windows 10. I have code that worked just fine last year but >> > > is breaking this year because suddenly, if the back end file is >> > > moved or renamed, the code to set a tabledef object to the linked >> > > table in question can't find the linked table. Obviously, the >> > > table still exists because the linked table manager can see it, >> > > so it's still in the system tables, but the code breaks. >> > > >> > > Any ideas? >> > > >> > > Charlotte Foust >> > > (916) 206-4336 >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 20 18:03:47 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 16:03:47 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: Actually, I tried using currentdb that way because it was failing when I declared a database object and then set it to CurrentDb(). It's work a try though. This is making my nuts! Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 4:00 PM, Dan Waters wrote: > Hi Charlotte, > > Just for something to try, replace 'CurrentDb' with 'DBEngine(0)(0)' to > see if that works. > > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Friday, November 20, 2015 5:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Connect String for Linked Table > > Now I'm getting the "item not found" message on > > Set tdf = CurrentDb.TableDefs(strTableName) > > Charlotte > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 3:33 PM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > The table isn't getting deleted, that's the crazy thing. It's still > > there, and it still appears in the navigation pane. The "item not found" > > was being triggered by the call to the DoesObjectExist function. I'm > > about ready to start googling for exorcists! > > > > Charlotte > > > > Charlotte Foust > > (916) 206-4336 > > > > On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan > > > > wrote: > > > >> I doubt that your problem les with this function. > >> > >> If it returns False "when called from code", then I'd suspect that > >> your code is deleting the table before this function is called. > >> > >> What line is highlighted when you get the "item not found" error. > >> > >> On 20 Nov 2015 at 15:02, Charlotte Foust wrote: > >> > >> > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > >> > On Error Resume Next > >> > Dim intCnt As Integer > >> > > >> > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName > >> > & > >> > "'") > >> > DoesObjectExist = (intCnt > 0) > >> > End Function > >> > > >> > this *usually* returns true for a table with a broken link. Except, > >> > sometimes it doesn't. It does when I call it from the immediate > >> > window, but when it's called from code, it may return a False. If > >> > my hair weren't already nearly white, it would be with this. > >> > > >> > I'm also sometimes getting "item not found in this collection" when > >> > I try to call the above routine from code. > >> > > >> > Charlotte > >> > > >> > > >> > Charlotte Foust > >> > (916) 206-4336 > >> > > >> > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock > >> > wrote: > >> > > >> > > Hi Charlotte > >> > > > >> > > And your code is? > >> > > > >> > > /gustav > >> > > > >> > > ________________________________________ > >> > > Fra: AccessD p? vegne af > >> > > Charlotte Foust Sendt: 20. november > >> > > 2015 > >> > > 23:15 Til: Access Developers discussion and problem solving Emne: > >> > > [AccessD] Connect String for Linked Table > >> > > > >> > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 > >> > > on Windows 10. I have code that worked just fine last year but > >> > > is breaking this year because suddenly, if the back end file is > >> > > moved or renamed, the code to set a tabledef object to the linked > >> > > table in question can't find the linked table. Obviously, the > >> > > table still exists because the linked table manager can see it, > >> > > so it's still in the system tables, but the code breaks. > >> > > > >> > > Any ideas? > >> > > > >> > > Charlotte Foust > >> > > (916) 206-4336 > >> > > -- > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Nov 20 18:30:33 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Nov 2015 10:30:33 +1000 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: , <564FAC33.23937.14895607@stuart.lexacorp.com.pg>, Message-ID: <564FBB29.21953.14C3C5CB@stuart.lexacorp.com.pg> That sounds like a FE with a corrupt VBA module :( -- Stuart On 20 Nov 2015 at 15:33, Charlotte Foust wrote: > The table isn't getting deleted, that's the crazy thing. It's still > there, and it still appears in the navigation pane. The "item not > found" was being triggered by the call to the DoesObjectExist > function. I'm about ready to start googling for exorcists! > > Charlotte > From charlotte.foust at gmail.com Fri Nov 20 18:34:24 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 16:34:24 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: <564FBB29.21953.14C3C5CB@stuart.lexacorp.com.pg> References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> <564FBB29.21953.14C3C5CB@stuart.lexacorp.com.pg> Message-ID: I already created a new database and imported everything. Set the same references and it's working the same way. Everything imported except the broken links. It refused to import them. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 4:30 PM, Stuart McLachlan wrote: > That sounds like a FE with a corrupt VBA module :( > > -- > Stuart > > On 20 Nov 2015 at 15:33, Charlotte Foust wrote: > > > The table isn't getting deleted, that's the crazy thing. It's still > > there, and it still appears in the navigation pane. The "item not > > found" was being triggered by the call to the DoesObjectExist > > function. I'm about ready to start googling for exorcists! > > > > Charlotte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Fri Nov 20 18:47:41 2015 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 20 Nov 2015 16:47:41 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: will this work? With a linked table, the tabledef.Connect contains the connection information. With a non-linked table, the .Connect property is an empty string Dim tdf As DAO.TableDef With CurrentDb For Each tdf In .TableDefs If Len(tdf.Connect) > 0 Then Debug.Print tdf.Name, tdf.Connect End If Next End With On Fri, Nov 20, 2015 at 3:46 PM, Charlotte Foust wrote: > Now I'm getting the "item not found" message on > > Set tdf = CurrentDb.TableDefs(strTableName) > > Charlotte > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 3:33 PM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > The table isn't getting deleted, that's the crazy thing. It's still > > there, and it still appears in the navigation pane. The "item not found" > > was being triggered by the call to the DoesObjectExist function. I'm > about > > ready to start googling for exorcists! > > > > Charlotte > > > > Charlotte Foust > > (916) 206-4336 > > > > On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan < > stuart at lexacorp.com.pg> > > wrote: > > > >> I doubt that your problem les with this function. > >> > >> If it returns False "when called from code", then I'd suspect that your > >> code is deleting the > >> table before this function is called. > >> > >> What line is highlighted when you get the "item not found" error. > >> > >> On 20 Nov 2015 at 15:02, Charlotte Foust wrote: > >> > >> > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > >> > On Error Resume Next > >> > Dim intCnt As Integer > >> > > >> > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName > >> > & > >> > "'") > >> > DoesObjectExist = (intCnt > 0) > >> > End Function > >> > > >> > this *usually* returns true for a table with a broken link. Except, > >> > sometimes it doesn't. It does when I call it from the immediate > >> > window, but when it's called from code, it may return a False. If my > >> > hair weren't already nearly white, it would be with this. > >> > > >> > I'm also sometimes getting "item not found in this collection" when I > >> > try to call the above routine from code. > >> > > >> > Charlotte > >> > > >> > > >> > Charlotte Foust > >> > (916) 206-4336 > >> > > >> > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock > >> > wrote: > >> > > >> > > Hi Charlotte > >> > > > >> > > And your code is? > >> > > > >> > > /gustav > >> > > > >> > > ________________________________________ > >> > > Fra: AccessD p? vegne af > >> > > Charlotte Foust Sendt: 20. november > 2015 > >> > > 23:15 Til: Access Developers discussion and problem solving Emne: > >> > > [AccessD] Connect String for Linked Table > >> > > > >> > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > >> > > Windows 10. I have code that worked just fine last year but is > >> > > breaking this year because suddenly, if the back end file is moved > >> > > or renamed, the code to set a tabledef object to the linked table in > >> > > question can't find the linked table. Obviously, the table still > >> > > exists because the linked table manager can see it, so it's still in > >> > > the system tables, but the code breaks. > >> > > > >> > > Any ideas? > >> > > > >> > > Charlotte Foust > >> > > (916) 206-4336 > >> > > -- > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> 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 Nov 20 18:51:12 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Nov 2015 16:51:12 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: <564FAC33.23937.14895607@stuart.lexacorp.com.pg> Message-ID: Yes, I know. It goes right through the list of tabledefs and never finds those with broken links. My original code looked something like that. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 4:47 PM, David McAfee wrote: > will this work? > > With a linked table, the tabledef.Connect contains the connection > information. > With a non-linked table, the .Connect property is an empty string > > Dim tdf As DAO.TableDef > With CurrentDb > For Each tdf In .TableDefs > If Len(tdf.Connect) > 0 Then > Debug.Print tdf.Name, tdf.Connect > End If > Next > End With > > On Fri, Nov 20, 2015 at 3:46 PM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > Now I'm getting the "item not found" message on > > > > Set tdf = CurrentDb.TableDefs(strTableName) > > > > Charlotte > > > > Charlotte Foust > > (916) 206-4336 > > > > On Fri, Nov 20, 2015 at 3:33 PM, Charlotte Foust < > > charlotte.foust at gmail.com> > > wrote: > > > > > The table isn't getting deleted, that's the crazy thing. It's still > > > there, and it still appears in the navigation pane. The "item not > found" > > > was being triggered by the call to the DoesObjectExist function. I'm > > about > > > ready to start googling for exorcists! > > > > > > Charlotte > > > > > > Charlotte Foust > > > (916) 206-4336 > > > > > > On Fri, Nov 20, 2015 at 3:26 PM, Stuart McLachlan < > > stuart at lexacorp.com.pg> > > > wrote: > > > > > >> I doubt that your problem les with this function. > > >> > > >> If it returns False "when called from code", then I'd suspect that > your > > >> code is deleting the > > >> table before this function is called. > > >> > > >> What line is highlighted when you get the "item not found" error. > > >> > > >> On 20 Nov 2015 at 15:02, Charlotte Foust wrote: > > >> > > >> > Public Function DoesObjectExist(ByVal strObjName As String) As > Boolean > > >> > On Error Resume Next > > >> > Dim intCnt As Integer > > >> > > > >> > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & > strObjName > > >> > & > > >> > "'") > > >> > DoesObjectExist = (intCnt > 0) > > >> > End Function > > >> > > > >> > this *usually* returns true for a table with a broken link. Except, > > >> > sometimes it doesn't. It does when I call it from the immediate > > >> > window, but when it's called from code, it may return a False. If > my > > >> > hair weren't already nearly white, it would be with this. > > >> > > > >> > I'm also sometimes getting "item not found in this collection" when > I > > >> > try to call the above routine from code. > > >> > > > >> > Charlotte > > >> > > > >> > > > >> > Charlotte Foust > > >> > (916) 206-4336 > > >> > > > >> > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock > > >> > wrote: > > >> > > > >> > > Hi Charlotte > > >> > > > > >> > > And your code is? > > >> > > > > >> > > /gustav > > >> > > > > >> > > ________________________________________ > > >> > > Fra: AccessD p? vegne af > > >> > > Charlotte Foust Sendt: 20. november > > 2015 > > >> > > 23:15 Til: Access Developers discussion and problem solving Emne: > > >> > > [AccessD] Connect String for Linked Table > > >> > > > > >> > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 > on > > >> > > Windows 10. I have code that worked just fine last year but is > > >> > > breaking this year because suddenly, if the back end file is moved > > >> > > or renamed, the code to set a tabledef object to the linked table > in > > >> > > question can't find the linked table. Obviously, the table still > > >> > > exists because the linked table manager can see it, so it's still > in > > >> > > the system tables, but the code breaks. > > >> > > > > >> > > Any ideas? > > >> > > > > >> > > Charlotte Foust > > >> > > (916) 206-4336 > > >> > > -- > > >> > > AccessD mailing list > > >> > > AccessD at databaseadvisors.com > > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > > >> > > Website: http://www.databaseadvisors.com > > >> > > > > >> > -- > > >> > AccessD mailing list > > >> > AccessD at databaseadvisors.com > > >> > http://databaseadvisors.com/mailman/listinfo/accessd > > >> > Website: http://www.databaseadvisors.com > > >> > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 03:41:16 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 21 Nov 2015 09:41:16 +0000 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: , Message-ID: Hi Charlotte By second thought, I don't think you can check for a broken link other than trying to open the table and catch an error. A TableDef with a link doesn't go except if you delete it (why should you?). Or it might never has been there - it's a new table required by a new version of the application - and you would know that and have code that creates this TableDef. I just check one essential small table linked from the backend. If opening it fails, I relink all tables of that backend. /gustav ________________________________________ Fra: AccessD p? vegne af Charlotte Foust Sendt: 21. november 2015 00:02 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Connect String for Linked Table Public Function DoesObjectExist(ByVal strObjName As String) As Boolean On Error Resume Next Dim intCnt As Integer intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & "'") DoesObjectExist = (intCnt > 0) End Function this *usually* returns true for a table with a broken link. Except, sometimes it doesn't. It does when I call it from the immediate window, but when it's called from code, it may return a False. If my hair weren't already nearly white, it would be with this. I'm also sometimes getting "item not found in this collection" when I try to call the above routine from code. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > Hi Charlotte > > And your code is? > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 20. november 2015 23:15 > Til: Access Developers discussion and problem solving > Emne: [AccessD] Connect String for Linked Table > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > Windows 10. I have code that worked just fine last year but is breaking > this year because suddenly, if the back end file is moved or renamed, the > code to set a tabledef object to the linked table in question can't find > the linked table. Obviously, the table still exists because the linked > table manager can see it, so it's still in the system tables, but the code > breaks. > > Any ideas? > > Charlotte Foust > (916) 206-4336 From jimdettman at verizon.net Sat Nov 21 06:26:21 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 21 Nov 2015 07:26:21 -0500 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: , Message-ID: Charlotte, Yes, that's exactly the method you need to use. I would say the same for checking for the existence of a tabledef and not rely on looking at msysobjects. The reason I say that is because the tables are un-documented, so you never know what changes Microsoft might make in them. Msysobjects is pretty safe and a lot of people have used it however. I've never heard of anyone having a problem, but you are using a backdoor method. Personally I've always used a method/property through the object model rather than anything direct. In this case I do: Function DoesTblExist(strTblName As String) As Boolean Dim db As DAO.Database, tbl As DAO.TableDef On Error Resume Next Set db = CurDb(True) Set tbl = db.TableDefs(strTblName) If Err.Number = 3265 Then DoesTblExist = False Else DoesTblExist = True End If End Function As for checking the link, I do what gustav suggested and attempt to open a recordset on the table: Function IsJETTableAttached(strDatabaseName As String, strTableName As String) As Integer Dim rstTest As DAO.Recordset Dim intRet As Integer On Error Resume Next Err = 0 Set rstTest = CurDb.OpenRecordset("SELECT * FROM " & strTableName & " WHERE 1 = 0") If Err = 0 Then intRet = True Else intRet = RefreshJETTables(strDatabaseName) End If rstTest.Close Set rstTest = Nothing IsJETTableAttached = intRet If IsJETTableAttached = False Then Call ApplicationExit End If End Function The WHERE 1 = 0 is a cheap way to return no records. I also allow the user to browse to the location of the BE in RefreshJETTables(), which is why the logic is the way it is. The BE database name is explicitly passed in intentionally rather than relying on what's in the TableDefs connect string. Couple other points: 1. I'd check what's being passed to the routine as a table name when called from code. Looks to me like a problem with the call rather than the routine. 2. CurrentDB() vs dbEngine(0)(0): CurrentDB() is Access's reference to the database, dbengine is JET's. Access's is the one you want to use as it will always be up to date. If you want to know a little more about all that and a method that gives you the best of both worlds, give this a read: CurrentDB() vs. dbEngine.Workspaces(0).Databases(0) and an alternative http://rdsrc.us/rO0m9j 3. Your existing routine could be simplified a bit: Public Function DoesObjectExist(ByVal strObjName As String) As Boolean On Error Resume Next DoesObjectExist = DCount("*", "MSysObjects", "[Name] = '" & strObjName & "'")>0 End Function Don't need the variable really and the count should use "*" instead of a field name. The asterisk has optimizations built-in to speed up the count. Both are very moot points given the task at hand, but it would be fractionally faster. HTH, Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, November 21, 2015 04:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connect String for Linked Table Hi Charlotte By second thought, I don't think you can check for a broken link other than trying to open the table and catch an error. A TableDef with a link doesn't go except if you delete it (why should you?). Or it might never has been there - it's a new table required by a new version of the application - and you would know that and have code that creates this TableDef. I just check one essential small table linked from the backend. If opening it fails, I relink all tables of that backend. /gustav ________________________________________ Fra: AccessD p? vegne af Charlotte Foust Sendt: 21. november 2015 00:02 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Connect String for Linked Table Public Function DoesObjectExist(ByVal strObjName As String) As Boolean On Error Resume Next Dim intCnt As Integer intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & "'") DoesObjectExist = (intCnt > 0) End Function this *usually* returns true for a table with a broken link. Except, sometimes it doesn't. It does when I call it from the immediate window, but when it's called from code, it may return a False. If my hair weren't already nearly white, it would be with this. I'm also sometimes getting "item not found in this collection" when I try to call the above routine from code. Charlotte Charlotte Foust (916) 206-4336 On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > Hi Charlotte > > And your code is? > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 20. november 2015 23:15 > Til: Access Developers discussion and problem solving > Emne: [AccessD] Connect String for Linked Table > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > Windows 10. I have code that worked just fine last year but is breaking > this year because suddenly, if the back end file is moved or renamed, the > code to set a tabledef object to the linked table in question can't find > the linked table. Obviously, the table still exists because the linked > table manager can see it, so it's still in the system tables, but the code > breaks. > > Any ideas? > > Charlotte Foust > (916) 206-4336 -- 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 Nov 21 09:22:41 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 21 Nov 2015 07:22:41 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: I've been using this approach for years and with no problems ... until now. The table I'm testing has to be there so it isn't deleted ever. I'm going around in circles! Charlotte On Nov 21, 2015 1:42 AM, "Gustav Brock" wrote: > Hi Charlotte > > By second thought, I don't think you can check for a broken link other > than trying to open the table and catch an error. > > A TableDef with a link doesn't go except if you delete it (why should > you?). Or it might never has been there - it's a new table required by a > new version of the application - and you would know that and have code that > creates this TableDef. > > I just check one essential small table linked from the backend. If opening > it fails, I relink all tables of that backend. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 21. november 2015 00:02 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Connect String for Linked Table > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > On Error Resume Next > Dim intCnt As Integer > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & > "'") > DoesObjectExist = (intCnt > 0) > End Function > > this *usually* returns true for a table with a broken link. Except, > sometimes it doesn't. It does when I call it from the immediate window, > but when it's called from code, it may return a False. If my hair weren't > already nearly white, it would be with this. > > I'm also sometimes getting "item not found in this collection" when I try > to call the above routine from code. > > Charlotte > > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > > > Hi Charlotte > > > > And your code is? > > > > /gustav > > > > ________________________________________ > > Fra: AccessD p? vegne af > Charlotte > > Foust > > Sendt: 20. november 2015 23:15 > > Til: Access Developers discussion and problem solving > > Emne: [AccessD] Connect String for Linked Table > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > Windows 10. I have code that worked just fine last year but is breaking > > this year because suddenly, if the back end file is moved or renamed, the > > code to set a tabledef object to the linked table in question can't find > > the linked table. Obviously, the table still exists because the linked > > table manager can see it, so it's still in the system tables, but the > code > > breaks. > > > > Any ideas? > > > > Charlotte Foust > > (916) 206-4336 > > -- > 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 Nov 21 10:41:30 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 21 Nov 2015 08:41:30 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: Thanks Jim, I've already done all those things and I can step through the code and watch it fail. I just can't find a reason why. I tried setting a tabledef variable to the object using the current access methods. When that failed, I tried checking to see if the table existed. I started off simple and got more complicated as I tried to determine why something built-in should fail. Originally, I just set the variable to the tabledef object so I could read its connection property. That didn't work because access insisted the item wasn't found in tabledefs. This is driving me around me around the bend. Charlotte On Nov 21, 2015 4:26 AM, "Jim Dettman" wrote: > Charlotte, > > Yes, that's exactly the method you need to use. > > I would say the same for checking for the existence of a tabledef and not > rely on looking at msysobjects. The reason I say that is because the > tables > are un-documented, so you never know what changes Microsoft might make in > them. > > Msysobjects is pretty safe and a lot of people have used it however. I've > never heard of anyone having a problem, but you are using a backdoor > method. > Personally I've always used a method/property through the object model > rather than anything direct. In this case I do: > > Function DoesTblExist(strTblName As String) As Boolean > > Dim db As DAO.Database, tbl As DAO.TableDef > > On Error Resume Next > > Set db = CurDb(True) > Set tbl = db.TableDefs(strTblName) > > If Err.Number = 3265 Then > DoesTblExist = False > Else > DoesTblExist = True > End If > > End Function > > > As for checking the link, I do what gustav suggested and attempt to open a > recordset on the table: > > > Function IsJETTableAttached(strDatabaseName As String, strTableName As > String) As Integer > > Dim rstTest As DAO.Recordset > Dim intRet As Integer > > On Error Resume Next > Err = 0 > > Set rstTest = CurDb.OpenRecordset("SELECT * FROM " & strTableName & " > WHERE 1 = 0") > > If Err = 0 Then > intRet = True > Else > intRet = RefreshJETTables(strDatabaseName) > End If > > rstTest.Close > Set rstTest = Nothing > > IsJETTableAttached = intRet > > If IsJETTableAttached = False Then > Call ApplicationExit > End If > > End Function > > The WHERE 1 = 0 is a cheap way to return no records. I also allow the > user to browse to the location of the BE in RefreshJETTables(), which is > why > the logic is the way it is. The BE database name is explicitly passed in > intentionally rather than relying on what's in the TableDefs connect > string. > > > Couple other points: > > 1. I'd check what's being passed to the routine as a table name when called > from code. Looks to me like a problem with the call rather than the > routine. > > 2. CurrentDB() vs dbEngine(0)(0): CurrentDB() is Access's reference to the > database, dbengine is JET's. Access's is the one you want to use as it > will always be up to date. If you want to know a little more about all > that and a method that gives you the best of both worlds, give this a read: > > CurrentDB() vs. dbEngine.Workspaces(0).Databases(0) and an alternative > http://rdsrc.us/rO0m9j > > 3. Your existing routine could be simplified a bit: > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > > On Error Resume Next > > DoesObjectExist = DCount("*", "MSysObjects", "[Name] = '" & strObjName > & > "'")>0 > > End Function > > Don't need the variable really and the count should use "*" instead of a > field name. The asterisk has optimizations built-in to speed up the count. > > Both are very moot points given the task at hand, but it would be > fractionally faster. > > HTH, > Jim. > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Saturday, November 21, 2015 04:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Connect String for Linked Table > > Hi Charlotte > > By second thought, I don't think you can check for a broken link other than > trying to open the table and catch an error. > > A TableDef with a link doesn't go except if you delete it (why should > you?). > Or it might never has been there - it's a new table required by a new > version of the application - and you would know that and have code that > creates this TableDef. > > I just check one essential small table linked from the backend. If opening > it fails, I relink all tables of that backend. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 21. november 2015 00:02 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Connect String for Linked Table > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > On Error Resume Next > Dim intCnt As Integer > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & > "'") > DoesObjectExist = (intCnt > 0) > End Function > > this *usually* returns true for a table with a broken link. Except, > sometimes it doesn't. It does when I call it from the immediate window, > but when it's called from code, it may return a False. If my hair weren't > already nearly white, it would be with this. > > I'm also sometimes getting "item not found in this collection" when I try > to call the above routine from code. > > Charlotte > > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > > > Hi Charlotte > > > > And your code is? > > > > /gustav > > > > ________________________________________ > > Fra: AccessD p? vegne af > Charlotte > > Foust > > Sendt: 20. november 2015 23:15 > > Til: Access Developers discussion and problem solving > > Emne: [AccessD] Connect String for Linked Table > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > Windows 10. I have code that worked just fine last year but is breaking > > this year because suddenly, if the back end file is moved or renamed, the > > code to set a tabledef object to the linked table in question can't find > > the linked table. Obviously, the table still exists because the linked > > table manager can see it, so it's still in the system tables, but the > code > > breaks. > > > > Any ideas? > > > > Charlotte Foust > > (916) 206-4336 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 outlook.com Sat Nov 21 11:04:42 2015 From: df.waters at outlook.com (Dan Waters) Date: Sat, 21 Nov 2015 11:04:42 -0600 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: Hi Charlotte, Let's try something: 1) Create a shortcut to your Access app file. 2) Rename the shortcut to include the word 'Decompile' for your reference later on. 3) Open the properties of that shortcut. At the end of the Target type in ' /decompile' (with a space and without the apostrophes). 4) Right-click the new shortcut to display the menu. Hold down the Shift key and click on Open at the top of the menu. Your app will open and will decompile, but will not run. 5) Open a code window. First, push the Save button. Then Compile the app using Debug | Compile. Then push Save again. 6) If you are having a code issue, you might see it when you compile the app. 7) You might notice a size reduction in the file when you do this. I read about this procedure somewhere, and it has helped me occasionally. HTH! Dan From jimdettman at verizon.net Sat Nov 21 11:04:53 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 21 Nov 2015 12:04:53 -0500 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: If you can work up a small sample db, feel free to forward and I'll have a look. Would probably be tomorrow though before I get to it; one last ride on the bike before the snow flies, mowers need to go away, and the snow blower needs to come out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, November 21, 2015 11:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connect String for Linked Table Thanks Jim, I've already done all those things and I can step through the code and watch it fail. I just can't find a reason why. I tried setting a tabledef variable to the object using the current access methods. When that failed, I tried checking to see if the table existed. I started off simple and got more complicated as I tried to determine why something built-in should fail. Originally, I just set the variable to the tabledef object so I could read its connection property. That didn't work because access insisted the item wasn't found in tabledefs. This is driving me around me around the bend. Charlotte On Nov 21, 2015 4:26 AM, "Jim Dettman" wrote: > Charlotte, > > Yes, that's exactly the method you need to use. > > I would say the same for checking for the existence of a tabledef and not > rely on looking at msysobjects. The reason I say that is because the > tables > are un-documented, so you never know what changes Microsoft might make in > them. > > Msysobjects is pretty safe and a lot of people have used it however. I've > never heard of anyone having a problem, but you are using a backdoor > method. > Personally I've always used a method/property through the object model > rather than anything direct. In this case I do: > > Function DoesTblExist(strTblName As String) As Boolean > > Dim db As DAO.Database, tbl As DAO.TableDef > > On Error Resume Next > > Set db = CurDb(True) > Set tbl = db.TableDefs(strTblName) > > If Err.Number = 3265 Then > DoesTblExist = False > Else > DoesTblExist = True > End If > > End Function > > > As for checking the link, I do what gustav suggested and attempt to open a > recordset on the table: > > > Function IsJETTableAttached(strDatabaseName As String, strTableName As > String) As Integer > > Dim rstTest As DAO.Recordset > Dim intRet As Integer > > On Error Resume Next > Err = 0 > > Set rstTest = CurDb.OpenRecordset("SELECT * FROM " & strTableName & " > WHERE 1 = 0") > > If Err = 0 Then > intRet = True > Else > intRet = RefreshJETTables(strDatabaseName) > End If > > rstTest.Close > Set rstTest = Nothing > > IsJETTableAttached = intRet > > If IsJETTableAttached = False Then > Call ApplicationExit > End If > > End Function > > The WHERE 1 = 0 is a cheap way to return no records. I also allow the > user to browse to the location of the BE in RefreshJETTables(), which is > why > the logic is the way it is. The BE database name is explicitly passed in > intentionally rather than relying on what's in the TableDefs connect > string. > > > Couple other points: > > 1. I'd check what's being passed to the routine as a table name when called > from code. Looks to me like a problem with the call rather than the > routine. > > 2. CurrentDB() vs dbEngine(0)(0): CurrentDB() is Access's reference to the > database, dbengine is JET's. Access's is the one you want to use as it > will always be up to date. If you want to know a little more about all > that and a method that gives you the best of both worlds, give this a read: > > CurrentDB() vs. dbEngine.Workspaces(0).Databases(0) and an alternative > http://rdsrc.us/rO0m9j > > 3. Your existing routine could be simplified a bit: > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > > On Error Resume Next > > DoesObjectExist = DCount("*", "MSysObjects", "[Name] = '" & strObjName > & > "'")>0 > > End Function > > Don't need the variable really and the count should use "*" instead of a > field name. The asterisk has optimizations built-in to speed up the count. > > Both are very moot points given the task at hand, but it would be > fractionally faster. > > HTH, > Jim. > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Saturday, November 21, 2015 04:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Connect String for Linked Table > > Hi Charlotte > > By second thought, I don't think you can check for a broken link other than > trying to open the table and catch an error. > > A TableDef with a link doesn't go except if you delete it (why should > you?). > Or it might never has been there - it's a new table required by a new > version of the application - and you would know that and have code that > creates this TableDef. > > I just check one essential small table linked from the backend. If opening > it fails, I relink all tables of that backend. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af Charlotte > Foust > Sendt: 21. november 2015 00:02 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Connect String for Linked Table > > Public Function DoesObjectExist(ByVal strObjName As String) As Boolean > On Error Resume Next > Dim intCnt As Integer > > intCnt = DCount("[Name]", "MSysObjects", "[Name] = '" & strObjName & > "'") > DoesObjectExist = (intCnt > 0) > End Function > > this *usually* returns true for a table with a broken link. Except, > sometimes it doesn't. It does when I call it from the immediate window, > but when it's called from code, it may return a False. If my hair weren't > already nearly white, it would be with this. > > I'm also sometimes getting "item not found in this collection" when I try > to call the above routine from code. > > Charlotte > > > Charlotte Foust > (916) 206-4336 > > On Fri, Nov 20, 2015 at 2:57 PM, Gustav Brock wrote: > > > Hi Charlotte > > > > And your code is? > > > > /gustav > > > > ________________________________________ > > Fra: AccessD p? vegne af > Charlotte > > Foust > > Sendt: 20. november 2015 23:15 > > Til: Access Developers discussion and problem solving > > Emne: [AccessD] Connect String for Linked Table > > > > I'm working on a db built in 2010 on Windows 7 but I'm using 2013 on > > Windows 10. I have code that worked just fine last year but is breaking > > this year because suddenly, if the back end file is moved or renamed, the > > code to set a tabledef object to the linked table in question can't find > > the linked table. Obviously, the table still exists because the linked > > table manager can see it, so it's still in the system tables, but the > code > > breaks. > > > > Any ideas? > > > > Charlotte Foust > > (916) 206-4336 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 11:15:13 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 21 Nov 2015 09:15:13 -0800 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: I already tried decompiling and recompiling. No difference. Believe me guys, I've tried everything you're suggesting. That's why I'm here, hoping someone will have a brainstorm and come up with a reason or a new idea. Charlotte Charlotte Foust (916) 206-4336 On Sat, Nov 21, 2015 at 9:04 AM, Dan Waters wrote: > Hi Charlotte, > > Let's try something: > > 1) Create a shortcut to your Access app file. > 2) Rename the shortcut to include the word 'Decompile' for your reference > later on. > 3) Open the properties of that shortcut. At the end of the Target type in > ' /decompile' (with a space and without the apostrophes). > 4) Right-click the new shortcut to display the menu. Hold down the Shift > key and click on Open at the top of the menu. Your app will open and will > decompile, but will not run. > 5) Open a code window. First, push the Save button. Then Compile the app > using Debug | Compile. Then push Save again. > 6) If you are having a code issue, you might see it when you compile the > app. > 7) You might notice a size reduction in the file when you do this. > > I read about this procedure somewhere, and it has helped me occasionally. > > HTH! > Dan > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sat Nov 21 14:16:39 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 21 Nov 2015 15:16:39 -0500 Subject: [AccessD] Connect String for Linked Table In-Reply-To: References: Message-ID: <794934DB9A65486E87BACC0F3B63E229@XPS> If you open msysobjects, can you find the table name? I'm in BTW if you want to send something along. jimdettman at online-computer-services.net Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, November 21, 2015 12:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connect String for Linked Table I already tried decompiling and recompiling. No difference. Believe me guys, I've tried everything you're suggesting. That's why I'm here, hoping someone will have a brainstorm and come up with a reason or a new idea. Charlotte Charlotte Foust (916) 206-4336 On Sat, Nov 21, 2015 at 9:04 AM, Dan Waters wrote: > Hi Charlotte, > > Let's try something: > > 1) Create a shortcut to your Access app file. > 2) Rename the shortcut to include the word 'Decompile' for your reference > later on. > 3) Open the properties of that shortcut. At the end of the Target type in > ' /decompile' (with a space and without the apostrophes). > 4) Right-click the new shortcut to display the menu. Hold down the Shift > key and click on Open at the top of the menu. Your app will open and will > decompile, but will not run. > 5) Open a code window. First, push the Save button. Then Compile the app > using Debug | Compile. Then push Save again. > 6) If you are having a code issue, you might see it when you compile the > app. > 7) You might notice a size reduction in the file when you do this. > > I read about this procedure somewhere, and it has helped me occasionally. > > HTH! > Dan > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com