From marksimms at verizon.net Sat Dec 1 19:39:17 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 01 Dec 2012 20:39:17 -0500 Subject: [AccessD] Event Flag or Error Flag with Data Change In-Reply-To: References: <456277404.703794.1354222417464.JavaMail.root@sz0143a.emeryville.ca.mail.comcast.net>, <50B82553.12747.5893484@stuart.lexacorp.com.pg>, <56653D383CB80341995245C537A9E7B53436BDFA@SINPRD0410MB381.apcprd04.prod.outlook.com><50B83FA8.23031.5F00FC7@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B53436BEBD@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <000001cdd02d$d96baa70$8c42ff50$@net> Oh wow, this is so appropriate to what I've been saying about dynamic aka "string-based" SQL in Access. It really, REALLY stinks for ongoing maintenance and support. I try to keep as much as possible in cataloged queries that have a load of text in the Description. > Trying to find the VBA routine that made this or that > change to the data in a field has become a real challenge. From darren at activebilling.com.au Mon Dec 3 07:18:03 2012 From: darren at activebilling.com.au (Darren) Date: Tue, 4 Dec 2012 00:18:03 +1100 Subject: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates In-Reply-To: References: <02ff01cdccf4$1eba8840$5c2f98c0$@activebilling.com.au><09CD4682077B4257ABC6EE06D6D6D938@HAL9007><033701cdccfb$e4f87c40$aee974c0$@activebilling.com.au><73592D3CE14647F5866B29CA6694EDEE@HAL9007><37A418EE953D494389E1CFD00DA03D70@creativesystemdesigns.com> Message-ID: <022401cdd158$a21e14a0$e65a3de0$@activebilling.com.au> Hi Brad Create a form and drop an Internet Browser Control onto that form. Then open the form in run time and 'drag and drop' said file onto the Browser control. Should open the file and display it nicely - without edits. The file name can also be determined too, from the dragging and drop - very nice for dealing with file names etc. I'll send you a demo off-line - Lemme know if there are any "me toos" directly to my email and not to the list darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 1 December 2012 6:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Stuart, Rusty, Jack, Thanks for your ideas and insights. For the near term, I am planning to employ a second (behind the scenes) file. For the long term, I may use a linked table as I was finally able to get Access to treat the one large field as a memo field. Another approach that I spent a little time on is to fire up Internet Explorer to display the flat file data as it cannot update the data in the file. Thanks again for the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, November 29, 2012 3:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Brad,, I don't really know how to do what you're asking, but just thinking as I'm typing here--- Since anyone who wants to see the Log would only be interested in what is currently in the log (available up to the time they make a request), they really don't have a need to see the "Log file" per se. They could be shown a Read Only copy (from the instant they make the request so to speak) -- and leave the real Log for continued system/processing activity. So if they were to get to the LogCopy, and alter the attributes from readOnly and then alter some data-- they are still working with a copy. I don't know if that helps, but does keep them from the "production/active" log. Anyway, that and a $1.80 might get you a coffee.. Jack On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks wrote: > All, > > We have an EDI application that has been built with Access 2007. It > works nicely. > > Recently there has been a request to add a new feature to the system > that will allow the users to see the generated EDI audit trail file. > This is a flat file. > > I have added a button to the main form to open the Audit Trail file with > notepad. This works fine, except that now there is a possibility that > the users could accidentally change the data in this file. > > I don't think that I can set security to overcome this issue, because > the EDI Application adds records to this Audit Trail file (behind the > scenes). > > I thought that another possible solution would be to treat the Audit > Trail file as Linked Table in Access. > > The catch is that the fields in the records are not delimited and the > records can be over 256 bytes. > > Is there a way to tell Access to treat the records as one big memo > field? > > Maybe there is another way to handle this situation. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Dec 3 07:23:20 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 3 Dec 2012 07:23:20 -0600 Subject: [AccessD] Need to access EDI Audit Trail (Flat File) andNot Allow Updates References: <02ff01cdccf4$1eba8840$5c2f98c0$@activebilling.com.au><09CD4682077B4257ABC6EE06D6D6D938@HAL9007><033701cdccfb$e4f87c40$aee974c0$@activebilling.com.au><73592D3CE14647F5866B29CA6694EDEE@HAL9007><37A418EE953D494389E1CFD00DA03D70@creativesystemdesigns.com> <022401cdd158$a21e14a0$e65a3de0$@activebilling.com.au> Message-ID: Darren, Thanks for your ideas and your offer to send a demo. I think that your approach will work nicely for the issue that I am dealing with and it will also be helpful for future use in other situations. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Darren Sent: Mon 12/3/2012 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) andNot Allow Updates Hi Brad Create a form and drop an Internet Browser Control onto that form. Then open the form in run time and 'drag and drop' said file onto the Browser control. Should open the file and display it nicely - without edits. The file name can also be determined too, from the dragging and drop - very nice for dealing with file names etc. I'll send you a demo off-line - Lemme know if there are any "me toos" directly to my email and not to the list darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 1 December 2012 6:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Stuart, Rusty, Jack, Thanks for your ideas and insights. For the near term, I am planning to employ a second (behind the scenes) file. For the long term, I may use a linked table as I was finally able to get Access to treat the one large field as a memo field. Another approach that I spent a little time on is to fire up Internet Explorer to display the flat file data as it cannot update the data in the file. Thanks again for the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, November 29, 2012 3:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Brad,, I don't really know how to do what you're asking, but just thinking as I'm typing here--- Since anyone who wants to see the Log would only be interested in what is currently in the log (available up to the time they make a request), they really don't have a need to see the "Log file" per se. They could be shown a Read Only copy (from the instant they make the request so to speak) -- and leave the real Log for continued system/processing activity. So if they were to get to the LogCopy, and alter the attributes from readOnly and then alter some data-- they are still working with a copy. I don't know if that helps, but does keep them from the "production/active" log. Anyway, that and a $1.80 might get you a coffee.. Jack On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks wrote: > All, > > We have an EDI application that has been built with Access 2007. It > works nicely. > > Recently there has been a request to add a new feature to the system > that will allow the users to see the generated EDI audit trail file. > This is a flat file. > > I have added a button to the main form to open the Audit Trail file with > notepad. This works fine, except that now there is a possibility that > the users could accidentally change the data in this file. > > I don't think that I can set security to overcome this issue, because > the EDI Application adds records to this Audit Trail file (behind the > scenes). > > I thought that another possible solution would be to treat the Audit > Trail file as Linked Table in Access. > > The catch is that the fields in the records are not delimited and the > records can be over 256 bytes. > > Is there a way to tell Access to treat the records as one big memo > field? > > Maybe there is another way to handle this situation. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From rockysmolin at bchacc.com Mon Dec 3 07:38:41 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 3 Dec 2012 05:38:41 -0800 Subject: [AccessD] Need to access EDI Audit Trail (Flat File)andNot Allow Updates In-Reply-To: References: <02ff01cdccf4$1eba8840$5c2f98c0$@activebilling.com.au><09CD4682077B4257ABC6EE06D6D6D938@HAL9007><033701cdccfb$e4f87c40$aee974c0$@activebilling.com.au><73592D3CE14647F5866B29CA6694EDEE@HAL9007><37A418EE953D494389E1CFD00DA03D70@creativesystemdesigns.com> <022401cdd158$a21e14a0$e65a3de0$@activebilling.com.au> Message-ID: <5F30ACD7F2734D139CFCDEE0D28ABE19@HAL9007> Is the internet browser control available only in 2010 or also in 2007 and 2003? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Monday, December 03, 2012 5:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File)andNot Allow Updates Darren, Thanks for your ideas and your offer to send a demo. I think that your approach will work nicely for the issue that I am dealing with and it will also be helpful for future use in other situations. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Darren Sent: Mon 12/3/2012 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) andNot Allow Updates Hi Brad Create a form and drop an Internet Browser Control onto that form. Then open the form in run time and 'drag and drop' said file onto the Browser control. Should open the file and display it nicely - without edits. The file name can also be determined too, from the dragging and drop - very nice for dealing with file names etc. I'll send you a demo off-line - Lemme know if there are any "me toos" directly to my email and not to the list darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 1 December 2012 6:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Stuart, Rusty, Jack, Thanks for your ideas and insights. For the near term, I am planning to employ a second (behind the scenes) file. For the long term, I may use a linked table as I was finally able to get Access to treat the one large field as a memo field. Another approach that I spent a little time on is to fire up Internet Explorer to display the flat file data as it cannot update the data in the file. Thanks again for the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, November 29, 2012 3:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Brad,, I don't really know how to do what you're asking, but just thinking as I'm typing here--- Since anyone who wants to see the Log would only be interested in what is currently in the log (available up to the time they make a request), they really don't have a need to see the "Log file" per se. They could be shown a Read Only copy (from the instant they make the request so to speak) -- and leave the real Log for continued system/processing activity. So if they were to get to the LogCopy, and alter the attributes from readOnly and then alter some data-- they are still working with a copy. I don't know if that helps, but does keep them from the "production/active" log. Anyway, that and a $1.80 might get you a coffee.. Jack On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks wrote: > All, > > We have an EDI application that has been built with Access 2007. It > works nicely. > > Recently there has been a request to add a new feature to the system > that will allow the users to see the generated EDI audit trail file. > This is a flat file. > > I have added a button to the main form to open the Audit Trail file with > notepad. This works fine, except that now there is a possibility that > the users could accidentally change the data in this file. > > I don't think that I can set security to overcome this issue, because > the EDI Application adds records to this Audit Trail file (behind the > scenes). > > I thought that another possible solution would be to treat the Audit > Trail file as Linked Table in Access. > > The catch is that the fields in the records are not delimited and the > records can be over 256 bytes. > > Is there a way to tell Access to treat the records as one big memo > field? > > Maybe there is another way to handle this situation. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Mon Dec 3 10:57:28 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 04 Dec 2012 02:57:28 +1000 Subject: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates In-Reply-To: <022401cdd158$a21e14a0$e65a3de0$@activebilling.com.au> References: <02ff01cdccf4$1eba8840$5c2f98c0$@activebilling.com.au>, , <022401cdd158$a21e14a0$e65a3de0$@activebilling.com.au> Message-ID: <50BCD9F8.6630.17EAB825@stuart.lexacorp.com.pg> Just a thought - do you need to ensure that IE is configured to display rather than download files with the log file's extension? -- Stuart On 4 Dec 2012 at 0:18, Darren wrote: > Hi Brad > > Create a form and drop an Internet Browser Control onto that form. > Then open the form in run time and 'drag and drop' said file onto the > Browser control. > Should open the file and display it nicely - without edits. > The file name can also be determined too, from the dragging and drop - very > nice for dealing with file names etc. > I'll send you a demo off-line - Lemme know if there are any "me toos" > directly to my email and not to the list > > darren > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Saturday, 1 December 2012 6:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not > Allow Updates > > Stuart, Rusty, Jack, > > Thanks for your ideas and insights. > > For the near term, I am planning to employ a second (behind the scenes) > file. > > For the long term, I may use a linked table as I was finally able to get > Access to treat the one large field as a memo field. > > Another approach that I spent a little time on is to fire up Internet > Explorer to display the flat file data as it cannot update the data in the > file. > > Thanks again for the help. > > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge > Sent: Thursday, November 29, 2012 3:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not > Allow Updates > > Brad,, I don't really know how to do what you're asking, but just thinking > as I'm typing here--- Since anyone who wants to see the Log would only be > interested in what is currently in the log (available up to the time they > make a request), they really don't have a need to see the "Log file" per se. > They could be shown a Read Only copy (from the instant they make the request > so to speak) -- and leave the real Log for continued system/processing > activity. > > So if they were to get to the LogCopy, and alter the attributes from > readOnly and then alter some data-- they are still working with a copy. > > I don't know if that helps, but does keep them from the "production/active" > log. > > Anyway, that and a $1.80 might get you a coffee.. > > Jack > > On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks > wrote: > > > All, > > > > We have an EDI application that has been built with Access 2007. It > > works nicely. > > > > Recently there has been a request to add a new feature to the system > > that will allow the users to see the generated EDI audit trail file. > > This is a flat file. > > > > I have added a button to the main form to open the Audit Trail file > with > > notepad. This works fine, except that now there is a possibility that > > the users could accidentally change the data in this file. > > > > I don't think that I can set security to overcome this issue, because > > the EDI Application adds records to this Audit Trail file (behind the > > scenes). > > > > I thought that another possible solution would be to treat the Audit > > Trail file as Linked Table in Access. > > > > The catch is that the fields in the records are not delimited and the > > records can be over 256 bytes. > > > > Is there a way to tell Access to treat the records as one big memo > > field? > > > > Maybe there is another way to handle this situation. > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Mon Dec 3 16:26:53 2012 From: darren at activebilling.com.au (Darren) Date: Tue, 4 Dec 2012 09:26:53 +1100 Subject: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Message-ID: <029101cdd1a5$4d5a1250$e80e36f0$@activebilling.com.au> Hi Rocky I'm using Access 2002 and I have it D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 4 December 2012 12:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File)andNot Allow Updates Is the internet browser control available only in 2010 or also in 2007 and 2003? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Monday, December 03, 2012 5:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File)andNot Allow Updates Darren, Thanks for your ideas and your offer to send a demo. I think that your approach will work nicely for the issue that I am dealing with and it will also be helpful for future use in other situations. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Darren Sent: Mon 12/3/2012 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) andNot Allow Updates Hi Brad Create a form and drop an Internet Browser Control onto that form. Then open the form in run time and 'drag and drop' said file onto the Browser control. Should open the file and display it nicely - without edits. The file name can also be determined too, from the dragging and drop - very nice for dealing with file names etc. I'll send you a demo off-line - Lemme know if there are any "me toos" directly to my email and not to the list darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 1 December 2012 6:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Stuart, Rusty, Jack, Thanks for your ideas and insights. For the near term, I am planning to employ a second (behind the scenes) file. For the long term, I may use a linked table as I was finally able to get Access to treat the one large field as a memo field. Another approach that I spent a little time on is to fire up Internet Explorer to display the flat file data as it cannot update the data in the file. Thanks again for the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, November 29, 2012 3:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Brad,, I don't really know how to do what you're asking, but just thinking as I'm typing here--- Since anyone who wants to see the Log would only be interested in what is currently in the log (available up to the time they make a request), they really don't have a need to see the "Log file" per se. They could be shown a Read Only copy (from the instant they make the request so to speak) -- and leave the real Log for continued system/processing activity. So if they were to get to the LogCopy, and alter the attributes from readOnly and then alter some data-- they are still working with a copy. I don't know if that helps, but does keep them from the "production/active" log. Anyway, that and a $1.80 might get you a coffee.. Jack On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks wrote: > All, > > We have an EDI application that has been built with Access 2007. It > works nicely. > > Recently there has been a request to add a new feature to the system > that will allow the users to see the generated EDI audit trail file. > This is a flat file. > > I have added a button to the main form to open the Audit Trail file with > notepad. This works fine, except that now there is a possibility that > the users could accidentally change the data in this file. > > I don't think that I can set security to overcome this issue, because > the EDI Application adds records to this Audit Trail file (behind the > scenes). > > I thought that another possible solution would be to treat the Audit > Trail file as Linked Table in Access. > > The catch is that the fields in the records are not delimited and the > records can be over 256 bytes. > > Is there a way to tell Access to treat the records as one big memo > field? > > Maybe there is another way to handle this situation. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Dec 3 16:26:53 2012 From: darren at activebilling.com.au (Darren) Date: Tue, 4 Dec 2012 09:26:53 +1100 Subject: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Message-ID: <029201cdd1a5$4e366890$eaa339b0$@activebilling.com.au> Howdy y'all, Yep, for some file types it will try and 'download' the file rather than 'display' it. It's a local machine config issue isn't it? When I wrote this functionality into my app recently for this type of thing, the files that needed to be read had no extensions (Hence the need for this). So when the user dropped the file - I was able to copy the file (as the file name can be retrieved once dropped) to a new place and name and this 'copied file' could then be 'linked to' as well. I was doing all these things with my app as a result of the 'drop'. Brad's mileage may vary. I have no clue where to configure this BTW - I just got lucky that I didn't have to play with IE. Do you know where these things are set - So if others use this approach and they get the 'download' option they can change it? Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 4 December 2012 3:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and Not Allow Updates Just a thought - do you need to ensure that IE is configured to display rather than download files with the log file's extension? -- Stuart On 4 Dec 2012 at 0:18, Darren wrote: > Hi Brad > > Create a form and drop an Internet Browser Control onto that form. > Then open the form in run time and 'drag and drop' said file onto the > Browser control. > Should open the file and display it nicely - without edits. > The file name can also be determined too, from the dragging and drop - > very nice for dealing with file names etc. > I'll send you a demo off-line - Lemme know if there are any "me toos" > directly to my email and not to the list > > darren > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Saturday, 1 December 2012 6:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and > Not Allow Updates > > Stuart, Rusty, Jack, > > Thanks for your ideas and insights. > > For the near term, I am planning to employ a second (behind the > scenes) file. > > For the long term, I may use a linked table as I was finally able to > get Access to treat the one large field as a memo field. > > Another approach that I spent a little time on is to fire up Internet > Explorer to display the flat file data as it cannot update the data in > the file. > > Thanks again for the help. > > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack > drawbridge > Sent: Thursday, November 29, 2012 3:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Need to access EDI Audit Trail (Flat File) and > Not Allow Updates > > Brad,, I don't really know how to do what you're asking, but just > thinking as I'm typing here--- Since anyone who wants to see the Log > would only be interested in what is currently in the log (available up > to the time they make a request), they really don't have a need to see the "Log file" per se. > They could be shown a Read Only copy (from the instant they make the > request so to speak) -- and leave the real Log for continued > system/processing activity. > > So if they were to get to the LogCopy, and alter the attributes from > readOnly and then alter some data-- they are still working with a copy. > > I don't know if that helps, but does keep them from the "production/active" > log. > > Anyway, that and a $1.80 might get you a coffee.. > > Jack > > On Thu, Nov 29, 2012 at 1:35 PM, Brad Marks > wrote: > > > All, > > > > We have an EDI application that has been built with Access 2007. It > > works nicely. > > > > Recently there has been a request to add a new feature to the system > > that will allow the users to see the generated EDI audit trail file. > > This is a flat file. > > > > I have added a button to the main form to open the Audit Trail file > with > > notepad. This works fine, except that now there is a possibility > > that the users could accidentally change the data in this file. > > > > I don't think that I can set security to overcome this issue, > > because the EDI Application adds records to this Audit Trail file > > (behind the scenes). > > > > I thought that another possible solution would be to treat the Audit > > Trail file as Linked Table in Access. > > > > The catch is that the fields in the records are not delimited and > > the records can be over 256 bytes. > > > > Is there a way to tell Access to treat the records as one big memo > > field? > > > > Maybe there is another way to handle this situation. > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 4 08:09:24 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 04 Dec 2012 09:09:24 -0500 Subject: [AccessD] Count multiple columns Message-ID: <50BE0414.5020208@colbyconsulting.com> I am doing counts for a set of columns. The values in the column are either 1 or 0 signifying true or false. If I just do a count() as xyz all the columns give a count equal to the total number of records. I need to do a count of a value of 1. I discovered that if I change one of the 0 values to a NULL then the record with Null does not get counted. Thus I could go through the table updating each field which uses this method = null where '0'. Obviously this is a lot of work I would like to avoid. However it might be faster(?) to do the count? My preference however is to somehow tell the count() of each column to only count values of '1'. Is this possible in TSQL? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From andy at minstersystems.co.uk Tue Dec 4 08:20:19 2012 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 4 Dec 2012 14:20:19 +0000 (GMT) Subject: [AccessD] Count multiple columns In-Reply-To: <50BE0414.5020208@colbyconsulting.com> References: <50BE0414.5020208@colbyconsulting.com> Message-ID: <1789650120.322899.1354630819827.JavaMail.open-xchange@email.1and1.co.uk> Wouldn't a sum do that? Andy On 04 December 2012 at 14:09 jwcolby wrote: > I am doing counts for a set of columns. The values in the column are either 1 > or 0 signifying true > or false. If I just do a count() as xyz all the columns give a count equal to > the total number of > records. I need to do a count of a value of 1. > > I discovered that if I change one of the 0 values to a NULL then the record > with Null does not get > counted. Thus I could go through the table updating each field which uses this > method = null where > '0'. > > Obviously this is a lot of work I would like to avoid. However it might be > faster(?) to do the count? > > My preference however is to somehow tell the count() of each column to only > count values of '1'. > > Is this possible in TSQL? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lembit.soobik at weihenstephan.org Tue Dec 4 08:20:26 2012 From: lembit.soobik at weihenstephan.org (Lembit Soobik) Date: Tue, 4 Dec 2012 15:20:26 +0100 Subject: [AccessD] Count multiple columns References: <50BE0414.5020208@colbyconsulting.com> Message-ID: Hi John, won' a sum give you the count if all to be counted are 1s? Lembit ----- Original Message ----- From: "jwcolby" To: "Sqlserver-Dba" ; "Access Developers discussion and problem solving" Sent: Tuesday, December 04, 2012 3:09 PM Subject: [AccessD] Count multiple columns >I am doing counts for a set of columns. The values in the column are >either 1 or 0 signifying true or false. If I just do a count() as xyz all >the columns give a count equal to the total number of records. I need to >do a count of a value of 1. > > I discovered that if I change one of the 0 values to a NULL then the > record with Null does not get counted. Thus I could go through the table > updating each field which uses this method = null where '0'. > > Obviously this is a lot of work I would like to avoid. However it might > be faster(?) to do the count? > > My preference however is to somehow tell the count() of each column to > only count values of '1'. > > Is this possible in TSQL? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Dec 4 08:24:39 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 04 Dec 2012 18:24:39 +0400 Subject: [AccessD] =?utf-8?q?Count_multiple_columns?= Message-ID: <1354631079.554623302@f74.mail.ru> Hi John -- Try? Count(ISNULL([YourColumnName],0) Thank you. -- Shamil ???????, 4 ??????? 2012, 9:09 ?? jwcolby : > > > > >I am doing counts for a set of columns. The values in the column are either 1 or 0 signifying true > or false. If I just do a count() as xyz all the columns give a count equal to the total number of > records. I need to do a count of a value of 1. > > I discovered that if I change one of the 0 values to a NULL then the record with Null does not get > counted. Thus I could go through the table updating each field which uses this method = null where > '0'. > > Obviously this is a lot of work I would like to avoid. However it might be faster(?) to do the count? > > My preference however is to somehow tell the count() of each column to only count values of '1'. > > Is this possible in TSQL? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From mcp2004 at mail.ru Tue Dec 4 08:26:53 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 04 Dec 2012 18:26:53 +0400 Subject: [AccessD] =?utf-8?q?Count_multiple_columns?= Message-ID: <1354631213.203594905@f74.mail.ru> Hi John -- Sorry, I should have written: Try? SUM(ISNULL([YourColumnName],0) Thank you. -- Shamil ???????, 4 ??????? 2012, 18:24 ?? Salakhetdinov Shamil : > > > > >Hi John -- > > Try? > > Count(ISNULL([YourColumnName],0) > > Thank you. > > -- Shamil > > > ???????, 4 ??????? 2012, 9:09 ?? jwcolby : > > > > > > > > > > > > > > >I am doing counts for a set of columns. The values in the column are either 1 or 0 signifying true > > > or false. If I just do a count() as xyz all the columns give a count equal to the total number of > > > records. I need to do a count of a value of 1. > > > > > > I discovered that if I change one of the 0 values to a NULL then the record with Null does not get > > > counted. Thus I could go through the table updating each field which uses this method = null where > > > '0'. > > > > > > Obviously this is a lot of work I would like to avoid. However it might be faster(?) to do the count? > > > > > > My preference however is to somehow tell the count() of each column to only count values of '1'. > > > > > > Is this possible in TSQL? > > > > > > -- > > > John W. Colby > > > Colby Consulting > > > > > > Reality is what refuses to go away > > > when you do not believe in it > > > > > > -- > > > AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Tue Dec 4 09:08:10 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 04 Dec 2012 10:08:10 -0500 Subject: [AccessD] Count multiple columns In-Reply-To: <1789650120.322899.1354630819827.JavaMail.open-xchange@email.1and1.co.uk> References: <50BE0414.5020208@colbyconsulting.com> <1789650120.322899.1354630819827.JavaMail.open-xchange@email.1and1.co.uk> Message-ID: <50BE11DA.8010700@colbyconsulting.com> Yea, except that the table is text columns. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2012 9:20 AM, Andy Lacey wrote: > Wouldn't a sum do that? > > Andy > > > On 04 December 2012 at 14:09 jwcolby wrote: >> I am doing counts for a set of columns. The values in the column are either 1 >> or 0 signifying true >> or false. If I just do a count() as xyz all the columns give a count equal to >> the total number of >> records. I need to do a count of a value of 1. >> >> I discovered that if I change one of the 0 values to a NULL then the record >> with Null does not get >> counted. Thus I could go through the table updating each field which uses this >> method = null where >> '0'. >> >> Obviously this is a lot of work I would like to avoid. However it might be >> faster(?) to do the count? >> >> My preference however is to somehow tell the count() of each column to only >> count values of '1'. >> >> Is this possible in TSQL? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Dec 4 09:16:38 2012 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 4 Dec 2012 07:16:38 -0800 Subject: [AccessD] Count multiple columns In-Reply-To: <50BE11DA.8010700@colbyconsulting.com> References: <50BE0414.5020208@colbyconsulting.com> <1789650120.322899.1354630819827.JavaMail.open-xchange@email.1and1.co.uk> <50BE11DA.8010700@colbyconsulting.com> Message-ID: Not in front of a computer, so this is air code: Select sum(tf, 0) from (Select case when true then 1 else 0 end as tf >From tblYourTable) A Sent from my Droid phone. On Dec 4, 2012 7:09 AM, "jwcolby" wrote: > Yea, except that the table is text columns. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2012 9:20 AM, Andy Lacey wrote: > >> Wouldn't a sum do that? >> >> Andy >> >> >> On 04 December 2012 at 14:09 jwcolby wrote: >> >>> I am doing counts for a set of columns. The values in the column are >>> either 1 >>> or 0 signifying true >>> or false. If I just do a count() as xyz all the columns give a count >>> equal to >>> the total number of >>> records. I need to do a count of a value of 1. >>> >>> I discovered that if I change one of the 0 values to a NULL then the >>> record >>> with Null does not get >>> counted. Thus I could go through the table updating each field which >>> uses this >>> method = null where >>> '0'. >>> >>> Obviously this is a lot of work I would like to avoid. However it might >>> be >>> faster(?) to do the count? >>> >>> My preference however is to somehow tell the count() of each column to >>> only >>> count values of '1'. >>> >>> Is this possible in TSQL? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From jwcolby at colbyconsulting.com Tue Dec 4 09:44:33 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 04 Dec 2012 10:44:33 -0500 Subject: [AccessD] [SPAM] Re: Count multiple columns In-Reply-To: References: <50BE0414.5020208@colbyconsulting.com> <1789650120.322899.1354630819827.JavaMail.open-xchange@email.1and1.co.uk> <50BE11DA.8010700@colbyconsulting.com> Message-ID: <50BE1A61.20705@colbyconsulting.com> I have decided to just bite the bullet and replace '0' with Null. It turns out that count() ignores nulls so the ability to do this becomes the norm. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2012 10:16 AM, David McAfee wrote: > Not in front of a computer, so this is air code: > > Select sum(tf, 0) from > (Select case when true then 1 else 0 end as tf >>From tblYourTable) A > > Sent from my Droid phone. > On Dec 4, 2012 7:09 AM, "jwcolby" wrote: > >> Yea, except that the table is text columns. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2012 9:20 AM, Andy Lacey wrote: >> >>> Wouldn't a sum do that? >>> >>> Andy >>> >>> >>> On 04 December 2012 at 14:09 jwcolby wrote: >>> >>>> I am doing counts for a set of columns. The values in the column are >>>> either 1 >>>> or 0 signifying true >>>> or false. If I just do a count() as xyz all the columns give a count >>>> equal to >>>> the total number of >>>> records. I need to do a count of a value of 1. >>>> >>>> I discovered that if I change one of the 0 values to a NULL then the >>>> record >>>> with Null does not get >>>> counted. Thus I could go through the table updating each field which >>>> uses this >>>> method = null where >>>> '0'. >>>> >>>> Obviously this is a lot of work I would like to avoid. However it might >>>> be >>>> faster(?) to do the count? >>>> >>>> My preference however is to somehow tell the count() of each column to >>>> only >>>> count values of '1'. >>>> >>>> Is this possible in TSQL? >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From gustav at cactus.dk Tue Dec 4 10:49:00 2012 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 4 Dec 2012 17:49:00 +0100 Subject: [AccessD] Count multiple columns Message-ID: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Hi Lembit So you are still with us? Great! I hope all is well and your video lab is running smoothly. Not to mention your beer tab! /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Lembit Soobik Sendt: 4. december 2012 15:20 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Count multiple columns Hi John, won' a sum give you the count if all to be counted are 1s? Lembit From charlotte.foust at gmail.com Tue Dec 4 11:01:02 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 4 Dec 2012 09:01:02 -0800 Subject: [AccessD] Count multiple columns In-Reply-To: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: Even if it's a text field, just test for IsNumeric and use a sum. Too much work otherwise. Charlotte On Tue, Dec 4, 2012 at 8:49 AM, Gustav Brock wrote: > Hi Lembit > > So you are still with us? Great! > I hope all is well and your video lab is running smoothly. Not to mention > your beer tab! > > /gustav > > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Lembit Soobik > Sendt: 4. december 2012 15:20 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Count multiple columns > > Hi John, > won' a sum give you the count if all to be counted are 1s? > > Lembit > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rls at WeBeDb.com Tue Dec 4 11:01:47 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Tue, 04 Dec 2012 11:01:47 -0600 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: References: Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6@holly.arvixe.com> >All, I would like to be able to view different document types in the unbound object control. I have a table that gives me the UNC path to the file. I have the extension of the file as a separate field in the table where the UNC path is. I have limited the query to only PDF files. In this case, there are only 2. I want to be able to preview them in the control and double click them to open them in a PDF reader. The problem is that the SourceDoc property is being changed, but not refreshed. Well, not to the point that the document is display in the object container. Below is the code I am using: Private Sub Form_Current() Me.OLEUnbound4.SourceDoc = "" Me.OLEUnbound4.SourceDoc = Me.txtFullPath Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc Me.OLEUnbound4.Requery Me.Refresh Me.Repaint End Sub When I am on the first row, the value in SourceDoc is: \\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf When I move to the second record, it is: \\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pdf I am getting this from the third line of code where I get the value of SourceDoc and display it on the screen. I still see the first document in the object container and when i double-click on it, I get the first document. Any one have any ideas on how to make this work? Robert L. Stewart Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --Martin Fowler www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From davidmcafee at gmail.com Tue Dec 4 12:13:06 2012 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 4 Dec 2012 10:13:06 -0800 Subject: [AccessD] Count multiple columns In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: Now that I am in front of a computer, this works on my bit field: SELECT Sum(CAST(ShowRecord AS TINYINT)) AS SumOfShow FROM tblLocationKey (NOLOCK) Returns the same (47 records) as this: SELECT * FROM tblLocationKey (NOLOCK) WHERE ShowRecord = 1 HTH David On Tue, Dec 4, 2012 at 9:01 AM, Charlotte Foust wrote: > Even if it's a text field, just test for IsNumeric and use a sum. Too much > work otherwise. > > Charlotte > > On Tue, Dec 4, 2012 at 8:49 AM, Gustav Brock wrote: > > > Hi Lembit > > > > So you are still with us? Great! > > I hope all is well and your video lab is running smoothly. Not to mention > > your beer tab! > > > > /gustav > > > > > > -----Oprindelig meddelelse----- > > Fra: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Lembit Soobik > > Sendt: 4. december 2012 15:20 > > Til: Access Developers discussion and problem solving > > Emne: Re: [AccessD] Count multiple columns > > > > Hi John, > > won' a sum give you the count if all to be counted are 1s? > > > > Lembit > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Dec 4 13:08:34 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 04 Dec 2012 14:08:34 -0500 Subject: [AccessD] [SPAM] Re: Count multiple columns In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: <50BE4A32.7040407@colbyconsulting.com> It's not a bit field, it is a varchar() '1' or '0'. I have decided to simply replace the '0' with a null, whereupon Count() works straight up. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2012 1:13 PM, David McAfee wrote: > Now that I am in front of a computer, this works on my bit field: > > SELECT Sum(CAST(ShowRecord AS TINYINT)) AS SumOfShow FROM tblLocationKey > (NOLOCK) > > Returns the same (47 records) as this: > SELECT * FROM tblLocationKey (NOLOCK) WHERE ShowRecord = 1 > > HTH > David > > > On Tue, Dec 4, 2012 at 9:01 AM, Charlotte Foust > wrote: > >> Even if it's a text field, just test for IsNumeric and use a sum. Too much >> work otherwise. >> >> Charlotte >> >> On Tue, Dec 4, 2012 at 8:49 AM, Gustav Brock wrote: >> >>> Hi Lembit >>> >>> So you are still with us? Great! >>> I hope all is well and your video lab is running smoothly. Not to mention >>> your beer tab! >>> >>> /gustav >>> >>> >>> -----Oprindelig meddelelse----- >>> Fra: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Lembit Soobik >>> Sendt: 4. december 2012 15:20 >>> Til: Access Developers discussion and problem solving >>> Emne: Re: [AccessD] Count multiple columns >>> >>> Hi John, >>> won' a sum give you the count if all to be counted are 1s? >>> >>> Lembit >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From lembit.soobik at weihenstephan.org Tue Dec 4 16:28:56 2012 From: lembit.soobik at weihenstephan.org (Lembit Soobik) Date: Tue, 4 Dec 2012 23:28:56 +0100 Subject: [AccessD] Count multiple columns References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: Thanks for asking, Gustav, yes I do read from time to time some mails here. Had some problems to send to AccessD, but that seems solved since I use a differnt provider. We are travelling a lot and enjoy the films and pictures. Oh, yes, the beer is great :-) Say hi to your wife and let us know when you have a reason to come to Bavaria. Lembit ----- Original Message ----- From: "Gustav Brock" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, December 04, 2012 5:49 PM Subject: Re: [AccessD] Count multiple columns Hi Lembit So you are still with us? Great! I hope all is well and your video lab is running smoothly. Not to mention your beer tab! /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Lembit Soobik Sendt: 4. december 2012 15:20 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Count multiple columns Hi John, won' a sum give you the count if all to be counted are 1s? Lembit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Dec 5 10:54:16 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 16:54:16 +0000 Subject: [AccessD] Data type mismatch in function Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with status as a data type of text SELECT PID, WellStatus(Status) AS ReturnStatus FROM dbo_DSS_StatusChanges; Here is the function: Public Function WellStatus(Status As String) As String Select Case Status Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" ReturnStatus = "PRD" Case "CI" Or "WAGC" ReturnStatus = "GasI" Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" ReturnStatus = "WI" Case Else ReturnStatus = "" End Select WellStatus = ReturnStatus End Function From jwcolby at colbyconsulting.com Wed Dec 5 11:05:04 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 05 Dec 2012 12:05:04 -0500 Subject: [AccessD] Data type mismatch in function In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> Message-ID: <50BF7EC0.7070802@colbyconsulting.com> I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 11:54 AM, Kaup, Chester wrote: > I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. > > Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with status as a data type of text > > SELECT PID, WellStatus(Status) AS ReturnStatus > FROM dbo_DSS_StatusChanges; > > Here is the function: > > Public Function WellStatus(Status As String) As String > > Select Case Status > Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" > ReturnStatus = "PRD" > Case "CI" Or "WAGC" > ReturnStatus = "GasI" > Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" > ReturnStatus = "WI" > Case Else > ReturnStatus = "" > End Select > > WellStatus = ReturnStatus > > End Function > From Chester_Kaup at kindermorgan.com Wed Dec 5 11:14:36 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 17:14:36 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: <50BF7EC0.7070802@colbyconsulting.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> I noticed that right after posting. Unfortunately that did not fix the problem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 05, 2012 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 11:54 AM, Kaup, Chester wrote: > I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. > > Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with > status as a data type of text > > SELECT PID, WellStatus(Status) AS ReturnStatus FROM > dbo_DSS_StatusChanges; > > Here is the function: > > Public Function WellStatus(Status As String) As String > > Select Case Status > Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" > ReturnStatus = "PRD" > Case "CI" Or "WAGC" > ReturnStatus = "GasI" > Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" > ReturnStatus = "WI" > Case Else > ReturnStatus = "" > End Select > > WellStatus = ReturnStatus > > End Function > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Dec 5 11:36:39 2012 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Wed, 5 Dec 2012 17:36:39 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> Message-ID: <201212051736.qB5Haro8006799@databaseadvisors.com> Couldn't be this, could it? > Case "FL" Or "FM" Or "FH", " -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 05, 2012 12:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I noticed that right after posting. Unfortunately that did not fix the problem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 05, 2012 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 11:54 AM, Kaup, Chester wrote: > I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. > > Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with > status as a data type of text > > SELECT PID, WellStatus(Status) AS ReturnStatus FROM > dbo_DSS_StatusChanges; > > Here is the function: > > Public Function WellStatus(Status As String) As String > > Select Case Status > Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" > ReturnStatus = "PRD" > Case "CI" Or "WAGC" > ReturnStatus = "GasI" > Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" > ReturnStatus = "WI" > Case Else > ReturnStatus = "" > End Select > > WellStatus = ReturnStatus > > End Function > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------Disclaimer--------------- This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. From jwcolby at colbyconsulting.com Wed Dec 5 11:37:23 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 05 Dec 2012 12:37:23 -0500 Subject: [AccessD] Data type mismatch in function In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> Message-ID: <50BF8653.2010403@colbyconsulting.com> Change your else to return a real string - 'test' or something like that and see what happens. Also are you sure that you have valid data in that first record to pass in to the function? If the [Status] field has a null and tries to pass that in to a string variable, that will cause a problem. If you are going to have nulls to pass in, then you need to change the Status variable in the function input variable to a variant, and then cast it inside of the function using ToStr() or whatever. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 12:14 PM, Kaup, Chester wrote: > I noticed that right after posting. Unfortunately that did not fix the problem. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, December 05, 2012 11:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data type mismatch in function > > I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2012 11:54 AM, Kaup, Chester wrote: >> I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. >> >> Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with >> status as a data type of text >> >> SELECT PID, WellStatus(Status) AS ReturnStatus FROM >> dbo_DSS_StatusChanges; >> >> Here is the function: >> >> Public Function WellStatus(Status As String) As String >> >> Select Case Status >> Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" >> ReturnStatus = "PRD" >> Case "CI" Or "WAGC" >> ReturnStatus = "GasI" >> Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" >> ReturnStatus = "WI" >> Case Else >> ReturnStatus = "" >> End Select >> >> WellStatus = ReturnStatus >> >> End Function >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Dec 5 12:33:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 05 Dec 2012 13:33:55 -0500 Subject: [AccessD] Data type mismatch in function In-Reply-To: <201212051736.qB5Haro8006799@databaseadvisors.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> Message-ID: <50BF9393.2050503@colbyconsulting.com> good catch. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 12:36 PM, RANDALL R ANTHONY wrote: > Couldn't be this, could it? > >> Case "FL" Or "FM" Or "FH", " > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 05, 2012 12:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data type mismatch in function > > > > I noticed that right after posting. Unfortunately that did not fix the problem. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, December 05, 2012 11:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Data type mismatch in function > > > > I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 12/5/2012 11:54 AM, Kaup, Chester wrote: > >> I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. > >> > >> Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with > >> status as a data type of text > >> > >> SELECT PID, WellStatus(Status) AS ReturnStatus FROM > >> dbo_DSS_StatusChanges; > >> > >> Here is the function: > >> > >> Public Function WellStatus(Status As String) As String > >> > >> Select Case Status > >> Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" > >> ReturnStatus = "PRD" > >> Case "CI" Or "WAGC" > >> ReturnStatus = "GasI" > >> Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" > >> ReturnStatus = "WI" > >> Case Else > >> ReturnStatus = "" > >> End Select > >> > >> WellStatus = ReturnStatus > >> > >> End Function > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -------------Disclaimer--------------- > > This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. > > If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. > From Chester_Kaup at kindermorgan.com Wed Dec 5 12:37:29 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 18:37:29 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: <201212051736.qB5Haro8006799@databaseadvisors.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> Good catch but still returns the error. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Wednesday, December 05, 2012 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function Couldn't be this, could it? > Case "FL" Or "FM" Or "FH", " -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 05, 2012 12:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I noticed that right after posting. Unfortunately that did not fix the problem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 05, 2012 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 11:54 AM, Kaup, Chester wrote: > I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. > > Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with > status as a data type of text > > SELECT PID, WellStatus(Status) AS ReturnStatus FROM > dbo_DSS_StatusChanges; > > Here is the function: > > Public Function WellStatus(Status As String) As String > > Select Case Status > Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" > ReturnStatus = "PRD" > Case "CI" Or "WAGC" > ReturnStatus = "GasI" > Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" > ReturnStatus = "WI" > Case Else > ReturnStatus = "" > End Select > > WellStatus = ReturnStatus > > End Function > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------Disclaimer--------------- This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Dec 5 13:03:05 2012 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 5 Dec 2012 11:03:05 -0800 Subject: [AccessD] Data type mismatch in function In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> Message-ID: Did you replace every Or in the function with a comma? On Wed, Dec 5, 2012 at 10:37 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Good catch but still returns the error. Thanks. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY > Sent: Wednesday, December 05, 2012 11:37 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data type mismatch in function > > Couldn't be this, could it? > > > Case "FL" Or "FM" Or "FH", " > > > From davidmcafee at gmail.com Wed Dec 5 13:12:25 2012 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 5 Dec 2012 11:12:25 -0800 Subject: [AccessD] Data type mismatch in function In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> Message-ID: I just created a little database with a simple table and it works using this function: Public Function WellStatus(Status As String) As String Dim ReturnStatus As String Select Case Status Case "FL", "FM", "FH", "PL", "PM", "PH", "SL", "SM", "SH", "SP", "RL", "RM", "RH", "RP" ReturnStatus = "PRD" Case "CI", "WAGC" ReturnStatus = "GasI" Case "WD", "WI", "WC", "WCH", "WF" ReturnStatus = "WI" Case Else ReturnStatus = "" End Select WellStatus = ReturnStatus End Function Here's the test query: SELECT StatusChange.ID, StatusChange.Status, WellStatus([Status]) AS ReturnStatus FROM StatusChange; and the results: Query1 ID Status ReturnStatus 1 FL PRD 2 FM PRD 3 FL PRD 4 FH PRD 5 PL PRD 6 PM PRD 7 LA 8 PH PRD 9 SL PRD 10 PA 11 CI GasI 12 WD WI 13 WI WI 14 NV On Wed, Dec 5, 2012 at 11:03 AM, David McAfee wrote: > > Did you replace every Or in the function with a comma? > > From Chester_Kaup at kindermorgan.com Wed Dec 5 13:40:21 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 19:40:21 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: <50BF8653.2010403@colbyconsulting.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <50BF8653.2010403@colbyconsulting.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E089@HOUEX6.kindermorgan.com> Tried changing the else "" to "SI" with no change. I checked the source table and there are no nulls in the status field. Thanks for the ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 05, 2012 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function Change your else to return a real string - 'test' or something like that and see what happens. Also are you sure that you have valid data in that first record to pass in to the function? If the [Status] field has a null and tries to pass that in to a string variable, that will cause a problem. If you are going to have nulls to pass in, then you need to change the Status variable in the function input variable to a variant, and then cast it inside of the function using ToStr() or whatever. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2012 12:14 PM, Kaup, Chester wrote: > I noticed that right after posting. Unfortunately that did not fix the problem. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, December 05, 2012 11:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data type mismatch in function > > I don't see return status dimensioned in the function. If it isn't dimensioned then it will be dynamically dimensioned as type variant which may be causing an issue somehow. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2012 11:54 AM, Kaup, Chester wrote: >> I am calling the following function from a query. I get a type mismatch error at the first record. Value of status is "PA". I don't understand the mismatch. Thanks. >> >> Here is the SQL. dbo_DSS_StatusChanges is an SQL server table with >> status as a data type of text >> >> SELECT PID, WellStatus(Status) AS ReturnStatus FROM >> dbo_DSS_StatusChanges; >> >> Here is the function: >> >> Public Function WellStatus(Status As String) As String >> >> Select Case Status >> Case "FL" Or "FM" Or "FH", "PL" Or "PM" Or "PH" Or "SL" Or "SM" Or "SH" Or "SP" Or "RL" Or "RM" Or "RH" Or "RP" >> ReturnStatus = "PRD" >> Case "CI" Or "WAGC" >> ReturnStatus = "GasI" >> Case "WD" Or "WI" Or "WC" Or "WCH" Or "WF" >> ReturnStatus = "WI" >> Case Else >> ReturnStatus = "" >> End Select >> >> WellStatus = ReturnStatus >> >> End Function >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Dec 5 13:47:43 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 19:47:43 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E0A4@HOUEX6.kindermorgan.com> That fixed it. Thank you very much! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 05, 2012 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function Did you replace every Or in the function with a comma? On Wed, Dec 5, 2012 at 10:37 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Good catch but still returns the error. Thanks. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY > Sent: Wednesday, December 05, 2012 11:37 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data type mismatch in function > > Couldn't be this, could it? > > > Case "FL" Or "FM" Or "FH", " > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Dec 5 13:48:15 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Dec 2012 19:48:15 +0000 Subject: [AccessD] Data type mismatch in function In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFB1@HOUEX6.kindermorgan.com> <50BF7EC0.7070802@colbyconsulting.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712DFD4@HOUEX6.kindermorgan.com> <201212051736.qB5Haro8006799@databaseadvisors.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E02A@HOUEX6.kindermorgan.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712E0B1@HOUEX6.kindermorgan.com> Thanks. Commas are the answer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 05, 2012 1:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data type mismatch in function I just created a little database with a simple table and it works using this function: Public Function WellStatus(Status As String) As String Dim ReturnStatus As String Select Case Status Case "FL", "FM", "FH", "PL", "PM", "PH", "SL", "SM", "SH", "SP", "RL", "RM", "RH", "RP" ReturnStatus = "PRD" Case "CI", "WAGC" ReturnStatus = "GasI" Case "WD", "WI", "WC", "WCH", "WF" ReturnStatus = "WI" Case Else ReturnStatus = "" End Select WellStatus = ReturnStatus End Function Here's the test query: SELECT StatusChange.ID, StatusChange.Status, WellStatus([Status]) AS ReturnStatus FROM StatusChange; and the results: Query1 ID Status ReturnStatus 1 FL PRD 2 FM PRD 3 FL PRD 4 FH PRD 5 PL PRD 6 PM PRD 7 LA 8 PH PRD 9 SL PRD 10 PA 11 CI GasI 12 WD WI 13 WI WI 14 NV On Wed, Dec 5, 2012 at 11:03 AM, David McAfee wrote: > > Did you replace every Or in the function with a comma? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 6 21:11:33 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 6 Dec 2012 19:11:33 -0800 Subject: [AccessD] Another Access job In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: <1E36532174784AB9A98A6811F0CAD29D@creativesystemdesigns.com> For any who want to take Washington DC by storm being an MS Access programmer here is your chance. http://information-technology.thingamajob.com/jobs/District-of-Columbia/Acce ss-Developer/2713651 Jim From df.waters at comcast.net Thu Dec 6 21:30:56 2012 From: df.waters at comcast.net (Dan Waters) Date: Thu, 6 Dec 2012 21:30:56 -0600 Subject: [AccessD] Another Access job In-Reply-To: <1E36532174784AB9A98A6811F0CAD29D@creativesystemdesigns.com> References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> <1E36532174784AB9A98A6811F0CAD29D@creativesystemdesigns.com> Message-ID: <008101cdd42b$44dd79e0$ce986da0$@comcast.net> I saw this line item in the job requirements: -Ability to navigate large datasets (hundreds of millions of records) Well, there's only one person I know of who can does that on a daily basis! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 06, 2012 9:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Another Access job For any who want to take Washington DC by storm being an MS Access programmer here is your chance. http://information-technology.thingamajob.com/jobs/District-of-Columbia/Acce ss-Developer/2713651 Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 7 07:59:17 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 07 Dec 2012 08:59:17 -0500 Subject: [AccessD] =?windows-1252?q?Troy_Hunt=3A_Scamming_the_scammers_=96?= =?windows-1252?q?_catching_the_virus_call_centre_scammers_red-handed?= In-Reply-To: <509B3A41.5010607@colbyconsulting.com> References: <509B3A41.5010607@colbyconsulting.com> Message-ID: <50C1F635.9080009@torchlake.com> Yeah - I'm teaching a beginners' class right now. I will make a point of warning each student about such scams. My sister received exactly such a call about a week ago - this is long past the time when Comantra claims to have shut down the call centers. The caller said he was from Microsoft and calling to alert her to problems with her computer. She laughed out loud at the caller, who then went completely silent. She asked into the silence "Hey, what kind of scam are you trying to run?" There was no response. She hung up. But, she worries that others may not be so savvy to know that the call is absolutely a scam. So, education is the thing to do. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 11/7/2012 11:51 PM, jwcolby wrote: > Interesting read. > > http://www.troyhunt.com/2012/02/scamming-scammers-catching-virus-call.html > > > and > > http://www.troyhunt.com/2012/05/interview-with-man-behind-comantra-cold.html > > From vbacreations at gmail.com Fri Dec 7 08:03:18 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 7 Dec 2012 09:03:18 -0500 Subject: [AccessD] Another Access job In-Reply-To: <008101cdd42b$44dd79e0$ce986da0$@comcast.net> References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> <1E36532174784AB9A98A6811F0CAD29D@creativesystemdesigns.com> <008101cdd42b$44dd79e0$ce986da0$@comcast.net> Message-ID: ??? Whats hard about it....they didnt specify a time limit did they? Oh and by the way does access hold a hundred million record of significant number of fields and large data types without linked tables but no memory issues. I HAVE TO TRY THAT OUT! On Dec 6, 2012 10:32 PM, "Dan Waters" wrote: > I saw this line item in the job requirements: > > -Ability to navigate large datasets (hundreds of millions of > records) > > Well, there's only one person I know of who can does that on a daily basis! > ;-) > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, December 06, 2012 9:12 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Another Access job > > For any who want to take Washington DC by storm being an MS Access > programmer here is your chance. > > > http://information-technology.thingamajob.com/jobs/District-of-Columbia/Acce > ss-Developer/2713651 > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Fri Dec 7 08:32:31 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 7 Dec 2012 09:32:31 -0500 Subject: [AccessD] =?windows-1252?q?Troy_Hunt=3A_Scamming_the_scammers_=96?= =?windows-1252?q?_catching_the_virus_call_centre_scammers_red-hand?= =?windows-1252?q?ed?= In-Reply-To: <50C1F635.9080009@torchlake.com> References: <509B3A41.5010607@colbyconsulting.com> <50C1F635.9080009@torchlake.com> Message-ID: I saw something similar a couple of months ago and said to myself, wow there are a lot of unsuspecting people who would fall for that. Only a few days later I got a call along these similar lines, I said that I would like his name and email -nothing - then I said I thought this was a scam -- caller hung up. I mentioned it to my daughter who said she had a random call only a day r two before. She said the caller said he was from M$oft and had discovered an issue with her machine.... . Her response was -- That's interesting, I don't have a computer(she does really)... caller hung up. I think someone on this group said his father got caught by the scam-- but I haven't taken the CoQ10 lately and could just be getting even more forgetful. Have a good day. jack On Fri, Dec 7, 2012 at 8:59 AM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Yeah - I'm teaching a beginners' class right now. I will make a point of > warning each student about such scams. My sister received exactly such a > call about a week ago - this is long past the time when Comantra claims to > have shut down the call centers. The caller said he was from Microsoft and > calling to alert her to problems with her computer. She laughed out loud > at the caller, who then went completely silent. She asked into the silence > "Hey, what kind of scam are you trying to run?" There was no response. > She hung up. But, she worries that others may not be so savvy to know > that the call is absolutely a scam. So, education is the thing to do. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/7/2012 11:51 PM, jwcolby wrote: > >> Interesting read. >> >> http://www.troyhunt.com/2012/**02/scamming-scammers-catching-** >> virus-call.html >> >> and >> >> http://www.troyhunt.com/2012/**05/interview-with-man-behind-** >> comantra-cold.html >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From hans.andersen at phulse.com Fri Dec 7 08:42:50 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 7 Dec 2012 06:42:50 -0800 Subject: [AccessD] =?windows-1252?q?Troy_Hunt=3A_Scamming_the_scammers_=96?= =?windows-1252?q?_catching_the_virus_call_centre_scammers_red-handed?= In-Reply-To: <50C1F635.9080009@torchlake.com> References: <509B3A41.5010607@colbyconsulting.com> <50C1F635.9080009@torchlake.com> Message-ID: <0FAF6803-5513-4D81-BDF6-5898F4CB7EEA@phulse.com> Had the same thing happen to me 5-6 years ago. I played along with it, although I was running Linux at the time, Hilarity ensued. - Hans On 2012-12-07, at 5:59 AM, Tina Norris Fields wrote: > Yeah - I'm teaching a beginners' class right now. I will make a point of warning each student about such scams. My sister received exactly such a call about a week ago - this is long past the time when Comantra claims to have shut down the call centers. The caller said he was from Microsoft and calling to alert her to problems with her computer. She laughed out loud at the caller, who then went completely silent. She asked into the silence "Hey, what kind of scam are you trying to run?" There was no response. She hung up. But, she worries that others may not be so savvy to know that the call is absolutely a scam. So, education is the thing to do. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > On 11/7/2012 11:51 PM, jwcolby wrote: >> Interesting read. >> >> http://www.troyhunt.com/2012/02/scamming-scammers-catching-virus-call.html >> >> and >> >> http://www.troyhunt.com/2012/05/interview-with-man-behind-comantra-cold.html >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 7 10:23:32 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 07 Dec 2012 11:23:32 -0500 Subject: [AccessD] Another Access job In-Reply-To: <008101cdd42b$44dd79e0$ce986da0$@comcast.net> References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> <1E36532174784AB9A98A6811F0CAD29D@creativesystemdesigns.com> <008101cdd42b$44dd79e0$ce986da0$@comcast.net> Message-ID: <50C21804.60505@colbyconsulting.com> LOL. One of those "kitchen sink" kinda requirements. I just love those. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/6/2012 10:30 PM, Dan Waters wrote: > http://information-technology.thingamajob.com/jobs/District-of-Columbia/Acce > ss-Developer/2713651 From vbacreations at gmail.com Fri Dec 7 18:06:45 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 7 Dec 2012 19:06:45 -0500 Subject: [AccessD] =?windows-1252?q?Troy_Hunt=3A_Scamming_the_scammers_=96?= =?windows-1252?q?_catching_the_virus_call_centre_scammers_red-hand?= =?windows-1252?q?ed?= In-Reply-To: <50C1F635.9080009@torchlake.com> References: <509B3A41.5010607@colbyconsulting.com> <50C1F635.9080009@torchlake.com> Message-ID: We Are Anonymous by Parmy Olson should be required reading for all computer users. On Dec 7, 2012 8:59 AM, "Tina Norris Fields" wrote: > Yeah - I'm teaching a beginners' class right now. I will make a point of > warning each student about such scams. My sister received exactly such a > call about a week ago - this is long past the time when Comantra claims to > have shut down the call centers. The caller said he was from Microsoft and > calling to alert her to problems with her computer. She laughed out loud > at the caller, who then went completely silent. She asked into the silence > "Hey, what kind of scam are you trying to run?" There was no response. > She hung up. But, she worries that others may not be so savvy to know > that the call is absolutely a scam. So, education is the thing to do. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > On 11/7/2012 11:51 PM, jwcolby wrote: > >> Interesting read. >> >> http://www.troyhunt.com/2012/**02/scamming-scammers-catching-** >> virus-call.html >> >> and >> >> http://www.troyhunt.com/2012/**05/interview-with-man-behind-** >> comantra-cold.html >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From accessd at shaw.ca Fri Dec 7 20:32:00 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 7 Dec 2012 18:32:00 -0800 Subject: [AccessD] Another MS Access job In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: Anyone wanting to move to Atlanta Georgia? http://information-technology.thingamajob.com/jobs/Georgia/Access-Developer/ 2715023 Jim From Benson at ge.com Sat Dec 8 11:38:35 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sat, 8 Dec 2012 17:38:35 +0000 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model Message-ID: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> Kind Experts, Gurus, and children of all ages, I currently attach to oracle drivers to a GE database. I would like to know if it is feasible to copy the GE database SCHEMA (note, no data) down to my hard drive (replicating its structure, as it were) and then port this over to my home machine so that, were I to have downloaded and installed a copy of Oracle (presuming they have a free copy) I can continue my forays into the world of interactive database programming via ADO. I have only SQL Developer 3.something as a tool. I am not interested (nor would it be ethical) to involve myself with the GE data, but I doubt that the table structure under the given owner would be an issue for that company. Of course, the database itself has lots and lots of stuff that I never see, not being an admin on the Oracle server. I log in as a user, and see whatever is available in user_all_tab_cols or whatever, plus some views and triggers and sequences and so forth. But basically, I already set up the database with tables, PKs, FKs, triggers, sequences, and it works great for uploading and downloading stuff from Excel - but I am trying to create an offline environment I can continue to do all the same development and testing - form a local machine perspective only. I am sure you all know what I am getting at even if I am not expressing myself well. Please give me some pointers, thanks a ton. From accessd at shaw.ca Sat Dec 8 13:34:44 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 8 Dec 2012 11:34:44 -0800 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> Message-ID: Hi William: It is all possible as I did exactly that a few years ago when I was testing a client's application which used MS Access as the FE and Oracle as a BE using ADO-OLE. The beauty of ADO is that you can be connected to multiple data sources simultaneously so you can even "pump/stream" data from one set of tables to another across the network or web. It is a fairly big subject so you would have to narrow down your questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Saturday, December 08, 2012 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model Kind Experts, Gurus, and children of all ages, I currently attach to oracle drivers to a GE database. I would like to know if it is feasible to copy the GE database SCHEMA (note, no data) down to my hard drive (replicating its structure, as it were) and then port this over to my home machine so that, were I to have downloaded and installed a copy of Oracle (presuming they have a free copy) I can continue my forays into the world of interactive database programming via ADO. I have only SQL Developer 3.something as a tool. I am not interested (nor would it be ethical) to involve myself with the GE data, but I doubt that the table structure under the given owner would be an issue for that company. Of course, the database itself has lots and lots of stuff that I never see, not being an admin on the Oracle server. I log in as a user, and see whatever is available in user_all_tab_cols or whatever, plus some views and triggers and sequences and so forth. But basically, I already set up the database with tables, PKs, FKs, triggers, sequences, and it works great for uploading and downloading stuff from Excel - but I am trying to create an offline environment I can continue to do all the same development and testing - form a local machine perspective only. I am sure you all know what I am getting at even if I am not expressing myself well. Please give me some pointers, thanks a ton. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 8 19:52:19 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 8 Dec 2012 20:52:19 -0500 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> Message-ID: Well all I want to do is test ADO upload and download to tables from excel vba and as I do not have any any oracle environment, I didn't really know how to do it. I thought maybe I was looking to "migrate" to a local instance of the database but I had the client portion installed, not a server portion. Also, when I tried to tried to migrate I could see that SQL DEVELOPER considered that function to be readying data for al alternative platform, not copying a database from one site (across a network on a server, e.g., to a local instance). I asked a colleague who has recommended I download and play around with oracle express edition and so I am going to give that a try and report back on my success or failures. Stay tuned. From vbacreations at gmail.com Sat Dec 8 19:56:55 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 8 Dec 2012 20:56:55 -0500 Subject: [AccessD] Another MS Access job In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: I'd rather drink your muddy water, sleep down in a hollow log I'd rather drink your muddy water, sleep down in a hollow log Than to be in Atlanta, Georgia, treat me like a dirty dog (I don't have to go for that) Ronnie Van Zant I'm just sayin.... On Fri, Dec 7, 2012 at 9:32 PM, Jim Lawrence wrote: > Anyone wanting to move to Atlanta Georgia? > > > http://information-technology.thingamajob.com/jobs/Georgia/Access-Developer/ > 2715023 > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From vbacreations at gmail.com Sat Dec 8 20:12:12 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 8 Dec 2012 21:12:12 -0500 Subject: [AccessD] Another MS Access job In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: Dang I just got so nostalgic over this I just re-bought T for Texas by Lynyrd Skynyrd from their One More For/From the Road album, via Amazon. What a band, what a tune, (not theirs by the way). But one of the best songs on that long loved album. By the way I really have nothing against Atlanta GA (except they have some of the rudest TSA agents I ever went through), but it was just too good a line to pass up. On Sat, Dec 8, 2012 at 8:56 PM, William Benson wrote: > I'd rather drink your muddy water, sleep down in a hollow log > I'd rather drink your muddy water, sleep down in a hollow log > Than to be in Atlanta, Georgia, treat me like a dirty dog > (I don't have to go for that) > Ronnie Van Zant > I'm just sayin.... > > On Fri, Dec 7, 2012 at 9:32 PM, Jim Lawrence wrote: > >> Anyone wanting to move to Atlanta Georgia? >> >> >> http://information-technology.thingamajob.com/jobs/Georgia/Access-Developer/ >> 2715023 >> >> Jim >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Sat Dec 8 20:14:36 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 08 Dec 2012 21:14:36 -0500 Subject: [AccessD] [SPAM] Re: Another MS Access job In-Reply-To: References: <013101cdd23f$42894f40$c79bedc0$@cactus.dk> Message-ID: <50C3F40C.8000104@colbyconsulting.com> LOL. Sleep down in a hollow log... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/8/2012 8:56 PM, William Benson wrote: > I'd rather drink your muddy water, sleep down in a hollow log > I'd rather drink your muddy water, sleep down in a hollow log > Than to be in Atlanta, Georgia, treat me like a dirty dog > (I don't have to go for that) > Ronnie Van Zant > I'm just sayin.... > On Fri, Dec 7, 2012 at 9:32 PM, Jim Lawrence wrote: > >> Anyone wanting to move to Atlanta Georgia? >> >> >> http://information-technology.thingamajob.com/jobs/Georgia/Access-Developer/ >> 2715023 >> >> Jim >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From marksimms at verizon.net Sat Dec 8 21:23:17 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 08 Dec 2012 22:23:17 -0500 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com> Message-ID: <00ca01cdd5bc$8890c790$99b256b0$@net> So this is strange: given the power of ADO, why would MSFT make a declaration of moving away from it ? > > The beauty of ADO is that you can be connected to multiple data sources > simultaneously so you can even "pump/stream" data from one set of > tables to > another across the network or web. > From stuart at lexacorp.com.pg Sat Dec 8 22:53:22 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 09 Dec 2012 14:53:22 +1000 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercise based on a production instance as a model In-Reply-To: <00ca01cdd5bc$8890c790$99b256b0$@net> References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com>, , <00ca01cdd5bc$8890c790$99b256b0$@net> Message-ID: <50C41942.4917.3439F336@stuart.lexacorp.com.pg> You have to ask? It's there way of keeping everyone else to busy learning new technologies to have time to develop an competition. Let me count the technologoies tha MSFT have introduced, required developers to master and other companies to support and then dropped/moved away from.... nah, I've haven't got that many fingers and toes.. -- Stuart On 8 Dec 2012 at 22:23, Mark Simms wrote: > So this is strange: given the power of ADO, why would MSFT make a > declaration of moving away from it ? > > > > The beauty of ADO is that you can be connected to multiple data sources > > simultaneously so you can even "pump/stream" data from one set of > > tables to > > another across the network or web. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Sat Dec 8 23:57:39 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 8 Dec 2012 21:57:39 -0800 Subject: [AccessD] Recreating an Oracle Environment - Learning Exercisebased on a production instance as a model In-Reply-To: <50C41942.4917.3439F336@stuart.lexacorp.com.pg> References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com>, , <00ca01cdd5bc$8890c790$99b256b0$@net> <50C41942.4917.3439F336@stuart.lexacorp.com.pg> Message-ID: I received the following link to a very "optimistic" estimate of Microsoft's Christmas yet to come, a future they dearly deserved. A decade of arrogance comes at a price. The Collapse Of Microsoft's Monopoly: http://www.businessinsider.com/chart-of-the-day-consumer-compute-shift-2012- 12 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 08, 2012 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recreating an Oracle Environment - Learning Exercisebased on a production instance as a model You have to ask? It's there way of keeping everyone else to busy learning new technologies to have time to develop an competition. Let me count the technologoies tha MSFT have introduced, required developers to master and other companies to support and then dropped/moved away from.... nah, I've haven't got that many fingers and toes.. -- Stuart On 8 Dec 2012 at 22:23, Mark Simms wrote: > So this is strange: given the power of ADO, why would MSFT make a > declaration of moving away from it ? > > > > The beauty of ADO is that you can be connected to multiple data sources > > simultaneously so you can even "pump/stream" data from one set of > > tables to > > another across the network or web. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 9 11:51:59 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 09 Dec 2012 12:51:59 -0500 Subject: [AccessD] Recreating an Oracle Environment - Learning In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372C897B82@CINMBCNA01.e2k.ad.ge.com>, , <00ca01cdd5bc$8890c790$99b256b0$@net> <50C41942.4917.3439F336@stuart.lexacorp.com.pg> Message-ID: <009801cdd635$e3e181b0$aba48510$@net> Every time I hear that word "arrogance" I think of Steve Balmer. From vbacreations at gmail.com Mon Dec 10 11:12:17 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 10 Dec 2012 12:12:17 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working Message-ID: I have a function that I cannot seem to get to create an instance of microsoft access even though it is installed on my machine I am getting error 429 which is "ActiveX component can't create object". I do have references set to both DAO and Microsoft Access 14.0 but I think that is irrelevant Public Function GetDB(strLoc As String) As Object Dim Ac As Object Dim GetDBEngine As Object Dim strName As String On Error Resume Next Set Ac = GetObject(, "Access.Application") If Ac Is Nothing Then Set Ac = CreateObject("Access.Application") End If If Ac Is Nothing Then Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If End Function From vbacreations at gmail.com Mon Dec 10 11:14:04 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 10 Dec 2012 12:14:04 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: Message-ID: hit send before I had finished typing I have a function that I cannot seem to get to create an instance of > microsoft access even though it is installed on my machine I am getting > error 429 which is "ActiveX component can't create object". I do have > references set to both DAO and Microsoft Access 14.0 but I think that is > irrelevant > > > Public Function GetDB(strLoc As String) As Object > Dim Ac As Object > Dim GetDBEngine As Object > Dim strName As String > On Error Resume Next > Set Ac = GetObject(, "Access.Application") > If Ac Is Nothing Then > Set Ac = CreateObject("Access.Application") > End If > > If Ac Is Nothing Then > Msgbox "Acnnot open Microsoft Access",vbexclamation > Exit Function > End if > > Set GetDBEngine = CreateObject("DAO.DBEngine.120") > If Err.Number <> 0 Then 'try 36 > Err.Clear > Set GetDBEngine = CreateObject("DAO.DBEngine.36") > If Err.Number <> 0 Then > Set GetDBEngine = CreateObject("DAO.DBEngine.35") > End If > End If > If Not GetDBEngine Is Nothing Then > Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) > End If > End Function > From charlotte.foust at gmail.com Mon Dec 10 11:53:57 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 10 Dec 2012 09:53:57 -0800 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: Message-ID: If you simply get the DBEngine object you can then check the Version property of the object to see which version of Access you're dealing with. What exactly are you trying to achieve with this and how do the two functions relate to one another? Charlotte On Mon, Dec 10, 2012 at 9:12 AM, William Benson wrote: > I have a function that I cannot seem to get to create an instance of > microsoft access even though it is installed on my machine I am getting > error 429 which is "ActiveX component can't create object". I do have > references set to both DAO and Microsoft Access 14.0 but I think that is > irrelevant > > > Public Function GetDB(strLoc As String) As Object > Dim Ac As Object > Dim GetDBEngine As Object > Dim strName As String > On Error Resume Next > Set Ac = GetObject(, "Access.Application") > If Ac Is Nothing Then > Set Ac = CreateObject("Access.Application") > End If > > If Ac Is Nothing Then > > Set GetDBEngine = CreateObject("DAO.DBEngine.120") > If Err.Number <> 0 Then 'try 36 > Err.Clear > Set GetDBEngine = CreateObject("DAO.DBEngine.36") > If Err.Number <> 0 Then > Set GetDBEngine = CreateObject("DAO.DBEngine.35") > End If > End If > If Not GetDBEngine Is Nothing Then > Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) > End If > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Mon Dec 10 12:46:50 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 10 Dec 2012 13:46:50 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: Message-ID: <776D05C35C2F4EEF95E0B40F2CB4C691@XPS> William: You receive a "ActiveX component can't create object" error message when using Access http://support.microsoft.com/kb/319844 Usually it's DAO that's the culprit and it simply needs to be re-registered. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 10, 2012 12:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] CreateObject ("Access.Application") is not working I have a function that I cannot seem to get to create an instance of microsoft access even though it is installed on my machine I am getting error 429 which is "ActiveX component can't create object". I do have references set to both DAO and Microsoft Access 14.0 but I think that is irrelevant Public Function GetDB(strLoc As String) As Object Dim Ac As Object Dim GetDBEngine As Object Dim strName As String On Error Resume Next Set Ac = GetObject(, "Access.Application") If Ac Is Nothing Then Set Ac = CreateObject("Access.Application") End If If Ac Is Nothing Then Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 10 12:56:53 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 10 Dec 2012 13:56:53 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: Message-ID: <4ED98BDF9C714D70A28ABEC7611C857E@XPS> BTW, you should not be doing a CreateObject() on the DB engine. It's a property of the Access Application object. Set objApp = obj.Application Debug.Print objApp.DBEngine.version If you really want multiple dbEngine objects (say for using multiple workgroup files), then you want to use the PrivDBEngine object. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 10, 2012 12:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] CreateObject ("Access.Application") is not working I have a function that I cannot seem to get to create an instance of microsoft access even though it is installed on my machine I am getting error 429 which is "ActiveX component can't create object". I do have references set to both DAO and Microsoft Access 14.0 but I think that is irrelevant Public Function GetDB(strLoc As String) As Object Dim Ac As Object Dim GetDBEngine As Object Dim strName As String On Error Resume Next Set Ac = GetObject(, "Access.Application") If Ac Is Nothing Then Set Ac = CreateObject("Access.Application") End If If Ac Is Nothing Then Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Mon Dec 10 13:59:03 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 10 Dec 2012 14:59:03 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: <4ED98BDF9C714D70A28ABEC7611C857E@XPS> References: <4ED98BDF9C714D70A28ABEC7611C857E@XPS> Message-ID: Thanks for the replies. I did think I needed to start Access if I could get to the dbEngine object directly however I was looking for a reason as to why, should I try to hook the DBEngine, I might not be able to. So I wanted to be sure Access itself could be launched. Below my function which follows, is some code from Wayne Phillips, I don't know what it is doing but it digs into the registry to see which version of Access to launch via a shell, I think. And it requires that there be a database path to try to open. I am not sure why there is no way to just launch access and have it sitting there in the background, without a database (Does CreateObject doesn't usually require a target "document" but maybe databases are different?) Below, I make use of some code from Wayne Phillips to check if Access can be launched. If it is not already. If it can be, I quit it, since it was me who launched it. If it was already running, I'll know via GetObject. Then after I have surety that Access can be launched, I try to use DBEngine. If I can't then that must be due to reference issues which I am not skilled enough to overcome as of now but I wanted to at least get to a diagnosis. The machine I have, does have access, and I can't test this on a lot of environments. 'My function Public Function GetDB(strLoc As String) As Object Dim Ac As Object Dim GetDBEngine As Object Dim strName As String Dim bUseDBE As Boolean On Error Resume Next Set Ac = GetObject(, "Access.Application") If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.15", strLoc) If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.14", strLoc) If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.12", strLoc) If Ac Is Nothing Then If UCase(Right(strLoc, 6)) = ".ACCDB" Then 'No sense trying to use DBEngine Exit Function End If End If End If End If If Not Ac Is Nothing Then Debug.Print "We started Access, we can kill it" Ac.Quit bUseDBE = True End If Else bUseDBE = True End If If bUseDBE Then Err.Clear Debug.Print "Trying to get the target through the DBEngine, and no other db was open" 'try 120 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If End If If bUseDBE And GetDB Is Nothing Then 'Something is wrong - we can start and/or had an instance of Access but 'cannot hook the database engine MsgBox "There is a problem with launching the database engine" ElseIf Not bUseDBE Then Err.Clear Debug.Print "Trying to get the target through the DBEngine, and no other db was open" 'try 120 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If If GetDB Is Nothing Then MsgBox "Cannot find Access on this machine nor do the libraries for DAO appear to be installed or registered within this application." End If End If End Function Option Explicit ' ModCreateOfficeInstance by Wayne Phillips 2005 - ? EverythingAccess.com ' Written on 23/11/2005 for automating a specific version of Access ' Updated on 07/03/2012 to allow for delayed binding and better error handling. Private Declare Function RegCloseKey Lib "advapi32" _ (ByVal hKey As Long) As Long Private Declare Function RegOpenKey Lib "advapi32" _ Alias "RegOpenKeyA" _ (ByVal hKey As Long, _ ByVal sSubKey As String, _ hKey As Long) As Long Private Declare Function RegQueryValueEx Lib "advapi32" _ Alias "RegQueryValueExA" _ (ByVal hKey As Long, _ ByVal sKeyValue As String, _ ByVal lpReserved As Long, _ lpType As Long, _ lpData As Any, _ nSizeData As Long) As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Function FnGetRegString(ByVal hKeyRoot As Long, _ ByVal strSubKey As String, _ ByVal strValueName As String, _ ByRef strRetVal As String) As Boolean Dim lngDataSize As Long Dim hKey As Long Const ERROR_MORE_DATA = 234 Const ERROR_SUCCESS = 0 strRetVal = "" If RegOpenKey(hKeyRoot, _ strSubKey, _ hKey) = ERROR_SUCCESS Then 'Calculate the length of string we need to initialize as a buffer... If RegQueryValueEx(hKey, _ strValueName, _ 0&, _ 0&, _ ByVal strRetVal, _ lngDataSize) = ERROR_MORE_DATA Then 'Initialize the string buffer to a fixed length strRetVal = String(lngDataSize + 1, 0) If RegQueryValueEx(hKey, _ strValueName, _ 0&, _ 0&, _ ByVal strRetVal, _ lngDataSize) = ERROR_SUCCESS Then 'We got the value, trim the extra null terminator strRetVal = Left(strRetVal, InStr(1, strRetVal, Chr(0)) - 1) FnGetRegString = True End If End If Call RegCloseKey(hKey) End If End Function Private Function FnGetAssociatedPathFromProgID(ByVal strProgID As String) As String Dim strOutputPath As String Const HKEY_CLASSES_ROOT = &H80000000 If FnGetRegString(HKEY_CLASSES_ROOT, strProgID & "\shell\Open\command", "", strOutputPath) = True Then FnGetAssociatedPathFromProgID = strOutputPath End If End Function Public Function CreateOfficeInstance(ByVal strProgID As String, _ ByVal strFilePath) As Object Dim strCommandLine As String Dim strPath As String 'Get the class GUID (CLSID) from the input ProgID strPath = FnGetAssociatedPathFromProgID(strProgID) If Len(strPath) > 0 Then 'The returned path is actually a command line string with parameter for file name as %1 strCommandLine = Replace(strPath, "%1", strFilePath) Shell strCommandLine, vbMinimizedNoFocus 'Attempt to bind to the instance... On Error GoTo RetryDelay Set CreateOfficeInstance = GetObject(strFilePath).Application Else Err.Raise 76, , "CreateOfficeInstance: failed to get path information for ProgID '" & strProgID & "'" End If Exit Function RetryDelay: ' Binding to the created instance might fail if the external process hasn't yet loaded the ' document / file and registered itself in the COM Running Object Table, so we will retry ' several times after a short delay, before failing. Dim RetryCount As Long If RetryCount < 10 Then Sleep 500 ' Wait half a second and try again (upto 10 times) RetryCount = RetryCount + 1 Resume Else On Error GoTo 0 Err.Raise 429, , "CreateOfficeInstance: failed to bind to specific instance of '" & strProgID & "'" End If End Function From jimdettman at verizon.net Mon Dec 10 14:47:56 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 10 Dec 2012 15:47:56 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: <4ED98BDF9C714D70A28ABEC7611C857E@XPS> Message-ID: William, <> I wouldn't bother firing up Access. You *can* instantiate dbEngine on it's own through the DAO lib, but normally you only do that from something like C++. Since Access carries a dbEngine object of its own for the current database, there's no reason to do that if Access is installed. Without Access, you can only read/write data in the tables of the DB. You won't have access to any Access objects, such as forms, reports, etc. with the dbEngine alone. If the intent though is just to work with data and you want as little overhead as possible, then that is what you'd do. <> You can have that - it's just the way this procedure is written. If you do CreateObject ("Access.Application") you have an instance of Access, but no DB as yet. You would use the OpenCurrentDatabase() method to open a DB within the instance as the "current" DB. Hope that helps; not sure if I'm missing the point or not I've been up 33 hours straight now and I haven't done that in a LONG time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 10, 2012 02:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CreateObject ("Access.Application") is not working Thanks for the replies. I did think I needed to start Access if I could get to the dbEngine object directly however I was looking for a reason as to why, should I try to hook the DBEngine, I might not be able to. So I wanted to be sure Access itself could be launched. Below my function which follows, is some code from Wayne Phillips, I don't know what it is doing but it digs into the registry to see which version of Access to launch via a shell, I think. And it requires that there be a database path to try to open. I am not sure why there is no way to just launch access and have it sitting there in the background, without a database (Does CreateObject doesn't usually require a target "document" but maybe databases are different?) Below, I make use of some code from Wayne Phillips to check if Access can be launched. If it is not already. If it can be, I quit it, since it was me who launched it. If it was already running, I'll know via GetObject. Then after I have surety that Access can be launched, I try to use DBEngine. If I can't then that must be due to reference issues which I am not skilled enough to overcome as of now but I wanted to at least get to a diagnosis. The machine I have, does have access, and I can't test this on a lot of environments. 'My function Public Function GetDB(strLoc As String) As Object Dim Ac As Object Dim GetDBEngine As Object Dim strName As String Dim bUseDBE As Boolean On Error Resume Next Set Ac = GetObject(, "Access.Application") If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.15", strLoc) If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.14", strLoc) If Ac Is Nothing Then Set Ac = CreateAccessInstance("Access.Application.12", strLoc) If Ac Is Nothing Then If UCase(Right(strLoc, 6)) = ".ACCDB" Then 'No sense trying to use DBEngine Exit Function End If End If End If End If If Not Ac Is Nothing Then Debug.Print "We started Access, we can kill it" Ac.Quit bUseDBE = True End If Else bUseDBE = True End If If bUseDBE Then Err.Clear Debug.Print "Trying to get the target through the DBEngine, and no other db was open" 'try 120 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If End If If bUseDBE And GetDB Is Nothing Then 'Something is wrong - we can start and/or had an instance of Access but 'cannot hook the database engine MsgBox "There is a problem with launching the database engine" ElseIf Not bUseDBE Then Err.Clear Debug.Print "Trying to get the target through the DBEngine, and no other db was open" 'try 120 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.120") If Err.Number <> 0 Then 'try 36 Err.Clear Set GetDBEngine = CreateObject("DAO.DBEngine.36") If Err.Number <> 0 Then Set GetDBEngine = CreateObject("DAO.DBEngine.35") End If End If If Not GetDBEngine Is Nothing Then Set GetDB = GetDBEngine.Workspaces(0).OpenDatabase(strLoc) End If If GetDB Is Nothing Then MsgBox "Cannot find Access on this machine nor do the libraries for DAO appear to be installed or registered within this application." End If End If End Function Option Explicit ' ModCreateOfficeInstance by Wayne Phillips 2005 - C EverythingAccess.com ' Written on 23/11/2005 for automating a specific version of Access ' Updated on 07/03/2012 to allow for delayed binding and better error handling. Private Declare Function RegCloseKey Lib "advapi32" _ (ByVal hKey As Long) As Long Private Declare Function RegOpenKey Lib "advapi32" _ Alias "RegOpenKeyA" _ (ByVal hKey As Long, _ ByVal sSubKey As String, _ hKey As Long) As Long Private Declare Function RegQueryValueEx Lib "advapi32" _ Alias "RegQueryValueExA" _ (ByVal hKey As Long, _ ByVal sKeyValue As String, _ ByVal lpReserved As Long, _ lpType As Long, _ lpData As Any, _ nSizeData As Long) As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Function FnGetRegString(ByVal hKeyRoot As Long, _ ByVal strSubKey As String, _ ByVal strValueName As String, _ ByRef strRetVal As String) As Boolean Dim lngDataSize As Long Dim hKey As Long Const ERROR_MORE_DATA = 234 Const ERROR_SUCCESS = 0 strRetVal = "" If RegOpenKey(hKeyRoot, _ strSubKey, _ hKey) = ERROR_SUCCESS Then 'Calculate the length of string we need to initialize as a buffer... If RegQueryValueEx(hKey, _ strValueName, _ 0&, _ 0&, _ ByVal strRetVal, _ lngDataSize) = ERROR_MORE_DATA Then 'Initialize the string buffer to a fixed length strRetVal = String(lngDataSize + 1, 0) If RegQueryValueEx(hKey, _ strValueName, _ 0&, _ 0&, _ ByVal strRetVal, _ lngDataSize) = ERROR_SUCCESS Then 'We got the value, trim the extra null terminator strRetVal = Left(strRetVal, InStr(1, strRetVal, Chr(0)) - 1) FnGetRegString = True End If End If Call RegCloseKey(hKey) End If End Function Private Function FnGetAssociatedPathFromProgID(ByVal strProgID As String) As String Dim strOutputPath As String Const HKEY_CLASSES_ROOT = &H80000000 If FnGetRegString(HKEY_CLASSES_ROOT, strProgID & "\shell\Open\command", "", strOutputPath) = True Then FnGetAssociatedPathFromProgID = strOutputPath End If End Function Public Function CreateOfficeInstance(ByVal strProgID As String, _ ByVal strFilePath) As Object Dim strCommandLine As String Dim strPath As String 'Get the class GUID (CLSID) from the input ProgID strPath = FnGetAssociatedPathFromProgID(strProgID) If Len(strPath) > 0 Then 'The returned path is actually a command line string with parameter for file name as %1 strCommandLine = Replace(strPath, "%1", strFilePath) Shell strCommandLine, vbMinimizedNoFocus 'Attempt to bind to the instance... On Error GoTo RetryDelay Set CreateOfficeInstance = GetObject(strFilePath).Application Else Err.Raise 76, , "CreateOfficeInstance: failed to get path information for ProgID '" & strProgID & "'" End If Exit Function RetryDelay: ' Binding to the created instance might fail if the external process hasn't yet loaded the ' document / file and registered itself in the COM Running Object Table, so we will retry ' several times after a short delay, before failing. Dim RetryCount As Long If RetryCount < 10 Then Sleep 500 ' Wait half a second and try again (upto 10 times) RetryCount = RetryCount + 1 Resume Else On Error GoTo 0 Err.Raise 429, , "CreateOfficeInstance: failed to bind to specific instance of '" & strProgID & "'" End If End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rls at WeBeDb.com Mon Dec 10 15:02:23 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Mon, 10 Dec 2012 15:02:23 -0600 Subject: [AccessD] View PDF in Unbound Object Control Message-ID: All, I really need some input on this. If it is not possible, please let me know. I think I can do it with a .Net project and view the document in a browser window using the different MIME format stuff the browser makes available. But, is using a browser control also the answer here? At 08:03 AM 12/7/2012, you wrote: >Date: Tue, 04 Dec 2012 11:01:47 -0600 >From: Robert Stewart >To: accessd at databaseadvisors.com >Subject: [AccessD] View PDF in Unbound Object Control >Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6 at holly.arvixe.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > > > >All, > > >I would like to be able to view different document types in the >unbound object control. >I have a table that gives me the UNC path to the file. I have the >extension of the file >as a separate field in the table where the UNC path is. I have >limited the query to >only PDF files. In this case, there are only 2. I want to be able >to preview them in the >control and double click them to open them in a PDF reader. > >The problem is that the SourceDoc property is being changed, but not >refreshed. >Well, not to the point that the document is display in the object container. > >Below is the code I am using: > >Private Sub Form_Current() > Me.OLEUnbound4.SourceDoc = "" > Me.OLEUnbound4.SourceDoc = Me.txtFullPath > Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc > Me.OLEUnbound4.Requery > Me.Refresh > Me.Repaint >End Sub > >When I am on the first row, the value in SourceDoc is: >\\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf >When I move to the second record, it is: >\\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pdf > >I am getting this from the third line of code where I get the value >of SourceDoc >and display it on the screen. > >I still see the first document in the object container and when i >double-click on >it, I get the first document. > >Any one have any ideas on how to make this work? > > > > > >Robert L. Stewart Robert L. Stewart Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --Martin Fowler www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From vbacreations at gmail.com Mon Dec 10 15:22:25 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 10 Dec 2012 16:22:25 -0500 Subject: [AccessD] CreateObject ("Access.Application") is not working In-Reply-To: References: <4ED98BDF9C714D70A28ABEC7611C857E@XPS> Message-ID: Honestly Jim, all I was really writing about was to try to understand why CreateObject ("Access.Application") did not create an instance of Access :-) The rest is just me over-engineering. And like you say, there is little need for it anyway. But I was POd enough about CreateObject not working that I went ahead and found Wayne's code and said "Nyahhhh VBA!" -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From newsgrps at dalyn.co.nz Mon Dec 10 19:54:52 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 11 Dec 2012 14:54:52 +1300 Subject: [AccessD] Create Multiple records in report Message-ID: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> This is not a direct Access question but more a SQL problem. I have a table that has order addresses and number of items ordered. I want to create a label for each item shipped. If I have an order for 3 widgets then I want 3 labels. Is there a simple way of creating a record set with the number of records equalling the number of items shipped (and not the number of orders)? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Mon Dec 10 20:01:13 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 11 Dec 2012 15:01:13 +1300 Subject: [AccessD] Create Multiple records in report In-Reply-To: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> References: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> Message-ID: <003d01cdd743$660cfbc0$3226f340$@dalyn.co.nz> One thing to add, there could be several items ordered so if there were 3 widgets and 2 whatszits ordered there would be 5 labels. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, 11 December 2012 2:55 p.m. To: AccessD Subject: [AccessD] Create Multiple records in report This is not a direct Access question but more a SQL problem. I have a table that has order addresses and number of items ordered. I want to create a label for each item shipped. If I have an order for 3 widgets then I want 3 labels. Is there a simple way of creating a record set with the number of records equalling the number of items shipped (and not the number of orders)? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 10 20:25:57 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Dec 2012 18:25:57 -0800 Subject: [AccessD] Create Multiple records in report In-Reply-To: <003d01cdd743$660cfbc0$3226f340$@dalyn.co.nz> References: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> <003d01cdd743$660cfbc0$3226f340$@dalyn.co.nz> Message-ID: <6969BD0649BC49B980AF80BFD2BA3066@HAL9007> Me - I'd use a bit of code and a temp table. I'm sure someone will have a slick way of doing this but that's the method that would take me the least amount of time. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, December 10, 2012 6:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create Multiple records in report One thing to add, there could be several items ordered so if there were 3 widgets and 2 whatszits ordered there would be 5 labels. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, 11 December 2012 2:55 p.m. To: AccessD Subject: [AccessD] Create Multiple records in report This is not a direct Access question but more a SQL problem. I have a table that has order addresses and number of items ordered. I want to create a label for each item shipped. If I have an order for 3 widgets then I want 3 labels. Is there a simple way of creating a record set with the number of records equalling the number of items shipped (and not the number of orders)? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Dec 10 20:46:00 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 11 Dec 2012 12:46:00 +1000 Subject: [AccessD] Create Multiple records in report In-Reply-To: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> References: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> Message-ID: <50C69E68.10495.3E120FDE@stuart.lexacorp.com.pg> My standard solution for this is a numbers table. (There are lots of uses for one). It just contains single field "Num" and is populated with a range of numbers from 1 to 1000 or whatever is appropriate. Then your query would be Select * from tblOrderItems, tblNumbers where tblNumbers.Num <= tblOrderItems.Qty" IIf tblOrderItems contains OrderId Item Qty 1 1 3 1 2 2 Your recordset would return OrderID Item Qty Num 1 1 3 1 1 1 3 2 1 1 3 3 1 2 2 1 1 2 2 2 -- Stuart On 11 Dec 2012 at 14:54, David Emerson wrote: > This is not a direct Access question but more a SQL problem. > > > > I have a table that has order addresses and number of items ordered. I want > to create a label for each item shipped. If I have an order for 3 widgets > then I want 3 labels. Is there a simple way of creating a record set with > the number of records equalling the number of items shipped (and not the > number of orders)? > > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Mon Dec 10 22:35:24 2012 From: darren at activebilling.com.au (Darren) Date: Tue, 11 Dec 2012 15:35:24 +1100 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: References: Message-ID: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> Yep. Drop a browser control onto a form. Call it say...actXMyBrowser. view the PDF file in the browser with code like this... Me.actXMYBrowser.navigate "c:\SomeFolder\SomePDFFile.pdf" D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Stewart Sent: Tuesday, 11 December 2012 8:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] View PDF in Unbound Object Control All, I really need some input on this. If it is not possible, please let me know. I think I can do it with a .Net project and view the document in a browser window using the different MIME format stuff the browser makes available. But, is using a browser control also the answer here? At 08:03 AM 12/7/2012, you wrote: >Date: Tue, 04 Dec 2012 11:01:47 -0600 >From: Robert Stewart >To: accessd at databaseadvisors.com >Subject: [AccessD] View PDF in Unbound Object Control >Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6 at holly.arvixe.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > > > >All, > > >I would like to be able to view different document types in the unbound >object control. >I have a table that gives me the UNC path to the file. I have the >extension of the file as a separate field in the table where the UNC >path is. I have limited the query to only PDF files. In this case, >there are only 2. I want to be able to preview them in the control and >double click them to open them in a PDF reader. > >The problem is that the SourceDoc property is being changed, but not >refreshed. >Well, not to the point that the document is display in the object container. > >Below is the code I am using: > >Private Sub Form_Current() > Me.OLEUnbound4.SourceDoc = "" > Me.OLEUnbound4.SourceDoc = Me.txtFullPath > Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc > Me.OLEUnbound4.Requery > Me.Refresh > Me.Repaint >End Sub > >When I am on the first row, the value in SourceDoc is: >\\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf >When I move to the second record, it is: >\\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pdf > >I am getting this from the third line of code where I get the value of >SourceDoc and display it on the screen. > >I still see the first document in the object container and when i >double-click on it, I get the first document. > >Any one have any ideas on how to make this work? > > > > > >Robert L. Stewart Robert L. Stewart Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --Martin Fowler www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 10 23:09:45 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 10 Dec 2012 21:09:45 -0800 Subject: [AccessD] Another Access programmer job In-Reply-To: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> References: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> Message-ID: Disappointed that you did not get that last job in Atlanta George? Don't fret as here is another one. http://information-technology.thingamajob.com/jobs/Georgia/VBA-ACCESS-develo per/2716226 Not only will you have to have mastered MS Access but know what VB is (no Access 10 or 13 developer need apply as what would they know about VB?) and be able to hack Excel with the best of them...in other wards just every day common stuff. Jim From rockysmolin at bchacc.com Tue Dec 11 00:18:36 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Dec 2012 22:18:36 -0800 Subject: [AccessD] Switch from Providex to SQL stops append query Message-ID: <4A3E1A6976214BB1827CDA081E524922@HAL9007> Dear List: I was on call to a local company - a small manufacturer - who has an ERP system. They also have a custom Access database - front and back ends - which supplement this application. The BE of this custom app is loaded during start up of the FE by a series of macros which call queries (delete and append) that extract data from the ERP system and append it to tables in the custom BE. Over the weekend they switched their main app's database from Providex to SQL. The upgrade went well but one of the append queries called by the startup macros does not work. This query extracts sales order data from the SQL (formerly Providex) database to update order tables in the custom Access back end. The data is extracted from the SQL (formerly PROVIDEX) database through ODBC connections. I spent a couple of hours there this morning but was unable to find the solution. Am going back tomorrow morning. The append query says most of the records cannot be appended due to validation rule violations. Oddly, 5 of the nearly 2000 record DO get appended. The unique thing about those records is that there are two fields in the data to be appended which both have data. In all the other records which are rejected, either one or both of those fields is null. Dropping those two fields from the append query lowers the number of records not appended dramatically, but not completely. And those fields in the target table are plain vanilla text, not required. Anyway, they do need to be in the appended data. I ran the query on the old Providex db and the new one on the SQL db and compared the data extracted and could see no difference. The target table has two fields as the primary key - a sales order number and the line number of the sales order. So I deleted all the fields from the append query except the two primary key fields. The append fails due to key violations for ALL of the records - none make it. Changing this query to a select query I looked at the two fields. There are no duplicates. I started again with the original append query and began to delete the fields one by one to see if I could find the culprit. After deleting certain fields, the number of records not appended dropped by a few records. But none appeared to be the sole culprit. So I'm kind of stumped but I'm thinking that there's some difference in the data extracted through the ODBC connection to the SQL db that is not visible. These queries have been running without problem for quite a while extracting data from the Providex db and appending it to the custom Access BE. Any ideas about what might be going on here? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From stuart at lexacorp.com.pg Tue Dec 11 00:42:53 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 11 Dec 2012 16:42:53 +1000 Subject: [AccessD] Switch from Providex to SQL stops append query In-Reply-To: <4A3E1A6976214BB1827CDA081E524922@HAL9007> References: <4A3E1A6976214BB1827CDA081E524922@HAL9007> Message-ID: <50C6D5ED.1261.3EEAEDD2@stuart.lexacorp.com.pg> Does the targett table have "Allow Zero length" = "Yes" on the text fields? If not, that could be the problem. -- Stuart On 10 Dec 2012 at 22:18, Rocky Smolin wrote: > Dear List: > > I was on call to a local company - a small manufacturer - who has an ERP > system. They also have a custom Access database - front and back ends - > which supplement this application. The BE of this custom app is loaded > during start up of the FE by a series of macros which call queries (delete > and append) that extract data from the ERP system and append it to tables in > the custom BE. > > Over the weekend they switched their main app's database from Providex to > SQL. The upgrade went well but one of the append queries called by the > startup macros does not work. This query extracts sales order data from the > SQL (formerly Providex) database to update order tables in the custom Access > back end. The data is extracted from the SQL (formerly PROVIDEX) database > through ODBC connections. > > I spent a couple of hours there this morning but was unable to find the > solution. Am going back tomorrow morning. > > The append query says most of the records cannot be appended due to > validation rule violations. Oddly, 5 of the nearly 2000 record DO get > appended. The unique thing about those records is that there are two fields > in the data to be appended which both have data. In all the other records > which are rejected, either one or both of those fields is null. Dropping > those two fields from the append query lowers the number of records not > appended dramatically, but not completely. And those fields in the target > table are plain vanilla text, not required. Anyway, they do need to be in > the appended data. > > I ran the query on the old Providex db and the new one on the SQL db and > compared the data extracted and could see no difference. > > The target table has two fields as the primary key - a sales order number > and the line number of the sales order. So I deleted all the fields from the > append query except the two primary key fields. The append fails due to key > violations for ALL of the records - none make it. Changing this query to a > select query I looked at the two fields. There are no duplicates. > > I started again with the original append query and began to delete the > fields one by one to see if I could find the culprit. After deleting > certain fields, the number of records not appended dropped by a few records. > But none appeared to be the sole culprit. > > So I'm kind of stumped but I'm thinking that there's some difference in the > data extracted through the ODBC connection to the SQL db that is not > visible. > > These queries have been running without problem for quite a while extracting > data from the Providex db and appending it to the custom Access BE. > > Any ideas about what might be going on here? > > MTIA, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Tue Dec 11 00:54:01 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Dec 2012 22:54:01 -0800 Subject: [AccessD] Switch from Providex to SQL stops append query In-Reply-To: <50C6D5ED.1261.3EEAEDD2@stuart.lexacorp.com.pg> References: <4A3E1A6976214BB1827CDA081E524922@HAL9007> <50C6D5ED.1261.3EEAEDD2@stuart.lexacorp.com.pg> Message-ID: <26B595F1668445E2996A5EEEDDCE4029@HAL9007> I think allow zero length is NO. It worked on the old Providex db. SO it seems like it should work the same extracting from the SQL db but I'll try modifying the BE table tomorrow. I was trying to solve it without modifying the BE because I don't know the whole FE app and what it does and don't want to open that can of worms. I also considered deleting the compound PK and replacing with an Autonumber ID but was holding off on that alternative for the same reason. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 10, 2012 10:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Switch from Providex to SQL stops append query Does the targett table have "Allow Zero length" = "Yes" on the text fields? If not, that could be the problem. -- Stuart On 10 Dec 2012 at 22:18, Rocky Smolin wrote: > Dear List: > > I was on call to a local company - a small manufacturer - who has an > ERP system. They also have a custom Access database - front and back > ends - which supplement this application. The BE of this custom app > is loaded during start up of the FE by a series of macros which call > queries (delete and append) that extract data from the ERP system and > append it to tables in the custom BE. > > Over the weekend they switched their main app's database from Providex > to SQL. The upgrade went well but one of the append queries called by > the startup macros does not work. This query extracts sales order > data from the SQL (formerly Providex) database to update order tables > in the custom Access back end. The data is extracted from the SQL > (formerly PROVIDEX) database through ODBC connections. > > I spent a couple of hours there this morning but was unable to find > the solution. Am going back tomorrow morning. > > The append query says most of the records cannot be appended due to > validation rule violations. Oddly, 5 of the nearly 2000 record DO get > appended. The unique thing about those records is that there are two > fields in the data to be appended which both have data. In all the > other records which are rejected, either one or both of those fields > is null. Dropping those two fields from the append query lowers the > number of records not appended dramatically, but not completely. And > those fields in the target table are plain vanilla text, not required. > Anyway, they do need to be in the appended data. > > I ran the query on the old Providex db and the new one on the SQL db > and compared the data extracted and could see no difference. > > The target table has two fields as the primary key - a sales order > number and the line number of the sales order. So I deleted all the > fields from the append query except the two primary key fields. The > append fails due to key violations for ALL of the records - none make > it. Changing this query to a select query I looked at the two fields. There are no duplicates. > > I started again with the original append query and began to delete the > fields one by one to see if I could find the culprit. After deleting > certain fields, the number of records not appended dropped by a few records. > But none appeared to be the sole culprit. > > So I'm kind of stumped but I'm thinking that there's some difference > in the data extracted through the ODBC connection to the SQL db that > is not visible. > > These queries have been running without problem for quite a while > extracting data from the Providex db and appending it to the custom Access BE. > > Any ideas about what might be going on here? > > MTIA, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Dec 11 00:52:37 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 11 Dec 2012 19:52:37 +1300 Subject: [AccessD] Create Multiple records in report In-Reply-To: <50C69E68.10495.3E120FDE@stuart.lexacorp.com.pg> References: <003801cdd742$831e8040$895b80c0$@dalyn.co.nz> <50C69E68.10495.3E120FDE@stuart.lexacorp.com.pg> Message-ID: <000901cdd76c$1b51d500$51f57f00$@dalyn.co.nz> Thanks Stuart. That is the solution I saw most often on the web but was hoping that there was something simplier with just using the data in the existing table. I can't think how it could be done but then it is always dangerous to set oneself as the limit of all knowledge. Regards David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 11 December 2012 3:46 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Create Multiple records in report My standard solution for this is a numbers table. (There are lots of uses for one). It just contains single field "Num" and is populated with a range of numbers from 1 to 1000 or whatever is appropriate. Then your query would be Select * from tblOrderItems, tblNumbers where tblNumbers.Num <= tblOrderItems.Qty" IIf tblOrderItems contains OrderId Item Qty 1 1 3 1 2 2 Your recordset would return OrderID Item Qty Num 1 1 3 1 1 1 3 2 1 1 3 3 1 2 2 1 1 2 2 2 -- Stuart On 11 Dec 2012 at 14:54, David Emerson wrote: > This is not a direct Access question but more a SQL problem. > > > > I have a table that has order addresses and number of items ordered. I want > to create a label for each item shipped. If I have an order for 3 widgets > then I want 3 labels. Is there a simple way of creating a record set with > the number of records equalling the number of items shipped (and not the > number of orders)? > > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 11 01:58:44 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 11 Dec 2012 17:58:44 +1000 Subject: [AccessD] Switch from Providex to SQL stops append query In-Reply-To: <26B595F1668445E2996A5EEEDDCE4029@HAL9007> References: <4A3E1A6976214BB1827CDA081E524922@HAL9007>, <50C6D5ED.1261.3EEAEDD2@stuart.lexacorp.com.pg>, <26B595F1668445E2996A5EEEDDCE4029@HAL9007> Message-ID: <50C6E7B4.20242.3F305E22@stuart.lexacorp.com.pg> If they migrated the data from Providex to SQL Server, it 's quite possible that some Nulls got changed to empty strings in the process. One option would be to run an update query on the SQL Server changing all empty strings to Nulls. Another, probably better, would be to modify the import query to change empty strings to Nulls during the import. -- Stuart On 10 Dec 2012 at 22:54, Rocky Smolin wrote: > I think allow zero length is NO. It worked on the old Providex db. SO it > seems like it should work the same extracting from the SQL db but I'll try > modifying the BE table tomorrow. I was trying to solve it without modifying > the BE because I don't know the whole FE app and what it does and don't want > to open that can of worms. I also considered deleting the compound PK and > replacing with an Autonumber ID but was holding off on that alternative for > the same reason. > > Thanks. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, December 10, 2012 10:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Switch from Providex to SQL stops append query > > Does the targett table have "Allow Zero length" = "Yes" on the text fields? > If not, that could be the problem. > > -- > Stuart > > On 10 Dec 2012 at 22:18, Rocky Smolin wrote: > > > Dear List: > > > > I was on call to a local company - a small manufacturer - who has an > > ERP system. They also have a custom Access database - front and back > > ends - which supplement this application. The BE of this custom app > > is loaded during start up of the FE by a series of macros which call > > queries (delete and append) that extract data from the ERP system and > > append it to tables in the custom BE. > > > > Over the weekend they switched their main app's database from Providex > > to SQL. The upgrade went well but one of the append queries called by > > the startup macros does not work. This query extracts sales order > > data from the SQL (formerly Providex) database to update order tables > > in the custom Access back end. The data is extracted from the SQL > > (formerly PROVIDEX) database through ODBC connections. > > > > I spent a couple of hours there this morning but was unable to find > > the solution. Am going back tomorrow morning. > > > > The append query says most of the records cannot be appended due to > > validation rule violations. Oddly, 5 of the nearly 2000 record DO get > > appended. The unique thing about those records is that there are two > > fields in the data to be appended which both have data. In all the > > other records which are rejected, either one or both of those fields > > is null. Dropping those two fields from the append query lowers the > > number of records not appended dramatically, but not completely. And > > those fields in the target table are plain vanilla text, not required. > > Anyway, they do need to be in the appended data. > > > > I ran the query on the old Providex db and the new one on the SQL db > > and compared the data extracted and could see no difference. > > > > The target table has two fields as the primary key - a sales order > > number and the line number of the sales order. So I deleted all the > > fields from the append query except the two primary key fields. The > > append fails due to key violations for ALL of the records - none make > > it. Changing this query to a select query I looked at the two fields. > There are no duplicates. > > > > I started again with the original append query and began to delete the > > fields one by one to see if I could find the culprit. After deleting > > certain fields, the number of records not appended dropped by a few > records. > > But none appeared to be the sole culprit. > > > > So I'm kind of stumped but I'm thinking that there's some difference > > in the data extracted through the ODBC connection to the SQL db that > > is not visible. > > > > These queries have been running without problem for quite a while > > extracting data from the Providex db and appending it to the custom Access > BE. > > > > Any ideas about what might be going on here? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeff.developer at gmail.com Tue Dec 11 08:37:12 2012 From: jeff.developer at gmail.com (Jeff B) Date: Tue, 11 Dec 2012 08:37:12 -0600 Subject: [AccessD] Access 2007 and Map Point 2013 Message-ID: <000801cdd7ad$031da180$0958e480$@gmail.com> Anybody used these two products together? Ever since I installed Map Point, I have issues opening my Access ?apps?. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From john at winhaven.net Tue Dec 11 14:22:55 2012 From: john at winhaven.net (John Bartow) Date: Tue, 11 Dec 2012 14:22:55 -0600 Subject: [AccessD] Access 2007 and Map Point 2013 In-Reply-To: <000801cdd7ad$031da180$0958e480$@gmail.com> References: <000801cdd7ad$031da180$0958e480$@gmail.com> Message-ID: <000601cdd7dd$4dc96180$e95c2480$@winhaven.net> Jeff, We used to have a Map Point programmer on the list. IIRC it was Michael Mattys. If you don't get a hit soon maybe you could try him directly. John B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff B Sent: Tuesday, December 11, 2012 8:37 AM To: AccessD Subject: [AccessD] Access 2007 and Map Point 2013 Anybody used these two products together? Ever since I installed Map Point, I have issues opening my Access ?apps?. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.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 Tue Dec 11 14:23:52 2012 From: jeff.developer at gmail.com (Jeff B) Date: Tue, 11 Dec 2012 14:23:52 -0600 Subject: [AccessD] Access 2007 and Map Point 2013 In-Reply-To: <000601cdd7dd$4dc96180$e95c2480$@winhaven.net> References: <000801cdd7ad$031da180$0958e480$@gmail.com> <000601cdd7dd$4dc96180$e95c2480$@winhaven.net> Message-ID: <004101cdd7dd$709f6150$51de23f0$@gmail.com> Thanks John. I saw some links from him on a MapPoint forum and thought the name was familiar, but I have been having trouble getting to the DBA website today. I will look into contacting him directly. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 11, 2012 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 and Map Point 2013 Jeff, We used to have a Map Point programmer on the list. IIRC it was Michael Mattys. If you don't get a hit soon maybe you could try him directly. John B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff B Sent: Tuesday, December 11, 2012 8:37 AM To: AccessD Subject: [AccessD] Access 2007 and Map Point 2013 Anybody used these two products together? Ever since I installed Map Point, I have issues opening my Access ?apps?. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 11 14:58:55 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 11 Dec 2012 20:58:55 +0000 Subject: [AccessD] SQL Time Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> I have a database with linked SQL server table. I need to extract some records from the table. Some days there is more than one record; ie two records with different times. I need to grab the last record on those days. So far I have not come up with a way. Your ideas appreciated. From davidmcafee at gmail.com Tue Dec 11 15:24:17 2012 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 11 Dec 2012 13:24:17 -0800 Subject: [AccessD] SQL Time In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> Message-ID: is there a PKID for the table? SELECT PKID, MAX(SomeDateFiekd) AS MaxDate FROM SomeTable You'll have to join back to the same table if you want more data from the table: SELECT B.* FROM (SELECT PKID, MAX(SomeDateField) AS MaxDate FROM SomeTable) A INNER JOIN SomeTable B ON A.PKID = B.PKID AND A.MaxDate = B.SomeDateField On Tue, Dec 11, 2012 at 12:58 PM, Kaup, Chester wrote: > I have a database with linked SQL server table. I need to extract some records from the table. Some days there is more than one record; ie two records with different times. I need to grab the last record on those days. So far I have not come up with a way. Your ideas appreciated. > -- > 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 Dec 11 15:30:13 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Dec 2012 07:30:13 +1000 Subject: [AccessD] SQL Time In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> Message-ID: <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> Something like: Select t1.* from mytable t1 inner join (select distinct ParentFK, INT(rDateTime), max(rDatetime) as lasdatetime group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK AND t2.lastdatetime = t1.rdatetime The inner Select should return the FK and the datetime of the last record for each day for each Parent entity. Joining on those two fields should give you just the records you want. -- Stuart On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > I have a database with linked SQL server table. I need to extract some > records from the table. Some days there is more than one record; ie > two records with different times. I need to grab the last record on > those days. So far I have not come up with a way. Your ideas > appreciated. -- 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 Dec 11 15:32:18 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Dec 2012 07:32:18 +1000 Subject: [AccessD] SQL Time In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com>, Message-ID: <50C7A662.30760.42193618@stuart.lexacorp.com.pg> You need the Max for EACH day, not the max for the PK. See my posting. -- Stuart On 11 Dec 2012 at 13:24, David McAfee wrote: > is there a PKID for the table? > > SELECT PKID, MAX(SomeDateFiekd) AS MaxDate FROM SomeTable > > > You'll have to join back to the same table if you want more data from the table: > > SELECT B.* > FROM > (SELECT PKID, MAX(SomeDateField) AS MaxDate FROM SomeTable) A > INNER JOIN SomeTable B ON A.PKID = B.PKID AND A.MaxDate = B.SomeDateField > > > On Tue, Dec 11, 2012 at 12:58 PM, Kaup, Chester > wrote: > > I have a database with linked SQL server table. I need to extract some records from the table. Some days there is more than one record; ie two records with different times. I need to grab the last record on those days. So far I have not come up with a way. Your ideas appreciated. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Dec 11 16:08:00 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 11 Dec 2012 22:08:00 +0000 Subject: [AccessD] SQL Time In-Reply-To: <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2A5@HOUEX6.kindermorgan.com> Tried this and got a select statement error Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, INT(StatusDate), max(StatusDate) as lastdatetime group by PID, INT(StatusDate)) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; I the modified the select statement and came up with this -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 11, 2012 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Time Something like: Select t1.* from mytable t1 inner join (select distinct ParentFK, INT(rDateTime), max(rDatetime) as lasdatetime group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK AND t2.lastdatetime = t1.rdatetime The inner Select should return the FK and the datetime of the last record for each day for each Parent entity. Joining on those two fields should give you just the records you want. -- Stuart On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > I have a database with linked SQL server table. I need to extract some > records from the table. Some days there is more than one record; ie > two records with different times. I need to grab the last record on > those days. So far I have not come up with a way. Your ideas > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Website: > http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 11 16:13:51 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 11 Dec 2012 22:13:51 +0000 Subject: [AccessD] SQL Time References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2B4@HOUEX6.kindermorgan.com> Other message got sent to soon please ignore Tried this and got a select statement error Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, INT(StatusDate), max(StatusDate) as lastdatetime group by PID, INT(StatusDate)) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; I the modified the select statement and came up with this Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, INT(StatusDate), max(StatusDate) as lastdatetime from dbo_DSS_StatusChanges group by PID, INT(StatusDate)) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] Disallowed implicit conversion from data type datetime to data type float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the CONVERT function to run this query. (#260) Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 11, 2012 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Time Something like: Select t1.* from mytable t1 inner join (select distinct ParentFK, INT(rDateTime), max(rDatetime) as lasdatetime group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK AND t2.lastdatetime = t1.rdatetime The inner Select should return the FK and the datetime of the last record for each day for each Parent entity. Joining on those two fields should give you just the records you want. -- Stuart On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > I have a database with linked SQL server table. I need to extract some > records from the table. Some days there is more than one record; ie > two records with different times. I need to grab the last record on > those days. So far I have not come up with a way. Your ideas > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Website: > http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 11 16:27:58 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 11 Dec 2012 22:27:58 +0000 Subject: [AccessD] SQL Time - Problem solved References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2C8@HOUEX6.kindermorgan.com> Here is the query that works Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, CDate(INT(StatusDate)), max(StatusDate) as lastdatetime from dbo_DSS_StatusChanges group by PID, CDate(INT(StatusDate))) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; -----Original Message----- From: Kaup, Chester Sent: Tuesday, December 11, 2012 4:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SQL Time Other message got sent to soon please ignore Tried this and got a select statement error Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, INT(StatusDate), max(StatusDate) as lastdatetime group by PID, INT(StatusDate)) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; I the modified the select statement and came up with this Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct PID, INT(StatusDate), max(StatusDate) as lastdatetime from dbo_DSS_StatusChanges group by PID, INT(StatusDate)) t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] Disallowed implicit conversion from data type datetime to data type float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the CONVERT function to run this query. (#260) Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 11, 2012 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Time Something like: Select t1.* from mytable t1 inner join (select distinct ParentFK, INT(rDateTime), max(rDatetime) as lasdatetime group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK AND t2.lastdatetime = t1.rdatetime The inner Select should return the FK and the datetime of the last record for each day for each Parent entity. Joining on those two fields should give you just the records you want. -- Stuart On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > I have a database with linked SQL server table. I need to extract some > records from the table. Some days there is more than one record; ie > two records with different times. I need to grab the last record on > those days. So far I have not come up with a way. Your ideas > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Website: > http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Dec 11 16:32:55 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 11 Dec 2012 23:32:55 +0100 Subject: [AccessD] SQL Time References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2B4@HOUEX6.kindermorgan.com> Message-ID: I'm not able to test the query now, but I would suggest that you replace INT(StatusDate) with DATEPART(dd, StatusDate). Also the DISTINCT appears redundant to me since a GROUP BY is actually implying a distinct operation - but this is a minor point. Asger ----- Original meddelelse ----- > Fra: "Kaup, Chester" > Til: Access Developers discussion and problem solving > > Dato: Tir, 11. dec 2012 23:13 > Emne: Re: [AccessD] SQL Time > > Other message got sent to soon please ignore > > Tried this and got a select statement error > > Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct > PID, INT(StatusDate), max(StatusDate) as lastdatetime > group by PID, INT(StatusDate)) > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > I the modified the select statement and came up with this > > Select t1.* from dbo_DSS_StatusChanges t1 > inner join > (select distinct PID, INT(StatusDate), max(StatusDate) as > lastdatetime > from dbo_DSS_StatusChanges > group by PID, INT(StatusDate)) > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] > Disallowed implicit conversion from data type datetime to data type > float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the > CONVERT function to run this query. (#260) > > > Thanks for the help. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 11, 2012 3:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SQL Time > > Something like: > > Select t1.* from mytable t1 > inner join > (select distinct ParentFK, INT(rDateTime), max(rDatetime) as > lasdatetime > group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK > AND t2.lastdatetime = t1.rdatetime > > The inner Select should return the FK and the datetime of the last > record for each day for each Parent entity. Joining on those two > fields should give you just the records you want. > > -- > Stuart > > On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > > > I have a database with linked SQL server table. I need to extract > some > > records from the table. Some days there is more than one record; ie > > two records with different times. I need to grab the last record on > > those days. So far I have not come up with a way. Your ideas > > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd Website: > > http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 11 16:35:50 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 11 Dec 2012 22:35:50 +0000 Subject: [AccessD] SQL Time In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com> <50C7A5E5.5982.4217503C@stuart.lexacorp.com.pg> <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2B4@HOUEX6.kindermorgan.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F2DB@HOUEX6.kindermorgan.com> Thanks everyone for your assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, December 11, 2012 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Time I'm not able to test the query now, but I would suggest that you replace INT(StatusDate) with DATEPART(dd, StatusDate). Also the DISTINCT appears redundant to me since a GROUP BY is actually implying a distinct operation - but this is a minor point. Asger ----- Original meddelelse ----- > Fra: "Kaup, Chester" > Til: Access Developers discussion and problem solving > > Dato: Tir, 11. dec 2012 23:13 > Emne: Re: [AccessD] SQL Time > > Other message got sent to soon please ignore > > Tried this and got a select statement error > > Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct > PID, INT(StatusDate), max(StatusDate) as lastdatetime group by PID, > INT(StatusDate)) > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > I the modified the select statement and came up with this > > Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct > PID, INT(StatusDate), max(StatusDate) as lastdatetime from > dbo_DSS_StatusChanges group by PID, INT(StatusDate)) > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] > Disallowed implicit conversion from data type datetime to data type > float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the > CONVERT function to run this query. (#260) > > > Thanks for the help. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 11, 2012 3:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SQL Time > > Something like: > > Select t1.* from mytable t1 > inner join > (select distinct ParentFK, INT(rDateTime), max(rDatetime) as > lasdatetime group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = > t1.ParentFK AND t2.lastdatetime = t1.rdatetime > > The inner Select should return the FK and the datetime of the last > record for each day for each Parent entity. Joining on those two > fields should give you just the records you want. > > -- > Stuart > > On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > > > I have a database with linked SQL server table. I need to extract > some > > records from the table. Some days there is more than one record; ie > > two records with different times. I need to grab the last record on > > those days. So far I have not come up with a way. Your ideas > > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd Website: > > http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 11 18:05:37 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Dec 2012 10:05:37 +1000 Subject: [AccessD] SQL Time In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com>, Message-ID: <50C7CA51.21010.42A59395@stuart.lexacorp.com.pg> "dd" ? Not a valid parameter to datepart() in Access. I'd stick with CDATE(INT(...)) to get the date part of a datetime - or you could try DateValue(StatusDate). You're right about the ....distinct....group by..... I just do that out of habit :-) -- Stuart On 11 Dec 2012 at 23:32, Asger Blond wrote: > I'm not able to test the query now, but I would suggest that you replace > INT(StatusDate) with DATEPART(dd, StatusDate). Also the DISTINCT appears > redundant to me since a GROUP BY is actually implying a distinct > operation - but this is a minor point. > Asger > > ----- Original meddelelse ----- > > > Fra: "Kaup, Chester" > > Til: Access Developers discussion and problem solving > > > > Dato: Tir, 11. dec 2012 23:13 > > Emne: Re: [AccessD] SQL Time > > > > Other message got sent to soon please ignore > > > > Tried this and got a select statement error > > > > Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct > > PID, INT(StatusDate), max(StatusDate) as lastdatetime > > group by PID, INT(StatusDate)) > > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > > > I the modified the select statement and came up with this > > > > Select t1.* from dbo_DSS_StatusChanges t1 > > inner join > > (select distinct PID, INT(StatusDate), max(StatusDate) as > > lastdatetime > > from dbo_DSS_StatusChanges > > group by PID, INT(StatusDate)) > > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > > > I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] > > Disallowed implicit conversion from data type datetime to data type > > float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the > > CONVERT function to run this query. (#260) > > > > > > Thanks for the help. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > > McLachlan > > Sent: Tuesday, December 11, 2012 3:30 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] SQL Time > > > > Something like: > > > > Select t1.* from mytable t1 > > inner join > > (select distinct ParentFK, INT(rDateTime), max(rDatetime) as > > lasdatetime > > group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK > > AND t2.lastdatetime = t1.rdatetime > > > > The inner Select should return the FK and the datetime of the last > > record for each day for each Parent entity. Joining on those two > > fields should give you just the records you want. > > > > -- > > Stuart > > > > On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > > > > > I have a database with linked SQL server table. I need to extract > > some > > > records from the table. Some days there is more than one record; ie > > > two records with different times. I need to grab the last record on > > > those days. So far I have not come up with a way. Your ideas > > > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd Website: > > > http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Dec 11 19:42:24 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 11 Dec 2012 20:42:24 -0500 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> References: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> Message-ID: Darren, what is a browser control. Sorry, I am a little thick. And is this control available to all Microsoft Office forms, like Excel userforms too? It soulds great. I have to generate some invoices / reports to someone from Excel and I would really like to spin them out to PDFs then let them be viewable in PDF through a browser all in one command button but and I am *pretty* sure I will find the stuff I need on the web to figure this out, unfortunately I have a deadline of tomorrow. /:-{ On Mon, Dec 10, 2012 at 11:35 PM, Darren wrote: > Yep. > Drop a browser control onto a form. > Call it say...actXMyBrowser. > view the PDF file in the browser with code like this... > Me.actXMYBrowser.navigate "c:\SomeFolder\SomePDFFile.pdf" > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Stewart > Sent: Tuesday, 11 December 2012 8:02 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] View PDF in Unbound Object Control > > All, > > I really need some input on this. If it is not possible, please let me > know. > > I think I can do it with a .Net project and view the document in a browser > window using the different MIME format stuff the browser makes available. > > But, is using a browser control also the answer here? > > > At 08:03 AM 12/7/2012, you wrote: > >Date: Tue, 04 Dec 2012 11:01:47 -0600 > >From: Robert Stewart > >To: accessd at databaseadvisors.com > >Subject: [AccessD] View PDF in Unbound Object Control > >Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6 at holly.arvixe.com> > >Content-Type: text/plain; charset="us-ascii"; format=flowed > > > > > > >All, > > > > > >I would like to be able to view different document types in the unbound > >object control. > >I have a table that gives me the UNC path to the file. I have the > >extension of the file as a separate field in the table where the UNC > >path is. I have limited the query to only PDF files. In this case, > >there are only 2. I want to be able to preview them in the control and > >double click them to open them in a PDF reader. > > > >The problem is that the SourceDoc property is being changed, but not > >refreshed. > >Well, not to the point that the document is display in the object > container. > > > >Below is the code I am using: > > > >Private Sub Form_Current() > > Me.OLEUnbound4.SourceDoc = "" > > Me.OLEUnbound4.SourceDoc = Me.txtFullPath > > Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc > > Me.OLEUnbound4.Requery > > Me.Refresh > > Me.Repaint > >End Sub > > > >When I am on the first row, the value in SourceDoc is: > >\\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf > >When I move to the second record, it is: > >\\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pdf > > > >I am getting this from the third line of code where I get the value of > >SourceDoc and display it on the screen. > > > >I still see the first document in the object container and when i > >double-click on it, I get the first document. > > > >Any one have any ideas on how to make this work? > > > > > > > > > > > >Robert L. Stewart > > Robert L. Stewart > > Any fool can write code that a computer can understand. Good programmers > write code that humans can understand. --Martin Fowler > > www.WeBeDb.com > www.DBGUIDesign.com > www.RLStewartPhotography.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From newsgrps at dalyn.co.nz Tue Dec 11 22:15:21 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 12 Dec 2012 17:15:21 +1300 Subject: [AccessD] Linking to Separate database Message-ID: <003e01cdd81f$4d961680$e8c24380$@dalyn.co.nz> I have an Access 2010 database that resides on a network. The datafile is to be copied onto laptops for technicians to be able to enter data out in the field with their own Front ends. When they return to the office the idea is to connect the laptop to the network then update certain records onto the main datafile. The records will already be created before the technicians get their copy. All the technicians will be doing is updating existing records. They will not create new records or delete any. Records will only be updated by one laptop between synchronizations so there is no need to manage conflicts. The updating is to be initiated from the laptop FE. I need to be able to link the laptop FE to the laptop datafile but also have a way to update the datafile on the network. My initial thought was to have the relevant tables also linked in the laptop FE (but of course the link will only be valid if they are connected to the network). There are only 4 tables that will need to have records copied over. Am I going about this the right way, or is there an easier way within code for creating the links when the synchronizing is to take place? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From stuart at lexacorp.com.pg Tue Dec 11 23:39:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Dec 2012 15:39:09 +1000 Subject: [AccessD] Linking to Separate database In-Reply-To: <003e01cdd81f$4d961680$e8c24380$@dalyn.co.nz> References: <003e01cdd81f$4d961680$e8c24380$@dalyn.co.nz> Message-ID: <50C8187D.12528.43D6EF32@stuart.lexacorp.com.pg> I'd do it completely in a VBA function: 1. Create links to the network tables 2. Run update queries to update the network tables from the local tables 3. Run update queries to rebuild the local tables from the updated network tables 4. Delete the links. To create the links, something like: Const strBEName = "xxxxxxx" Const strServerBEDir = "\\Server\Share" Function LinkServerBE() As Long Dim tdf As TableDef If Dir$(strServerBEDir & "\" & strBENAme < " " Then MsgBox "Server Data file not found! ", vbCritical, "UpdateData Failed!" Exit Function End If Renewlink "tblOne", strServerBEDir & "\" & strBENAme Renewlink "tblTwo", strServerBEDir & "\" & strBENAme Renewlink "tblThree", strServerBEDir & "\" & strBENAme Renewlink "tblFour", strServerBEDir & "\" & strBENAme End Function Function renewlink(tablename As String, datafile As String) As Long 'Delete link if it exists On Error Resume Next DoCmd.DeleteObject acTable, "SVR" & tablename On Error GoTo 0 DoCmd.TransferDatabase acLink, "Microsoft Access", datafile, acTable, tablename, "SVR" & tablename, False End Function -- Stuart On 12 Dec 2012 at 17:15, David Emerson wrote: > I have an Access 2010 database that resides on a network. > > > > The datafile is to be copied onto laptops for technicians to be able to > enter data out in the field with their own Front ends. When they return to > the office the idea is to connect the laptop to the network then update > certain records onto the main datafile. The records will already be > created before the technicians get their copy. All the technicians will be > doing is updating existing records. They will not create new records or > delete any. Records will only be updated by one laptop between > synchronizations so there is no need to manage conflicts. The updating is > to be initiated from the laptop FE. > > > > I need to be able to link the laptop FE to the laptop datafile but also have > a way to update the datafile on the network. My initial thought was to have > the relevant tables also linked in the laptop FE (but of course the link > will only be valid if they are connected to the network). There are only 4 > tables that will need to have records copied over. > > > > Am I going about this the right way, or is there an easier way within code > for creating the links when the synchronizing is to take place? > > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ab-mi at post3.tele.dk Wed Dec 12 10:40:44 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 12 Dec 2012 17:40:44 +0100 Subject: [AccessD] SQL Time In-Reply-To: <50C7CA51.21010.42A59395@stuart.lexacorp.com.pg> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB0712F205@HOUEX6.kindermorgan.com>, <50C7CA51.21010.42A59395@stuart.lexacorp.com.pg> Message-ID: <1280F5859F8D4F87AE48C9464682F7F6@abpc> "dd": I was referring to the t-sql (not Access) datepart-function, assuming this was a pass through query... As to "distinct" you probably know that this is a costly operation which should be avoided if not strictly necessary. In this case, however, I don't think it hurts, because sql server hopefully won't perform the operation twice :) Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 12. december 2012 01:06 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] SQL Time "dd" ? Not a valid parameter to datepart() in Access. I'd stick with CDATE(INT(...)) to get the date part of a datetime - or you could try DateValue(StatusDate). You're right about the ....distinct....group by..... I just do that out of habit :-) -- Stuart On 11 Dec 2012 at 23:32, Asger Blond wrote: > I'm not able to test the query now, but I would suggest that you replace > INT(StatusDate) with DATEPART(dd, StatusDate). Also the DISTINCT appears > redundant to me since a GROUP BY is actually implying a distinct > operation - but this is a minor point. > Asger > > ----- Original meddelelse ----- > > > Fra: "Kaup, Chester" > > Til: Access Developers discussion and problem solving > > > > Dato: Tir, 11. dec 2012 23:13 > > Emne: Re: [AccessD] SQL Time > > > > Other message got sent to soon please ignore > > > > Tried this and got a select statement error > > > > Select t1.* from dbo_DSS_StatusChanges t1 inner join (select distinct > > PID, INT(StatusDate), max(StatusDate) as lastdatetime > > group by PID, INT(StatusDate)) > > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > > > I the modified the select statement and came up with this > > > > Select t1.* from dbo_DSS_StatusChanges t1 > > inner join > > (select distinct PID, INT(StatusDate), max(StatusDate) as > > lastdatetime > > from dbo_DSS_StatusChanges > > group by PID, INT(StatusDate)) > > t2 on t2.PID = t1.PID AND t2.lastdatetime = t1.StatusDate; > > > > I now get an error of [Microsoft][ODBC SQL Server Driver][SQL Server] > > Disallowed implicit conversion from data type datetime to data type > > float, table 'dbo.DSS_StatusChanges', column 'StatusDate'. Use the > > CONVERT function to run this query. (#260) > > > > > > Thanks for the help. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > > McLachlan > > Sent: Tuesday, December 11, 2012 3:30 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] SQL Time > > > > Something like: > > > > Select t1.* from mytable t1 > > inner join > > (select distinct ParentFK, INT(rDateTime), max(rDatetime) as > > lasdatetime > > group by ParentFK, INT(rDateTime)) t2 on t2.ParentFK = t1.ParentFK > > AND t2.lastdatetime = t1.rdatetime > > > > The inner Select should return the FK and the datetime of the last > > record for each day for each Parent entity. Joining on those two > > fields should give you just the records you want. > > > > -- > > Stuart > > > > On 11 Dec 2012 at 20:58, Kaup, Chester wrote: > > > > > I have a database with linked SQL server table. I need to extract > > some > > > records from the table. Some days there is more than one record; ie > > > two records with different times. I need to grab the last record on > > > those days. So far I have not come up with a way. Your ideas > > > appreciated. -- AccessD mailing list AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd Website: > > > http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at Uniserve.com Wed Dec 12 11:15:23 2012 From: TSeptav at Uniserve.com (Tony Septav) Date: Wed, 12 Dec 2012 11:15:23 -0600 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: Message-ID: <201212121715.qBCHFXqe026774@databaseadvisors.com> Hey William Do not know about Excel but in Access 2003 I use Lebans Convert to PDF to convert reports to PDF files. And in another instance I use the WebBrowser Control to view PDF files (so far it works great). Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: December-11-12 7:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] View PDF in Unbound Object Control Darren, what is a browser control. Sorry, I am a little thick. And is this control available to all Microsoft Office forms, like Excel userforms too? It soulds great. I have to generate some invoices / reports to someone from Excel and I would really like to spin them out to PDFs then let them be viewable in PDF through a browser all in one command button but and I am *pretty* sure I will find the stuff I need on the web to figure this out, unfortunately I have a deadline of tomorrow. /:-{ On Mon, Dec 10, 2012 at 11:35 PM, Darren wrote: > Yep. > Drop a browser control onto a form. > Call it say...actXMyBrowser. > view the PDF file in the browser with code like this... > Me.actXMYBrowser.navigate "c:\SomeFolder\SomePDFFile.pdf" > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Stewart > Sent: Tuesday, 11 December 2012 8:02 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] View PDF in Unbound Object Control > > All, > > I really need some input on this. If it is not possible, please let me > know. > > I think I can do it with a .Net project and view the document in a browser > window using the different MIME format stuff the browser makes available. > > But, is using a browser control also the answer here? > > > At 08:03 AM 12/7/2012, you wrote: > >Date: Tue, 04 Dec 2012 11:01:47 -0600 > >From: Robert Stewart > >To: accessd at databaseadvisors.com > >Subject: [AccessD] View PDF in Unbound Object Control > >Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6 at holly.arvixe.com> > >Content-Type: text/plain; charset="us-ascii"; format=flowed > > > > > > >All, > > > > > >I would like to be able to view different document types in the unbound > >object control. > >I have a table that gives me the UNC path to the file. I have the > >extension of the file as a separate field in the table where the UNC > >path is. I have limited the query to only PDF files. In this case, > >there are only 2. I want to be able to preview them in the control and > >double click them to open them in a PDF reader. > > > >The problem is that the SourceDoc property is being changed, but not > >refreshed. > >Well, not to the point that the document is display in the object > container. > > > >Below is the code I am using: > > > >Private Sub Form_Current() > > Me.OLEUnbound4.SourceDoc = "" > > Me.OLEUnbound4.SourceDoc = Me.txtFullPath > > Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc > > Me.OLEUnbound4.Requery > > Me.Refresh > > Me.Repaint > >End Sub > > > >When I am on the first row, the value in SourceDoc is: > >\\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf > >When I move to the second record, it is: > >\\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pdf > > > >I am getting this from the third line of code where I get the value of > >SourceDoc and display it on the screen. > > > >I still see the first document in the object container and when i > >double-click on it, I get the first document. > > > >Any one have any ideas on how to make this work? > > > > > > > > > > > >Robert L. Stewart > > Robert L. Stewart > > Any fool can write code that a computer can understand. Good programmers > write code that humans can understand. --Martin Fowler > > www.WeBeDb.com > www.DBGUIDesign.com > www.RLStewartPhotography.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Wed Dec 12 12:08:49 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Wed, 12 Dec 2012 12:08:49 -0600 Subject: [AccessD] Access 2007 compatibility with Access 2013 Message-ID: I created a database for a non-profit organization that has been running for about 4 years with no problems. It was written in Access 2007. They will be "upgrading" to Office 2013 in the very near future. Will there be any compatibility issues that I need to know about? Thanks, Jim From jimdettman at verizon.net Wed Dec 12 13:00:02 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 12 Dec 2012 14:00:02 -0500 Subject: [AccessD] Access 2007 compatibility with Access 2013 In-Reply-To: References: Message-ID: Jim, Make sure they run the 32 bit version of Office. Starting with 2010, Access is a bit picky about syntax and what not, so you might have some remedial work to do, but nothing should give you a major headache. Make sure the app is error free as it stands now and check right after conversion as well. Also, MSCAL.OCX (calendar control) is no longer included. You'll need to switch to the native date/time picker or use a 3rd party control. Outside of that, 2007 to 2013 or running the 2007 DB in 2013 should give little trouble. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Wednesday, December 12, 2012 01:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 compatibility with Access 2013 I created a database for a non-profit organization that has been running for about 4 years with no problems. It was written in Access 2007. They will be "upgrading" to Office 2013 in the very near future. Will there be any compatibility issues that I need to know about? Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Wed Dec 12 13:05:28 2012 From: jm.hwsn at gmail.com (Jim Hewson) Date: Wed, 12 Dec 2012 13:05:28 -0600 Subject: [AccessD] Access 2007 compatibility with Access 2013 In-Reply-To: References: Message-ID: Thank you, that's what I needed to know. Jim On Wed, Dec 12, 2012 at 1:00 PM, Jim Dettman wrote: > Jim, > > Make sure they run the 32 bit version of Office. > > Starting with 2010, Access is a bit picky about syntax and what not, so > you might have some remedial work to do, but nothing should give you a > major > headache. Make sure the app is error free as it stands now and check right > after conversion as well. > > Also, MSCAL.OCX (calendar control) is no longer included. You'll need to > switch to the native date/time picker or use a 3rd party control. > > Outside of that, 2007 to 2013 or running the 2007 DB in 2013 should give > little trouble. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson > Sent: Wednesday, December 12, 2012 01:09 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 compatibility with Access 2013 > > I created a database for a non-profit organization that has been running > for about 4 years with no problems. > It was written in Access 2007. They will be "upgrading" to Office 2013 in > the very near future. > Will there be any compatibility issues that I need to know about? > Thanks, > Jim > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Wed Dec 12 15:32:07 2012 From: darren at activebilling.com.au (Darren) Date: Thu, 13 Dec 2012 08:32:07 +1100 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: References: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> Message-ID: <03ca01cdd8b0$2373ae80$6a5b0b80$@activebilling.com.au> Sample sent off-line Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 12 December 2012 12:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] View PDF in Unbound Object Control Darren, what is a browser control. Sorry, I am a little thick. And is this control available to all Microsoft Office forms, like Excel userforms too? It soulds great. I have to generate some invoices / reports to someone from Excel and I would really like to spin them out to PDFs then let them be viewable in PDF through a browser all in one command button but and I am *pretty* sure I will find the stuff I need on the web to figure this out, unfortunately I have a deadline of tomorrow. /:-{ On Mon, Dec 10, 2012 at 11:35 PM, Darren wrote: > Yep. > Drop a browser control onto a form. > Call it say...actXMyBrowser. > view the PDF file in the browser with code like this... > Me.actXMYBrowser.navigate "c:\SomeFolder\SomePDFFile.pdf" > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert > Stewart > Sent: Tuesday, 11 December 2012 8:02 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] View PDF in Unbound Object Control > > All, > > I really need some input on this. If it is not possible, please let > me know. > > I think I can do it with a .Net project and view the document in a > browser window using the different MIME format stuff the browser makes available. > > But, is using a browser control also the answer here? > > > At 08:03 AM 12/7/2012, you wrote: > >Date: Tue, 04 Dec 2012 11:01:47 -0600 > >From: Robert Stewart > >To: accessd at databaseadvisors.com > >Subject: [AccessD] View PDF in Unbound Object Control > >Message-ID: <9D9D5636-0C88-4FA5-B7D2-0A99F7480EE6 at holly.arvixe.com> > >Content-Type: text/plain; charset="us-ascii"; format=flowed > > > > > > >All, > > > > > >I would like to be able to view different document types in the > >unbound object control. > >I have a table that gives me the UNC path to the file. I have the > >extension of the file as a separate field in the table where the UNC > >path is. I have limited the query to only PDF files. In this case, > >there are only 2. I want to be able to preview them in the control > >and double click them to open them in a PDF reader. > > > >The problem is that the SourceDoc property is being changed, but not > >refreshed. > >Well, not to the point that the document is display in the object > container. > > > >Below is the code I am using: > > > >Private Sub Form_Current() > > Me.OLEUnbound4.SourceDoc = "" > > Me.OLEUnbound4.SourceDoc = Me.txtFullPath > > Me.txtSourceDoc = Me.OLEUnbound4.SourceDoc > > Me.OLEUnbound4.Requery > > Me.Refresh > > Me.Repaint > >End Sub > > > >When I am on the first row, the value in SourceDoc is: > >\\sithou-sqldev\ssis_working\PhotoSamples\Data_Mart_Extracts_Rpt.pdf > >When I move to the second record, it is: > >\\sithou-sqldev\ssis_working\PhotoSamples\RT-201208-18101-49113240.pd > >f > > > >I am getting this from the third line of code where I get the value > >of SourceDoc and display it on the screen. > > > >I still see the first document in the object container and when i > >double-click on it, I get the first document. > > > >Any one have any ideas on how to make this work? > > > > > > > > > > > >Robert L. Stewart > > Robert L. Stewart > > Any fool can write code that a computer can understand. Good > programmers write code that humans can understand. --Martin Fowler > > www.WeBeDb.com > www.DBGUIDesign.com > www.RLStewartPhotography.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Dec 12 22:14:49 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 13 Dec 2012 17:14:49 +1300 Subject: [AccessD] Linking to Separate database In-Reply-To: <50C8187D.12528.43D6EF32@stuart.lexacorp.com.pg> References: <003e01cdd81f$4d961680$e8c24380$@dalyn.co.nz> <50C8187D.12528.43D6EF32@stuart.lexacorp.com.pg> Message-ID: <004701cdd8e8$6489b0d0$2d9d1270$@dalyn.co.nz> Thanks Stuart. That has got me under way. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 12 December 2012 6:39 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linking to Separate database I'd do it completely in a VBA function: 1. Create links to the network tables 2. Run update queries to update the network tables from the local tables 3. Run update queries to rebuild the local tables from the updated network tables 4. Delete the links. To create the links, something like: Const strBEName = "xxxxxxx" Const strServerBEDir = "\\Server\Share" Function LinkServerBE() As Long Dim tdf As TableDef If Dir$(strServerBEDir & "\" & strBENAme < " " Then MsgBox "Server Data file not found! ", vbCritical, "UpdateData Failed!" Exit Function End If Renewlink "tblOne", strServerBEDir & "\" & strBENAme Renewlink "tblTwo", strServerBEDir & "\" & strBENAme Renewlink "tblThree", strServerBEDir & "\" & strBENAme Renewlink "tblFour", strServerBEDir & "\" & strBENAme End Function Function renewlink(tablename As String, datafile As String) As Long 'Delete link if it exists On Error Resume Next DoCmd.DeleteObject acTable, "SVR" & tablename On Error GoTo 0 DoCmd.TransferDatabase acLink, "Microsoft Access", datafile, acTable, tablename, "SVR" & tablename, False End Function -- Stuart On 12 Dec 2012 at 17:15, David Emerson wrote: > I have an Access 2010 database that resides on a network. > > The datafile is to be copied onto laptops for technicians to be able > to enter data out in the field with their own Front ends. When they > return to the office the idea is to connect the laptop to the network > then update certain records onto the main datafile. The records will > already be created before the technicians get their copy. All the > technicians will be doing is updating existing records. They will not > create new records or delete any. Records will only be updated by one > laptop between synchronizations so there is no need to manage > conflicts. The updating is to be initiated from the laptop FE. > > I need to be able to link the laptop FE to the laptop datafile but > also have a way to update the datafile on the network. My initial > thought was to have the relevant tables also linked in the laptop FE > (but of course the link will only be valid if they are connected to > the network). There are only 4 tables that will need to have records copied over. > > Am I going about this the right way, or is there an easier way within > code for creating the links when the synchronizing is to take place? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From marksimms at verizon.net Wed Dec 12 23:05:03 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 13 Dec 2012 00:05:03 -0500 Subject: [AccessD] View PDF in Unbound Object Control In-Reply-To: <201212121715.qBCHFXqe026774@databaseadvisors.com> References: <201212121715.qBCHFXqe026774@databaseadvisors.com> Message-ID: <019301cdd8ef$6a2f98e0$3e8ecaa0$@net> Leban's code is prone to errors and failure if there is significant network traffic. If you look at the source code, you'll see the problem. We had to move the folder where the snp files are created to a less-contentious server. Otherwise, it'll fail in the creation. With 2007, 2010, use the Access method to create the PDF. > Do not know about Excel but in Access 2003 I use Lebans Convert to PDF > to > convert reports to PDF files. And in another instance I use the > WebBrowser > Control to view PDF files (so far it works great). > From rockysmolin at bchacc.com Thu Dec 13 13:19:27 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 13 Dec 2012 11:19:27 -0800 Subject: [AccessD] AV on a server Message-ID: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> Question arose at customer site that I hadn't thought about before. Any reason to put AV on the server? Most virii are coming from email or web sites and if you're not doing email or browsing on the server, should you AV anyway? TIA Rocky From charlotte.foust at gmail.com Thu Dec 13 13:40:00 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 13 Dec 2012 11:40:00 -0800 Subject: [AccessD] AV on a server In-Reply-To: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> Message-ID: Firewall, Rocky. You still need security in case your server is compromised. Charlotte On Thu, Dec 13, 2012 at 11:19 AM, Rocky Smolin wrote: > Question arose at customer site that I hadn't thought about before. Any > reason to put AV on the server? Most virii are coming from email or web > sites and if you're not doing email or browsing on the server, should you > AV > anyway? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Dec 13 14:08:34 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Dec 2012 12:08:34 -0800 Subject: [AccessD] AV on a server In-Reply-To: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> Message-ID: <53D19CA9094441E3B0E17DEBE68BDD6C@creativesystemdesigns.com> Yes, of course. There are, without a setup router over 65K opens ports on any computer connected to the internet. All servers have at least a couple hundred ports open by default each potentially attached to various applications. Here is just a few of the ports used by major applications: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers For example; that is why most servers have their FTP program turned off, have changed the port setting or moved the FTP process to a stand-alone server or virtual drive. Additionally, if any network station get compromised it is then relatively easy to gain control of the servers and then everything is compromised. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 13, 2012 11:19 AM To: 'Access Developers discussion and problem solving'; List Subject: [AccessD] AV on a server Question arose at customer site that I hadn't thought about before. Any reason to put AV on the server? Most virii are coming from email or web sites and if you're not doing email or browsing on the server, should you AV anyway? TIA Rocky -- 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 Dec 13 16:24:45 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Dec 2012 08:24:45 +1000 Subject: [AccessD] AV on a server In-Reply-To: <53D19CA9094441E3B0E17DEBE68BDD6C@creativesystemdesigns.com> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007>, <53D19CA9094441E3B0E17DEBE68BDD6C@creativesystemdesigns.com> Message-ID: <50CA55AD.12817.4C95F596@stuart.lexacorp.com.pg> Locking ports and disabling services is a totally different issue to AV on a server. A server should NEVER, EVER, EVER be connected to the internet other than through at least a router, to say nothing of harware firewalls, DMZ s etc. On 13 Dec 2012 at 12:08, Jim Lawrence wrote: > Yes, of course. > > There are, without a setup router over 65K opens ports on any computer > connected to the internet. > > All servers have at least a couple hundred ports open by default each > potentially attached to various applications. Here is just a few of the > ports used by major applications: > http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers > > For example; that is why most servers have their FTP program turned off, > have changed the port setting or moved the FTP process to a stand-alone > server or virtual drive. > > Additionally, if any network station get compromised it is then relatively > easy to gain control of the servers and then everything is compromised. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Thursday, December 13, 2012 11:19 AM > To: 'Access Developers discussion and problem solving'; List > Subject: [AccessD] AV on a server > > Question arose at customer site that I hadn't thought about before. Any > reason to put AV on the server? Most virii are coming from email or web > sites and if you're not doing email or browsing on the server, should you AV > anyway? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu Dec 13 16:29:29 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Dec 2012 08:29:29 +1000 Subject: [AccessD] AV on a server In-Reply-To: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> Message-ID: <50CA56C9.13990.4C9A479C@stuart.lexacorp.com.pg> Depends on the way the server is used. If no one ever plugs a USB storage device into it or uses it as a workstation for anything other than server maintenance, then AV is more trouble that it is worth. However if either of the above activities may take place then you need protection on the server. (USB storage devices are a common way for viruses to get spread) I have a couple of sites where the decision has been made to not run AV on the server, but they have very strict controls on server access and usage. -- Stuart On 13 Dec 2012 at 11:19, Rocky Smolin wrote: > Question arose at customer site that I hadn't thought about before. Any > reason to put AV on the server? Most virii are coming from email or web > sites and if you're not doing email or browsing on the server, should you AV > anyway? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu Dec 13 17:11:06 2012 From: john at winhaven.net (John Bartow) Date: Thu, 13 Dec 2012 17:11:06 -0600 Subject: [AccessD] AV on a server In-Reply-To: <50CA56C9.13990.4C9A479C@stuart.lexacorp.com.pg> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007> <50CA56C9.13990.4C9A479C@stuart.lexacorp.com.pg> Message-ID: <021d01cdd987$2179dfa0$646d9ee0$@winhaven.net> Agreed. Given that the client asked a programmer I assumed that they had no IT department, therefore the default answer would be yes, use AV. Why? Because no one there really knows how to lock down the server ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 13, 2012 4:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AV on a server Depends on the way the server is used. If no one ever plugs a USB storage device into it or uses it as a workstation for anything other than server maintenance, then AV is more trouble that it is worth. However if either of the above activities may take place then you need protection on the server. (USB storage devices are a common way for viruses to get spread) I have a couple of sites where the decision has been made to not run AV on the server, but they have very strict controls on server access and usage. -- Stuart On 13 Dec 2012 at 11:19, Rocky Smolin wrote: > Question arose at customer site that I hadn't thought about before. Any > reason to put AV on the server? Most virii are coming from email or web > sites and if you're not doing email or browsing on the server, should you AV > anyway? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 13 21:38:03 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Dec 2012 19:38:03 -0800 Subject: [AccessD] AV on a server In-Reply-To: <50CA55AD.12817.4C95F596@stuart.lexacorp.com.pg> References: <31B2BB117ED54E5CA3C39DFB34ED03A1@HAL9007>, <53D19CA9094441E3B0E17DEBE68BDD6C@creativesystemdesigns.com> <50CA55AD.12817.4C95F596@stuart.lexacorp.com.pg> Message-ID: <6C8083ED5C414ADBAAC957AF64A21488@creativesystemdesigns.com> We are assuming that a standard user actually knows anything about servers, routers/switches/hubs, network/server management, security software, timely backups, imaging or have access to a real server support tech. Remote tech support is standard stuff these days for any server...have supported more servers over the years than I can count and I am hardly unusual. All servers I know have tech/admin access to the web but then my job is to make sure my client's is always safe and I have never lost one yet. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 13, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AV on a server Locking ports and disabling services is a totally different issue to AV on a server. A server should NEVER, EVER, EVER be connected to the internet other than through at least a router, to say nothing of harware firewalls, DMZ s etc. On 13 Dec 2012 at 12:08, Jim Lawrence wrote: > Yes, of course. > > There are, without a setup router over 65K opens ports on any computer > connected to the internet. > > All servers have at least a couple hundred ports open by default each > potentially attached to various applications. Here is just a few of the > ports used by major applications: > http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers > > For example; that is why most servers have their FTP program turned off, > have changed the port setting or moved the FTP process to a stand-alone > server or virtual drive. > > Additionally, if any network station get compromised it is then relatively > easy to gain control of the servers and then everything is compromised. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Thursday, December 13, 2012 11:19 AM > To: 'Access Developers discussion and problem solving'; List > Subject: [AccessD] AV on a server > > Question arose at customer site that I hadn't thought about before. Any > reason to put AV on the server? Most virii are coming from email or web > sites and if you're not doing email or browsing on the server, should you AV > anyway? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Dec 20 08:58:38 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 20 Dec 2012 14:58:38 +0000 Subject: [AccessD] Criteria Help in Query Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB071795B8@HOUEX6.kindermorgan.com> I have the following query that works fine. I need to return only records where Test_Oil >0 or Test_HCGas>0 or Test_Wtrp >0. When I add these criteria to the query it runs and runs but never completes. Is there a better way to do this? 2 queries maybe? Original query INSERT INTO Well_Test_Production ( Asset_Id, UWI, [Date], Oil, GasP, WtrP ) SELECT DISTINCT dbo_DSS_WellTests.PID, dbo_DSS_WellTests.Well_Name, dbo_DSS_WellTests.TestDate, dbo_DSS_WellTests.Test_Oil, dbo_DSS_WellTests.Test_HCGas, dbo_DSS_WellTests.Test_Wtrp FROM dbo_DSS_WellTests, Allocation_Stats, (SELECT dbo_DSS_WellTests.PID, Max(dbo_DSS_WellTests.TestDate) AS MaxOfTestDate FROM Allocation_Stats, dbo_DSS_WellTests WHERE (((dbo_DSS_WellTests.TestDate)0)) OR (((dbo_DSS_WellTests.Test_HCGas)>0)) OR (((dbo_DSS_WellTests.Test_Wtrp)>0)) ORDER BY dbo_DSS_WellTests.Well_Name; From michael at mattysconsulting.com Thu Dec 20 08:59:22 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Thu, 20 Dec 2012 09:59:22 -0500 Subject: [AccessD] List Down? Message-ID: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> Test, possible problem with server Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com From andy at minstersystems.co.uk Thu Dec 20 09:44:03 2012 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 20 Dec 2012 15:44:03 +0000 (GMT) Subject: [AccessD] List Down? In-Reply-To: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> References: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> Message-ID: <1478912214.585498.1356018243347.JavaMail.open-xchange@email.1and1.co.uk> Just very quiet I think Michael Andy On 20 December 2012 at 14:59 Michael Mattys wrote: > Test, possible problem with server > > > > Michael R Mattys > > Mattys Consulting, LLC > > www.mattysconsulting.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 20 10:19:59 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Dec 2012 08:19:59 -0800 Subject: [AccessD] Outlook Barfing Message-ID: <8198C18720634985BCA557496EDB7C38@HAL9007> Dear List: I have a client in Mexico who is getting that "an error has occurred" message from Outlook (2007) and the program shuts down. I get that randomly from my Outlook (2003) as well but it hasn't gotten bad enough for me to go through the hassle of uninstalling, reinstalling, and getting all the updates. Has anyone got a solution for him? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Rocky Smolin [mailto:rockysmolin at bchacc.com] Sent: Wednesday, December 19, 2012 6:01 PM To: 'Victor Hugo Garcia Leduc' Subject: RE: [AccessD] AV on a server Victor: I'll forward your email to my forum and see if anyone has any ideas for you. Best, Rocky ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 5:51 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; yes, this is another courtesy of Mr. Gates and his gang. The error started because outlook was telling that was not able to connect with mail server (external supplier), but after a few tests, it was clear that the error was from my outlook . I?m running outlook 2007 with ?business contact manager? . I never used the damn thing by the way. I tried to uninstall two times now, from the office uninstall, and also using REVO uninstaller to clear the register.. And magic !!, after I install, my emails and configurations are still there, but the program crash and send the error ?outlook stopped working because of a problem. Windows will close the program and will let you know if there?s any solution? Of course, I?m still waiting for the solution from windows . After I re-install the whole office suite, windows downloaded the updates using ?windows update?, so I?m assuming the latest service packs and patches are already installed. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager De: Rocky Smolin [mailto:rockysmolin at bchacc.com] Enviado el: mi?rcoles, 19 de diciembre de 2012 07:35 p.m. Para: 'Victor Hugo Garcia Leduc' Asunto: RE: [AccessD] AV on a server "an error occurred executing the program and will be closed"." Don't you love it? No explanations, no error message, no reason. Just - adios, muchacho. I get this randomly from my Outlook as well, but it's not often enough to drive me to the project of uninstalling Office and reinstalling and updating to the latest service pack. Does this link help? http://support.microsoft.com/kb/814441 There was a thread on my forum recently regarding this but I don't remember if there was any solution. When you say "receive from email server" do you mean from your Internet Service Provider or from your internal server? Are you running Outlook locally on your own desktop or on the server. What version of Office are you running? Are you running mixed versions of Office - modules from different versions? What is the exact error message? Does it have a number associated with it? If so you might try entering the error number and error description into Google exactly as it appears. This sometimes works for me. Assuming you're running Outlook on your desk top, and are running all modules from one version of Office, and trying to retrieve email from your ISP, you might try to completely uninstall Office, reinstall, the go to the Microsoft site and get the latest service release, updates, patches, etc. No guarantees on that, though. But the error indicates that something - a dll or other support file - is corrupted. Let me know what you do and if you get any results. If you send back the exact error number and description I'll see what I can find out from my forum. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 4:57 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; I'm having a hard time with Outlook... all started with the program not being able to receive from email server... so I uninstall the whole thing and now it says "an error occurred executing the program and will be closed". I know this haves nothing to do with MRP, but since you are a highly skilled guy on this issues, I want to know your opinion. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager From jimdettman at verizon.net Thu Dec 20 10:52:25 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 20 Dec 2012 11:52:25 -0500 Subject: [AccessD] Outlook Barfing In-Reply-To: <8198C18720634985BCA557496EDB7C38@HAL9007> References: <8198C18720634985BCA557496EDB7C38@HAL9007> Message-ID: Rocky, Two biggest problems with Outlook are: 1. Add-ins. 2. Corrupt PST files. To tackle the first, they should start Outlook in safe mode: http://office.microsoft.com/en-us/outlook-help/work-with-office-safe-modes-H P010140792.aspx as for the second, you can attempt a compact on a PST from control panel, mail, profiles, data files. Make a backup first. If it fails, then a PST repair utility may be required. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:20 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Outlook Barfing Dear List: I have a client in Mexico who is getting that "an error has occurred" message from Outlook (2007) and the program shuts down. I get that randomly from my Outlook (2003) as well but it hasn't gotten bad enough for me to go through the hassle of uninstalling, reinstalling, and getting all the updates. Has anyone got a solution for him? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Rocky Smolin [mailto:rockysmolin at bchacc.com] Sent: Wednesday, December 19, 2012 6:01 PM To: 'Victor Hugo Garcia Leduc' Subject: RE: [AccessD] AV on a server Victor: I'll forward your email to my forum and see if anyone has any ideas for you. Best, Rocky ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 5:51 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; yes, this is another courtesy of Mr. Gates and his gang. The error started because outlook was telling that was not able to connect with mail server (external supplier), but after a few tests, it was clear that the error was from my outlook . I?m running outlook 2007 with ?business contact manager? . I never used the damn thing by the way. I tried to uninstall two times now, from the office uninstall, and also using REVO uninstaller to clear the register.. And magic !!, after I install, my emails and configurations are still there, but the program crash and send the error ?outlook stopped working because of a problem. Windows will close the program and will let you know if there?s any solution? Of course, I?m still waiting for the solution from windows . After I re-install the whole office suite, windows downloaded the updates using ?windows update?, so I?m assuming the latest service packs and patches are already installed. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager De: Rocky Smolin [mailto:rockysmolin at bchacc.com] Enviado el: mi?rcoles, 19 de diciembre de 2012 07:35 p.m. Para: 'Victor Hugo Garcia Leduc' Asunto: RE: [AccessD] AV on a server "an error occurred executing the program and will be closed"." Don't you love it? No explanations, no error message, no reason. Just - adios, muchacho. I get this randomly from my Outlook as well, but it's not often enough to drive me to the project of uninstalling Office and reinstalling and updating to the latest service pack. Does this link help? http://support.microsoft.com/kb/814441 There was a thread on my forum recently regarding this but I don't remember if there was any solution. When you say "receive from email server" do you mean from your Internet Service Provider or from your internal server? Are you running Outlook locally on your own desktop or on the server. What version of Office are you running? Are you running mixed versions of Office - modules from different versions? What is the exact error message? Does it have a number associated with it? If so you might try entering the error number and error description into Google exactly as it appears. This sometimes works for me. Assuming you're running Outlook on your desk top, and are running all modules from one version of Office, and trying to retrieve email from your ISP, you might try to completely uninstall Office, reinstall, the go to the Microsoft site and get the latest service release, updates, patches, etc. No guarantees on that, though. But the error indicates that something - a dll or other support file - is corrupted. Let me know what you do and if you get any results. If you send back the exact error number and description I'll see what I can find out from my forum. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 4:57 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; I'm having a hard time with Outlook... all started with the program not being able to receive from email server... so I uninstall the whole thing and now it says "an error occurred executing the program and will be closed". I know this haves nothing to do with MRP, but since you are a highly skilled guy on this issues, I want to know your opinion. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 20 11:02:26 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Dec 2012 09:02:26 -0800 Subject: [AccessD] Outlook Barfing In-Reply-To: References: <8198C18720634985BCA557496EDB7C38@HAL9007> Message-ID: <3919129279A84680A582DD5779E3749C@HAL9007> Jim: I don't have any add-ins (that I know of) and just ran scanpst which found some errors in the pst file. My abort is random so I won?t know for sure if that worked for a while yet. I sent the scanpst link to the client. I will forward your email to him. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 20, 2012 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Rocky, Two biggest problems with Outlook are: 1. Add-ins. 2. Corrupt PST files. To tackle the first, they should start Outlook in safe mode: http://office.microsoft.com/en-us/outlook-help/work-with-office-safe-modes-H P010140792.aspx as for the second, you can attempt a compact on a PST from control panel, mail, profiles, data files. Make a backup first. If it fails, then a PST repair utility may be required. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:20 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Outlook Barfing Dear List: I have a client in Mexico who is getting that "an error has occurred" message from Outlook (2007) and the program shuts down. I get that randomly from my Outlook (2003) as well but it hasn't gotten bad enough for me to go through the hassle of uninstalling, reinstalling, and getting all the updates. Has anyone got a solution for him? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Rocky Smolin [mailto:rockysmolin at bchacc.com] Sent: Wednesday, December 19, 2012 6:01 PM To: 'Victor Hugo Garcia Leduc' Subject: RE: [AccessD] AV on a server Victor: I'll forward your email to my forum and see if anyone has any ideas for you. Best, Rocky ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 5:51 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; yes, this is another courtesy of Mr. Gates and his gang. The error started because outlook was telling that was not able to connect with mail server (external supplier), but after a few tests, it was clear that the error was from my outlook . I?m running outlook 2007 with ?business contact manager? . I never used the damn thing by the way. I tried to uninstall two times now, from the office uninstall, and also using REVO uninstaller to clear the register.. And magic !!, after I install, my emails and configurations are still there, but the program crash and send the error ?outlook stopped working because of a problem. Windows will close the program and will let you know if there?s any solution? Of course, I?m still waiting for the solution from windows . After I re-install the whole office suite, windows downloaded the updates using ?windows update?, so I?m assuming the latest service packs and patches are already installed. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager De: Rocky Smolin [mailto:rockysmolin at bchacc.com] Enviado el: mi?rcoles, 19 de diciembre de 2012 07:35 p.m. Para: 'Victor Hugo Garcia Leduc' Asunto: RE: [AccessD] AV on a server "an error occurred executing the program and will be closed"." Don't you love it? No explanations, no error message, no reason. Just - adios, muchacho. I get this randomly from my Outlook as well, but it's not often enough to drive me to the project of uninstalling Office and reinstalling and updating to the latest service pack. Does this link help? http://support.microsoft.com/kb/814441 There was a thread on my forum recently regarding this but I don't remember if there was any solution. When you say "receive from email server" do you mean from your Internet Service Provider or from your internal server? Are you running Outlook locally on your own desktop or on the server. What version of Office are you running? Are you running mixed versions of Office - modules from different versions? What is the exact error message? Does it have a number associated with it? If so you might try entering the error number and error description into Google exactly as it appears. This sometimes works for me. Assuming you're running Outlook on your desk top, and are running all modules from one version of Office, and trying to retrieve email from your ISP, you might try to completely uninstall Office, reinstall, the go to the Microsoft site and get the latest service release, updates, patches, etc. No guarantees on that, though. But the error indicates that something - a dll or other support file - is corrupted. Let me know what you do and if you get any results. If you send back the exact error number and description I'll see what I can find out from my forum. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 4:57 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; I'm having a hard time with Outlook... all started with the program not being able to receive from email server... so I uninstall the whole thing and now it says "an error occurred executing the program and will be closed". I know this haves nothing to do with MRP, but since you are a highly skilled guy on this issues, I want to know your opinion. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 20 11:30:47 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Dec 2012 09:30:47 -0800 Subject: [AccessD] Criteria Help in Query In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB071795B8@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB071795B8@HOUEX6.kindermorgan.com> Message-ID: Have you tried a HAVING clause for the conditions instead of adding it to the WHERE? Charlotte On Thu, Dec 20, 2012 at 6:58 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following query that works fine. I need to return only records > where Test_Oil >0 or Test_HCGas>0 or Test_Wtrp >0. When I add these > criteria to the query it runs and runs but never completes. Is there a > better way to do this? 2 queries maybe? > > Original query > > INSERT INTO Well_Test_Production ( Asset_Id, UWI, [Date], Oil, GasP, WtrP ) > SELECT DISTINCT dbo_DSS_WellTests.PID, dbo_DSS_WellTests.Well_Name, > dbo_DSS_WellTests.TestDate, dbo_DSS_WellTests.Test_Oil, > dbo_DSS_WellTests.Test_HCGas, dbo_DSS_WellTests.Test_Wtrp > FROM dbo_DSS_WellTests, Allocation_Stats, > (SELECT dbo_DSS_WellTests.PID, Max(dbo_DSS_WellTests.TestDate) AS > MaxOfTestDate > FROM Allocation_Stats, dbo_DSS_WellTests > WHERE > (((dbo_DSS_WellTests.TestDate) GROUP BY dbo_DSS_WellTests.PID) AS T2 > WHERE (((dbo_DSS_WellTests.PID)=[T2].[PID]) AND > ((dbo_DSS_WellTests.Testdate)=[MaxofTestDate])) > ORDER BY dbo_DSS_WellTests.Well_Name; > > Query with added criteria > INSERT INTO Well_Test_Production ( Asset_Id, UWI, [Date], Oil, GasP, WtrP ) > SELECT DISTINCT dbo_DSS_WellTests.PID, dbo_DSS_WellTests.Well_Name, > dbo_DSS_WellTests.TestDate, dbo_DSS_WellTests.Test_Oil, > dbo_DSS_WellTests.Test_HCGas, dbo_DSS_WellTests.Test_Wtrp > FROM dbo_DSS_WellTests, Allocation_Stats, > (SELECT dbo_DSS_WellTests.PID, Max(dbo_DSS_WellTests.TestDate) AS > MaxOfTestDate > FROM Allocation_Stats, dbo_DSS_WellTests > WHERE > (((dbo_DSS_WellTests.TestDate) GROUP BY dbo_DSS_WellTests.PID) AS T2 > WHERE (((dbo_DSS_WellTests.PID)=[T2].[PID]) AND > ((dbo_DSS_WellTests.Testdate)=[MaxofTestDate]) > AND ((dbo_DSS_WellTests.Test_Oil)>0)) OR > (((dbo_DSS_WellTests.Test_HCGas)>0)) OR (((dbo_DSS_WellTests.Test_Wtrp)>0)) > ORDER BY dbo_DSS_WellTests.Well_Name; > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Dec 20 12:43:10 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Dec 2012 10:43:10 -0800 Subject: [AccessD] List Down? In-Reply-To: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> References: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> Message-ID: <482DA93BC5E7440CBCCA835667130E68@creativesystemdesigns.com> That is what I am assuming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: Thursday, December 20, 2012 6:59 AM To: Access-D Subject: [AccessD] List Down? Test, possible problem with server Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 20 12:49:46 2012 From: john at winhaven.net (John Bartow) Date: Thu, 20 Dec 2012 12:49:46 -0600 Subject: [AccessD] Outlook Barfing In-Reply-To: <3919129279A84680A582DD5779E3749C@HAL9007> References: <8198C18720634985BCA557496EDB7C38@HAL9007> <3919129279A84680A582DD5779E3749C@HAL9007> Message-ID: <01a201cddee2$c86a5780$593f0680$@winhaven.net> Jim is correct. And Almost every install of Outlook has add-ins. Look under options and disable them all. See if it starts. If so, then restart after enabling one at a time. Sometimes the add-ins conflict with one another so they may work together 90% of the time and go bonkers 10%. If you have a corrupt .pst and scanpst can't fix it let me know. I have some other .pst tool options that probably could fix it or at least recover the data in it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Jim: I don't have any add-ins (that I know of) and just ran scanpst which found some errors in the pst file. My abort is random so I won?t know for sure if that worked for a while yet. I sent the scanpst link to the client. I will forward your email to him. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 20, 2012 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Rocky, Two biggest problems with Outlook are: 1. Add-ins. 2. Corrupt PST files. To tackle the first, they should start Outlook in safe mode: http://office.microsoft.com/en-us/outlook-help/work-with-office-safe-modes-H P010140792.aspx as for the second, you can attempt a compact on a PST from control panel, mail, profiles, data files. Make a backup first. If it fails, then a PST repair utility may be required. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:20 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Outlook Barfing Dear List: I have a client in Mexico who is getting that "an error has occurred" message from Outlook (2007) and the program shuts down. I get that randomly from my Outlook (2003) as well but it hasn't gotten bad enough for me to go through the hassle of uninstalling, reinstalling, and getting all the updates. Has anyone got a solution for him? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Rocky Smolin [mailto:rockysmolin at bchacc.com] Sent: Wednesday, December 19, 2012 6:01 PM To: 'Victor Hugo Garcia Leduc' Subject: RE: [AccessD] AV on a server Victor: I'll forward your email to my forum and see if anyone has any ideas for you. Best, Rocky ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 5:51 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; yes, this is another courtesy of Mr. Gates and his gang. The error started because outlook was telling that was not able to connect with mail server (external supplier), but after a few tests, it was clear that the error was from my outlook . I?m running outlook 2007 with ?business contact manager? . I never used the damn thing by the way. I tried to uninstall two times now, from the office uninstall, and also using REVO uninstaller to clear the register.. And magic !!, after I install, my emails and configurations are still there, but the program crash and send the error ?outlook stopped working because of a problem. Windows will close the program and will let you know if there?s any solution? Of course, I?m still waiting for the solution from windows . After I re-install the whole office suite, windows downloaded the updates using ?windows update?, so I?m assuming the latest service packs and patches are already installed. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager De: Rocky Smolin [mailto:rockysmolin at bchacc.com] Enviado el: mi?rcoles, 19 de diciembre de 2012 07:35 p.m. Para: 'Victor Hugo Garcia Leduc' Asunto: RE: [AccessD] AV on a server "an error occurred executing the program and will be closed"." Don't you love it? No explanations, no error message, no reason. Just - adios, muchacho. I get this randomly from my Outlook as well, but it's not often enough to drive me to the project of uninstalling Office and reinstalling and updating to the latest service pack. Does this link help? http://support.microsoft.com/kb/814441 There was a thread on my forum recently regarding this but I don't remember if there was any solution. When you say "receive from email server" do you mean from your Internet Service Provider or from your internal server? Are you running Outlook locally on your own desktop or on the server. What version of Office are you running? Are you running mixed versions of Office - modules from different versions? What is the exact error message? Does it have a number associated with it? If so you might try entering the error number and error description into Google exactly as it appears. This sometimes works for me. Assuming you're running Outlook on your desk top, and are running all modules from one version of Office, and trying to retrieve email from your ISP, you might try to completely uninstall Office, reinstall, the go to the Microsoft site and get the latest service release, updates, patches, etc. No guarantees on that, though. But the error indicates that something - a dll or other support file - is corrupted. Let me know what you do and if you get any results. If you send back the exact error number and description I'll see what I can find out from my forum. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 4:57 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; I'm having a hard time with Outlook... all started with the program not being able to receive from email server... so I uninstall the whole thing and now it says "an error occurred executing the program and will be closed". I know this haves nothing to do with MRP, but since you are a highly skilled guy on this issues, I want to know your opinion. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 20 13:17:28 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Dec 2012 11:17:28 -0800 Subject: [AccessD] Outlook Barfing In-Reply-To: <01a201cddee2$c86a5780$593f0680$@winhaven.net> References: <8198C18720634985BCA557496EDB7C38@HAL9007> <3919129279A84680A582DD5779E3749C@HAL9007> <01a201cddee2$c86a5780$593f0680$@winhaven.net> Message-ID: <3EC20F6B8A3B4EB4900A72CDE1D61C89@HAL9007> Thanks. Will forward. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 20, 2012 10:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Jim is correct. And Almost every install of Outlook has add-ins. Look under options and disable them all. See if it starts. If so, then restart after enabling one at a time. Sometimes the add-ins conflict with one another so they may work together 90% of the time and go bonkers 10%. If you have a corrupt .pst and scanpst can't fix it let me know. I have some other .pst tool options that probably could fix it or at least recover the data in it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Jim: I don't have any add-ins (that I know of) and just ran scanpst which found some errors in the pst file. My abort is random so I won?t know for sure if that worked for a while yet. I sent the scanpst link to the client. I will forward your email to him. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 20, 2012 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outlook Barfing Rocky, Two biggest problems with Outlook are: 1. Add-ins. 2. Corrupt PST files. To tackle the first, they should start Outlook in safe mode: http://office.microsoft.com/en-us/outlook-help/work-with-office-safe-modes-H P010140792.aspx as for the second, you can attempt a compact on a PST from control panel, mail, profiles, data files. Make a backup first. If it fails, then a PST repair utility may be required. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 20, 2012 11:20 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Outlook Barfing Dear List: I have a client in Mexico who is getting that "an error has occurred" message from Outlook (2007) and the program shuts down. I get that randomly from my Outlook (2003) as well but it hasn't gotten bad enough for me to go through the hassle of uninstalling, reinstalling, and getting all the updates. Has anyone got a solution for him? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Rocky Smolin [mailto:rockysmolin at bchacc.com] Sent: Wednesday, December 19, 2012 6:01 PM To: 'Victor Hugo Garcia Leduc' Subject: RE: [AccessD] AV on a server Victor: I'll forward your email to my forum and see if anyone has any ideas for you. Best, Rocky ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 5:51 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; yes, this is another courtesy of Mr. Gates and his gang. The error started because outlook was telling that was not able to connect with mail server (external supplier), but after a few tests, it was clear that the error was from my outlook . I?m running outlook 2007 with ?business contact manager? . I never used the damn thing by the way. I tried to uninstall two times now, from the office uninstall, and also using REVO uninstaller to clear the register.. And magic !!, after I install, my emails and configurations are still there, but the program crash and send the error ?outlook stopped working because of a problem. Windows will close the program and will let you know if there?s any solution? Of course, I?m still waiting for the solution from windows . After I re-install the whole office suite, windows downloaded the updates using ?windows update?, so I?m assuming the latest service packs and patches are already installed. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager De: Rocky Smolin [mailto:rockysmolin at bchacc.com] Enviado el: mi?rcoles, 19 de diciembre de 2012 07:35 p.m. Para: 'Victor Hugo Garcia Leduc' Asunto: RE: [AccessD] AV on a server "an error occurred executing the program and will be closed"." Don't you love it? No explanations, no error message, no reason. Just - adios, muchacho. I get this randomly from my Outlook as well, but it's not often enough to drive me to the project of uninstalling Office and reinstalling and updating to the latest service pack. Does this link help? http://support.microsoft.com/kb/814441 There was a thread on my forum recently regarding this but I don't remember if there was any solution. When you say "receive from email server" do you mean from your Internet Service Provider or from your internal server? Are you running Outlook locally on your own desktop or on the server. What version of Office are you running? Are you running mixed versions of Office - modules from different versions? What is the exact error message? Does it have a number associated with it? If so you might try entering the error number and error description into Google exactly as it appears. This sometimes works for me. Assuming you're running Outlook on your desk top, and are running all modules from one version of Office, and trying to retrieve email from your ISP, you might try to completely uninstall Office, reinstall, the go to the Microsoft site and get the latest service release, updates, patches, etc. No guarantees on that, though. But the error indicates that something - a dll or other support file - is corrupted. Let me know what you do and if you get any results. If you send back the exact error number and description I'll see what I can find out from my forum. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin ________________________________ From: Victor Hugo Garcia Leduc [mailto:victor.hugo.garcia at prometalmexico.com] Sent: Wednesday, December 19, 2012 4:57 PM To: 'Rocky Smolin' Subject: RE: [AccessD] AV on a server Hi Rocky; I'm having a hard time with Outlook... all started with the program not being able to receive from email server... so I uninstall the whole thing and now it says "an error occurred executing the program and will be closed". I know this haves nothing to do with MRP, but since you are a highly skilled guy on this issues, I want to know your opinion. thanks Atentamente Victor Hugo Garcia Engineering & Plant Manager -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 20 14:37:51 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Dec 2012 06:37:51 +1000 Subject: [AccessD] Criteria Help in Query In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB071795B8@HOUEX6.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CB071795B8@HOUEX6.kindermorgan.com> Message-ID: <50D3771F.6627.704052AF@stuart.lexacorp.com.pg> Try putting brckets around your OR clauses: WHERE (((dbo_DSS_WellTests.PID)=[T2].[PID]) AND ((dbo_DSS_WellTests.Testdate)=[MaxofTestDate]) AND ( ((dbo_DSS_WellTests.Test_Oil)>0)) OR (((dbo_DSS_WellTests.Test_HCGas)>0)) OR (((dbo_DSS_WellTests.Test_Wtrp)>0)) ) ORDER BY dbo_DSS_WellTests.Well_Name; Currently your indivuals ORs are "overriding":the previous AND conditions so you are getting a huge number of records. -- Stuart On 20 Dec 2012 at 14:58, Kaup, Chester wrote: > I have the following query that works fine. I need to return only > records where Test_Oil >0 or Test_HCGas>0 or Test_Wtrp >0. When I add > these criteria to the query it runs and runs but never completes. Is > there a better way to do this? 2 queries maybe? > From rockysmolin at bchacc.com Thu Dec 20 19:56:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Dec 2012 17:56:30 -0800 Subject: [AccessD] Report not on top Message-ID: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> Dear List: I have a report that is run in Preview mode from a calling form. Under certain conditions, which I can replicate, the report opens in preview but the calling form is on top of the report - that is, Window 1 - db container, Window 2 - Main Menu, Window 3 - calling form, Window 4 - report in Preview. If I run the report in preview the report seems not to run but if I pull down the Window menu I see the report there as Window 4 and can click on it and see it. Problem is 1) I don't know why that is happening, and 2) if I knew how to force Window 4 to the top I'd just do that, but I don't. Is there some way to select the window you want on top? It may not always be window 4 depending on how they get to the calling for. I'd like to specify it by the report name if possible. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From stuart at lexacorp.com.pg Thu Dec 20 23:02:03 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Dec 2012 15:02:03 +1000 Subject: [AccessD] Report not on top In-Reply-To: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> Message-ID: <50D3ED4B.14055.720DF138@stuart.lexacorp.com.pg> Is the form set as Popup or Modal ? On 20 Dec 2012 at 17:56, Rocky Smolin wrote: > Dear List: > > I have a report that is run in Preview mode from a calling form. Under > certain conditions, which I can replicate, the report opens in preview but > the calling form is on top of the report - that is, Window 1 - db container, > Window 2 - Main Menu, Window 3 - calling form, Window 4 - report in > Preview. > > If I run the report in preview the report seems not to run but if I pull > down the Window menu I see the report there as Window 4 and can click on it > and see it. > > Problem is 1) I don't know why that is happening, and 2) if I knew how to > force Window 4 to the top I'd just do that, but I don't. > > Is there some way to select the window you want on top? It may not always > be window 4 depending on how they get to the calling for. I'd like to > specify it by the report name if possible. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Dec 20 23:05:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Dec 2012 21:05:30 -0800 Subject: [AccessD] Report not on top In-Reply-To: <50D3ED4B.14055.720DF138@stuart.lexacorp.com.pg> References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> <50D3ED4B.14055.720DF138@stuart.lexacorp.com.pg> Message-ID: Neither. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 20, 2012 9:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report not on top Is the form set as Popup or Modal ? On 20 Dec 2012 at 17:56, Rocky Smolin wrote: > Dear List: > > I have a report that is run in Preview mode from a calling form. > Under certain conditions, which I can replicate, the report opens in > preview but the calling form is on top of the report - that is, Window > 1 - db container, Window 2 - Main Menu, Window 3 - calling form, > Window 4 - report in Preview. > > If I run the report in preview the report seems not to run but if I > pull down the Window menu I see the report there as Window 4 and can > click on it and see it. > > Problem is 1) I don't know why that is happening, and 2) if I knew how > to force Window 4 to the top I'd just do that, but I don't. > > Is there some way to select the window you want on top? It may not > always be window 4 depending on how they get to the calling for. I'd > like to specify it by the report name if possible. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Dec 21 00:56:47 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Dec 2012 16:56:47 +1000 Subject: [AccessD] Report not on top In-Reply-To: References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007>, <50D3ED4B.14055.720DF138@stuart.lexacorp.com.pg>, Message-ID: <50D4082F.25879.7276FAAC@stuart.lexacorp.com.pg> Not even in the Docmd.Openform which starts it? You say under certain conditions which you can replicate, what is different between when it happens and when it doesn't? -- Stuart On 20 Dec 2012 at 21:05, Rocky Smolin wrote: > Neither. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Thursday, December 20, 2012 9:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Report not on top > > Is the form set as Popup or Modal ? > > On 20 Dec 2012 at 17:56, Rocky Smolin wrote: > > > Dear List: > > > > I have a report that is run in Preview mode from a calling form. > > Under certain conditions, which I can replicate, the report opens in > > preview but the calling form is on top of the report - that is, Window > > 1 - db container, Window 2 - Main Menu, Window 3 - calling form, > > Window 4 - report in Preview. > > > > If I run the report in preview the report seems not to run but if I > > pull down the Window menu I see the report there as Window 4 and can > > click on it and see it. > > > > Problem is 1) I don't know why that is happening, and 2) if I knew how > > to force Window 4 to the top I'd just do that, but I don't. > > > > Is there some way to select the window you want on top? It may not > > always be window 4 depending on how they get to the calling for. I'd > > like to specify it by the report name if possible. > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Fri Dec 21 01:07:17 2012 From: paul.hartland at googlemail.com (Paul Hartland) Date: Fri, 21 Dec 2012 07:07:17 +0000 Subject: [AccessD] Report not on top In-Reply-To: <50D4082F.25879.7276FAAC@stuart.lexacorp.com.pg> References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> <50D3ED4B.14055.720DF138@stuart.lexacorp.com.pg> <50D4082F.25879.7276FAAC@stuart.lexacorp.com.pg> Message-ID: I think I used to get something like this, off the top of my head I think that I ended up hiding the calling form in the open event of the report, then making it visible again on the close event of the report On 21 December 2012 06:56, Stuart McLachlan wrote: > Not even in the Docmd.Openform which starts it? > > You say under certain conditions which you can replicate, what is > different between when it > happens and when it doesn't? > > > -- > Stuart > > On 20 Dec 2012 at 21:05, Rocky Smolin wrote: > > > Neither. > > > > R > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > > Sent: Thursday, December 20, 2012 9:02 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Report not on top > > > > Is the form set as Popup or Modal ? > > > > On 20 Dec 2012 at 17:56, Rocky Smolin wrote: > > > > > Dear List: > > > > > > I have a report that is run in Preview mode from a calling form. > > > Under certain conditions, which I can replicate, the report opens in > > > preview but the calling form is on top of the report - that is, Window > > > 1 - db container, Window 2 - Main Menu, Window 3 - calling form, > > > Window 4 - report in Preview. > > > > > > If I run the report in preview the report seems not to run but if I > > > pull down the Window menu I see the report there as Window 4 and can > > > click on it and see it. > > > > > > Problem is 1) I don't know why that is happening, and 2) if I knew how > > > to force Window 4 to the top I'd just do that, but I don't. > > > > > > Is there some way to select the window you want on top? It may not > > > always be window 4 depending on how they get to the calling for. I'd > > > like to specify it by the report name if possible. > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > 858-259-4334 > > > www.bchacc.com www.e-z-mrp.com > > > > > > Skype: rocky.smolin > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From accesspro at cox.net Fri Dec 21 10:46:52 2012 From: accesspro at cox.net (ap cx) Date: Fri, 21 Dec 2012 08:46:52 -0800 Subject: [AccessD] Reattaching Tables In-Reply-To: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> References: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> Message-ID: <0A1DFE452F774D18A5B6B7E09A113294@Seven> I am looking for some code to relink tables from multiple back ends selectively. That is, sometimes I want to use certain tables in one location and some times other locations. I have used a number of procedures that check if linked tables are still linked per the last use and if not relink. My need is for a front end that has about a hundred linked tables. My vision is a prompt that would ask me if all the tables previously linked to a location should be relinked there or ask for a new location. And repeat for other previous locations. But not for each individual table. Of course the thing to do is write this myself; but naturally, I need it yesterday to do a good job on this project. TIA Bob Heygood From davidmcafee at gmail.com Fri Dec 21 11:27:36 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 21 Dec 2012 09:27:36 -0800 Subject: [AccessD] Report not on top In-Reply-To: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> Message-ID: Make sure the calling form doesn't have its Border Style set to Dialog. On Thu, Dec 20, 2012 at 5:56 PM, Rocky Smolin wrote: > Dear List: > > I have a report that is run in Preview mode from a calling form. Under > certain conditions, which I can replicate, the report opens in preview but > the calling form is on top of the report - that is, Window 1 - db container, > Window 2 - Main Menu, Window 3 - calling form, Window 4 - report in > Preview. > > If I run the report in preview the report seems not to run but if I pull > down the Window menu I see the report there as Window 4 and can click on it > and see it. > > Problem is 1) I don't know why that is happening, and 2) if I knew how to > force Window 4 to the top I'd just do that, but I don't. > > Is there some way to select the window you want on top? It may not always > be window 4 depending on how they get to the calling for. I'd like to > specify it by the report name if possible. > > MTIA From steve at goodhall.info Fri Dec 21 11:29:48 2012 From: steve at goodhall.info (Steve Goodhall) Date: Fri, 21 Dec 2012 12:29:48 -0500 Subject: [AccessD] Reattaching Tables In-Reply-To: <0A1DFE452F774D18A5B6B7E09A113294@Seven> References: <004101cddec2$99c92390$cd5b6ab0$@mattysconsulting.com> <0A1DFE452F774D18A5B6B7E09A113294@Seven> Message-ID: <8d44d255-54c8-423d-915c-346f27ef4a36@blur> I have some code that does some of what you want to do but will probably require some fiddling. I will dig it up this week end and either send it to you off the list put it on my web site. It may already be there. I don't remember whether it is well documented. Steve Goodhall, MSCS, PMP -----Original message----- From: ap cx To: 'Access Developers discussion and problem solving' Sent: Fri, Dec 21, 2012 16:52:23 GMT+00:00 Subject: [AccessD] Reattaching Tables I am looking for some code to relink tables from multiple back ends selectively. That is, sometimes I want to use certain tables in one location and some times other locations. I have used a number of procedures that check if linked tables are still linked per the last use and if not relink. My need is for a front end that has about a hundred linked tables. My vision is a prompt that would ask me if all the tables previously linked to a location should be relinked there or ask for a new location. And repeat for other previous locations. But not for each individual table. Of course the thing to do is write this myself; but naturally, I need it yesterday to do a good job on this project. TIA Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Dec 21 11:52:29 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 21 Dec 2012 09:52:29 -0800 Subject: [AccessD] Report not on top In-Reply-To: References: <6806E8620BD44E3898B79A9C0DF23DA2@HAL9007> Message-ID: Fixed. The condition was - before running the report the program checked a condition and if it was true did some stuff and then called the Save Record subroutine. SO I just changed the call to the Save routing to DoCmd.RunCommand acCmdSaveRecord and it works. The stuff that's being checked in the save record routine is not necessary at this point. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, December 21, 2012 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report not on top Make sure the calling form doesn't have its Border Style set to Dialog. On Thu, Dec 20, 2012 at 5:56 PM, Rocky Smolin wrote: > Dear List: > > I have a report that is run in Preview mode from a calling form. > Under certain conditions, which I can replicate, the report opens in > preview but the calling form is on top of the report - that is, Window > 1 - db container, Window 2 - Main Menu, Window 3 - calling form, > Window 4 - report in Preview. > > If I run the report in preview the report seems not to run but if I > pull down the Window menu I see the report there as Window 4 and can > click on it and see it. > > Problem is 1) I don't know why that is happening, and 2) if I knew how > to force Window 4 to the top I'd just do that, but I don't. > > Is there some way to select the window you want on top? It may not > always be window 4 depending on how they get to the calling for. I'd > like to specify it by the report name if possible. > > MTIA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Dec 24 07:35:32 2012 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Dec 2012 14:35:32 +0100 Subject: [AccessD] Merry Christmas Message-ID: Hi all A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. /gustav From mcp2004 at mail.ru Mon Dec 24 07:44:00 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 24 Dec 2012 17:44:00 +0400 Subject: [AccessD] =?utf-8?q?Merry_Christmas?= In-Reply-To: References: Message-ID: <1356356640.601487336@f349.mail.ru> Hi Gustav -- I'm joining your greetings: Merry Christmas to all of you from St.Petersburg, Russia! -- Shamil P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" : >Hi all > >A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. > >/gustav > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Mon Dec 24 07:50:18 2012 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Mon, 24 Dec 2012 13:50:18 +0000 Subject: [AccessD] Merry Christmas In-Reply-To: <1356356640.601487336@f349.mail.ru> References: <1356356640.601487336@f349.mail.ru> Message-ID: <201212241350.qBODoSCD003887@databaseadvisors.com> Same, Merry Christmas everyone! From a balmy 11 + day... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, December 24, 2012 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas Hi Gustav -- I'm joining your greetings: Merry Christmas to all of you from St.Petersburg, Russia! -- Shamil P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" : >Hi all > >A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. > >/gustav > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------Disclaimer--------------- This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. From andy at minstersystems.co.uk Mon Dec 24 07:54:45 2012 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 24 Dec 2012 13:54:45 -0000 Subject: [AccessD] Merry Christmas In-Reply-To: <1356356640.601487336@f349.mail.ru> Message-ID: ...and from wet, wet, wet England. Not cold here but the island in danger of sinking. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: 24 December 2012 13:44 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas Hi Gustav -- I'm joining your greetings: Merry Christmas to all of you from St.Petersburg, Russia! -- Shamil P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" : >Hi all > >A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. > >/gustav > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulrster at gmail.com Mon Dec 24 07:57:06 2012 From: paulrster at gmail.com (paul) Date: Mon, 24 Dec 2012 13:57:06 +0000 Subject: [AccessD] Merry Christmas In-Reply-To: <201212241350.qBODoSCD003887@databaseadvisors.com> References: <1356356640.601487336@f349.mail.ru> <201212241350.qBODoSCD003887@databaseadvisors.com> Message-ID: And a very happy Christmas to you all from dreary London as an occluded front passes over. Best wishes to 2013. paul On 24 December 2012 13:50, RANDALL R ANTHONY wrote: > Same, Merry Christmas everyone! From a balmy 11 + day... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Monday, December 24, 2012 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Merry Christmas > > Hi Gustav -- > > I'm joining your greetings: > > Merry Christmas to all of you from St.Petersburg, Russia! > > -- Shamil > > P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... > > > ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" : >>Hi all >> >>A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. >> >>/gustav >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------Disclaimer--------------- > > This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. > > If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- .......................................................................................... You're invited to browse through my ebook online library where thousands and thousands of ebooks of all genres and all formats are downloadable. This is a library where there are no charges and no fines. No strings attached! You borrow the book or books and enjoy them. www.eBookTrove.com Happy reading! From tinanfields at torchlake.com Mon Dec 24 08:14:29 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 24 Dec 2012 09:14:29 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: Message-ID: <50D86345.9050404@torchlake.com> . . . and a Merry Christmas and Prosperous New Year from snowy northern Michigan! Ho! Ho! Ho! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/24/2012 8:54 AM, Andy Lacey wrote: > ...and from wet, wet, wet England. Not cold here but the island in danger of > sinking. > > Andy > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: 24 December 2012 13:44 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Merry Christmas > > > Hi Gustav -- > > I'm joining your greetings: > > Merry Christmas to all of you from St.Petersburg, Russia! > > -- Shamil > > P.S. It's -15 centigrades here now, and it was -20 just yesterday but they > forecast it will be +5 centigrades in a few days... > > > ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" > : >> Hi all >> >> A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on > this quiet day. >> /gustav >> >> From jackandpat.d at gmail.com Mon Dec 24 08:17:12 2012 From: jackandpat.d at gmail.com (jack drawbridge) Date: Mon, 24 Dec 2012 09:17:12 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: <1356356640.601487336@f349.mail.ru> <201212241350.qBODoSCD003887@databaseadvisors.com> Message-ID: Merry Christmas and best wishes for a great 2013 to all on Accessd. -12C here at the moment, just finishing 45 cm of snow and more predicted for the coming weekend. Jack On Mon, Dec 24, 2012 at 8:57 AM, paul wrote: > And a very happy Christmas to you all from dreary London as an > occluded front passes over. Best wishes to 2013. > paul > > On 24 December 2012 13:50, RANDALL R ANTHONY wrote: > > Same, Merry Christmas everyone! From a balmy 11 + day... > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Monday, December 24, 2012 8:44 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Merry Christmas > > > > Hi Gustav -- > > > > I'm joining your greetings: > > > > Merry Christmas to all of you from St.Petersburg, Russia! > > > > -- Shamil > > > > P.S. It's -15 centigrades here now, and it was -20 just yesterday but > they forecast it will be +5 centigrades in a few days... > > > > > > ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" < > gustav at cactus.dk>: > >>Hi all > >> > >>A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) > on this quiet day. > >> > >>/gustav > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -------------Disclaimer--------------- > > > > This electronic message and its contents and attachments contain > information from Sentara Healthcare and is confidential or otherwise > protected from disclosure. The information is intended to be for the > addressee only. > > > > If you are not the addressee, any disclosure, copy, distribution or use > of the contents of this message is prohibited. If you have received this > electronic message in error, please notify us immediately and destroy the > original message and all copies. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > .......................................................................................... > You're invited to browse through my ebook online library where > thousands and thousands of ebooks of all genres and all formats are > downloadable. This is a library where there are no charges and no > fines. No strings attached! You borrow the book or books and enjoy > them. www.eBookTrove.com Happy reading! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Dec 24 09:59:48 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 24 Dec 2012 07:59:48 -0800 Subject: [AccessD] Merry Christmas In-Reply-To: References: <1356356640.601487336@f349.mail.ru><201212241350.qBODoSCD003887@databaseadvisors.com> Message-ID: <048C6AF496144254BE60F03622583DF6@HAL9007> And a Merry Christmas to all from Del Mar where a brutal winter has set in and, while it has been in the 70s up until a few days ago, I doubt it will reach 65F today. I'm having to wear socks and I, like all San Diegans, resent that. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov Shamil > Sent: Monday, December 24, 2012 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Merry Christmas > > Hi Gustav -- > > I'm joining your greetings: > > Merry Christmas to all of you from St.Petersburg, Russia! > > -- Shamil > > P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... > > > ???????????, 24 ??????? 2012, 14:35 +01:00 ?? "Gustav Brock" : >>Hi all >> >>A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. >> >>/gustav >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------Disclaimer--------------- > > This electronic message and its contents and attachments contain information from Sentara Healthcare and is confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. > > If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- ............................................................................ .............. You're invited to browse through my ebook online library where thousands and thousands of ebooks of all genres and all formats are downloadable. This is a library where there are no charges and no fines. No strings attached! You borrow the book or books and enjoy them. www.eBookTrove.com Happy reading! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 24 10:10:58 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 24 Dec 2012 11:10:58 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: Message-ID: <612C84BEDE2E4757A81214B2CB925446@XPS> Merry Christmas to all! Not doing bad here in upstate NY; seasonal temps (30+ F) and our first shot of snow (finally). Got about 12" over the last two days. Been green grass up until now. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 24, 2012 08:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Merry Christmas Hi all A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Dec 24 10:30:31 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 24 Dec 2012 11:30:31 -0500 Subject: [AccessD] Merry Christmas References: <1356356640.601487336@f349.mail.ru><201212241350.qBODoSCD003887@databaseadvisors.com> <048C6AF496144254BE60F03622583DF6@HAL9007> Message-ID: <25DA2F15DE494466B8E753B07CCA4636@SusanHarkins> I hope Santa brings you an extra lump of coal for your trouble. :) Susan H. > And a Merry Christmas to all from Del Mar where a brutal winter has set in > and, while it has been in the 70s up until a few days ago, I doubt it will > reach 65F today. I'm having to wear socks and I, like all San Diegans, > resent that. > From stuart at lexacorp.com.pg Mon Dec 24 17:01:14 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Dec 2012 09:01:14 +1000 Subject: [AccessD] Merry Christmas In-Reply-To: <1356356640.601487336@f349.mail.ru> References: , <1356356640.601487336@f349.mail.ru> Message-ID: <50D8DEBA.16696.855CF034@stuart.lexacorp.com.pg> And a Merry Christmas from PNG, where we've just opened the presents and had breakfast on Christmas morning. It's 9:00 am and about +28 C - it will probably reach about 32 this afternoon with a gentle sea breeze. :-) -- Stuart On 24 Dec 2012 at 17:44, Salakhetdinov Shamil wrote: > Hi Gustav -- > > I'm joining your greetings: > > Merry Christmas to all of you from St.Petersburg, Russia! > > -- Shamil > > P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... > > > , 24 2012, 14:35 +01:00 "Gustav Brock" : > >Hi all > > > >A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. > > > >/gustav > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From hans.andersen at phulse.com Mon Dec 24 18:14:13 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Mon, 24 Dec 2012 16:14:13 -0800 Subject: [AccessD] Merry Christmas In-Reply-To: <50D8DEBA.16696.855CF034@stuart.lexacorp.com.pg> References: <1356356640.601487336@f349.mail.ru> <50D8DEBA.16696.855CF034@stuart.lexacorp.com.pg> Message-ID: Merry Christmas from the only part of Canada that is wet and miserable and 6 degrees on average during winter. :) It's so wet here, we make mudmen instead of snowmen. - Hans Sent from my iPhone On 2012-12-24, at 3:01 PM, "Stuart McLachlan" wrote: > And a Merry Christmas from PNG, where we've just opened the presents and had breakfast > on Christmas morning. It's 9:00 am and about +28 C - it will probably reach about 32 this > afternoon with a gentle sea breeze. :-) > > -- > Stuart > > On 24 Dec 2012 at 17:44, Salakhetdinov Shamil wrote: > >> Hi Gustav -- >> >> I'm joining your greetings: >> >> Merry Christmas to all of you from St.Petersburg, Russia! >> >> -- Shamil >> >> P.S. It's -15 centigrades here now, and it was -20 just yesterday but they forecast it will be +5 centigrades in a few days... >> >> >> , 24 2012, 14:35 +01:00 "Gustav Brock" : >>> Hi all >>> >>> A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. >>> >>> /gustav >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 24 19:39:05 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 24 Dec 2012 17:39:05 -0800 Subject: [AccessD] Merry Christmas In-Reply-To: References: Message-ID: <5CD0B47717024B978D68B803ADFB9607@creativesystemdesigns.com> Hi all and a Merry Christmas from the rainy west coast... Sun, I remember it well, rain, at least it goes down the drain, snow, now that would anoying as we have so many people expected so it just wouldn't dare. ;-) Toast to you all. Jim From jwcolby at gmail.com Mon Dec 24 21:44:30 2012 From: jwcolby at gmail.com (John W Colby) Date: Mon, 24 Dec 2012 22:44:30 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: <612C84BEDE2E4757A81214B2CB925446@XPS> References: <612C84BEDE2E4757A81214B2CB925446@XPS> Message-ID: <50D9211E.4000906@gmail.com> And to all a good night... Jim, Mary and Allie are flying up to Syracuse tomorrow for Christmas with Aunt Janice. I'm flying to Yuma Arizona with my son Robbie for 10 days. It's in the 60s in Yuma. John W. Colby Reality is what refuses to go away when you do not believe in it On 12/24/2012 11:10 AM, Jim Dettman wrote: > Merry Christmas to all! > > Not doing bad here in upstate NY; seasonal temps (30+ F) and our first shot > of snow (finally). Got about 12" over the last two days. Been green grass > up until now. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, December 24, 2012 08:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Merry Christmas > > Hi all > > A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on > this quiet day. > > /gustav > From mwp.reid at qub.ac.uk Tue Dec 25 01:40:58 2012 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 25 Dec 2012 07:40:58 +0000 Subject: [AccessD] Merry Christmas Message-ID: <631CF83223105545BF43EFB52CB082958E54C4FB3A@EX2K7-VIRT-2.ads.qub.ac.uk> Happy Christmas to all Martin Sent from my Windows Phone ________________________________ From: John W Colby Sent: 25/12/2012 03:46 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas And to all a good night... Jim, Mary and Allie are flying up to Syracuse tomorrow for Christmas with Aunt Janice. I'm flying to Yuma Arizona with my son Robbie for 10 days. It's in the 60s in Yuma. John W. Colby Reality is what refuses to go away when you do not believe in it On 12/24/2012 11:10 AM, Jim Dettman wrote: > Merry Christmas to all! > > Not doing bad here in upstate NY; seasonal temps (30+ F) and our first shot > of snow (finally). Got about 12" over the last two days. Been green grass > up until now. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, December 24, 2012 08:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Merry Christmas > > Hi all > > A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on > this quiet day. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Dec 25 07:58:22 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 25 Dec 2012 07:58:22 -0600 Subject: [AccessD] Merry Christmas References: <631CF83223105545BF43EFB52CB082958E54C4FB3A@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Christmas morning here in Southern Minnesota (not that far from Lake Wobegon) Cold and Clear 0 F -18 C Presents under the Christmas tree waiting for the grand kids to arrive. Way too much food and goodies in the kitchen. Wishing you all a great New Year. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Martin Reid Sent: Tue 12/25/2012 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas Happy Christmas to all Martin Sent from my Windows Phone ________________________________ From: John W Colby Sent: 25/12/2012 03:46 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas And to all a good night... Jim, Mary and Allie are flying up to Syracuse tomorrow for Christmas with Aunt Janice. I'm flying to Yuma Arizona with my son Robbie for 10 days. It's in the 60s in Yuma. John W. Colby Reality is what refuses to go away when you do not believe in it On 12/24/2012 11:10 AM, Jim Dettman wrote: > Merry Christmas to all! > > Not doing bad here in upstate NY; seasonal temps (30+ F) and our first shot > of snow (finally). Got about 12" over the last two days. Been green grass > up until now. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, December 24, 2012 08:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Merry Christmas > > Hi all > > A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on > this quiet day. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jimdettman at verizon.net Tue Dec 25 09:13:49 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 25 Dec 2012 10:13:49 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: <50D9211E.4000906@gmail.com> References: <612C84BEDE2E4757A81214B2CB925446@XPS> <50D9211E.4000906@gmail.com> Message-ID: <8BC69B8CBFC1454E99C157975C84D192@XPS> Hope everyone has a great trip. Enjoy yourself in the sunny southwest! Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Monday, December 24, 2012 10:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas And to all a good night... Jim, Mary and Allie are flying up to Syracuse tomorrow for Christmas with Aunt Janice. I'm flying to Yuma Arizona with my son Robbie for 10 days. It's in the 60s in Yuma. John W. Colby Reality is what refuses to go away when you do not believe in it On 12/24/2012 11:10 AM, Jim Dettman wrote: > Merry Christmas to all! > > Not doing bad here in upstate NY; seasonal temps (30+ F) and our first shot > of snow (finally). Got about 12" over the last two days. Been green grass > up until now. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, December 24, 2012 08:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Merry Christmas > > Hi all > > A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on > this quiet day. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Dec 25 09:30:57 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 25 Dec 2012 10:30:57 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: <1356356640.601487336@f349.mail.ru> <50D8DEBA.16696.855CF034@stuart.lexacorp.com.pg> Message-ID: Merry Christmas to all my friends on this channel. reading the foregoing message gives me a wonderful feeling that I have friends all over this planet. Even PNG, which is high on my list of places to visit before I die. Ever since I read Darwin! In Toronto it's 0 degrees Celsius. My brother and his wife are going to the cinema, as is our tradition. We're going to see Django Unchained. From carbonnb at gmail.com Tue Dec 25 10:08:54 2012 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 25 Dec 2012 11:08:54 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: <1356356640.601487336@f349.mail.ru> <50D8DEBA.16696.855CF034@stuart.lexacorp.com.pg> Message-ID: Merry Christmas to everyone from cloudy Downtown Toronto. A comfy 22 C (70 F) inside ;) Bryan On 12/25/12, Arthur Fuller wrote: > Merry Christmas to all my friends on this channel. reading the foregoing > message gives me a wonderful feeling that I have friends all over this > planet. Even PNG, which is high on my list of places to visit before I die. > Ever since I read Darwin! > > In Toronto it's 0 degrees Celsius. My brother and his wife are going to the > cinema, as is our tradition. We're going to see Django Unchained. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Sent from my mobile device Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From john at winhaven.net Tue Dec 25 11:37:15 2012 From: john at winhaven.net (John Bartow) Date: Tue, 25 Dec 2012 11:37:15 -0600 Subject: [AccessD] Merry Christmas In-Reply-To: References: Message-ID: <018c01cde2c6$7b3b53a0$71b1fae0$@winhaven.net> Merry Christmas Gustav and all on AccessD! >From the colder north 21F (-6C) but a sunny beautiful day! John Bartow -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 24, 2012 7:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Merry Christmas Hi all A Merry Christmas to all of you from the "Cold North" (+4 centigrades!) on this quiet day. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Tue Dec 25 11:48:03 2012 From: hkotsch at arcor.de (Helmut Kotsch) Date: Tue, 25 Dec 2012 18:48:03 +0100 Subject: [AccessD] Merry Christmas In-Reply-To: Message-ID: Merry Christmas to everyone from Germany. We had yesterday 21.8 C (71.2 F) in Munich. This was an all time high for the 24th of December since temperature recording started. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Bryan Carbonnell Gesendet: Dienstag, 25. Dezember 2012 17:09 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Merry Christmas Merry Christmas to everyone from cloudy Downtown Toronto. A comfy 22 C (70 F) inside ;) Bryan On 12/25/12, Arthur Fuller wrote: > Merry Christmas to all my friends on this channel. reading the foregoing > message gives me a wonderful feeling that I have friends all over this > planet. Even PNG, which is high on my list of places to visit before I die. > Ever since I read Darwin! > > In Toronto it's 0 degrees Celsius. My brother and his wife are going to the > cinema, as is our tradition. We're going to see Django Unchained. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Sent from my mobile device Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Dec 26 10:22:54 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 26 Dec 2012 08:22:54 -0800 Subject: [AccessD] Error 2110: can't move the focus to control... Message-ID: <054DCBD33106429F90AD29F3EB42A304@HAL9007> Dear List: I am getting an error 2110: can't move the focus to the control... It occurs in this code: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub in the SetFocus line. After I get the error, if I press F5 the program carries on normally setting the focus to TimeEntryNarrative. However, there is a condition that causes this. Mostly clicking into imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The graphic shows if there's nothing in the text box and is made invisible when there is something in the text box), works fine. But if the user clicks into one of two other text boxes and then clicks imgGraphicForTimeEntryNarrative, the error occurs. Both those boxes have a LostFocus event as follows: Private Sub txtEditWorkedTime_LostFocus() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub If I temporarily disable that module: Private Sub txtEditWorkedTime_LostFocus() Exit Sub Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub then Private Sub imgGraphicForTimeEntryNarrative_Click() works. I'm not opposed to a quick fix or workaround for this. But I have gotten this error before - does anyone know the general cause (or general solution)? Odd that after I get the error I can resume code execution and it works! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From df.waters at comcast.net Wed Dec 26 11:14:33 2012 From: df.waters at comcast.net (Dan Waters) Date: Wed, 26 Dec 2012 11:14:33 -0600 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <054DCBD33106429F90AD29F3EB42A304@HAL9007> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007> Message-ID: <001b01cde38c$79a53850$6cefa8f0$@comcast.net> Hi Rocky, I get this error fairly often in a large system so I was very interested to read this. I would suggest trying to set the focus before you make the graphic invisible. I'm going to guess that Access will have difficulty making the image invisible if it already has the focus, or it may move the focus to the control which is next in the tab order. If the next control in the tab order is TimeEntryNarrative, then you will have a problem because setting focus to a control which already has the focus will cause an error. Try this: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.TimeEntryNarrative.SetFocus Me.imgGraphicForTimeEntryNarrative.Visible = False End Sub Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, December 26, 2012 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 2110: can't move the focus to control... Dear List: I am getting an error 2110: can't move the focus to the control... It occurs in this code: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub in the SetFocus line. After I get the error, if I press F5 the program carries on normally setting the focus to TimeEntryNarrative. However, there is a condition that causes this. Mostly clicking into imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The graphic shows if there's nothing in the text box and is made invisible when there is something in the text box), works fine. But if the user clicks into one of two other text boxes and then clicks imgGraphicForTimeEntryNarrative, the error occurs. Both those boxes have a LostFocus event as follows: Private Sub txtEditWorkedTime_LostFocus() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub If I temporarily disable that module: Private Sub txtEditWorkedTime_LostFocus() Exit Sub Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub then Private Sub imgGraphicForTimeEntryNarrative_Click() works. I'm not opposed to a quick fix or workaround for this. But I have gotten this error before - does anyone know the general cause (or general solution)? Odd that after I get the error I can resume code execution and it works! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Dec 26 15:25:10 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 27 Dec 2012 07:25:10 +1000 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <054DCBD33106429F90AD29F3EB42A304@HAL9007> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007> Message-ID: <50DB6B36.11409.8F51B693@stuart.lexacorp.com.pg> In your Lost_focus you are trying to set_focus on one control while at the same time you are clicking on an image (setting focus) and setting focus to a different control during that event.. Triggering another windows message/event inside an event handler can often cause problems like this. It's a bit like the old problem of changing text in a text box in the OnChange event. You are setting up a conflict where Windows tries set the focus to two different controls at the same time. TimeEntryNarrative (when the use clicks and sets the focus on the img) AND HoursBillable ( when the user's click causes the previous control to lose focus). The problem is your attempt to control workflow by setting focus in the LostFocus event which is contrary to the whole concept of event driven as opposed to procedural programming. The solution is : don't do that. :-) You can continue after you get the error with no problems because focus is no longer on the txtEdit, so the Lost_focus doesn't trigger and cause the same problem again. -- Stuart On 26 Dec 2012 at 8:22, Rocky Smolin wrote: > Dear List: > > I am getting an error 2110: can't move the focus to the control... > > It occurs in this code: > > Private Sub imgGraphicForTimeEntryNarrative_Click() > Me.imgGraphicForTimeEntryNarrative.Visible = False > Me.TimeEntryNarrative.SetFocus > End Sub > > in the SetFocus line. > > After I get the error, if I press F5 the program carries on normally setting > the focus to TimeEntryNarrative. > > However, there is a condition that causes this. Mostly clicking into > imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The > graphic shows if there's nothing in the text box and is made invisible when > there is something in the text box), works fine. > > But if the user clicks into one of two other text boxes and then clicks > imgGraphicForTimeEntryNarrative, the error occurs. > > Both those boxes have a LostFocus event as follows: > > Private Sub txtEditWorkedTime_LostFocus() > > Me.cmdExit.SetFocus > Me.txtEditWorkedTime.Visible = False > Me.HoursBillable.SetFocus > > End Sub > > If I temporarily disable that module: > > Private Sub txtEditWorkedTime_LostFocus() > Exit Sub > Me.cmdExit.SetFocus > Me.txtEditWorkedTime.Visible = False > Me.HoursBillable.SetFocus > > End Sub > > then Private Sub imgGraphicForTimeEntryNarrative_Click() works. > > I'm not opposed to a quick fix or workaround for this. But I have gotten > this error before - does anyone know the general cause (or general > solution)? Odd that after I get the error I can resume code execution and > it works! > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 26 22:03:33 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 26 Dec 2012 23:03:33 -0500 Subject: [AccessD] Merry Christmas In-Reply-To: References: <631CF83223105545BF43EFB52CB082958E54C4FB3A@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Groundhog's Day here ... again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, December 25, 2012 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas Christmas morning here in Southern Minnesota (not that far from Lake Wobegon) Cold and Clear 0 F -18 C Presents under the Christmas tree waiting for the grand kids to arrive. Way too much food and goodies in the kitchen. Wishing you all a great New Year. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Martin Reid Sent: Tue 12/25/2012 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas Happy Christmas to all Martin Sent from my Windows Phone ________________________________ From: John W Colby Sent: 25/12/2012 03:46 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Merry Christmas And to all a good night... Jim, Mary and Allie are flying up to Syracuse tomorrow for Christmas with Aunt Janice. I'm flying to Yuma Arizona with my son Robbie for 10 days. It's in the 60s in Yuma. John W. Colby Reality is what refuses to go away when you do not believe in it On 12/24/2012 11:10 AM, Jim Dettman wrote: > Merry Christmas to all! > > Not doing bad here in upstate NY; seasonal temps (30+ F) and our > first shot of snow (finally). Got about 12" over the last two days. > Been green grass up until now. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Monday, December 24, 2012 08:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Merry Christmas > > Hi all > > A Merry Christmas to all of you from the "Cold North" (+4 > centigrades!) on this quiet day. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From rockysmolin at bchacc.com Thu Dec 27 10:16:04 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 27 Dec 2012 08:16:04 -0800 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <001b01cde38c$79a53850$6cefa8f0$@comcast.net> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007> <001b01cde38c$79a53850$6cefa8f0$@comcast.net> Message-ID: <331646C54BFB4901996719AC8DD381EE@HAL9007> Dan: I didn't need luck - just your solution - which worked perfectly. Thanks. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin P.S. Why I love this list... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, December 26, 2012 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 2110: can't move the focus to control... Hi Rocky, I get this error fairly often in a large system so I was very interested to read this. I would suggest trying to set the focus before you make the graphic invisible. I'm going to guess that Access will have difficulty making the image invisible if it already has the focus, or it may move the focus to the control which is next in the tab order. If the next control in the tab order is TimeEntryNarrative, then you will have a problem because setting focus to a control which already has the focus will cause an error. Try this: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.TimeEntryNarrative.SetFocus Me.imgGraphicForTimeEntryNarrative.Visible = False End Sub Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, December 26, 2012 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 2110: can't move the focus to control... Dear List: I am getting an error 2110: can't move the focus to the control... It occurs in this code: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub in the SetFocus line. After I get the error, if I press F5 the program carries on normally setting the focus to TimeEntryNarrative. However, there is a condition that causes this. Mostly clicking into imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The graphic shows if there's nothing in the text box and is made invisible when there is something in the text box), works fine. But if the user clicks into one of two other text boxes and then clicks imgGraphicForTimeEntryNarrative, the error occurs. Both those boxes have a LostFocus event as follows: Private Sub txtEditWorkedTime_LostFocus() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub If I temporarily disable that module: Private Sub txtEditWorkedTime_LostFocus() Exit Sub Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub then Private Sub imgGraphicForTimeEntryNarrative_Click() works. I'm not opposed to a quick fix or workaround for this. But I have gotten this error before - does anyone know the general cause (or general solution)? Odd that after I get the error I can resume code execution and it works! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 27 10:19:45 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 27 Dec 2012 08:19:45 -0800 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <331646C54BFB4901996719AC8DD381EE@HAL9007> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007><001b01cde38c$79a53850$6cefa8f0$@comcast.net> <331646C54BFB4901996719AC8DD381EE@HAL9007> Message-ID: <3E39C8B0743647BFA73A4EEC7A8F31FB@HAL9007> Oops - wrote too fast - it didn't work. I forgot that I had disabled the Lost Focus events. Re-enabled and go the same error. Back to the drawing board :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 27, 2012 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 2110: can't move the focus to control... Dan: I didn't need luck - just your solution - which worked perfectly. Thanks. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin P.S. Why I love this list... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, December 26, 2012 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 2110: can't move the focus to control... Hi Rocky, I get this error fairly often in a large system so I was very interested to read this. I would suggest trying to set the focus before you make the graphic invisible. I'm going to guess that Access will have difficulty making the image invisible if it already has the focus, or it may move the focus to the control which is next in the tab order. If the next control in the tab order is TimeEntryNarrative, then you will have a problem because setting focus to a control which already has the focus will cause an error. Try this: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.TimeEntryNarrative.SetFocus Me.imgGraphicForTimeEntryNarrative.Visible = False End Sub Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, December 26, 2012 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 2110: can't move the focus to control... Dear List: I am getting an error 2110: can't move the focus to the control... It occurs in this code: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub in the SetFocus line. After I get the error, if I press F5 the program carries on normally setting the focus to TimeEntryNarrative. However, there is a condition that causes this. Mostly clicking into imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The graphic shows if there's nothing in the text box and is made invisible when there is something in the text box), works fine. But if the user clicks into one of two other text boxes and then clicks imgGraphicForTimeEntryNarrative, the error occurs. Both those boxes have a LostFocus event as follows: Private Sub txtEditWorkedTime_LostFocus() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub If I temporarily disable that module: Private Sub txtEditWorkedTime_LostFocus() Exit Sub Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub then Private Sub imgGraphicForTimeEntryNarrative_Click() works. I'm not opposed to a quick fix or workaround for this. But I have gotten this error before - does anyone know the general cause (or general solution)? Odd that after I get the error I can resume code execution and it works! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 27 10:23:54 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 27 Dec 2012 08:23:54 -0800 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <331646C54BFB4901996719AC8DD381EE@HAL9007> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007><001b01cde38c$79a53850$6cefa8f0$@comcast.net> <331646C54BFB4901996719AC8DD381EE@HAL9007> Message-ID: <3FB95539B6DF4602A96A6A10C014A74B@HAL9007> OK here's what worked but it's kludgey: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.txtEditBillableTime.Visible = False Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub I disabled the lost focus events for those two text boxes and make them invisible in the Sub imgGraphicForTimeEntryNarrative_Click(). If the user is not clicking into the imgGraphicForTimeEntryNarrative object from one of those boxes then they're already invisible and the two statements have no effect. Works - but try to explain it to the next programmer. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, December 27, 2012 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 2110: can't move the focus to control... Dan: I didn't need luck - just your solution - which worked perfectly. Thanks. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin P.S. Why I love this list... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, December 26, 2012 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error 2110: can't move the focus to control... Hi Rocky, I get this error fairly often in a large system so I was very interested to read this. I would suggest trying to set the focus before you make the graphic invisible. I'm going to guess that Access will have difficulty making the image invisible if it already has the focus, or it may move the focus to the control which is next in the tab order. If the next control in the tab order is TimeEntryNarrative, then you will have a problem because setting focus to a control which already has the focus will cause an error. Try this: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.TimeEntryNarrative.SetFocus Me.imgGraphicForTimeEntryNarrative.Visible = False End Sub Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, December 26, 2012 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error 2110: can't move the focus to control... Dear List: I am getting an error 2110: can't move the focus to the control... It occurs in this code: Private Sub imgGraphicForTimeEntryNarrative_Click() Me.imgGraphicForTimeEntryNarrative.Visible = False Me.TimeEntryNarrative.SetFocus End Sub in the SetFocus line. After I get the error, if I press F5 the program carries on normally setting the focus to TimeEntryNarrative. However, there is a condition that causes this. Mostly clicking into imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The graphic shows if there's nothing in the text box and is made invisible when there is something in the text box), works fine. But if the user clicks into one of two other text boxes and then clicks imgGraphicForTimeEntryNarrative, the error occurs. Both those boxes have a LostFocus event as follows: Private Sub txtEditWorkedTime_LostFocus() Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub If I temporarily disable that module: Private Sub txtEditWorkedTime_LostFocus() Exit Sub Me.cmdExit.SetFocus Me.txtEditWorkedTime.Visible = False Me.HoursBillable.SetFocus End Sub then Private Sub imgGraphicForTimeEntryNarrative_Click() works. I'm not opposed to a quick fix or workaround for this. But I have gotten this error before - does anyone know the general cause (or general solution)? Odd that after I get the error I can resume code execution and it works! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 27 15:05:57 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 28 Dec 2012 07:05:57 +1000 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <3FB95539B6DF4602A96A6A10C014A74B@HAL9007> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007>, <331646C54BFB4901996719AC8DD381EE@HAL9007>, <3FB95539B6DF4602A96A6A10C014A74B@HAL9007> Message-ID: <50DCB835.5115.94667A59@stuart.lexacorp.com.pg> Doesn't look too kludgey for me :-) That's much better than using setfocus inside a lostfocus event. -- Stuart On 27 Dec 2012 at 8:23, Rocky Smolin wrote: > OK here's what worked but it's kludgey: > > Private Sub imgGraphicForTimeEntryNarrative_Click() > > Me.cmdExit.SetFocus > Me.txtEditWorkedTime.Visible = False > Me.txtEditBillableTime.Visible = False > Me.imgGraphicForTimeEntryNarrative.Visible = False > Me.TimeEntryNarrative.SetFocus > > End Sub > > I disabled the lost focus events for those two text boxes and make them > invisible in the Sub imgGraphicForTimeEntryNarrative_Click(). If the user > is not clicking into the imgGraphicForTimeEntryNarrative object from one of > those boxes then they're already invisible and the two statements have no > effect. > > Works - but try to explain it to the next programmer. :) > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Thursday, December 27, 2012 8:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Error 2110: can't move the focus to control... > > Dan: > > I didn't need luck - just your solution - which worked perfectly. Thanks. > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > P.S. Why I love this list... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, December 26, 2012 9:15 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Error 2110: can't move the focus to control... > > Hi Rocky, > > I get this error fairly often in a large system so I was very interested to > read this. > > I would suggest trying to set the focus before you make the graphic > invisible. I'm going to guess that Access will have difficulty making the > image invisible if it already has the focus, or it may move the focus to the > control which is next in the tab order. If the next control in the tab > order is TimeEntryNarrative, then you will have a problem because setting > focus to a control which already has the focus will cause an error. > > Try this: > > Private Sub imgGraphicForTimeEntryNarrative_Click() > Me.TimeEntryNarrative.SetFocus > Me.imgGraphicForTimeEntryNarrative.Visible = False > End Sub > > Good Luck! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, December 26, 2012 10:23 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Error 2110: can't move the focus to control... > > Dear List: > > I am getting an error 2110: can't move the focus to the control... > > It occurs in this code: > > Private Sub imgGraphicForTimeEntryNarrative_Click() > Me.imgGraphicForTimeEntryNarrative.Visible = False > Me.TimeEntryNarrative.SetFocus > End Sub > > in the SetFocus line. > > After I get the error, if I press F5 the program carries on normally setting > the focus to TimeEntryNarrative. > > However, there is a condition that causes this. Mostly clicking into > imgGraphicForTimeEntryNarrative (which is a graphic OVER a text box. The > graphic shows if there's nothing in the text box and is made invisible when > there is something in the text box), works fine. > > But if the user clicks into one of two other text boxes and then clicks > imgGraphicForTimeEntryNarrative, the error occurs. > > Both those boxes have a LostFocus event as follows: > > Private Sub txtEditWorkedTime_LostFocus() > > Me.cmdExit.SetFocus > Me.txtEditWorkedTime.Visible = False > Me.HoursBillable.SetFocus > > End Sub > > If I temporarily disable that module: > > Private Sub txtEditWorkedTime_LostFocus() Exit Sub > Me.cmdExit.SetFocus > Me.txtEditWorkedTime.Visible = False > Me.HoursBillable.SetFocus > > End Sub > > then Private Sub imgGraphicForTimeEntryNarrative_Click() works. > > I'm not opposed to a quick fix or workaround for this. But I have gotten > this error before - does anyone know the general cause (or general > solution)? Odd that after I get the error I can resume code execution and > it works! > From tinanfields at torchlake.com Fri Dec 28 10:27:27 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 28 Dec 2012 11:27:27 -0500 Subject: [AccessD] Error 2110: can't move the focus to control... In-Reply-To: <50DB6B36.11409.8F51B693@stuart.lexacorp.com.pg> References: <054DCBD33106429F90AD29F3EB42A304@HAL9007> <50DB6B36.11409.8F51B693@stuart.lexacorp.com.pg> Message-ID: <50DDC86F.6010708@torchlake.com> Aha! Thanks, Stuart - and everybody - because this was a great teaching and learning moment. I learned something new today! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/26/2012 4:25 PM, Stuart McLachlan wrote: > In your Lost_focus you are trying to set_focus on one control while at the same time you are > clicking on an image (setting focus) and setting focus to a different control during that event.. > > Triggering another windows message/event inside an event handler can often cause > problems like this. > > It's a bit like the old problem of changing text in a text box in the OnChange event. > > You are setting up a conflict where Windows tries set the focus to two different controls at > the same time. TimeEntryNarrative (when the use clicks and sets the focus on the img) AND > HoursBillable ( when the user's click causes the previous control to lose focus). > > The problem is your attempt to control workflow by setting focus in the LostFocus event > which is contrary to the whole concept of event driven as opposed to procedural > programming. The solution is : don't do that. :-) > > You can continue after you get the error with no problems because focus is no longer on the > txtEdit, so the Lost_focus doesn't trigger and cause the same problem again. > > From BradM at blackforestltd.com Fri Dec 28 10:10:58 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 28 Dec 2012 10:10:58 -0600 Subject: [AccessD] Loss of "Compiled" flag ??? References: <016901cdd758$f39514e0$dabf3ea0$@activebilling.com.au> <03ca01cdd8b0$2373ae80$6a5b0b80$@activebilling.com.au> Message-ID: All, This is a curiosity question. We have several Access 2007 applications. I develop the applications in our "Development Realm" and then move them into our "Production Realm" so that each user receives they own copy of the application (Front-end only - the data is stored in three backend databases - SQL Server, Pervasive, or Firebird). This all works nicely most of the time. Sometimes, when I move one of the Access 2007 applications from Development to Production - (copy the Development accdb file to the Production accdr file), the new Production application issues errors that seem to indicate that the VBA code is not compiled. I can easily fix this problem by doing a compile of the Development accdb file and then re-doing the move to Production. I am curious as to why this happens. It appears that somewhere in Access there is a flag that indicates if the VBA code has been compiled and that somehow this indicator is set to "not compiled". Is there such a flag/indicator? Is this flag/indicator accessible? Any ideas on why this is happening? Thanks, Brad From tinanfields at torchlake.com Sat Dec 29 17:22:37 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 29 Dec 2012 18:22:37 -0500 Subject: [AccessD] Access Database on Web Message-ID: <50DF7B3D.5010907@torchlake.com> Hi Guys, I've got two fairly straight-forward database projects coming up, that need to be available on the Web. One is of scanned images of soil erosion permit applications. People must apply for a soil erosion permit in Michigan if they are planning to do any tree cutting or earth modification within 100 feet of the state waters. Lake associations realize the importance of monitoring such applications. In order to make the records easily available, the county soil erosion officer wants to scan the permit applications and put the images online for the public to search. The second one is of data pertinent to streams that we monitor - macroinvertebrate inventory data, pH, temperature, clarity, etc., plus the GPS coordinates of the sites. I have never put a database online, and I could use some tutoring on how best to go about it. The databases themselves don't look complicated, but putting stuff on the Web for search is new to me. Thanks for all the good advice you will be giving me! T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From stuart at lexacorp.com.pg Sat Dec 29 18:01:27 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Dec 2012 10:01:27 +1000 Subject: [AccessD] Access Database on Web In-Reply-To: <50DF7B3D.5010907@torchlake.com> References: <50DF7B3D.5010907@torchlake.com> Message-ID: <50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> My advice would be: don't do it. Access is not a good data storage option for public websites. Do they currently have a website? What sort of hosting are they using (MS or *nix)? Does their hosting plan include a database such as mySQL? -- Stuart On 29 Dec 2012 at 18:22, Tina Norris Fields wrote: > Hi Guys, > > I've got two fairly straight-forward database projects coming up, that > need to be available on the Web. > > One is of scanned images of soil erosion permit applications. People > must apply for a soil erosion permit in Michigan if they are planning to > do any tree cutting or earth modification within 100 feet of the state > waters. Lake associations realize the importance of monitoring such > applications. In order to make the records easily available, the county > soil erosion officer wants to scan the permit applications and put the > images online for the public to search. > > The second one is of data pertinent to streams that we monitor - > macroinvertebrate inventory data, pH, temperature, clarity, etc., plus > the GPS coordinates of the sites. > > I have never put a database online, and I could use some tutoring on how > best to go about it. The databases themselves don't look complicated, > but putting stuff on the Web for search is new to me. > > Thanks for all the good advice you will be giving me! > > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Sat Dec 29 18:26:29 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 29 Dec 2012 16:26:29 -0800 Subject: [AccessD] Access Database on Web In-Reply-To: <50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> References: <50DF7B3D.5010907@torchlake.com> <50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> Message-ID: <2B8056A2-8E74-4B50-9322-C2352F5A5393@phulse.com> I'm in complete agreement with Stuart here. MS Access was not designed for this sort of thing. If you are going to put something on the web, you are best going with MySQL as Stuart suggested or Postgres even. Both support Windows, so that's not an issue and you can find tools that convert existing access databases to MySQL, for instance. My wonder, however, is whether these Access databases will be used online and offline? Hans On 2012-12-29, at 4:01 PM, Stuart McLachlan wrote: > My advice would be: don't do it. > > Access is not a good data storage option for public websites. > > Do they currently have a website? What sort of hosting are they using (MS or *nix)? > Does their hosting plan include a database such as mySQL? > > -- > Stuart > > On 29 Dec 2012 at 18:22, Tina Norris Fields wrote: > >> Hi Guys, >> >> I've got two fairly straight-forward database projects coming up, that >> need to be available on the Web. >> >> One is of scanned images of soil erosion permit applications. People >> must apply for a soil erosion permit in Michigan if they are planning to >> do any tree cutting or earth modification within 100 feet of the state >> waters. Lake associations realize the importance of monitoring such >> applications. In order to make the records easily available, the county >> soil erosion officer wants to scan the permit applications and put the >> images online for the public to search. >> >> The second one is of data pertinent to streams that we monitor - >> macroinvertebrate inventory data, pH, temperature, clarity, etc., plus >> the GPS coordinates of the sites. >> >> I have never put a database online, and I could use some tutoring on how >> best to go about it. The databases themselves don't look complicated, >> but putting stuff on the Web for search is new to me. >> >> Thanks for all the good advice you will be giving me! >> >> T >> >> -- >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Dec 29 18:56:17 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 29 Dec 2012 19:56:17 -0500 Subject: [AccessD] Access Database on Web References: <50DF7B3D.5010907@torchlake.com><50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> <2B8056A2-8E74-4B50-9322-C2352F5A5393@phulse.com> Message-ID: If Access is part of the equation, consider SQL Server Express. Susan H. > > I'm in complete agreement with Stuart here. MS Access was not designed for > this sort of thing. If you are going to put something on the web, you are > best going with MySQL as Stuart suggested or Postgres even. Both support > Windows, so that's not an issue and you can find tools that convert > existing access databases to MySQL, for instance. > > My wonder, however, is whether these Access databases will be used online > and offline? > > Hans > From hans.andersen at phulse.com Sat Dec 29 21:21:43 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 29 Dec 2012 19:21:43 -0800 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com><50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> <2B8056A2-8E74-4B50-9322-C2352F5A5393@phulse.com> Message-ID: This would be a good option for someone who wants to stay within the Microsoft sphere of technology, but you just have to be aware of the limitations of the Express version of SQL Server that does not exist on other DB platforms: ie. - 10 GB database size limit - Only uses 1 CPU - Does not allow you to use more then 1 GB of RAM etc... http://en.wikipedia.org/wiki/SQL_Server_Express#Capabilities It's possible, however, that these limitations are not an issue for Tina, since she originally thought to deploy with Access as the DB backend. But, if you are expecting these projects to be scalable in size and performance, then SQL Express is a bad option to start with (unless you are anticipating paying Microsoft lots of money for a proper SQL Server license down the line when you hit those limitations). In which case, I'd recommend Postgres as being the best all round database. MySQL's perks are in that it is the most used database out there, so it is a common skill and lots of community support and it too does not have the limitations that exist in SQL Express. - Hans On 2012-12-29, at 4:56 PM, "Susan Harkins" wrote: > If Access is part of the equation, consider SQL Server Express. > > Susan H. > >> >> I'm in complete agreement with Stuart here. MS Access was not designed for this sort of thing. If you are going to put something on the web, you are best going with MySQL as Stuart suggested or Postgres even. Both support Windows, so that's not an issue and you can find tools that convert existing access databases to MySQL, for instance. >> >> My wonder, however, is whether these Access databases will be used online and offline? >> >> Hans >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Dec 29 22:12:29 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 29 Dec 2012 20:12:29 -0800 Subject: [AccessD] Access Database on Web In-Reply-To: <50DF7B3D.5010907@torchlake.com> References: <50DF7B3D.5010907@torchlake.com> Message-ID: Hi Tina: I can not disagree either Hans or Stuart; they are spot on. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, December 29, 2012 3:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Database on Web Hi Guys, I've got two fairly straight-forward database projects coming up, that need to be available on the Web. One is of scanned images of soil erosion permit applications. People must apply for a soil erosion permit in Michigan if they are planning to do any tree cutting or earth modification within 100 feet of the state waters. Lake associations realize the importance of monitoring such applications. In order to make the records easily available, the county soil erosion officer wants to scan the permit applications and put the images online for the public to search. The second one is of data pertinent to streams that we monitor - macroinvertebrate inventory data, pH, temperature, clarity, etc., plus the GPS coordinates of the sites. I have never put a database online, and I could use some tutoring on how best to go about it. The databases themselves don't look complicated, but putting stuff on the Web for search is new to me. Thanks for all the good advice you will be giving me! T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sun Dec 30 02:36:18 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 30 Dec 2012 12:36:18 +0400 Subject: [AccessD] =?utf-8?q?Access_Database_on_Web?= In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> Message-ID: <1356856578.574146744@m.mail.ru> Yes and a hosted full MS SQL Server solution wouldn't be expensive. But if your web app wouldn't use intensive CRUD operations then MS Access should also work well. ----------- ?????????? ? m.mail.ru From fuller.artful at gmail.com Sun Dec 30 07:58:18 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 30 Dec 2012 08:58:18 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: <1356856578.574146744@m.mail.ru> References: <50DF7B3D.5010907@torchlake.com> <1356856578.574146744@m.mail.ru> Message-ID: In recent months I have become a strong advocate of Alpha Five v11. And especially for this sort of project. Assuming an app of a dozen to twenty tables, you can knock out a prototype web app in 4-8 hours, and the really cool part about it is that it will adapt itself to desktop, tablet or smart-phone, with no additional coding on your part. Part of the reason why I dived deep into JavaScript is that A5v11 totally supports it (among other languages). A recent example is an Access app I did a while back for a riding stable, consisting of about 20 tables (horses, riders, customers (the reason for said distinction being that some wealthy parents have two or more kids enrolled, so hence one customer), instructors, lessons, lessonTypes, and of course the tack shop, plus a few others. I did the prototype in a day. (On my nickel, the client didn't ask for a web solution.) I chose this app to re-do because it was small and straightforward. Then came the good part. A5 has a collection of FeaturePacks available for extra cost; one of them is a calendar presentation that looks a lot like Outlook, with day, week and month views etc. Back when I wrote the original Access version for desktops, I watched the principal user switch back and forth from Access to Outlook, and thought how cool it would be to have that calendar-UI built into my app. But I had no clue how to do it. I used the A5 calendar FeaturePack to do it, and presto! Not only was it built into my app, but it was a web app (again, meaning for desktop, tablet or smart phone) I should add that before tackling the A5 version of the original, I migrated the data to SQL Server and connected the project to that database. It also connects to Access and any other database that can speak ODBC. Since I work a lot in MySQL as well, I was pleased to find it easy to connect to. While refining the web version, I ran the Access original in another window, primarily so that I could look at its forms and duplicate them as closely as possible. That idea soon lost its credence, because A5 has way superior form options (for example, grids whose rows are automatically every other row, no code required). There's always a down-side, and this is it: to run an A5 web app requires the purchase of the A5 server, which runs on the web server. If you plan to do dozens of such projects, there's a price point that gives you the right to install an unlimited number of A5 servers. There's one more down-side, and that is that A5 runs only on Windows, and no Linux version is planned. But just about every host (in Toronto at least) offers you the choice, so that's really not an issue. You can download a trial version of the A5v11 software and check out my claims for yourself. There's a sample web app that shows you a couple of dozen variants on what you can build, with no additional code If I sound like an evangelist, well, I guess I am -- but I am unpaid by Alpha Software, so maybe "enthusiast" would be a more accurate description. If you don't believe me, or even better, if you do, then download the trial from AlphaSoftware.com and take it for a spin. Arthur From rockysmolin at bchacc.com Sun Dec 30 09:53:11 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 30 Dec 2012 07:53:11 -0800 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com><1356856578.574146744@m.mail.ru> Message-ID: I got invited to get a copy of Alpha 5 V11 from one of the principals at the company, which I've downloaded but haven't done the tutorials yet. On the schedule for the first of the year. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, December 30, 2012 5:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Database on Web In recent months I have become a strong advocate of Alpha Five v11. And especially for this sort of project. Assuming an app of a dozen to twenty tables, you can knock out a prototype web app in 4-8 hours, and the really cool part about it is that it will adapt itself to desktop, tablet or smart-phone, with no additional coding on your part. Part of the reason why I dived deep into JavaScript is that A5v11 totally supports it (among other languages). A recent example is an Access app I did a while back for a riding stable, consisting of about 20 tables (horses, riders, customers (the reason for said distinction being that some wealthy parents have two or more kids enrolled, so hence one customer), instructors, lessons, lessonTypes, and of course the tack shop, plus a few others. I did the prototype in a day. (On my nickel, the client didn't ask for a web solution.) I chose this app to re-do because it was small and straightforward. Then came the good part. A5 has a collection of FeaturePacks available for extra cost; one of them is a calendar presentation that looks a lot like Outlook, with day, week and month views etc. Back when I wrote the original Access version for desktops, I watched the principal user switch back and forth from Access to Outlook, and thought how cool it would be to have that calendar-UI built into my app. But I had no clue how to do it. I used the A5 calendar FeaturePack to do it, and presto! Not only was it built into my app, but it was a web app (again, meaning for desktop, tablet or smart phone) I should add that before tackling the A5 version of the original, I migrated the data to SQL Server and connected the project to that database. It also connects to Access and any other database that can speak ODBC. Since I work a lot in MySQL as well, I was pleased to find it easy to connect to. While refining the web version, I ran the Access original in another window, primarily so that I could look at its forms and duplicate them as closely as possible. That idea soon lost its credence, because A5 has way superior form options (for example, grids whose rows are automatically every other row, no code required). There's always a down-side, and this is it: to run an A5 web app requires the purchase of the A5 server, which runs on the web server. If you plan to do dozens of such projects, there's a price point that gives you the right to install an unlimited number of A5 servers. There's one more down-side, and that is that A5 runs only on Windows, and no Linux version is planned. But just about every host (in Toronto at least) offers you the choice, so that's really not an issue. You can download a trial version of the A5v11 software and check out my claims for yourself. There's a sample web app that shows you a couple of dozen variants on what you can build, with no additional code If I sound like an evangelist, well, I guess I am -- but I am unpaid by Alpha Software, so maybe "enthusiast" would be a more accurate description. If you don't believe me, or even better, if you do, then download the trial from AlphaSoftware.com and take it for a spin. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Dec 30 11:17:16 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 30 Dec 2012 12:17:16 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> <1356856578.574146744@m.mail.ru> Message-ID: One of the interesting ironies is that the embedded programming language is XBasic, which is an open-source project also available stand-alone for both Windows and Linux. I was planning to devote some time in January to studying it in isolation, but then as luck would have it (that's Good Luck!), my brother and his wife gave me a copy of "The Art of Attack in Chess", by Vladimir Vukovic. In this first official year of my retirement, I find myself able, willing and in fact eager to go back to school, in the physical, on-line and self-study senses. I am one course short of a graduate degree in Philosophy, and I just discovered that thanks to the beneficent country in which I live, when you're over 65 you can have your tuition waved, and that alone might cause me to pursue a doctorate. After decades of study, mostly informal, I have one or two things to say about Socrates and Plato. Stay tuned LOL. A. From marksimms at verizon.net Sun Dec 30 12:44:08 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 30 Dec 2012 13:44:08 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> <1356856578.574146744@m.mail.ru> Message-ID: <008601cde6bd$a7adb900$f7092b00$@net> How about Web Expression 3 ? How does it stack-up as a webdev platform ? I've been looking for the "holy grail" for web development for the past 5 years. Funny thing: it keeps changing so fast...HTML5, JQuery, CSS......etc. So the grail one year just continues to become obsolete the next !! From rockysmolin at bchacc.com Sun Dec 30 13:59:03 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 30 Dec 2012 11:59:03 -0800 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com><1356856578.574146744@m.mail.ru> Message-ID: My wife graduated from UCLA with a B.A> in philosophy. Imagine her chagrin at the dearth of wants ads for "Corporate Philosopher", "Entry-level philosopher wanted", etc. I suppose career opportunities are not high on your list at the moment. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, December 30, 2012 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Database on Web One of the interesting ironies is that the embedded programming language is XBasic, which is an open-source project also available stand-alone for both Windows and Linux. I was planning to devote some time in January to studying it in isolation, but then as luck would have it (that's Good Luck!), my brother and his wife gave me a copy of "The Art of Attack in Chess", by Vladimir Vukovic. In this first official year of my retirement, I find myself able, willing and in fact eager to go back to school, in the physical, on-line and self-study senses. I am one course short of a graduate degree in Philosophy, and I just discovered that thanks to the beneficent country in which I live, when you're over 65 you can have your tuition waved, and that alone might cause me to pursue a doctorate. After decades of study, mostly informal, I have one or two things to say about Socrates and Plato. Stay tuned LOL. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sun Dec 30 14:25:12 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 30 Dec 2012 15:25:12 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: <50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> References: <50DF7B3D.5010907@torchlake.com> <50DF8457.28745.9F53DFB9@stuart.lexacorp.com.pg> Message-ID: <50E0A328.2050400@torchlake.com> Hi Stuart, Thanks. The soil erosion database will most likely be hosted on the county's website. I don't know the situation there, so that's one thing I have to check out. Since both you and Hans-Christian suggest MySQL, and Jim supports your choice, I'll look into that. Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/29/2012 7:01 PM, Stuart McLachlan wrote: > My advice would be: don't do it. > > Access is not a good data storage option for public websites. > > Do they currently have a website? What sort of hosting are they using (MS or *nix)? > Does their hosting plan include a database such as mySQL? > From tinanfields at torchlake.com Sun Dec 30 14:27:06 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 30 Dec 2012 15:27:06 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> <1356856578.574146744@m.mail.ru> Message-ID: <50E0A39A.6090503@torchlake.com> Hi Arthur, I've been steering clear of Alpha because of the high price. I will, of course, follow your advice and download a trial copy. Thanks. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/30/2012 8:58 AM, Arthur Fuller wrote: > In recent months I have become a strong advocate of Alpha Five v11. And > especially for this sort of project. Assuming an app of a dozen to twenty > tables, you can knock out a prototype web app in 4-8 hours, and the really > cool part about it is that it will adapt itself to desktop, tablet or > smart-phone, with no additional coding on your part. > Part of the reason why I dived deep into JavaScript is that A5v11 totally > supports it (among other languages). A recent example is an Access app I > did a while back for a riding stable, consisting of about 20 tables > (horses, riders, customers (the reason for said distinction being that some > wealthy parents have two or more kids enrolled, so hence one customer), > instructors, lessons, lessonTypes, and of course the tack shop, plus a few > others. > I did the prototype in a day. (On my nickel, the client didn't ask for a > web solution.) I chose this app to re-do because it was small and > straightforward. > Then came the good part. A5 has a collection of FeaturePacks available for > extra cost; one of them is a calendar presentation that looks a lot like > Outlook, with day, week and month views etc. Back when I wrote the original > Access version for desktops, I watched the principal user switch back and > forth from Access to Outlook, and thought how cool it would be to have that > calendar-UI built into my app. But I had no clue how to do it. I used the > A5 calendar FeaturePack to do it, and presto! Not only was it built into my > app, but it was a web app (again, meaning for desktop, tablet or smart > phone) > I should add that before tackling the A5 version of the original, I > migrated the data to SQL Server and connected the project to that database. > It also connects to Access and any other database that can speak ODBC. > Since I work a lot in MySQL as well, I was pleased to find it easy to > connect to. > While refining the web version, I ran the Access original in another > window, primarily so that I could look at its forms and duplicate them as > closely as possible. That idea soon lost its credence, because A5 has way > superior form options (for example, grids whose rows are automatically > every other row, no code required). > There's always a down-side, and this is it: to run an A5 web app requires > the purchase of the A5 server, which runs on the web server. If you plan to > do dozens of such projects, there's a price point that gives you the right > to install an unlimited number of A5 servers. There's one more down-side, > and that is that A5 runs only on Windows, and no Linux version is planned. > But just about every host (in Toronto at least) offers you the choice, so > that's really not an issue. > You can download a trial version of the A5v11 software and check out my > claims for yourself. There's a sample web app that shows you a couple of > dozen variants on what you can build, with no additional code > If I sound like an evangelist, well, I guess I am -- but I am unpaid by > Alpha Software, so maybe "enthusiast" would be a more accurate description. > If you don't believe me, or even better, if you do, then download the trial > from AlphaSoftware.com and take it for a spin. > > Arthur From tinanfields at torchlake.com Sun Dec 30 14:56:53 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 30 Dec 2012 15:56:53 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> <1356856578.574146744@m.mail.ru> Message-ID: <50E0AA95.4060200@torchlake.com> Hi again, Arthur, I confess I like what I see in the demo video. I don't see me paying $129 a month, or paying $1669 as a lump sum, for software licensing. I'd have to have a lot more business than I see myself having, in order to justify a cost like that. So, dang! I'm going to have to find another way. But, thanks, I did enjoy the look-see. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/30/2012 8:58 AM, Arthur Fuller wrote: > In recent months I have become a strong advocate of Alpha Five v11. And > especially for this sort of project. Assuming an app of a dozen to twenty > tables, you can knock out a prototype web app in 4-8 hours, and the really > cool part about it is that it will adapt itself to desktop, tablet or > smart-phone, with no additional coding on your part. > Part of the reason why I dived deep into JavaScript is that A5v11 totally > supports it (among other languages). A recent example is an Access app I > did a while back for a riding stable, consisting of about 20 tables > (horses, riders, customers (the reason for said distinction being that some > wealthy parents have two or more kids enrolled, so hence one customer), > instructors, lessons, lessonTypes, and of course the tack shop, plus a few > others. > I did the prototype in a day. (On my nickel, the client didn't ask for a > web solution.) I chose this app to re-do because it was small and > straightforward. > Then came the good part. A5 has a collection of FeaturePacks available for > extra cost; one of them is a calendar presentation that looks a lot like > Outlook, with day, week and month views etc. Back when I wrote the original > Access version for desktops, I watched the principal user switch back and > forth from Access to Outlook, and thought how cool it would be to have that > calendar-UI built into my app. But I had no clue how to do it. I used the > A5 calendar FeaturePack to do it, and presto! Not only was it built into my > app, but it was a web app (again, meaning for desktop, tablet or smart > phone) > I should add that before tackling the A5 version of the original, I > migrated the data to SQL Server and connected the project to that database. > It also connects to Access and any other database that can speak ODBC. > Since I work a lot in MySQL as well, I was pleased to find it easy to > connect to. > While refining the web version, I ran the Access original in another > window, primarily so that I could look at its forms and duplicate them as > closely as possible. That idea soon lost its credence, because A5 has way > superior form options (for example, grids whose rows are automatically > every other row, no code required). > There's always a down-side, and this is it: to run an A5 web app requires > the purchase of the A5 server, which runs on the web server. If you plan to > do dozens of such projects, there's a price point that gives you the right > to install an unlimited number of A5 servers. There's one more down-side, > and that is that A5 runs only on Windows, and no Linux version is planned. > But just about every host (in Toronto at least) offers you the choice, so > that's really not an issue. > You can download a trial version of the A5v11 software and check out my > claims for yourself. There's a sample web app that shows you a couple of > dozen variants on what you can build, with no additional code > If I sound like an evangelist, well, I guess I am -- but I am unpaid by > Alpha Software, so maybe "enthusiast" would be a more accurate description. > If you don't believe me, or even better, if you do, then download the trial > from AlphaSoftware.com and take it for a spin. > > Arthur From mcp2004 at mail.ru Sun Dec 30 15:15:15 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 31 Dec 2012 01:15:15 +0400 Subject: [AccessD] =?utf-8?q?Access_Database_on_Web?= In-Reply-To: <50DF7B3D.5010907@torchlake.com> References: <50DF7B3D.5010907@torchlake.com> Message-ID: <1356902115.684079384@f171.mail.ru> Hi Tina -- Have a look at MS Access 2013 and Office 365 -? http://blogs.msdn.com/b/windowsazure/archive/2012/11/06/microsoft-access-2013-a-cool-new-rapid-development-tool-for-the-cloud.aspx That could be the most natural way to up-size your app if you'd still prefer to stay within MS Dev tools stack. Another way as I have noted already in my another posting for this thread could be an ASP.NET (MVC) hosted web app with MS Access or MS SQL (full version) hosted backend. Hosting costs could be as low as USD5-10 per month worldwide. Thank you. -- Shamil ???????, 29 ??????? 2012, 18:22 -05:00 ?? Tina Norris Fields : >Hi Guys, > >I've got two fairly straight-forward database projects coming up, that >need to be available on the Web. > >One is of scanned images of soil erosion permit applications. People >must apply for a soil erosion permit in Michigan if they are planning to >do any tree cutting or earth modification within 100 feet of the state >waters. Lake associations realize the importance of monitoring such >applications. In order to make the records easily available, the county >soil erosion officer wants to scan the permit applications and put the >images online for the public to search. > >The second one is of data pertinent to streams that we monitor - >macroinvertebrate inventory data, pH, temperature, clarity, etc., plus >the GPS coordinates of the sites. > >I have never put a database online, and I could use some tutoring on how >best to go about it. The databases themselves don't look complicated, >but putting stuff on the Web for search is new to me. > >Thanks for all the good advice you will be giving me! > >T > >-- >Tina Norris Fields >tinanfields at torchlake.com >231-322-2787 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 31 07:37:47 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 31 Dec 2012 08:37:47 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> Message-ID: <> I do. As Drew pointed out in the past, if you can live with JET constraints (database size, no on-line backup, etc), JET actually works quite well as a data store for a web server. Why? Because only the database server software touches the DB. Users connect through the server software, not directly to JET. As a result, if the JET DB is on the web server, it is a very stable situation. Even more stable then the normal multi-user scenario that JET is used with. The proof of that is Microsoft Exchange. Up until a release or two ago, it was all run with JET (slightly different version, but it was still JET). Biggest drawback is maintenance; DB can't be on-line while you backup, do a compact and repair, etc. Sounds like for this project though it might be workable. However with that said, there is a simpler way to get an Access DB on the web: www.eqldata.com if you don't mind paying the subscription. Works exactly like it says it does. Take any existing DB and you can put it on the web. There are some considerations that need to be made. In essence, it works the same as if you were running it under terminal services. The other option is Office 2013 and through Office 365 you can get everything you need to run it (again subscription). However Access web databases are not much good for anything other then basic CRUD operations. VBA is not allowed and what you can do with them is very limited. However for what's been outlined, I don't foresee any problems. And of course the last option is to run a terminal services server and have users remote into that, which can be done through a web browser. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 29, 2012 11:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Database on Web Hi Tina: I can not disagree either Hans or Stuart; they are spot on. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, December 29, 2012 3:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access Database on Web Hi Guys, I've got two fairly straight-forward database projects coming up, that need to be available on the Web. One is of scanned images of soil erosion permit applications. People must apply for a soil erosion permit in Michigan if they are planning to do any tree cutting or earth modification within 100 feet of the state waters. Lake associations realize the importance of monitoring such applications. In order to make the records easily available, the county soil erosion officer wants to scan the permit applications and put the images online for the public to search. The second one is of data pertinent to streams that we monitor - macroinvertebrate inventory data, pH, temperature, clarity, etc., plus the GPS coordinates of the sites. I have never put a database online, and I could use some tutoring on how best to go about it. The databases themselves don't look complicated, but putting stuff on the Web for search is new to me. Thanks for all the good advice you will be giving me! T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Mon Dec 31 08:03:25 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 31 Dec 2012 09:03:25 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> Message-ID: On your last point, I could not agree more. While I was with a firm called ETS, I designed and developed a solution that did exactly that (although the BE was SQL Server): a single FE run on a TS server, to which approximately 75 people from 4 branch offices connected via their browser, and it all worked smashingly well, with a mere 8GB of RAM. Truth be told, it worked so well that I had very little to do for the final couple of years on that gig, other than be there in case it went sideways, which it never did. To be sure, there were problems at the outset, all of which can be blamed on me and my code, but once I sorted them out, it ran as smooth as glass. A. From tinanfields at torchlake.com Mon Dec 31 08:16:40 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 31 Dec 2012 09:16:40 -0500 Subject: [AccessD] Access Database on Web In-Reply-To: References: <50DF7B3D.5010907@torchlake.com> Message-ID: <50E19E48.9030009@torchlake.com> Thank you to Jim and Arthur on these further clarifications. My database work has generally been for standalone applications or those shared on just a few machines. I haven't had to do anything on the Web. So, I'm swimming in new water. Thank you all for helping me to do this. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/31/2012 9:03 AM, Arthur Fuller wrote: > On your last point, I could not agree more. While I was with a firm called > ETS, I designed and developed a solution that did exactly that (although > the BE was SQL Server): a single FE run on a TS server, to which > approximately 75 people from 4 branch offices connected via their browser, > and it all worked smashingly well, with a mere 8GB of RAM. Truth be told, > it worked so well that I had very little to do for the final couple of > years on that gig, other than be there in case it went sideways, which it > never did. To be sure, there were problems at the outset, all of which can > be blamed on me and my code, but once I sorted them out, it ran as smooth > as glass. > > A. From charlotte.foust at gmail.com Mon Dec 31 13:24:51 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 31 Dec 2012 11:24:51 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 Message-ID: I bought myself a new Samsung Tablet PC with Windows 8 and I'm sure glad I didn't upgrade my laptop! Once you get used to Win 8, it's not completely awful, but the desktop screams for a mouse and keyboard. The virtual keyboard works fine in the Metro UI, but it's very awkward in desktop and you still need a mouse unless you know a LOT of keyboard shortcuts that are less than easily memorized. I like the bluetooth mouse and keyboard options but I wrestled with the darn thing for a week before I bought those. It's painfully slow to download Office to the tablet and when I did, I discovered that even though the license allowed me to install on up to 3 devices, the tablet wouldn't accept the product key used for the computer! Microsoft help pointed at the computer OEM (not Samsung) and the OEM told me to call Microsoft. GRRrrrrrrrrr I finally bought a new copy of Access and downloaded and installed that. I'd still like to install Office on there (I think), at least Word and Excel, but I'm not sure the tablet is up to the load. Any suggestions or insight? I hate breaking new ground like this!! Charlotte From rockysmolin at bchacc.com Mon Dec 31 15:57:56 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 31 Dec 2012 13:57:56 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: References: Message-ID: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> How about Open Office for WP and spreadsheeting? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, December 31, 2012 11:25 AM To: Access Developers discussion and problem Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 I bought myself a new Samsung Tablet PC with Windows 8 and I'm sure glad I didn't upgrade my laptop! Once you get used to Win 8, it's not completely awful, but the desktop screams for a mouse and keyboard. The virtual keyboard works fine in the Metro UI, but it's very awkward in desktop and you still need a mouse unless you know a LOT of keyboard shortcuts that are less than easily memorized. I like the bluetooth mouse and keyboard options but I wrestled with the darn thing for a week before I bought those. It's painfully slow to download Office to the tablet and when I did, I discovered that even though the license allowed me to install on up to 3 devices, the tablet wouldn't accept the product key used for the computer! Microsoft help pointed at the computer OEM (not Samsung) and the OEM told me to call Microsoft. GRRrrrrrrrrr I finally bought a new copy of Access and downloaded and installed that. I'd still like to install Office on there (I think), at least Word and Excel, but I'm not sure the tablet is up to the load. Any suggestions or insight? I hate breaking new ground like this!! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Dec 31 16:04:56 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 31 Dec 2012 14:04:56 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> Message-ID: I could do that and may, but the idea was to see how the MS apps performed on the tablet. I can't afford the Office 365 subscription at the moment, so I'm working around it. I already own the Office Pro and it's annoying I can't be it on the tablet so I can test it there. Charlotte On Mon, Dec 31, 2012 at 1:57 PM, Rocky Smolin wrote: > How about Open Office for WP and spreadsheeting? > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, December 31, 2012 11:25 AM > To: Access Developers discussion and problem > Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 > > I bought myself a new Samsung Tablet PC with Windows 8 and I'm sure glad I > didn't upgrade my laptop! Once you get used to Win 8, it's not completely > awful, but the desktop screams for a mouse and keyboard. The virtual > keyboard works fine in the Metro UI, but it's very awkward in desktop and > you still need a mouse unless you know a LOT of keyboard shortcuts that are > less than easily memorized. I like the bluetooth mouse and keyboard > options > but I wrestled with the darn thing for a week before I bought those. > > It's painfully slow to download Office to the tablet and when I did, I > discovered that even though the license allowed me to install on up to 3 > devices, the tablet wouldn't accept the product key used for the computer! > Microsoft help pointed at the computer OEM (not Samsung) and the OEM told > me to call Microsoft. GRRrrrrrrrrr I finally bought a new copy of Access > and downloaded and installed that. I'd still like to install Office on > there (I think), at least Word and Excel, but I'm not sure the tablet is up > to the load. Any suggestions or insight? I hate breaking new ground like > this!! > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Mon Dec 31 17:15:27 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 31 Dec 2012 15:15:27 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> Message-ID: <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> Google docs does 99% of everything you need as far as I can see. It doesn't have Access but pretty much everything Open Office has. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 31, 2012 1:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 How about Open Office for WP and spreadsheeting? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, December 31, 2012 11:25 AM To: Access Developers discussion and problem Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 I bought myself a new Samsung Tablet PC with Windows 8 and I'm sure glad I didn't upgrade my laptop! Once you get used to Win 8, it's not completely awful, but the desktop screams for a mouse and keyboard. The virtual keyboard works fine in the Metro UI, but it's very awkward in desktop and you still need a mouse unless you know a LOT of keyboard shortcuts that are less than easily memorized. I like the bluetooth mouse and keyboard options but I wrestled with the darn thing for a week before I bought those. It's painfully slow to download Office to the tablet and when I did, I discovered that even though the license allowed me to install on up to 3 devices, the tablet wouldn't accept the product key used for the computer! Microsoft help pointed at the computer OEM (not Samsung) and the OEM told me to call Microsoft. GRRrrrrrrrrr I finally bought a new copy of Access and downloaded and installed that. I'd still like to install Office on there (I think), at least Word and Excel, but I'm not sure the tablet is up to the load. Any suggestions or insight? I hate breaking new ground like this!! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Dec 31 17:27:43 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 31 Dec 2012 15:27:43 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> Message-ID: You're missing the point. First, I don't like Google docs. Secondly, it isn't about usefulness, it's about seeing how MS products behave under Win 8 on the tablet. Hard to do that when you can't get them to recognize a valid key. Charlotte On Mon, Dec 31, 2012 at 3:15 PM, Doug Murphy wrote: > Google docs does 99% of everything you need as far as I can see. It doesn't > have Access but pretty much everything Open Office has. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, December 31, 2012 1:58 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 > > How about Open Office for WP and spreadsheeting? > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, December 31, 2012 11:25 AM > To: Access Developers discussion and problem > Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 > > I bought myself a new Samsung Tablet PC with Windows 8 and I'm sure glad I > didn't upgrade my laptop! Once you get used to Win 8, it's not completely > awful, but the desktop screams for a mouse and keyboard. The virtual > keyboard works fine in the Metro UI, but it's very awkward in desktop and > you still need a mouse unless you know a LOT of keyboard shortcuts that are > less than easily memorized. I like the bluetooth mouse and keyboard > options > but I wrestled with the darn thing for a week before I bought those. > > It's painfully slow to download Office to the tablet and when I did, I > discovered that even though the license allowed me to install on up to 3 > devices, the tablet wouldn't accept the product key used for the computer! > Microsoft help pointed at the computer OEM (not Samsung) and the OEM told > me to call Microsoft. GRRrrrrrrrrr I finally bought a new copy of Access > and downloaded and installed that. I'd still like to install Office on > there (I think), at least Word and Excel, but I'm not sure the tablet is up > to the load. Any suggestions or insight? I hate breaking new ground like > this!! > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Dec 31 17:44:01 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 31 Dec 2012 18:44:01 -0500 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> Message-ID: <00c301cde7b0$b6c61e70$24525b50$@net> Are there any comparison/reviews of: Open Office Google Apps MSFT Office/Office 365 I'd love to see the pluses and minuses of each one. From vbacreations at gmail.com Mon Dec 31 18:06:36 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 31 Dec 2012 19:06:36 -0500 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <00c301cde7b0$b6c61e70$24525b50$@net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> <00c301cde7b0$b6c61e70$24525b50$@net> Message-ID: I played with a win 8 Lenovo convertible type notebook and would enjoy hearing more responses for this particular thread Charlotte started. I don't think Win 8 should be too hard to get the hang of. But touch screen was very sensitive sometimes. was not responsive enough other times. Never felt just right. I think it would be great to use tabletwise on a plane where there never seems to be enough room to use a laptop in coach. On Dec 31, 2012 6:45 PM, "Mark Simms" wrote: > Are there any comparison/reviews of: > Open Office > Google Apps > MSFT Office/Office 365 > > I'd love to see the pluses and minuses of each one. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Mon Dec 31 18:21:02 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 31 Dec 2012 16:21:02 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <00c301cde7b0$b6c61e70$24525b50$@net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> <00c301cde7b0$b6c61e70$24525b50$@net> Message-ID: <00a001cde7b5$e20222a0$a60667e0$@cox.net> http://www.techrepublic.com/blog/datacenter/google-apps-v-office-365-summary -which-is-better/5637?tag=content;siu-container -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, December 31, 2012 3:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 Are there any comparison/reviews of: Open Office Google Apps MSFT Office/Office 365 I'd love to see the pluses and minuses of each one. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 31 19:57:13 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Dec 2012 17:57:13 -0800 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <00a001cde7b5$e20222a0$a60667e0$@cox.net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net><00c301cde7b0$b6c61e70$24525b50$@net> <00a001cde7b5$e20222a0$a60667e0$@cox.net> Message-ID: That about summarizes it: " Therefore, in my humble opinion, I'd say most enterprises, with the exception of extremely large ones, can be well-served by Google Apps. In increased summation, go with Google Apps if you're a small enterprise and Office 365 if you're a large one. It really is a crapshoot if you have somewhere between several hundred and ten-thousand users (what I consider a medium sized enterprise). Hey wait, I guess comparing Google Apps and Office 365 was simply a matter of enterprise size after all! " Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Monday, December 31, 2012 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 http://www.techrepublic.com/blog/datacenter/google-apps-v-office-365-summary -which-is-better/5637?tag=content;siu-container -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, December 31, 2012 3:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 Are there any comparison/reviews of: Open Office Google Apps MSFT Office/Office 365 I'd love to see the pluses and minuses of each one. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Dec 31 21:38:38 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 31 Dec 2012 22:38:38 -0500 Subject: [AccessD] Windows 8 Tablet and Access/Office 2010 In-Reply-To: <00a001cde7b5$e20222a0$a60667e0$@cox.net> References: <7D13595A00E14478B3B94618BCFD3EF3@HAL9007> <009901cde7ac$b88de2f0$29a9a8d0$@cox.net> <00c301cde7b0$b6c61e70$24525b50$@net> <00a001cde7b5$e20222a0$a60667e0$@cox.net> Message-ID: <00dc01cde7d1$7dc44bd0$794ce370$@net> Hmmmm...the review STARTED well, but when it enumerated all of the criteria... And then "forgot" to place a rating on each for Google vs. Office 365. That's when the "this is very close" argument became B.S. Totally subjective. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: Monday, December 31, 2012 7:21 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 > > http://www.techrepublic.com/blog/datacenter/google-apps-v-office-365- > summary > -which-is-better/5637?tag=content;siu-container > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, December 31, 2012 3:44 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 Tablet and Access/Office 2010 > > Are there any comparison/reviews of: > Open Office > Google Apps > MSFT Office/Office 365 > > I'd love to see the pluses and minuses of each one. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com