From jwcolby at colbyconsulting.com Wed Apr 1 07:50:56 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 08:50:56 -0400 Subject: [AccessD] Copying VMS Virtual machines Message-ID: <49D36330.9010403@colbyconsulting.com> I finally solved a long standing problem I have been having when copying a VM. If I tried to use the copy and the original at the same time, the last started wouldn't have a valid network connection. It turns out that the NIC address is in the .VMX file and has to be edited to not be the same as any other NIC (DUH!!!). http://communities.vmware.com/message/990206;jsessionid=58FF5EB9718D6417C9411AE63838D1F8 I edited that on my copy and - voila, I have a valid network connection. So much to know, so little time. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 1 08:11:47 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 09:11:47 -0400 Subject: [AccessD] Solid State Disk performance Message-ID: <49D36813.8000904@colbyconsulting.com> I have a pretty specialized application where I need a ~2 gbyte "ram disk" to hold some files that are continuously accessed by a third party program. The problem was that my virtual machines would not recognize an "external" (on the host machine) ram drive, plus it just sucked up memory. I had purchased a 4 gbyte hardware ram disk i-Ram and it worked, but it was limited by the fact that it was "only" 4 gigs and that it used the old SATA 1 interface. As a result it "only" achieved about 125 mbyte per second access. When used with a single Virtual Machine running this application, it would work blazing fast, processing about 4-5 million records / hour, however when I would try to access the i-Ram with multiple virtual machines, performance on each would drop down to under two million records / hour. It would work, but the performance on each machine would be about 1/2 of the performance when only one machine accessed the i-ram. Recently the Solid State Disks have had tremendous performance increases as well as literally a new controller etc. To make a long story short, I bought one: http://www.newegg.com/Product/Product.aspx?Item=N82E16820227393 to see if it would fit the bill for my ram drive. I now have two virtual machines running this software and both of them are running as fast as when using the old I-Ram. 4.8 million records / hour on one VM (with two processors assigned) and ~4 million per hour on a second VM with just a single processor assigned. Next up is to set all the VMs to use only a single processor and try to get three VMs working simultaneously. These Solid State Disks have limitations, particularly when trying to WRITE back to the disk, but this specific application only writes the files once per software update (every two months) but continuously READS the data while performing this process. Thus for my application, this thing is a very solid win!!! The i-Ram was a good idea but they never continued to advance the hardware and it has become almost obsolete now. I paid about $250 for the i-ram hardware plus 4 dimms, for 4 gigs of ram disk. The SSD was about $125 for 30 gigs of memory, plus it is about twice as fast for reads. Very cool!!! -- John W. Colby www.ColbyConsulting.com From mmattys at rochester.rr.com Wed Apr 1 08:26:42 2009 From: mmattys at rochester.rr.com (Mike Mattys) Date: Wed, 1 Apr 2009 09:26:42 -0400 Subject: [AccessD] Solid State Disk performance References: <49D36813.8000904@colbyconsulting.com> Message-ID: I wish I could do this with MapPoint and Access or Excel. Further, I would like to do multithreaded, asynchronous processing even if I have to open multiple app instances. Perhaps .Net will be of some assistance in this area ... if I can ever climb so high. - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Wednesday, April 01, 2009 9:11 AM Subject: [AccessD] Solid State Disk performance >I have a pretty specialized application where I need a ~2 gbyte "ram disk" >to hold some files that > are continuously accessed by a third party program. The problem was that > my virtual machines would > not recognize an "external" (on the host machine) ram drive, plus it just > sucked up memory. > > I had purchased a 4 gbyte hardware ram disk i-Ram and it worked, but it > was limited by the fact that > it was "only" 4 gigs and that it used the old SATA 1 interface. As a > result it "only" achieved > about 125 mbyte per second access. > > When used with a single Virtual Machine running this application, it would > work blazing fast, > processing about 4-5 million records / hour, however when I would try to > access the i-Ram with > multiple virtual machines, performance on each would drop down to under > two million records / hour. > It would work, but the performance on each machine would be about 1/2 of > the performance when only > one machine accessed the i-ram. > > Recently the Solid State Disks have had tremendous performance increases > as well as literally a new > controller etc. To make a long story short, I bought one: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16820227393 > > to see if it would fit the bill for my ram drive. I now have two virtual > machines running this > software and both of them are running as fast as when using the old I-Ram. > 4.8 million records / > hour on one VM (with two processors assigned) and ~4 million per hour on a > second VM with just a > single processor assigned. > > Next up is to set all the VMs to use only a single processor and try to > get three VMs working > simultaneously. > > These Solid State Disks have limitations, particularly when trying to > WRITE back to the disk, but > this specific application only writes the files once per software update > (every two months) but > continuously READS the data while performing this process. Thus for my > application, this thing is a > very solid win!!! > > The i-Ram was a good idea but they never continued to advance the hardware > and it has become almost > obsolete now. I paid about $250 for the i-ram hardware plus 4 dimms, for > 4 gigs of ram disk. The > SSD was about $125 for 30 gigs of memory, plus it is about twice as fast > for reads. > > Very cool!!! > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 1 09:17:31 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 10:17:31 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: References: <49D36813.8000904@colbyconsulting.com> Message-ID: <49D3777B.90508@colbyconsulting.com> In this particular case I am just installing the application on a VM and then copying the VM so that I run one instance in each VM. Tech support for the application told me that as long as I have a license to use the software I could run more than one copy to speed up my processing. The application does most of the processing locally so it is just my own hardware taking the hit. It does upload a file for post processing but they told me I could do this (which is really pretty nice of them) so I am not violating any license. Running it in a VM allows me to move the application to a different server if I need without uninstalling / reinstalling / obtaining the key for the new install etc. Obviously it also allows me to run multiple instances to speed up the processing. I process huge tables, for example last night / today I am processing about 50 million records. My time to process (on an instance of the program) is about 4-5 million records / hour, however there is upload / process / download time on the remote server. Together the total comes to about 20 minutes per million records so it will take about 17 hours or so to process the table. If I can throw multiple VMs at it I can cut that by at least two, possibly three or even four. Nine hours is better than 17, 5 hours is better yet. We shall see. The SSD gives me extremely high (RAID 0 like) bandwidth, but it also gives me extremely high IO processing as well as extremely low latency. For a process like this where the system does nothing but read and process, the performance boost versus a hard disk is astounding. And all for a measly $125! John W. Colby www.ColbyConsulting.com Mike Mattys wrote: > I wish I could do this with MapPoint and Access or Excel. > > Further, I would like to do multithreaded, asynchronous processing > even if I have to open multiple app instances. > > Perhaps .Net will be of some assistance in this area ... > if I can ever climb so high. > > - > Michael R Mattys > MapPoint and Database Dev > www.mattysconsulting.com From wdhindman at dejpolsystems.com Wed Apr 1 09:29:40 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 1 Apr 2009 10:29:40 -0400 Subject: [AccessD] Min Date in a query SOLVED! References: <7987E3D616DA47A4BABDEDB5F89C8205@SusanOne> <63456AF2CCF3481D90C1415C82E8D359@HAL9005><49d0dce4.0637560a.613e.fffffc3f@mx.google.com><8A6EF68691964BCA94527404C458E121@jislaptopdev> <001301c9b1bb$b2af1870$e785a37a@personald6374f> Message-ID: <38EF8262E1E444C7A0E1D09378FFE911@jislaptopdev> AD ...that works, THANK YOU! ...I KNEW there had to be a simple way to do this :) ...and my sincere appreciation to all who tried to help me with this. William -------------------------------------------------- From: "A.D.Tejpal" Sent: Tuesday, March 31, 2009 12:45 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Min Date in a query > William, > > Sample query given below, gets the first record in table T_A where the > value of date field EDate is greater than Date(). > > ================================== > SELECT T_A.* > FROM T_A > WHERE (((T_A.EDate) In (SELECT TOP 1 EDate FROM T_A WHERE EDate > Date() > ORDER BY EDate))); > ================================== > > Best wishes, > A.D. Tejpal > ------------ > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, March 31, 2009 00:48 > Subject: [AccessD] Min Date in a query > > > ...I'm trying to eliminate the user having to select the next event from > a > combo. > > ...I have an tblEvents with a DateStart field formatted as Date > > ...from a query, I need to find the first date in that field greater than > Date() > > ...I've tried dozens of variations on Min but they all come back either > with > an aggregate error or return each future event date > > ...this is of course where'd with a couple other ANDs > > INSERT INTO tblExhibitorWeb ( CompanyID, CompanyName, EventShowCode) IN > 'F:\JEMS\XPData\jemdataxp.mdb' > SELECT tblCompany.CompanyID, tblCompany.CompanyName, > tblEvents.EventShowCode > FROM tblEvents INNER JOIN (tblCompany INNER JOIN tblEventReg ON > tblCompany.CompanyID = tblEventReg.CompanyID) ON tblEvents.EventID = > tblEventReg.EventID > WHERE (((tblCompany.AdClass)<>"X") AND > ((tblEventReg.ParticipantType)="Exhibitor" Or > (tblEventReg.ParticipantType)="Exhibitor/NA/PSC") AND > ((tblEventReg.PrimaryContact)=True) AND ((tblEvents.EventName)="JIS") AND > ((Min([tblEvents]![EventStartDate]))>Date())) > ORDER BY tblCompany.CompanyName; > > ...the error says I can't have and aggregate in the where clause ...help! > ...ps I dropped a lot of fields from the sample to shorten it. > > William > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Wed Apr 1 09:36:00 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 1 Apr 2009 09:36:00 -0500 Subject: [AccessD] Solid State Disk performance In-Reply-To: <49D3777B.90508@colbyconsulting.com> References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> Message-ID: Why don't you double that, by getting a RAID controller and two of those drives, to stripe them? It'll read twice as fast! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 01, 2009 9:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solid State Disk performance In this particular case I am just installing the application on a VM and then copying the VM so that I run one instance in each VM. Tech support for the application told me that as long as I have a license to use the software I could run more than one copy to speed up my processing. The application does most of the processing locally so it is just my own hardware taking the hit. It does upload a file for post processing but they told me I could do this (which is really pretty nice of them) so I am not violating any license. Running it in a VM allows me to move the application to a different server if I need without uninstalling / reinstalling / obtaining the key for the new install etc. Obviously it also allows me to run multiple instances to speed up the processing. I process huge tables, for example last night / today I am processing about 50 million records. My time to process (on an instance of the program) is about 4-5 million records / hour, however there is upload / process / download time on the remote server. Together the total comes to about 20 minutes per million records so it will take about 17 hours or so to process the table. If I can throw multiple VMs at it I can cut that by at least two, possibly three or even four. Nine hours is better than 17, 5 hours is better yet. We shall see. The SSD gives me extremely high (RAID 0 like) bandwidth, but it also gives me extremely high IO processing as well as extremely low latency. For a process like this where the system does nothing but read and process, the performance boost versus a hard disk is astounding. And all for a measly $125! John W. Colby www.ColbyConsulting.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Lambert.Heenan at aiuholdings.com Wed Apr 1 09:31:33 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 1 Apr 2009 10:31:33 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: <49D3777B.90508@colbyconsulting.com> References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> Message-ID: Did you see this comment on the NewEgg site (perhaps it was you who posted it?) "Other Thoughts: As soon as you get this drive, check the firmware revision on it (it will list it in the name of the drive in the BIOS). If its 1199, it has a bug in it that will cause the drive to start showing errors in Windows once it gets near full. Google "OCZ Vertex Firmware" and you'll find detailed instructions on upgrading to the newer 1275 firmware. Its not terribly difficult, but you will lose any data you've already put on it. The good news is that the firmware also fixes a bug that wasn't allowing the drive to write data as quickly as it should have, so now the drive is even faster than before." Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 01, 2009 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solid State Disk performance In this particular case I am just installing the application on a VM and then copying the VM so that I run one instance in each VM. Tech support for the application told me that as long as I have a license to use the software I could run more than one copy to speed up my processing. The application does most of the processing locally so it is just my own hardware taking the hit. It does upload a file for post processing but they told me I could do this (which is really pretty nice of them) so I am not violating any license. Running it in a VM allows me to move the application to a different server if I need without uninstalling / reinstalling / obtaining the key for the new install etc. Obviously it also allows me to run multiple instances to speed up the processing. I process huge tables, for example last night / today I am processing about 50 million records. My time to process (on an instance of the program) is about 4-5 million records / hour, however there is upload / process / download time on the remote server. Together the total comes to about 20 minutes per million records so it will take about 17 hours or so to process the table. If I can throw multiple VMs at it I can cut that by at least two, possibly three or even four. Nine hours is better than 17, 5 hours is better yet. We shall see. The SSD gives me extremely high (RAID 0 like) bandwidth, but it also gives me extremely high IO processing as well as extremely low latency. For a process like this where the system does nothing but read and process, the performance boost versus a hard disk is astounding. And all for a measly $125! John W. Colby www.ColbyConsulting.com Mike Mattys wrote: > I wish I could do this with MapPoint and Access or Excel. > > Further, I would like to do multithreaded, asynchronous processing > even if I have to open multiple app instances. > > Perhaps .Net will be of some assistance in this area ... > if I can ever climb so high. > > - > Michael R Mattys > MapPoint and Database Dev > www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 1 09:54:14 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 10:54:14 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> Message-ID: <49D38016.6060402@colbyconsulting.com> Drew, I have a raid controller, a very nice 16 channel hardware raid controller. I will do just that IF I need the bandwidth. My intention is to try to run four VMs simultaneously. I can't go beyond that because of memory limitations on the host motherboard. If a single drive suffices then there will be no point. If it doesn't then another $125 for a second drive, RAID 0 and I will be off to the races. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > Why don't you double that, by getting a RAID controller and two of those > drives, to stripe them? It'll read twice as fast! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, April 01, 2009 9:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Solid State Disk performance > > In this particular case I am just installing the application on a VM and > then copying the VM so that > I run one instance in each VM. Tech support for the application told me > that as long as I have a > license to use the software I could run more than one copy to speed up > my processing. The > application does most of the processing locally so it is just my own > hardware taking the hit. It > does upload a file for post processing but they told me I could do this > (which is really pretty nice > of them) so I am not violating any license. > > Running it in a VM allows me to move the application to a different > server if I need without > uninstalling / reinstalling / obtaining the key for the new install etc. > Obviously it also allows > me to run multiple instances to speed up the processing. > > I process huge tables, for example last night / today I am processing > about 50 million records. My > time to process (on an instance of the program) is about 4-5 million > records / hour, however there > is upload / process / download time on the remote server. Together the > total comes to about 20 > minutes per million records so it will take about 17 hours or so to > process the table. If I can > throw multiple VMs at it I can cut that by at least two, possibly three > or even four. Nine hours is > better than 17, 5 hours is better yet. > > We shall see. > > The SSD gives me extremely high (RAID 0 like) bandwidth, but it also > gives me extremely high IO > processing as well as extremely low latency. For a process like this > where the system does nothing > but read and process, the performance boost versus a hard disk is > astounding. And all for a measly > $125! > > John W. Colby > www.ColbyConsulting.com > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. > > From jwcolby at colbyconsulting.com Wed Apr 1 11:26:12 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 12:26:12 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> Message-ID: <49D395A4.2010008@colbyconsulting.com> Well Drew, it appears that memory is my bottleneck. My server only has 8 gigs of RAM (in four slots). I could put 16 in it but 4 gig dims made a brief appearance a year ago or so then disappeared. So I am stuck at 8 gigs unless they reappear. Two VMs run just fine, even with 3 gigs of ram each (needed for the application). Running three, even dropping the RAM down to 2.25 gigs causes the server to slow to a crawl as the swap file comes into play. Sigh. It looked so promising. I don't have the funds to go to server grade hardware with 8 or more dimm slots, registered memory and all that. But in the end, two virtual machines running full speed is better than one, and I will take what I can get. At least I can stop testing and go back to work. ;) John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > Why don't you double that, by getting a RAID controller and two of those > drives, to stripe them? It'll read twice as fast! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, April 01, 2009 9:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Solid State Disk performance > > In this particular case I am just installing the application on a VM and > then copying the VM so that > I run one instance in each VM. Tech support for the application told me > that as long as I have a > license to use the software I could run more than one copy to speed up > my processing. The > application does most of the processing locally so it is just my own > hardware taking the hit. It > does upload a file for post processing but they told me I could do this > (which is really pretty nice > of them) so I am not violating any license. > > Running it in a VM allows me to move the application to a different > server if I need without > uninstalling / reinstalling / obtaining the key for the new install etc. > Obviously it also allows > me to run multiple instances to speed up the processing. > > I process huge tables, for example last night / today I am processing > about 50 million records. My > time to process (on an instance of the program) is about 4-5 million > records / hour, however there > is upload / process / download time on the remote server. Together the > total comes to about 20 > minutes per million records so it will take about 17 hours or so to > process the table. If I can > throw multiple VMs at it I can cut that by at least two, possibly three > or even four. Nine hours is > better than 17, 5 hours is better yet. > > We shall see. > > The SSD gives me extremely high (RAID 0 like) bandwidth, but it also > gives me extremely high IO > processing as well as extremely low latency. For a process like this > where the system does nothing > but read and process, the performance boost versus a hard disk is > astounding. And all for a measly > $125! > > John W. Colby > www.ColbyConsulting.com > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. > > From ssharkins at gmail.com Wed Apr 1 11:38:26 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 12:38:26 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> Message-ID: I can't recall ever using DoCmd in anything but Access -- and as part of the Access object model, it would makes sense that it isn't available to other applications, but thought I'd try. I've spent a little time in both Excel and Word's VBA Help and can't find anything helpful on hiding the ribbon -- even the Object Browser turns up nothing. Well, it turns up stuff, just nothing I could use. Surely you can hide the ribbon programmatically in Word and Excel? Susan H. > Hi Susan, > I don't know the answer but if you set a Reference to Microsoft Access 12 > Object Library then it will probably compile ok. > > Whether it works or not is another matter > > hth From max.wanadoo at gmail.com Wed Apr 1 11:49:09 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 1 Apr 2009 17:49:09 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> Message-ID: <49d39b15.0aa1660a.4032.4104@mx.google.com> Susan, If you want to email me the word doc with all the stuff stripped out apart from the bit you are testing, I can give it a go as I have 2007 office. Max DOT wandoo AT gmail.com Once you have set a reference it has "access" to all the code in that library so it should work or else throw an error which should be Google'able (have I just invented a new word?) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 01 April 2009 17:38 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument I can't recall ever using DoCmd in anything but Access -- and as part of the Access object model, it would makes sense that it isn't available to other applications, but thought I'd try. I've spent a little time in both Excel and Word's VBA Help and can't find anything helpful on hiding the ribbon -- even the Object Browser turns up nothing. Well, it turns up stuff, just nothing I could use. Surely you can hide the ribbon programmatically in Word and Excel? Susan H. > Hi Susan, > I don't know the answer but if you set a Reference to Microsoft Access 12 > Object Library then it will probably compile ok. > > Whether it works or not is another matter > > hth -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Apr 1 11:53:28 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 1 Apr 2009 17:53:28 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: <49d39b15.0aa1660a.4032.4104@mx.google.com> References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> , <49d39b15.0aa1660a.4032.4104@mx.google.com> Message-ID: Susan Google for hide the ribbon programmatically in Word and Excel You will get lots of examples Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo [max.wanadoo at gmail.com] Sent: 01 April 2009 17:49 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Getting error of Ribbon argument Susan, If you want to email me the word doc with all the stuff stripped out apart from the bit you are testing, I can give it a go as I have 2007 office. Max DOT wandoo AT gmail.com Once you have set a reference it has "access" to all the code in that library so it should work or else throw an error which should be Google'able (have I just invented a new word?) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 01 April 2009 17:38 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument I can't recall ever using DoCmd in anything but Access -- and as part of the Access object model, it would makes sense that it isn't available to other applications, but thought I'd try. I've spent a little time in both Excel and Word's VBA Help and can't find anything helpful on hiding the ribbon -- even the Object Browser turns up nothing. Well, it turns up stuff, just nothing I could use. Surely you can hide the ribbon programmatically in Word and Excel? Susan H. > Hi Susan, > I don't know the answer but if you set a Reference to Microsoft Access 12 > Object Library then it will probably compile ok. > > Whether it works or not is another matter > > hth -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Apr 1 12:05:24 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 13:05:24 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> <49d39b15.0aa1660a.4032.4104@mx.google.com> Message-ID: Well Max, that's what I thought too, and I have referenced the Access Object Library. I've tried it in Excel too -- the error is rather specific -- says the ShowToolbar action isn't available. So, I've tried a number of different events -- I get the same error. There's no need to send you anything, but thanks for offering. In both cases I'm working with blank files. In Word and Excel I tried command buttons and the appropriate open/close events. Susan H. > Once you have set a reference it has "access" to all the code in that > library so it should work or else throw an error which should be > Google'able > (have I just invented a new word?) > > Max >> I can't recall ever using DoCmd in anything but Access -- and as part of >> the > > Access object model, it would makes sense that it isn't available to other > applications, but thought I'd try. > > I've spent a little time in both Excel and Word's VBA Help and can't find > anything helpful on hiding the ribbon -- even the Object Browser turns up > nothing. Well, it turns up stuff, just nothing I could use. > > Surely you can hide the ribbon programmatically in Word and Excel? From jwcolby at colbyconsulting.com Wed Apr 1 12:07:03 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 13:07:03 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> Message-ID: <49D39F37.7070203@colbyconsulting.com> I did see that, and promptly forgot to check. In my scenario it probably won't bite me, at least if "nearly full" means most sectors filled, since I am actually dividing this into 4 partitions of 3 gigs each and dropping files into each partition, one partition per virtual machine. I will go look up how to discover the firmware revision level and see if I need to upgrade. John W. Colby www.ColbyConsulting.com Heenan, Lambert wrote: > Did you see this comment on the NewEgg site (perhaps it was you who posted it?) > > "Other Thoughts: As soon as you get this drive, check the firmware revision on it (it will list it in the name of the drive in the BIOS). If its 1199, it has a bug in it that will cause the drive to start showing errors in Windows once it gets near full. > > Google "OCZ Vertex Firmware" and you'll find detailed instructions on upgrading to the newer 1275 firmware. Its not terribly difficult, but you will lose any data you've already put on it. > > The good news is that the firmware also fixes a bug that wasn't allowing the drive to write data as quickly as it should have, so now the drive is even faster than before." > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, April 01, 2009 10:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Solid State Disk performance > > In this particular case I am just installing the application on a VM and then copying the VM so that I run one instance in each VM. Tech support for the application told me that as long as I have a license to use the software I could run more than one copy to speed up my processing. The application does most of the processing locally so it is just my own hardware taking the hit. It does upload a file for post processing but they told me I could do this (which is really pretty nice of them) so I am not violating any license. > > Running it in a VM allows me to move the application to a different server if I need without uninstalling / reinstalling / obtaining the key for the new install etc. Obviously it also allows me to run multiple instances to speed up the processing. > > I process huge tables, for example last night / today I am processing about 50 million records. My time to process (on an instance of the program) is about 4-5 million records / hour, however there is upload / process / download time on the remote server. Together the total comes to about 20 minutes per million records so it will take about 17 hours or so to process the table. If I can throw multiple VMs at it I can cut that by at least two, possibly three or even four. Nine hours is better than 17, 5 hours is better yet. > > We shall see. > > The SSD gives me extremely high (RAID 0 like) bandwidth, but it also gives me extremely high IO processing as well as extremely low latency. For a process like this where the system does nothing but read and process, the performance boost versus a hard disk is astounding. And all for a measly $125! > > John W. Colby > www.ColbyConsulting.com > > > Mike Mattys wrote: >> I wish I could do this with MapPoint and Access or Excel. >> >> Further, I would like to do multithreaded, asynchronous processing >> even if I have to open multiple app instances. >> >> Perhaps .Net will be of some assistance in this area ... >> if I can ever climb so high. >> >> - >> Michael R Mattys >> MapPoint and Database Dev >> www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jerbach at gmail.com Wed Apr 1 12:12:07 2009 From: jerbach at gmail.com (Janet Erbach) Date: Wed, 1 Apr 2009 12:12:07 -0500 Subject: [AccessD] Importing multiple txt files Message-ID: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Hello! I would like to programmatically import one by one all the text files in a given directory - usually around 30 files. I've used code that I copied from http://www.mvps.org/access/api/api0001.htm to allow the user to browse through windows directories and select a single file to process...but now I want to process ALL the files in a given directory, regardless of the number of files. I assumed I would build an array with the names of all the files and then loop through that array in my code to import and process them one by one. Does anyone know of code I could utilize that would allow me to identifity the names of all the txt files in a selected directory? I'm lost when it comes to interfacing Access with Windows in this way! Janet Erbach NaturalHealthyConcepts.com From jwcolby at colbyconsulting.com Wed Apr 1 12:11:14 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 13:11:14 -0400 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> Message-ID: <49D3A032.4030406@colbyconsulting.com> Susan, WHY would you want to do that, How RUDE! Microsoft spends years user testing this pretty fluff and you promptly try to get rid of it. You might want to keep a sharp eye over your shoulder. An enforcer is headed your way. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > I can't recall ever using DoCmd in anything but Access -- and as part of the > Access object model, it would makes sense that it isn't available to other > applications, but thought I'd try. > > I've spent a little time in both Excel and Word's VBA Help and can't find > anything helpful on hiding the ribbon -- even the Object Browser turns up > nothing. Well, it turns up stuff, just nothing I could use. > > Surely you can hide the ribbon programmatically in Word and Excel? > > Susan H. > > >> Hi Susan, >> I don't know the answer but if you set a Reference to Microsoft Access 12 >> Object Library then it will probably compile ok. >> >> Whether it works or not is another matter >> >> hth > From ssharkins at gmail.com Wed Apr 1 12:20:28 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 13:20:28 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> <49D3A032.4030406@colbyconsulting.com> Message-ID: LOL... DoCmd.ShowSusan acNo They'll never find me! ;) Susan H. > > You might want to keep a sharp eye over your shoulder. An enforcer is > headed your way. From JHewson at nciinc.com Wed Apr 1 12:21:29 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Wed, 1 Apr 2009 12:21:29 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com> Janet, Will the files always reside in the same directory or will the user be able to select the directory? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, April 01, 2009 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] Importing multiple txt files Hello! I would like to programmatically import one by one all the text files in a given directory - usually around 30 files. I've used code that I copied from http://www.mvps.org/access/api/api0001.htm to allow the user to browse through windows directories and select a single file to process...but now I want to process ALL the files in a given directory, regardless of the number of files. I assumed I would build an array with the names of all the files and then loop through that array in my code to import and process them one by one. Does anyone know of code I could utilize that would allow me to identifity the names of all the txt files in a selected directory? I'm lost when it comes to interfacing Access with Windows in this way! Janet Erbach NaturalHealthyConcepts.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From markamatte at hotmail.com Wed Apr 1 12:21:58 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 1 Apr 2009 17:21:58 +0000 Subject: [AccessD] Importing multiple txt files In-Reply-To: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Message-ID: This may help... Public Function ImportData() MyPath = "C:\Stock\BriterStockBiHourlyTEMP\*.csv" MyName = Dir(MyPath) ' Retrieve the first entry. DoCmd.SetWarnings False Do While MyName <> "" ' Start the loop. DoCmd.TransferText acImportDelim, "MyImportSpecification", "tblDailyStock", "C:\Stock\BriterStockBiHourlyTEMP\" & MyName ' Ignore the current directory and the encompassing directory. If MyName <> "." And MyName <> ".." Then MyName = Dir ' Get next entry. End If Loop End Function Hope it helps... Mark A. Matte ---------------------------------------- > Date: Wed, 1 Apr 2009 12:12:07 -0500 > From: jerbach at gmail.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Importing multiple txt files > > Hello! > > I would like to programmatically import one by one all the text files in a > given directory - usually around 30 files. I've used code that I copied > from http://www.mvps.org/access/api/api0001.htm to allow the user to browse > through windows directories and select a single file to process...but now I > want to process ALL the files in a given directory, regardless of the number > of files. I assumed I would build an array with the names of all the files > and then loop through that array in my code to import and process them one > by one. > > Does anyone know of code I could utilize that would allow me to identifity > the names of all the txt files in a selected directory? I'm lost when it > comes to interfacing Access with Windows in this way! > > Janet Erbach > NaturalHealthyConcepts.com _________________________________________________________________ Rediscover Hotmail?: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 From jerbach at gmail.com Wed Apr 1 12:23:48 2009 From: jerbach at gmail.com (Janet Erbach) Date: Wed, 1 Apr 2009 12:23:48 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com> Message-ID: <6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> I planned on allowing the user to navigate to select the directory. Janet On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > Janet, > Will the files always reside in the same directory or will the user be > able to select the directory? > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:12 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Importing multiple txt files > > Hello! > > I would like to programmatically import one by one all the text files in > a > given directory - usually around 30 files. I've used code that I copied > from http://www.mvps.org/access/api/api0001.htm to allow the user to > browse > through windows directories and select a single file to process...but > now I > want to process ALL the files in a given directory, regardless of the > number > of files. I assumed I would build an array with the names of all the > files > and then loop through that array in my code to import and process them > one > by one. > > Does anyone know of code I could utilize that would allow me to > identifity > the names of all the txt files in a selected directory? I'm lost when > it > comes to interfacing Access with Windows in this way! > > Janet Erbach > NaturalHealthyConcepts.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ################################################################################ > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > > ################################################################################ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Wed Apr 1 12:25:12 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 1 Apr 2009 12:25:12 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Message-ID: Dim strTemp as String strTemp=Dir("C:\YourPath\*.txt") Do until strTemp="" Debug.print strTemp strTemp=Dir Loop Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, April 01, 2009 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] Importing multiple txt files Hello! I would like to programmatically import one by one all the text files in a given directory - usually around 30 files. I've used code that I copied from http://www.mvps.org/access/api/api0001.htm to allow the user to browse through windows directories and select a single file to process...but now I want to process ALL the files in a given directory, regardless of the number of files. I assumed I would build an array with the names of all the files and then loop through that array in my code to import and process them one by one. Does anyone know of code I could utilize that would allow me to identifity the names of all the txt files in a selected directory? I'm lost when it comes to interfacing Access with Windows in this way! Janet Erbach NaturalHealthyConcepts.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jerbach at gmail.com Wed Apr 1 12:27:57 2009 From: jerbach at gmail.com (Janet Erbach) Date: Wed, 1 Apr 2009 12:27:57 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Message-ID: <6ef6ac2c0904011027y6b7b5a3byde231c924c66e9bf@mail.gmail.com> Mark - Thank you - this looks like it is exactly what I need! Janet E On Wed, Apr 1, 2009 at 12:21 PM, Mark A Matte wrote: > > > This may help... > > Public Function ImportData() > MyPath = "C:\Stock\BriterStockBiHourlyTEMP\*.csv" > MyName = Dir(MyPath) ' Retrieve the first entry. > DoCmd.SetWarnings False > Do While MyName <> "" ' Start the loop. > DoCmd.TransferText acImportDelim, "MyImportSpecification", "tblDailyStock", > "C:\Stock\BriterStockBiHourlyTEMP\" & MyName > > ' Ignore the current directory and the encompassing directory. > If MyName <> "." And MyName <> ".." Then > MyName = Dir ' Get next entry. > End If > Loop > > End Function > > Hope it helps... > > Mark A. Matte > ---------------------------------------- > > Date: Wed, 1 Apr 2009 12:12:07 -0500 > > From: jerbach at gmail.com > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Importing multiple txt files > > > > Hello! > > > > I would like to programmatically import one by one all the text files in > a > > given directory - usually around 30 files. I've used code that I copied > > from http://www.mvps.org/access/api/api0001.htm to allow the user to > browse > > through windows directories and select a single file to process...but now > I > > want to process ALL the files in a given directory, regardless of the > number > > of files. I assumed I would build an array with the names of all the > files > > and then loop through that array in my code to import and process them > one > > by one. > > > > Does anyone know of code I could utilize that would allow me to > identifity > > the names of all the txt files in a selected directory? I'm lost when it > > comes to interfacing Access with Windows in this way! > > > > Janet Erbach > > NaturalHealthyConcepts.com > _________________________________________________________________ > Rediscover Hotmail?: Now available on your iPhone or BlackBerry > > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at nciinc.com Wed Apr 1 12:29:51 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Wed, 1 Apr 2009 12:29:51 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com> <6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> Below is what I've used in the past and it works well. The User can select one or any number of files (using the ctl or shift keys) in the directory. This will actually place the file names with the perspective directories into a list box. You should be able to get what you need from this. Private Sub btnSelectFiles_Click() Dim fDialog As Office.FileDialog Dim varFile As Variant Dim txtFile As String Dim strImportFile As String 'Clear Textbox contents. Me.lstImportFile.RowSource = "" 'Set up the File Dialog Set fDialog = Application.FileDialog(msoFileDialogFilePicker) With fDialog 'Allow user to select one file in dialog box .AllowMultiSelect = True 'Set the title of the dialog box. .Title = "Please select ALL files" 'Clear out the current filters, and add our own. .Filters.Clear .Filters.Add "Excel Workbooks 2000-2003", "*.xls" .Filters.Add "Excel Workbooks 2007", "*.xlsx" 'Show the dialog box. If the .Show method returns True, the 'user picks one file. If the .Show method returns 'False, the user clicked Cancel. If .Show = True Then For Each varFile In .SelectedItems Me.lstImportFile.AddItem varFile txtFile = varFile Next Else MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, "Cancelled" End If .InitialFileName = "" End With Set fDialog = Nothing Set varFile = Nothing strImportFile = Me.lstImportFile.RowSource End Sub Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, April 01, 2009 12:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files I planned on allowing the user to navigate to select the directory. Janet On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > Janet, > Will the files always reside in the same directory or will the user be > able to select the directory? > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:12 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Importing multiple txt files > > Hello! > > I would like to programmatically import one by one all the text files in > a > given directory - usually around 30 files. I've used code that I copied > from http://www.mvps.org/access/api/api0001.htm to allow the user to > browse > through windows directories and select a single file to process...but > now I > want to process ALL the files in a given directory, regardless of the > number > of files. I assumed I would build an array with the names of all the > files > and then loop through that array in my code to import and process them > one > by one. > > Does anyone know of code I could utilize that would allow me to > identifity > the names of all the txt files in a selected directory? I'm lost when > it > comes to interfacing Access with Windows in this way! > > Janet Erbach > NaturalHealthyConcepts.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ######################################################################## ######## > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > > ######################################################################## ######## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From max.wanadoo at gmail.com Wed Apr 1 12:36:35 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 1 Apr 2009 18:36:35 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> <49D3A032.4030406@colbyconsulting.com> Message-ID: <49d3a628.05a0660a.3992.ffff9a94@mx.google.com> They will if you are hiding in Word or Excel (!) Max p.s. It illustrates, if that is needed, how little they thought of Developers during the process of creating all this GUI. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 01 April 2009 18:20 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument LOL... DoCmd.ShowSusan acNo They'll never find me! ;) Susan H. > > You might want to keep a sharp eye over your shoulder. An enforcer is > headed your way. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Apr 1 12:40:04 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 13:40:04 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com>, <49d39b15.0aa1660a.4032.4104@mx.google.com> Message-ID: <707D04440F254A2ABB37E35868B5EB6B@SusanOne> I've tried that Martin -- I didn't find any VBA solution for Excel or Word. If what I'm reading is correct, you have to use an XML add-in. :( I'd love to be wrong on this one. Susan H. > > hide the ribbon programmatically in Word and Excel > > You will get lots of examples From max.wanadoo at gmail.com Wed Apr 1 13:02:45 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 1 Apr 2009 19:02:45 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: <707D04440F254A2ABB37E35868B5EB6B@SusanOne> References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com>, <49d39b15.0aa1660a.4032.4104@mx.google.com> <707D04440F254A2ABB37E35868B5EB6B@SusanOne> Message-ID: <49d3ac49.0aa5660a.2cd5.ffffb198@mx.google.com> Here is a VB example http://blogs.msdn.com/pranavwagh/archive/2008/01/21/how-to-switch-ribbon-tab -programmatically-looks-simple.aspx Half way down is a zip file to download (AccessRibbonTab.Zip) Cannot run it myself so it may not be what you want. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 01 April 2009 18:40 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument I've tried that Martin -- I didn't find any VBA solution for Excel or Word. If what I'm reading is correct, you have to use an XML add-in. :( I'd love to be wrong on this one. Susan H. > > hide the ribbon programmatically in Word and Excel > > You will get lots of examples -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Apr 1 13:06:14 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 1 Apr 2009 19:06:14 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: <707D04440F254A2ABB37E35868B5EB6B@SusanOne> References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com>, <49d39b15.0aa1660a.4032.4104@mx.google.com> , <707D04440F254A2ABB37E35868B5EB6B@SusanOne> Message-ID: I have seen VBA solutions but XML is the general approach taken to work with the Ribbon, Its usually a joint approach VBA and RibbonX. See http://www.rondebruin.nl/ribbon.htm http://www.xtremevbtalk.com/showthread.php?t=265636 http://msdn.microsoft.com/en-us/library/bb421511.aspx Or better yet get this http://pschmid.net/office2007/ribboncustomizer/index.php I worked on the development of this with Patrick. Gets the job done. The site also contains tons of info on RibbonX Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins [ssharkins at gmail.com] Sent: 01 April 2009 18:40 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument I've tried that Martin -- I didn't find any VBA solution for Excel or Word. If what I'm reading is correct, you have to use an XML add-in. :( I'd love to be wrong on this one. Susan H. > > hide the ribbon programmatically in Word and Excel > > You will get lots of examples -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Apr 1 13:07:29 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 1 Apr 2009 14:07:29 -0400 Subject: [AccessD] Importing multiple txt files References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> Message-ID: <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Jim ...have you gotten the FileDialog to work in a runtime? ...I'd love to use it but so far no go. William -------------------------------------------------- From: "Hewson, Jim " Sent: Wednesday, April 01, 2009 1:29 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Importing multiple txt files > Below is what I've used in the past and it works well. > The User can select one or any number of files (using the ctl or shift > keys) in the directory. > This will actually place the file names with the perspective directories > into a list box. You should be able to get what you need from this. > > Private Sub btnSelectFiles_Click() > Dim fDialog As Office.FileDialog > Dim varFile As Variant > Dim txtFile As String > > Dim strImportFile As String > > 'Clear Textbox contents. > Me.lstImportFile.RowSource = "" > > 'Set up the File Dialog > Set fDialog = Application.FileDialog(msoFileDialogFilePicker) > With fDialog > 'Allow user to select one file in dialog box > .AllowMultiSelect = True > > 'Set the title of the dialog box. > .Title = "Please select ALL files" > > 'Clear out the current filters, and add our own. > .Filters.Clear > .Filters.Add "Excel Workbooks 2000-2003", "*.xls" > .Filters.Add "Excel Workbooks 2007", "*.xlsx" > > 'Show the dialog box. If the .Show method returns True, the > 'user picks one file. If the .Show method returns > 'False, the user clicked Cancel. > > If .Show = True Then > For Each varFile In .SelectedItems > Me.lstImportFile.AddItem varFile > txtFile = varFile > Next > > Else > MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, > "Cancelled" > End If > .InitialFileName = "" > End With > Set fDialog = Nothing > Set varFile = Nothing > > strImportFile = Me.lstImportFile.RowSource > > End Sub > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Importing multiple txt files > > I planned on allowing the user to navigate to select the directory. > > Janet > > On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > >> Janet, >> Will the files always reside in the same directory or will the user be >> able to select the directory? >> >> Jim >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach >> Sent: Wednesday, April 01, 2009 12:12 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Importing multiple txt files >> >> Hello! >> >> I would like to programmatically import one by one all the text files > in >> a >> given directory - usually around 30 files. I've used code that I > copied >> from http://www.mvps.org/access/api/api0001.htm to allow the user to >> browse >> through windows directories and select a single file to process...but >> now I >> want to process ALL the files in a given directory, regardless of the >> number >> of files. I assumed I would build an array with the names of all the >> files >> and then loop through that array in my code to import and process them >> one >> by one. >> >> Does anyone know of code I could utilize that would allow me to >> identifity >> the names of all the txt files in a selected directory? I'm lost when >> it >> comes to interfacing Access with Windows in this way! >> >> Janet Erbach >> NaturalHealthyConcepts.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > ######################################################################## > ######## >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> > ######################################################################## > ######## >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ################################################################################ > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > ################################################################################ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at nciinc.com Wed Apr 1 13:19:44 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Wed, 1 Apr 2009 13:19:44 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA00@sanex101.nciinc.com> Yes. I created it in 2000 then moved to 2003 and used it in 2007 runtime. Not a problem. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 01, 2009 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files Jim ...have you gotten the FileDialog to work in a runtime? ...I'd love to use it but so far no go. William -------------------------------------------------- From: "Hewson, Jim " Sent: Wednesday, April 01, 2009 1:29 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Importing multiple txt files > Below is what I've used in the past and it works well. > The User can select one or any number of files (using the ctl or shift > keys) in the directory. > This will actually place the file names with the perspective directories > into a list box. You should be able to get what you need from this. > > Private Sub btnSelectFiles_Click() > Dim fDialog As Office.FileDialog > Dim varFile As Variant > Dim txtFile As String > > Dim strImportFile As String > > 'Clear Textbox contents. > Me.lstImportFile.RowSource = "" > > 'Set up the File Dialog > Set fDialog = Application.FileDialog(msoFileDialogFilePicker) > With fDialog > 'Allow user to select one file in dialog box > .AllowMultiSelect = True > > 'Set the title of the dialog box. > .Title = "Please select ALL files" > > 'Clear out the current filters, and add our own. > .Filters.Clear > .Filters.Add "Excel Workbooks 2000-2003", "*.xls" > .Filters.Add "Excel Workbooks 2007", "*.xlsx" > > 'Show the dialog box. If the .Show method returns True, the > 'user picks one file. If the .Show method returns > 'False, the user clicked Cancel. > > If .Show = True Then > For Each varFile In .SelectedItems > Me.lstImportFile.AddItem varFile > txtFile = varFile > Next > > Else > MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, > "Cancelled" > End If > .InitialFileName = "" > End With > Set fDialog = Nothing > Set varFile = Nothing > > strImportFile = Me.lstImportFile.RowSource > > End Sub > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Importing multiple txt files > > I planned on allowing the user to navigate to select the directory. > > Janet > > On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > >> Janet, >> Will the files always reside in the same directory or will the user be >> able to select the directory? >> >> Jim >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach >> Sent: Wednesday, April 01, 2009 12:12 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Importing multiple txt files >> >> Hello! >> >> I would like to programmatically import one by one all the text files > in >> a >> given directory - usually around 30 files. I've used code that I > copied >> from http://www.mvps.org/access/api/api0001.htm to allow the user to >> browse >> through windows directories and select a single file to process...but >> now I >> want to process ALL the files in a given directory, regardless of the >> number >> of files. I assumed I would build an array with the names of all the >> files >> and then loop through that array in my code to import and process them >> one >> by one. >> >> Does anyone know of code I could utilize that would allow me to >> identifity >> the names of all the txt files in a selected directory? I'm lost when >> it >> comes to interfacing Access with Windows in this way! >> >> Janet Erbach >> NaturalHealthyConcepts.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > ######################################################################## > ######## >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> > ######################################################################## > ######## >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ######################################################################## ######## > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > ######################################################################## ######## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From ssharkins at gmail.com Wed Apr 1 13:19:37 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 14:19:37 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com>, <49d39b15.0aa1660a.4032.4104@mx.google.com>, <707D04440F254A2ABB37E35868B5EB6B@SusanOne> Message-ID: <30096E837E964427BF89533A8404ACF0@SusanOne> Thanks Martin and Max -- I feel like I'm in Bizarro World. :( You shouldn't need a custom interface tool (Custom UI Editor) -- it should be just as simple in Word and Excel as it is in Access. I did find a message from awhile back -- from David McAfee where he seems to accomplish what I originally tried (using ShowToolbar). Now, the original request was about doing this in Excel, but David doesn't say whether he tested it in Access or Excel. If someone got this to work in Excel, please share with me what event you used. Thanks! Susan H. ----- Original Message ----- From: "David McAfee" To: "Access Developers discussion and problem solving" Sent: Wednesday, December 03, 2008 6:35 PM Subject: Re: [AccessD] Turn off the ribbons programmatically > Well, that works for me: > > IF SysCmd(acSysCmdAccessVer) = 12 THEN DoCmd.ShowToolbar "Ribbon", > acToolbarNo > > I also put a command button on a test form to turn it back on. > Susan H. >I have seen VBA solutions but XML is the general approach taken to work >with the Ribbon, Its usually a joint approach VBA and RibbonX. See > > http://www.rondebruin.nl/ribbon.htm > > http://www.xtremevbtalk.com/showthread.php?t=265636 > > http://msdn.microsoft.com/en-us/library/bb421511.aspx > > Or better yet get this > > http://pschmid.net/office2007/ribboncustomizer/index.php > > I worked on the development of this with Patrick. Gets the job done. The > site also contains tons of info on RibbonX From adtp at airtelmail.in Wed Apr 1 13:22:56 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Wed, 1 Apr 2009 23:52:56 +0530 Subject: [AccessD] Min Date in a query SOLVED! References: <7987E3D616DA47A4BABDEDB5F89C8205@SusanOne> <63456AF2CCF3481D90C1415C82E8D359@HAL9005><49d0dce4.0637560a.613e.fffffc3f@mx.google.com><8A6EF68691964BCA94527404C458E121@jislaptopdev><001301c9b1bb$b2af1870$e785a37a@personald6374f> <38EF8262E1E444C7A0E1D09378FFE911@jislaptopdev> Message-ID: <00c701c9b2f6$fb50b840$945fa27a@personald6374f> You are most welcome William! Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, April 01, 2009 19:59 Subject: Re: [AccessD] Min Date in a query SOLVED! AD ...that works, THANK YOU! ...I KNEW there had to be a simple way to do this :) ...and my sincere appreciation to all who tried to help me with this. William -------------------------------------------------- From: "A.D.Tejpal" Sent: Tuesday, March 31, 2009 12:45 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Min Date in a query > William, > > Sample query given below, gets the first record in table T_A where the > value of date field EDate is greater than Date(). > > ================================== > SELECT T_A.* > FROM T_A > WHERE (((T_A.EDate) In (SELECT TOP 1 EDate FROM T_A WHERE EDate > Date() > ORDER BY EDate))); > ================================== > > Best wishes, > A.D. Tejpal > ------------ From max.wanadoo at gmail.com Wed Apr 1 13:26:05 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 1 Apr 2009 19:26:05 +0100 Subject: [AccessD] Importing multiple txt files In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA00@sanex101.nciinc.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA00@sanex101.nciinc.com> Message-ID: <49d3b1c1.0ab6660a.2644.ffffcfd3@mx.google.com> William, given what Jim has just said. Have you got your Reference correct. You need the reference to MS Office for the version you are using. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: 01 April 2009 19:20 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files Yes. I created it in 2000 then moved to 2003 and used it in 2007 runtime. Not a problem. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 01, 2009 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files Jim ...have you gotten the FileDialog to work in a runtime? ...I'd love to use it but so far no go. William -------------------------------------------------- From: "Hewson, Jim " Sent: Wednesday, April 01, 2009 1:29 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Importing multiple txt files > Below is what I've used in the past and it works well. > The User can select one or any number of files (using the ctl or shift > keys) in the directory. > This will actually place the file names with the perspective directories > into a list box. You should be able to get what you need from this. > > Private Sub btnSelectFiles_Click() > Dim fDialog As Office.FileDialog > Dim varFile As Variant > Dim txtFile As String > > Dim strImportFile As String > > 'Clear Textbox contents. > Me.lstImportFile.RowSource = "" > > 'Set up the File Dialog > Set fDialog = Application.FileDialog(msoFileDialogFilePicker) > With fDialog > 'Allow user to select one file in dialog box > .AllowMultiSelect = True > > 'Set the title of the dialog box. > .Title = "Please select ALL files" > > 'Clear out the current filters, and add our own. > .Filters.Clear > .Filters.Add "Excel Workbooks 2000-2003", "*.xls" > .Filters.Add "Excel Workbooks 2007", "*.xlsx" > > 'Show the dialog box. If the .Show method returns True, the > 'user picks one file. If the .Show method returns > 'False, the user clicked Cancel. > > If .Show = True Then > For Each varFile In .SelectedItems > Me.lstImportFile.AddItem varFile > txtFile = varFile > Next > > Else > MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, > "Cancelled" > End If > .InitialFileName = "" > End With > Set fDialog = Nothing > Set varFile = Nothing > > strImportFile = Me.lstImportFile.RowSource > > End Sub > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Importing multiple txt files > > I planned on allowing the user to navigate to select the directory. > > Janet > > On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > >> Janet, >> Will the files always reside in the same directory or will the user be >> able to select the directory? >> >> Jim >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach >> Sent: Wednesday, April 01, 2009 12:12 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Importing multiple txt files >> >> Hello! >> >> I would like to programmatically import one by one all the text files > in >> a >> given directory - usually around 30 files. I've used code that I > copied >> from http://www.mvps.org/access/api/api0001.htm to allow the user to >> browse >> through windows directories and select a single file to process...but >> now I >> want to process ALL the files in a given directory, regardless of the >> number >> of files. I assumed I would build an array with the names of all the >> files >> and then loop through that array in my code to import and process them >> one >> by one. >> >> Does anyone know of code I could utilize that would allow me to >> identifity >> the names of all the txt files in a selected directory? I'm lost when >> it >> comes to interfacing Access with Windows in this way! >> >> Janet Erbach >> NaturalHealthyConcepts.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > ######################################################################## > ######## >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> > ######################################################################## > ######## >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ######################################################################## ######## > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > ######################################################################## ######## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Apr 1 13:34:45 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 1 Apr 2009 19:34:45 +0100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: <30096E837E964427BF89533A8404ACF0@SusanOne> References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com>, <49d39b15.0aa1660a.4032.4104@mx.google.com>, <707D04440F254A2ABB37E35868B5EB6B@SusanOne> , <30096E837E964427BF89533A8404ACF0@SusanOne> Message-ID: You can customise the ribbon using notepad you actually don't need a custom tool. Its just XML. To be honest I simply used Patricks add in. Made it easy and you didn't need to worry about anything else. Just install it and of you go. I just noticed this link to a sample chapter on Excel http://www.oaltd.co.uk/Spreads/Excel2007VBAProgRef_ch14.pdf Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins [ssharkins at gmail.com] Sent: 01 April 2009 19:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument Thanks Martin and Max -- I feel like I'm in Bizarro World. :( You shouldn't need a custom interface tool (Custom UI Editor) -- it should be just as simple in Word and Excel as it is in Access. I did find a message from awhile back -- from David McAfee where he seems to accomplish what I originally tried (using ShowToolbar). Now, the original request was about doing this in Excel, but David doesn't say whether he tested it in Access or Excel. If someone got this to work in Excel, please share with me what event you used. Thanks! Susan H. ----- Original Message ----- From: "David McAfee" To: "Access Developers discussion and problem solving" Sent: Wednesday, December 03, 2008 6:35 PM Subject: Re: [AccessD] Turn off the ribbons programmatically > Well, that works for me: > > IF SysCmd(acSysCmdAccessVer) = 12 THEN DoCmd.ShowToolbar "Ribbon", > acToolbarNo > > I also put a command button on a test form to turn it back on. > Susan H. >I have seen VBA solutions but XML is the general approach taken to work >with the Ribbon, Its usually a joint approach VBA and RibbonX. See > > http://www.rondebruin.nl/ribbon.htm > > http://www.xtremevbtalk.com/showthread.php?t=265636 > > http://msdn.microsoft.com/en-us/library/bb421511.aspx > > Or better yet get this > > http://pschmid.net/office2007/ribboncustomizer/index.php > > I worked on the development of this with Patrick. Gets the job done. The > site also contains tons of info on RibbonX -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach at gmail.com Wed Apr 1 14:02:21 2009 From: jerbach at gmail.com (Janet Erbach) Date: Wed, 1 Apr 2009 14:02:21 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> Message-ID: <6ef6ac2c0904011202m37e576c1w1130d18d9f98e6e9@mail.gmail.com> All you guys... I haven't been on the forum for several years and I'm floored by the prompt replies and the excellent suggestions. Thank you very much!! Janet On Wed, Apr 1, 2009 at 12:25 PM, Drew Wutka wrote: > Dim strTemp as String > strTemp=Dir("C:\YourPath\*.txt") > Do until strTemp="" > Debug.print strTemp > strTemp=Dir > Loop > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Wednesday, April 01, 2009 12:12 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Importing multiple txt files > > Hello! > > I would like to programmatically import one by one all the text files in > a > given directory - usually around 30 files. I've used code that I copied > from http://www.mvps.org/access/api/api0001.htm to allow the user to > browse > through windows directories and select a single file to process...but > now I > want to process ALL the files in a given directory, regardless of the > number > of files. I assumed I would build an array with the names of all the > files > and then loop through that array in my code to import and process them > one > by one. > > Does anyone know of code I could utilize that would allow me to > identifity > the names of all the txt files in a selected directory? I'm lost when > it > comes to interfacing Access with Windows in this way! > > Janet Erbach > NaturalHealthyConcepts.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI Proprietary > and/or II-VI Business Sensitive material. If you are not the intended > recipient, please contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. You are notified that any > review, retransmission, copying, disclosure, dissemination, or other use of, > or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Wed Apr 1 14:04:21 2009 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 1 Apr 2009 12:04:21 -0700 Subject: [AccessD] Importing multiple txt files In-Reply-To: <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: Hi William, Unfortunately if you are referring to the Office File Dialog it is part of Office and not available unless the user has office installed, and then you need to address versions. For our runtimes I use the Windows file dialog and some code I cribbed from one of the earlier versions of the Access Developers Handbook. Works fine. I think the code is available in ADH up through 2000. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 01, 2009 11:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files Jim ...have you gotten the FileDialog to work in a runtime? ...I'd love to use it but so far no go. William -------------------------------------------------- From: "Hewson, Jim " Sent: Wednesday, April 01, 2009 1:29 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Importing multiple txt files > Below is what I've used in the past and it works well. > The User can select one or any number of files (using the ctl or shift > keys) in the directory. > This will actually place the file names with the perspective > directories into a list box. You should be able to get what you need from this. > > Private Sub btnSelectFiles_Click() > Dim fDialog As Office.FileDialog > Dim varFile As Variant > Dim txtFile As String > > Dim strImportFile As String > > 'Clear Textbox contents. > Me.lstImportFile.RowSource = "" > > 'Set up the File Dialog > Set fDialog = Application.FileDialog(msoFileDialogFilePicker) > With fDialog > 'Allow user to select one file in dialog box > .AllowMultiSelect = True > > 'Set the title of the dialog box. > .Title = "Please select ALL files" > > 'Clear out the current filters, and add our own. > .Filters.Clear > .Filters.Add "Excel Workbooks 2000-2003", "*.xls" > .Filters.Add "Excel Workbooks 2007", "*.xlsx" > > 'Show the dialog box. If the .Show method returns True, the > 'user picks one file. If the .Show method returns > 'False, the user clicked Cancel. > > If .Show = True Then > For Each varFile In .SelectedItems > Me.lstImportFile.AddItem varFile > txtFile = varFile > Next > > Else > MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, > "Cancelled" > End If > .InitialFileName = "" > End With > Set fDialog = Nothing > Set varFile = Nothing > > strImportFile = Me.lstImportFile.RowSource > > End Sub > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Wednesday, April 01, 2009 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Importing multiple txt files > > I planned on allowing the user to navigate to select the directory. > > Janet > > On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > >> Janet, >> Will the files always reside in the same directory or will the user >> be able to select the directory? >> >> Jim >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach >> Sent: Wednesday, April 01, 2009 12:12 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Importing multiple txt files >> >> Hello! >> >> I would like to programmatically import one by one all the text files > in >> a >> given directory - usually around 30 files. I've used code that I > copied >> from http://www.mvps.org/access/api/api0001.htm to allow the user to >> browse through windows directories and select a single file to >> process...but now I want to process ALL the files in a given >> directory, regardless of the number of files. I assumed I would >> build an array with the names of all the files and then loop through >> that array in my code to import and process them one by one. >> >> Does anyone know of code I could utilize that would allow me to >> identifity the names of all the txt files in a selected directory? >> I'm lost when it comes to interfacing Access with Windows in this >> way! >> >> Janet Erbach >> NaturalHealthyConcepts.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > ###################################################################### > ## > ######## >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> > ###################################################################### > ## > ######## >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ###################################################################### > ########## If you have received this message in error, please contact > the sender immediately and be aware that the use, copying, or > dissemination of this information is prohibited. This email > transmission contains information from NCI Information Systems, Inc. > that may be considered privileged or confidential and is intended > solely for the named recipient. > ###################################################################### > ########## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aiuholdings.com Wed Apr 1 14:12:07 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 1 Apr 2009 15:12:07 -0400 Subject: [AccessD] Importing multiple txt files In-Reply-To: <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: Why not use the API instead of the OCX control? http://www.mvps.org/access/api/api0001.htm Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 01, 2009 2:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files Jim ...have you gotten the FileDialog to work in a runtime? ...I'd love to use it but so far no go. William -------------------------------------------------- From: "Hewson, Jim " Sent: Wednesday, April 01, 2009 1:29 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Importing multiple txt files > Below is what I've used in the past and it works well. > The User can select one or any number of files (using the ctl or shift > keys) in the directory. > This will actually place the file names with the perspective > directories into a list box. You should be able to get what you need from this. > > Private Sub btnSelectFiles_Click() > Dim fDialog As Office.FileDialog > Dim varFile As Variant > Dim txtFile As String > > Dim strImportFile As String > > 'Clear Textbox contents. > Me.lstImportFile.RowSource = "" > > 'Set up the File Dialog > Set fDialog = Application.FileDialog(msoFileDialogFilePicker) > With fDialog > 'Allow user to select one file in dialog box > .AllowMultiSelect = True > > 'Set the title of the dialog box. > .Title = "Please select ALL files" > > 'Clear out the current filters, and add our own. > .Filters.Clear > .Filters.Add "Excel Workbooks 2000-2003", "*.xls" > .Filters.Add "Excel Workbooks 2007", "*.xlsx" > > 'Show the dialog box. If the .Show method returns True, the > 'user picks one file. If the .Show method returns > 'False, the user clicked Cancel. > > If .Show = True Then > For Each varFile In .SelectedItems > Me.lstImportFile.AddItem varFile > txtFile = varFile > Next > > Else > MsgBox "You clicked Cancel in the file dialog box.", vbOKOnly, > "Cancelled" > End If > .InitialFileName = "" > End With > Set fDialog = Nothing > Set varFile = Nothing > > strImportFile = Me.lstImportFile.RowSource > > End Sub > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Wednesday, April 01, 2009 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Importing multiple txt files > > I planned on allowing the user to navigate to select the directory. > > Janet > > On Wed, Apr 1, 2009 at 12:21 PM, Hewson, Jim wrote: > >> Janet, >> Will the files always reside in the same directory or will the user >> be able to select the directory? >> >> Jim >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach >> Sent: Wednesday, April 01, 2009 12:12 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Importing multiple txt files >> >> Hello! >> >> I would like to programmatically import one by one all the text files > in >> a >> given directory - usually around 30 files. I've used code that I > copied >> from http://www.mvps.org/access/api/api0001.htm to allow the user to >> browse through windows directories and select a single file to >> process...but now I want to process ALL the files in a given >> directory, regardless of the number of files. I assumed I would >> build an array with the names of all the files and then loop through >> that array in my code to import and process them one by one. >> >> Does anyone know of code I could utilize that would allow me to >> identifity the names of all the txt files in a selected directory? >> I'm lost when it comes to interfacing Access with Windows in this >> way! >> >> Janet Erbach >> NaturalHealthyConcepts.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > ###################################################################### > ## > ######## >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> > ###################################################################### > ## > ######## >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ###################################################################### > ########## If you have received this message in error, please contact > the sender immediately and be aware that the use, copying, or > dissemination of this information is prohibited. This email > transmission contains information from NCI Information Systems, Inc. > that may be considered privileged or confidential and is intended > solely for the named recipient. > ###################################################################### > ########## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Apr 1 14:28:16 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 1 Apr 2009 19:28:16 +0000 Subject: [AccessD] un replicate mdb In-Reply-To: References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com> <801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: Hello All, I have an MDB that used to be replicated...I no longer have a need for this. Unfortunately, it is telling me it needs to be syncronized. How do I make it stop? Thanks, Mark A. Matte _________________________________________________________________ Rediscover Hotmail?: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 From cfoust at infostatsystems.com Wed Apr 1 14:47:33 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Apr 2009 12:47:33 -0700 Subject: [AccessD] un replicate mdb In-Reply-To: References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com><801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: Seems to me there used to be something you could download from MS to unreplicate a database. It leaves all the extra fields and so forth in there but turns off the rest of replication. I'm running on memory here, but poke around on the MS site. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, April 01, 2009 12:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] un replicate mdb Hello All, I have an MDB that used to be replicated...I no longer have a need for this. Unfortunately, it is telling me it needs to be syncronized. How do I make it stop? Thanks, Mark A. Matte _________________________________________________________________ Rediscover Hotmail(r): Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Storage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Apr 1 15:10:34 2009 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 1 Apr 2009 13:10:34 -0700 Subject: [AccessD] un replicate mdb In-Reply-To: References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FD@sanex101.nciinc.com><6ef6ac2c0904011023k6eeb3b9bt90a55b2f3fac2c9e@mail.gmail.com><7E02B06E41E5404589EDDDA2BAA1C5A86BD9FE@sanex101.nciinc.com><801C3D765DEE41B5B6EA2D7DAE893642@jislaptopdev> Message-ID: Take a look at Michael Kaplan's site http://www.trigeminal.com/utility.asp?1033 for the unreplicator. It was built for Access 2000 but should work with newer versions. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, April 01, 2009 12:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] un replicate mdb Hello All, I have an MDB that used to be replicated...I no longer have a need for this. Unfortunately, it is telling me it needs to be syncronized. How do I make it stop? Thanks, Mark A. Matte _________________________________________________________________ Rediscover HotmailR: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Sto rage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Wed Apr 1 16:51:21 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Thu, 02 Apr 2009 01:51:21 +0400 Subject: [AccessD] =?koi8-r?b?aHR0cDovL25vcnRod2luZC5jb2RlcGxleC5jb20=?= Message-ID: Cross-posted in dba-VB and AccessD === Hi All, Northwind.NET project has got the new version of publicly available source code today at http://northwind.codeplex.com This code is a result of the first week of SCRUM team work. Please download the code, try to run it, join dba-VB discussion... Stay tuned for the next versions of code planned to be released regularily every one-two weeks... Thank you. -- Shamil From jedi at charm.net Wed Apr 1 17:09:25 2009 From: jedi at charm.net (Michael Bahr) Date: Wed, 1 Apr 2009 18:09:25 -0400 (EDT) Subject: [AccessD] Solid State Disk performance In-Reply-To: <49D395A4.2010008@colbyconsulting.com> References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> <49D395A4.2010008@colbyconsulting.com> Message-ID: <2906.24.35.25.42.1238623765.squirrel@mail.expedient.net> Could you not use a thumb-drive of SD card for extra memory??? watch the line wrap--look at item #7 http://search.pricewatch.com/system_memory/ddr2-800_pc2-6400_8gb_kit-0.htm http://search.pricewatch.com/system_memory/ddr2-800_pc2-6400_4gb_kit-0.htm this stuff is not cheap! Mike... > Well Drew, it appears that memory is my bottleneck. My server only has 8 > gigs of RAM (in four > slots). I could put 16 in it but 4 gig dims made a brief appearance a > year ago or so then > disappeared. So I am stuck at 8 gigs unless they reappear. > > Two VMs run just fine, even with 3 gigs of ram each (needed for the > application). Running three, > even dropping the RAM down to 2.25 gigs causes the server to slow to a > crawl as the swap file comes > into play. > > Sigh. > > It looked so promising. I don't have the funds to go to server grade > hardware with 8 or more dimm > slots, registered memory and all that. > > But in the end, two virtual machines running full speed is better than > one, and I will take what I > can get. At least I can stop testing and go back to work. > > ;) > > John W. Colby > www.ColbyConsulting.com > > > Drew Wutka wrote: >> Why don't you double that, by getting a RAID controller and two of those >> drives, to stripe them? It'll read twice as fast! >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Wednesday, April 01, 2009 9:18 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Solid State Disk performance >> >> In this particular case I am just installing the application on a VM and >> then copying the VM so that >> I run one instance in each VM. Tech support for the application told me >> that as long as I have a >> license to use the software I could run more than one copy to speed up >> my processing. The >> application does most of the processing locally so it is just my own >> hardware taking the hit. It >> does upload a file for post processing but they told me I could do this >> (which is really pretty nice >> of them) so I am not violating any license. >> >> Running it in a VM allows me to move the application to a different >> server if I need without >> uninstalling / reinstalling / obtaining the key for the new install etc. >> Obviously it also allows >> me to run multiple instances to speed up the processing. >> >> I process huge tables, for example last night / today I am processing >> about 50 million records. My >> time to process (on an instance of the program) is about 4-5 million >> records / hour, however there >> is upload / process / download time on the remote server. Together the >> total comes to about 20 >> minutes per million records so it will take about 17 hours or so to >> process the table. If I can >> throw multiple VMs at it I can cut that by at least two, possibly three >> or even four. Nine hours is >> better than 17, 5 hours is better yet. >> >> We shall see. >> >> The SSD gives me extremely high (RAID 0 like) bandwidth, but it also >> gives me extremely high IO >> processing as well as extremely low latency. For a process like this >> where the system does nothing >> but read and process, the performance boost versus a hard disk is >> astounding. And all for a measly >> $125! >> >> John W. Colby >> www.ColbyConsulting.com >> The information contained in this transmission is intended only for the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not the >> intended recipient, please contact the sender immediately and destroy >> the material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance upon >> this information by persons or entities other than the intended >> recipient is prohibited. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Wed Apr 1 17:18:08 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 1 Apr 2009 17:18:08 -0500 Subject: [AccessD] Importing multiple txt files In-Reply-To: <6ef6ac2c0904011202m37e576c1w1130d18d9f98e6e9@mail.gmail.com> References: <6ef6ac2c0904011012u66a2aa10o37ed1b58a43a0ce3@mail.gmail.com> <6ef6ac2c0904011202m37e576c1w1130d18d9f98e6e9@mail.gmail.com> Message-ID: You are more then welcome! What I find most intriguing on the list, is that there are usually 2 or 3 solutions for a problem. It's interesting to see the different approaches. Personally, I know I'm stuck in my ways sometimes, but once in a while a different method kicks in an idea. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, April 01, 2009 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Importing multiple txt files All you guys... I haven't been on the forum for several years and I'm floored by the prompt replies and the excellent suggestions. Thank you very much!! Janet On Wed, Apr 1, 2009 at 12:25 PM, Drew Wutka wrote: > Dim strTemp as String > strTemp=Dir("C:\YourPath\*.txt") > Do until strTemp="" > Debug.print strTemp > strTemp=Dir > Loop > > Drew > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Darryl.Collins at coles.com.au Wed Apr 1 18:09:31 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 2 Apr 2009 10:09:31 +1100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F1392C@WPEXCH22.retail.ad.cmltd.net.au> Hi Susan, For Excel 2007 you can use the follow code (from Ron DeBruin) '====================================================================== Sub HideRibbon() Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" End Sub Sub ShowRibbon() Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)" End Sub '======================================================================== For other tweaking tips in Excel have a look here http://www.rondebruin.nl/ribbon.htm Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 2 April 2009 3:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument I can't recall ever using DoCmd in anything but Access -- and as part of the Access object model, it would makes sense that it isn't available to other applications, but thought I'd try. I've spent a little time in both Excel and Word's VBA Help and can't find anything helpful on hiding the ribbon -- even the Object Browser turns up nothing. Well, it turns up stuff, just nothing I could use. Surely you can hide the ribbon programmatically in Word and Excel? Susan H. > Hi Susan, > I don't know the answer but if you set a Reference to Microsoft Access 12 > Object Library then it will probably compile ok. > > Whether it works or not is another matter > > hth -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Darryl.Collins at coles.com.au Wed Apr 1 18:11:46 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 2 Apr 2009 10:11:46 +1100 Subject: [AccessD] Getting error of Ribbon argument In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne> <49d284c8.0a04d00a.2718.4926@mx.google.com> <49D3A032.4030406@colbyconsulting.com> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F1392E@WPEXCH22.retail.ad.cmltd.net.au> or if hiding in Excel. Sheets("SusanH").visible = xlveryhidden hehe.. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 2 April 2009 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting error of Ribbon argument LOL... DoCmd.ShowSusan acNo They'll never find me! ;) Susan H. > > You might want to keep a sharp eye over your shoulder. An enforcer is > headed your way. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From ssharkins at gmail.com Wed Apr 1 18:13:31 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 19:13:31 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com> <57E6E6CA42105A48B977303A2CDC27200815F1392C@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <62AA7BC4A4A941D8AADAC0A98B55BA37@SusanOne> Thanks Darryl, I'll give it a try! Susan H. > Hi Susan, > > For Excel 2007 you can use the follow code (from Ron DeBruin) > > '====================================================================== > Sub HideRibbon() > Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" > End Sub > > > Sub ShowRibbon() > Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)" > End Sub > '======================================================================== > > For other tweaking tips in Excel have a look here > http://www.rondebruin.nl/ribbon.htm > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, 2 April 2009 3:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Getting error of Ribbon argument > > I can't recall ever using DoCmd in anything but Access -- and as part of > the > Access object model, it would makes sense that it isn't available to other > applications, but thought I'd try. > > I've spent a little time in both Excel and Word's VBA Help and can't find > anything helpful on hiding the ribbon -- even the Object Browser turns up > nothing. Well, it turns up stuff, just nothing I could use. > > Surely you can hide the ribbon programmatically in Word and Excel? > > Susan H. > > >> Hi Susan, >> I don't know the answer but if you set a Reference to Microsoft Access 12 >> Object Library then it will probably compile ok. >> >> Whether it works or not is another matter >> >> hth > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire > liability will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 1 18:15:08 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Apr 2009 19:15:08 -0400 Subject: [AccessD] Solid State Disk performance In-Reply-To: <2906.24.35.25.42.1238623765.squirrel@mail.expedient.net> References: <49D36813.8000904@colbyconsulting.com> <49D3777B.90508@colbyconsulting.com> <49D395A4.2010008@colbyconsulting.com> <2906.24.35.25.42.1238623765.squirrel@mail.expedient.net> Message-ID: <49D3F57C.90509@colbyconsulting.com> Michael, Thanks for the references. As you might notice, most "8 gb" kits are 4 x 2gb which is what I have in it right now. The 4 gb x 1 was briefly available, starting at well over 400$ each, working quickly down to about $150. I came this close to buying at that price but decided to wait for the magic hundred dollar mark. They went away instead. 8( Yea, there are several that are fully buffered but I don't believe they will work in unbuffered slots. Not certain, just an educated guess. The 4 GB x 1 that is available now is about $400 again. Too rich for my blood. I need FOUR of these things per server times two servers. Ouch! John W. Colby www.ColbyConsulting.com Michael Bahr wrote: > Could you not use a thumb-drive of SD card for extra memory??? > > watch the line wrap--look at item #7 > http://search.pricewatch.com/system_memory/ddr2-800_pc2-6400_8gb_kit-0.htm > http://search.pricewatch.com/system_memory/ddr2-800_pc2-6400_4gb_kit-0.htm > this stuff is not cheap! > > Mike... > > >> Well Drew, it appears that memory is my bottleneck. My server only has 8 >> gigs of RAM (in four >> slots). I could put 16 in it but 4 gig dims made a brief appearance a >> year ago or so then >> disappeared. So I am stuck at 8 gigs unless they reappear. >> >> Two VMs run just fine, even with 3 gigs of ram each (needed for the >> application). Running three, >> even dropping the RAM down to 2.25 gigs causes the server to slow to a >> crawl as the swap file comes >> into play. >> >> Sigh. >> >> It looked so promising. I don't have the funds to go to server grade >> hardware with 8 or more dimm >> slots, registered memory and all that. >> >> But in the end, two virtual machines running full speed is better than >> one, and I will take what I >> can get. At least I can stop testing and go back to work. >> >> ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Drew Wutka wrote: >>> Why don't you double that, by getting a RAID controller and two of those >>> drives, to stripe them? It'll read twice as fast! >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Wednesday, April 01, 2009 9:18 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Solid State Disk performance >>> >>> In this particular case I am just installing the application on a VM and >>> then copying the VM so that >>> I run one instance in each VM. Tech support for the application told me >>> that as long as I have a >>> license to use the software I could run more than one copy to speed up >>> my processing. The >>> application does most of the processing locally so it is just my own >>> hardware taking the hit. It >>> does upload a file for post processing but they told me I could do this >>> (which is really pretty nice >>> of them) so I am not violating any license. >>> >>> Running it in a VM allows me to move the application to a different >>> server if I need without >>> uninstalling / reinstalling / obtaining the key for the new install etc. >>> Obviously it also allows >>> me to run multiple instances to speed up the processing. >>> >>> I process huge tables, for example last night / today I am processing >>> about 50 million records. My >>> time to process (on an instance of the program) is about 4-5 million >>> records / hour, however there >>> is upload / process / download time on the remote server. Together the >>> total comes to about 20 >>> minutes per million records so it will take about 17 hours or so to >>> process the table. If I can >>> throw multiple VMs at it I can cut that by at least two, possibly three >>> or even four. Nine hours is >>> better than 17, 5 hours is better yet. >>> >>> We shall see. >>> >>> The SSD gives me extremely high (RAID 0 like) bandwidth, but it also >>> gives me extremely high IO >>> processing as well as extremely low latency. For a process like this >>> where the system does nothing >>> but read and process, the performance boost versus a hard disk is >>> astounding. And all for a measly >>> $125! >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> The information contained in this transmission is intended only for the >>> person or entity to which it is addressed and may contain II-VI >>> Proprietary and/or II-VI Business Sensitive material. If you are not the >>> intended recipient, please contact the sender immediately and destroy >>> the material in its entirety, whether electronic or hard copy. You are >>> notified that any review, retransmission, copying, disclosure, >>> dissemination, or other use of, or taking of any action in reliance upon >>> this information by persons or entities other than the intended >>> recipient is prohibited. >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From ssharkins at gmail.com Wed Apr 1 18:17:39 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 1 Apr 2009 19:17:39 -0400 Subject: [AccessD] Getting error of Ribbon argument References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com><49D3A032.4030406@colbyconsulting.com> <57E6E6CA42105A48B977303A2CDC27200815F1392E@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: Kind of gives new meaning to hiding between the sheets! ;) Susan H. > > or if hiding in Excel. > > Sheets("SusanH").visible = xlveryhidden > > hehe.. :) From markamatte at hotmail.com Thu Apr 2 11:49:08 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 2 Apr 2009 16:49:08 +0000 Subject: [AccessD] Web pages to remote servers In-Reply-To: References: <8955CB12E2D3492CBE8721645028223E@SusanOne><49d284c8.0a04d00a.2718.4926@mx.google.com><49D3A032.4030406@colbyconsulting.com> <57E6E6CA42105A48B977303A2CDC27200815F1392E@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: Hello All, This is from a co-worker...he is moving his app from Access to MySQL...and is having issues with the remote connections( any database type) on the new server. Any ideas? Thanks, Mark A. Matte >From web pages, I cannot connect to any remote database, regardless of the DB Engine (Informix, SQL Server, MS Access, etc.), regardless if I use a connection string or connect via ODBC. However, if I script in VB and compile as an EXE, connections work fine; I've pulled data from the remote DB's using that method. So I know the server, itself, is correctly resolving connections to remote DB's... and that the problem is related to IIS. I've researched and found references to some XML configuration files that can impact this..."machine.config" and "web.config", maybe "security.config"... things that are new and peculiar to ASP.NET, but the references are not clear as to how to use them to change this behaviour. _________________________________________________________________ Rediscover Hotmail?: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 From jwcolby at colbyconsulting.com Thu Apr 2 12:32:35 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 13:32:35 -0400 Subject: [AccessD] http://northwind.codeplex.com In-Reply-To: References: Message-ID: <49D4F6B3.4030509@colbyconsulting.com> I need to get a count of records in a PK range in SQL Server. For example I need to know that there are X addresses between PKID Y and PKID Z. Any idea how to do this in tsql? John W. Colby www.ColbyConsulting.com Salakhetdinov Shamil wrote: > Cross-posted in dba-VB and AccessD > === > > Hi All, > > Northwind.NET project has got the new version of publicly available source code today at > > http://northwind.codeplex.com > > This code is a result of the first week of SCRUM team work. > > Please download the code, try to run it, join dba-VB discussion... > > Stay tuned for the next versions of code planned to be released regularily every one-two weeks... > > Thank you. > > -- > Shamil > > > From cfoust at infostatsystems.com Thu Apr 2 13:08:19 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 11:08:19 -0700 Subject: [AccessD] http://northwind.codeplex.com In-Reply-To: <49D4F6B3.4030509@colbyconsulting.com> References: <49D4F6B3.4030509@colbyconsulting.com> Message-ID: Maybe this is too simple, but wouldn't you just select Count(PKID) Where PKID less than or equal to PKID Z and Greater than or equal to PKID Y? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 02, 2009 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] http://northwind.codeplex.com I need to get a count of records in a PK range in SQL Server. For example I need to know that there are X addresses between PKID Y and PKID Z. Any idea how to do this in tsql? John W. Colby www.ColbyConsulting.com Salakhetdinov Shamil wrote: > Cross-posted in dba-VB and AccessD > === > > Hi All, > > Northwind.NET project has got the new version of publicly available > source code today at > > http://northwind.codeplex.com > > This code is a result of the first week of SCRUM team work. > > Please download the code, try to run it, join dba-VB discussion... > > Stay tuned for the next versions of code planned to be released regularily every one-two weeks... > > Thank you. > > -- > Shamil > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 2 13:51:03 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 14:51:03 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> Message-ID: <49D50917.2090901@colbyconsulting.com> Charlotte, You could do that. But I need it to show me steps of X PKID. Perhaps every 1 meg PK over 50 megs of records. Like that. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > Maybe this is too simple, but wouldn't you just select Count(PKID) Where > PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 02, 2009 10:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > I need to get a count of records in a PK range in SQL Server. For > example I need to know that there are X addresses between PKID Y and > PKID Z. > > Any idea how to do this in tsql? > > John W. Colby > www.ColbyConsulting.com > > > Salakhetdinov Shamil wrote: >> Cross-posted in dba-VB and AccessD >> === >> >> Hi All, >> >> Northwind.NET project has got the new version of publicly available >> source code today at >> >> http://northwind.codeplex.com >> >> This code is a result of the first week of SCRUM team work. >> >> Please download the code, try to run it, join dba-VB discussion... >> >> Stay tuned for the next versions of code planned to be released > regularily every one-two weeks... >> Thank you. >> >> -- >> Shamil >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Apr 2 14:02:45 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 12:02:45 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me Message-ID: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From Lambert.Heenan at aiuholdings.com Thu Apr 2 13:23:30 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 2 Apr 2009 14:23:30 -0400 Subject: [AccessD] http://northwind.codeplex.com In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> Message-ID: Always assuming of course that your PK is something sequential. Which opens up that age old topic "Should Primary Keys have any meaning?" Who said that? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] http://northwind.codeplex.com Maybe this is too simple, but wouldn't you just select Count(PKID) Where PKID less than or equal to PKID Z and Greater than or equal to PKID Y? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 02, 2009 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] http://northwind.codeplex.com I need to get a count of records in a PK range in SQL Server. For example I need to know that there are X addresses between PKID Y and PKID Z. Any idea how to do this in tsql? John W. Colby www.ColbyConsulting.com Salakhetdinov Shamil wrote: > Cross-posted in dba-VB and AccessD > === > > Hi All, > > Northwind.NET project has got the new version of publicly available > source code today at > > http://northwind.codeplex.com > > This code is a result of the first week of SCRUM team work. > > Please download the code, try to run it, join dba-VB discussion... > > Stay tuned for the next versions of code planned to be released regularily every one-two weeks... > > Thank you. > > -- > Shamil > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 2 14:34:10 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 12:34:10 -0700 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D50917.2090901@colbyconsulting.com> References: <49D4F6B3.4030509@colbyconsulting.com> <49D50917.2090901@colbyconsulting.com> Message-ID: I said it was probably too simple! LOL You forgot to mention the rest of it in your original post. Can't help. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 02, 2009 11:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Count of records in PK range Charlotte, You could do that. But I need it to show me steps of X PKID. Perhaps every 1 meg PK over 50 megs of records. Like that. John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Thu Apr 2 14:36:52 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 12:36:52 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From phpons at gmail.com Thu Apr 2 14:39:37 2009 From: phpons at gmail.com (philippe pons) Date: Thu, 2 Apr 2009 21:39:37 +0200 Subject: [AccessD] http://northwind.codeplex.com In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> Message-ID: <57144ced0904021239l2f137391wf45db1112c46c3e3@mail.gmail.com> It seems there is nothing to download from codeplex! Philippe 2009/4/2 Heenan, Lambert > Always assuming of course that your PK is something sequential. Which opens > up that age old topic "Should Primary Keys have any meaning?" > > Who said that? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, April 02, 2009 2:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > Maybe this is too simple, but wouldn't you just select Count(PKID) Where > PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 02, 2009 10:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > I need to get a count of records in a PK range in SQL Server. For example > I need to know that there are X addresses between PKID Y and PKID Z. > > Any idea how to do this in tsql? > > John W. Colby > www.ColbyConsulting.com > > > Salakhetdinov Shamil wrote: > > Cross-posted in dba-VB and AccessD > > === > > > > Hi All, > > > > Northwind.NET project has got the new version of publicly available > > source code today at > > > > http://northwind.codeplex.com > > > > This code is a result of the first week of SCRUM team work. > > > > Please download the code, try to run it, join dba-VB discussion... > > > > Stay tuned for the next versions of code planned to be released > regularily every one-two weeks... > > > > Thank you. > > > > -- > > Shamil > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Apr 2 14:45:07 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 15:45:07 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> Message-ID: <49D515C3.8050109@colbyconsulting.com> ROTFL. They are sequential, and they have no meaning in my databases. And even here all they mean is that they exist. John W. Colby www.ColbyConsulting.com Heenan, Lambert wrote: > Always assuming of course that your PK is something sequential. Which opens up that age old topic "Should Primary Keys have any meaning?" > > Who said that? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, April 02, 2009 2:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > Maybe this is too simple, but wouldn't you just select Count(PKID) Where PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 02, 2009 10:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > I need to get a count of records in a PK range in SQL Server. For example I need to know that there are X addresses between PKID Y and PKID Z. > > Any idea how to do this in tsql? > > John W. Colby > www.ColbyConsulting.com > > > Salakhetdinov Shamil wrote: >> Cross-posted in dba-VB and AccessD >> === >> >> Hi All, >> >> Northwind.NET project has got the new version of publicly available >> source code today at >> >> http://northwind.codeplex.com >> >> This code is a result of the first week of SCRUM team work. >> >> Please download the code, try to run it, join dba-VB discussion... >> >> Stay tuned for the next versions of code planned to be released > regularily every one-two weeks... >> Thank you. >> >> -- >> Shamil >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Thu Apr 2 15:00:15 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 21:00:15 +0100 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D515C3.8050109@colbyconsulting.com> References: <49D4F6B3.4030509@colbyconsulting.com> <49D515C3.8050109@colbyconsulting.com> Message-ID: <49d51953.0aaa660a.114a.fffff161@mx.google.com> Yes, but the question is surely "Does it have an intrinsic meaning" to which the answer should be no. That does not imply that it has no meaning whatsoever, within a programming sense. To the End User they have no meaning. To the programmer every "object" (in its broadest sense possible) has meaning. Am I right? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 02 April 2009 20:45 To: Access Developers discussion and problem solving Subject: [AccessD] Count of records in PK range ROTFL. They are sequential, and they have no meaning in my databases. And even here all they mean is that they exist. John W. Colby www.ColbyConsulting.com Heenan, Lambert wrote: > Always assuming of course that your PK is something sequential. Which opens up that age old topic "Should Primary Keys have any meaning?" > > Who said that? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, April 02, 2009 2:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > Maybe this is too simple, but wouldn't you just select Count(PKID) Where PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 02, 2009 10:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] http://northwind.codeplex.com > > I need to get a count of records in a PK range in SQL Server. For example I need to know that there are X addresses between PKID Y and PKID Z. > > Any idea how to do this in tsql? > > John W. Colby > www.ColbyConsulting.com > > > Salakhetdinov Shamil wrote: >> Cross-posted in dba-VB and AccessD >> === >> >> Hi All, >> >> Northwind.NET project has got the new version of publicly available >> source code today at >> >> http://northwind.codeplex.com >> >> This code is a result of the first week of SCRUM team work. >> >> Please download the code, try to run it, join dba-VB discussion... >> >> Stay tuned for the next versions of code planned to be released > regularily every one-two weeks... >> Thank you. >> >> -- >> Shamil >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 2 15:03:02 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 13:03:02 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 2 15:11:22 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 16:11:22 -0400 Subject: [AccessD] SPAM-LOW: Re: Count of records in PK range In-Reply-To: <49d51953.0aaa660a.114a.fffff161@mx.google.com> References: <49D4F6B3.4030509@colbyconsulting.com> <49D515C3.8050109@colbyconsulting.com> <49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: <49D51BEA.9010704@colbyconsulting.com> You are right of course. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Yes, but the question is surely "Does it have an intrinsic meaning" to which > the answer should be no. That does not imply that it has no meaning > whatsoever, within a programming sense. To the End User they have no > meaning. To the programmer every "object" (in its broadest sense possible) > has meaning. > > Am I right? > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 02 April 2009 20:45 > To: Access Developers discussion and problem solving > Subject: [AccessD] Count of records in PK range > > ROTFL. > > They are sequential, and they have no meaning in my databases. And even here > all they mean is that > they exist. > > John W. Colby > www.ColbyConsulting.com > > > Heenan, Lambert wrote: >> Always assuming of course that your PK is something sequential. Which > opens up that age old topic "Should Primary Keys have any meaning?" >> Who said that? >> >> Lambert From dwaters at usinternet.com Thu Apr 2 15:16:09 2009 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Apr 2009 15:16:09 -0500 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: <63F89840A13946ACA83F95B4B9115DF3@danwaters> Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Apr 2 15:32:42 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 13:32:42 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <63F89840A13946ACA83F95B4B9115DF3@danwaters> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 2 15:42:40 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 21:42:40 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: <49d52344.0af6660a.6940.7349@mx.google.com> Rocky, Might be way off the beam, but 1. have a look at how you are "entering" the control 2. the have a look at what "options" you have selected, eg (1-start of text, 2= end of test, etc) = cant actually remember what the options are, but one may be overriding the other, IOW your code may be running ok, and then you may have a system option saying "go to end of text". Worth a look anyway. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 21:33 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Apr 2 15:50:56 2009 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Apr 2009 15:50:56 -0500 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005><63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: <15A20F20D07C45DB994687266AC4FBCC@danwaters> Hmmmm. Try passing the textbox as a textbox instead of as a control. Mine does work this way. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan From cfoust at infostatsystems.com Thu Apr 2 15:50:19 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 13:50:19 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: That was a bit of very old code, probably from 2k. Switch the control out for a textbox and see how that works. Basically, what you're telling it to do is start at the zero position and set the SelLength to the length of the control.text in the control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 1:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 2 15:52:30 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 13:52:30 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005><63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: Then maybe we don't have all the information we need. Am I correct in supposing this is an Access textbox (not a label)? At what point in the process are you trying to select the text? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky From cfoust at infostatsystems.com Thu Apr 2 15:58:54 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 13:58:54 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005><63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: Rocky, I just noticed in your original post that the textbox is bound to a numeric 0 or 1. Try it with a textbox bound to a string field. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky From rockysmolin at bchacc.com Thu Apr 2 16:06:58 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:06:58 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <49d52344.0af6660a.6940.7349@mx.google.com> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <63F89840A13946ACA83F95B4B9115DF3@danwaters> <49d52344.0af6660a.6940.7349@mx.google.com> Message-ID: <5782B27565EA4888B5358E9527C539D1@HAL9005> Max: I seem to recall something about those options but can't find them anywhere in the property sheet. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 1:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Rocky, Might be way off the beam, but 1. have a look at how you are "entering" the control 2. the have a look at what "options" you have selected, eg (1-start of text, 2= end of test, etc) = cant actually remember what the options are, but one may be overriding the other, IOW your code may be running ok, and then you may have a system option saying "go to end of text". Worth a look anyway. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 21:33 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 2 16:07:03 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 22:07:03 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From max.wanadoo at gmail.com Thu Apr 2 16:11:29 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 22:11:29 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <5782B27565EA4888B5358E9527C539D1@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <63F89840A13946ACA83F95B4B9115DF3@danwaters> <49d52344.0af6660a.6940.7349@mx.google.com> <5782B27565EA4888B5358E9527C539D1@HAL9005> Message-ID: <49d52a05.02a1660a.2103.4f2e@mx.google.com> No, they are database options. I don't have access available at the moment, but one of the main options has "Options" as an option (!) and from there you select the "Keyboard" tab. Something like that. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:07 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Max: I seem to recall something about those options but can't find them anywhere in the property sheet. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 1:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Rocky, Might be way off the beam, but 1. have a look at how you are "entering" the control 2. the have a look at what "options" you have selected, eg (1-start of text, 2= end of test, etc) = cant actually remember what the options are, but one may be overriding the other, IOW your code may be running ok, and then you may have a system option saying "go to end of text". Worth a look anyway. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 21:33 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 2 16:10:47 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Apr 2009 14:10:47 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> Message-ID: But you can force it to select the current text using code. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max From rockysmolin at bchacc.com Thu Apr 2 16:12:14 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:12:14 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> Message-ID: <58915F8929A2411BA770348B17FE54D8@HAL9005> Rats. Still nothing. I've done this before in other apps, too. And had it work. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 1:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me That was a bit of very old code, probably from 2k. Switch the control out for a textbox and see how that works. Basically, what you're telling it to do is start at the zero position and set the SelLength to the length of the control.text in the control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 1:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Apr 2 16:13:16 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:13:16 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005><63F89840A13946ACA83F95B4B9115DF3@danwaters> Message-ID: Access textbox. I tried the code in both the Got Focus event and the Enter event. I don't think is makes any difference because I'm calling a sub in either case. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 1:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Then maybe we don't have all the information we need. Am I correct in supposing this is an Access textbox (not a label)? At what point in the process are you trying to select the text? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 2 16:17:55 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:17:55 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> Message-ID: <7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 2 16:18:15 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 22:18:15 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> Message-ID: <49d52b9a.0ab6660a.15dd.632a@mx.google.com> Yes, I know and you know, but Rocky Can't! (sorry Rocky!) But Why? Rocky, do you want to strip out a form with just that text box and associated code? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 02 April 2009 22:11 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me But you can force it to select the current text using code. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 2 16:19:24 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:19:24 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <49d52a05.02a1660a.2103.4f2e@mx.google.com> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <63F89840A13946ACA83F95B4B9115DF3@danwaters> <49d52344.0af6660a.6940.7349@mx.google.com><5782B27565EA4888B5358E9527C539D1@HAL9005> <49d52a05.02a1660a.2103.4f2e@mx.google.com> Message-ID: <35A1DF7831F342B8AA1E7C3A5FCFB56A@HAL9005> That works when tabbing into the field. But not on the click. But the call to the select sub does work. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me No, they are database options. I don't have access available at the moment, but one of the main options has "Options" as an option (!) and from there you select the "Keyboard" tab. Something like that. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:07 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Max: I seem to recall something about those options but can't find them anywhere in the property sheet. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 1:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Rocky, Might be way off the beam, but 1. have a look at how you are "entering" the control 2. the have a look at what "options" you have selected, eg (1-start of text, 2= end of test, etc) = cant actually remember what the options are, but one may be overriding the other, IOW your code may be running ok, and then you may have a system option saying "go to end of text". Worth a look anyway. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 21:33 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Dan: The code doesn't error. Just doesn't select the text. I put in some MsgBoxes. Everything checks out. Just doesn't select the text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 02, 2009 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky, For spellchecking I do this, and it works every time. txt.SelStart = 0 txt.SelLength = Len(txt.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True You might be having an issue with ctl, because I don't think that every control has a length. Also, the + 1 on the length could be a problem too. Which line does your code error out on? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Charlotte: I pasted in the SelectEntire module and called it with Call SelectEntire(Me.fldFHxDetaiMotherResponse) but no cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 02, 2009 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sel Start and Sel Length not working for me Public Sub SelectEntire(ctl As Control) On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) + 1 If Err <> 0 Then ctl.SelLength = Len(ctl.Value) + 1 End If End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 2 16:24:11 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 22:24:11 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> <7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> Message-ID: <49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com> ...and does it still work if you tab into it ...and does it still work if you select it in code, ie: me!textname.setfocus And every other way it can be selected? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Apr 2 16:28:05 2009 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 03 Apr 2009 10:28:05 +1300 Subject: [AccessD] Multiple Users ADE and SQL Message-ID: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Hi Team, I have received this information: "Citrix creates a new application instance per session. If an opened file creates a lock file then I don't believe there is any way around this short of creating multiple instances." It seems strange that the file should be locked if separate instances are created. I wonder if it is because the AccessXP application is being run through an Access 2003 runtime? The Client 1 below is using an Access XP runtime, the other two are using Access 2003. Regards David At 26/03/2009, you wrote: >This is more for clarification than anything else. > >I have a couple of clients: > >Client 1: Access XP ade using SQL2000 BE over terminal services. >Client 2: Access XP ade using SQL2005 BE over Citrix >Client 3: Access XP ade using SQL2005 BE over remote desktop. > > From Microsoft help >http://support.microsoft.com/default.aspx?scid=kb;en-us;322762 they say: > >When users in a multiuser environment try to open a Microsoft Access >project (.adp) file or a Microsoft Access project extension (.ade) >file, they may receive an error message similar to the following: >The database DatabaseName will be opened read-only because one of the >following occurred: The file is locked for editing by another user, >or the file (or the folder in which it is located) is marked as >read-only, or you specified that you wanted to open this file read-only. >This behavior is by design. An Access project is strictly a client >and has no multiuser capability. > > >In the situation of Client 1 there is no problem with multiple users >opening the same file, but in the other two cases the clients get the >error message. Is this because Terminal server actually opens >separate instances of the FE whereas the other two cases are trying >to open the same physical file? > > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand From max.wanadoo at gmail.com Thu Apr 2 16:30:48 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 2 Apr 2009 22:30:48 +0100 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com> <7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> Message-ID: <49d52e8c.0af5660a.1586.ffffdec5@mx.google.com> Also, The reason for this is that your code is working when you tab into it but when you click on it - well, it is doing what you are telling it to do which is "select the current entry at the point when I click". It cannot be any thing other than that Rocky. You wouldn't want to click on a field and then have it position at the first character when you click on the, say 20th character with the aim of changing it from A to B. If it done that then the only way left would the to right arrow along to the character you want, each and every time you clicked on a field. Think about it! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Apr 2 16:32:13 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 Apr 2009 07:32:13 +1000 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D50917.2090901@colbyconsulting.com> References: , , <49D50917.2090901@colbyconsulting.com> Message-ID: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> You mean something like: Select Distinct, Int(PKID/1000000) as PKMegRange, Count(*) as Records from myTable Group By Int(PKID/1000000) Order by Int(PKID/1000000) On 2 Apr 2009 at 14:51, jwcolby wrote: > You could do that. But I need it to show me steps of X PKID. Perhaps > every 1 meg PK over 50 megs of records. ,,, > Charlotte Foust wrote: > > Maybe this is too simple, but wouldn't you just select Count(PKID) Where > > PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > > -----Original Message----- ... > > I need to get a count of records in a PK range in SQL Server. For > > example I need to know that there are X addresses between PKID Y and > > PKID Z. > > > > Any idea how to do this in tsql? From jwcolby at colbyconsulting.com Thu Apr 2 16:44:25 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 17:44:25 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> References: , , <49D50917.2090901@colbyconsulting.com> <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> Message-ID: <49D531B9.7080700@colbyconsulting.com> You da man (again). Why distinct? John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > You mean something like: > > Select Distinct, Int(PKID/1000000) as PKMegRange, Count(*) as Records > from myTable > Group By Int(PKID/1000000) > Order by Int(PKID/1000000) > > On 2 Apr 2009 at 14:51, jwcolby wrote: > >> You could do that. But I need it to show me steps of X PKID. Perhaps >> every 1 meg PK over 50 megs of records. > ,,, >> Charlotte Foust wrote: >>> Maybe this is too simple, but wouldn't you just select Count(PKID) Where >>> PKID less than or equal to PKID Z and Greater than or equal to PKID Y? >>> -----Original Message----- > ... >>> I need to get a count of records in a PK range in SQL Server. For >>> example I need to know that there are X addresses between PKID Y and >>> PKID Z. >>> >>> Any idea how to do this in tsql? > From rockysmolin at bchacc.com Thu Apr 2 16:50:10 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 14:50:10 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com><7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005> <49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com> Message-ID: <2F81CA8DCC8940FB805D1910245C7EAC@HAL9005> I'll need an OnClick cal to select the text. But the database options to select entire field seems to work for the tabbing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me ...and does it still work if you tab into it ...and does it still work if you select it in code, ie: me!textname.setfocus And every other way it can be selected? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From anitatiedemann at gmail.com Thu Apr 2 17:23:51 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Fri, 3 Apr 2009 09:23:51 +1100 Subject: [AccessD] Multiple Users ADE and SQL In-Reply-To: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: David, I'm wondering what would happen if you modified the shortcut that opens your application to include the runtime option. PathToAccess PathToAccessFile /runtime I always use that to get rid of the message that Access will be opened in read only mode. Anita Smith On Fri, Apr 3, 2009 at 8:28 AM, David Emerson wrote: > Hi Team, > > I have received this information: > "Citrix creates a new application instance per session. If an opened > file creates a lock file then I don't believe there is any way around > this short of creating multiple instances." > > It seems strange that the file should be locked if separate instances > are created. I wonder if it is because the AccessXP application is > being run through an Access 2003 runtime? The Client 1 below is > using an Access XP runtime, the other two are using Access 2003. > > Regards > > David > > At 26/03/2009, you wrote: > >This is more for clarification than anything else. > > > >I have a couple of clients: > > > >Client 1: Access XP ade using SQL2000 BE over terminal services. > >Client 2: Access XP ade using SQL2005 BE over Citrix > >Client 3: Access XP ade using SQL2005 BE over remote desktop. > > > > From Microsoft help > >http://support.microsoft.com/default.aspx?scid=kb;en-us;322762 they say: > > > >When users in a multiuser environment try to open a Microsoft Access > >project (.adp) file or a Microsoft Access project extension (.ade) > >file, they may receive an error message similar to the following: > >The database DatabaseName will be opened read-only because one of the > >following occurred: The file is locked for editing by another user, > >or the file (or the folder in which it is located) is marked as > >read-only, or you specified that you wanted to open this file read-only. > >This behavior is by design. An Access project is strictly a client > >and has no multiuser capability. > > > > > >In the situation of Client 1 there is no problem with multiple users > >opening the same file, but in the other two cases the clients get the > >error message. Is this because Terminal server actually opens > >separate instances of the FE whereas the other two cases are trying > >to open the same physical file? > > > > > >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 stuart at lexacorp.com.pg Thu Apr 2 17:38:07 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 Apr 2009 08:38:07 +1000 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D531B9.7080700@colbyconsulting.com> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D531B9.7080700@colbyconsulting.com> Message-ID: <49D5CAEF.11885.2C1A80F9@stuart.lexacorp.com.pg> Habit. I always use Distinct with Group By queries whether it is necessary or not. It doesn't do any harm and I don't have to stop and think about whether I need to use Distinct on a specific occasion. :-) Stuart On 2 Apr 2009 at 17:44, jwcolby wrote: > You da man (again). Why distinct? > > John W. Colby > www.ColbyConsulting.com > > > Stuart McLachlan wrote: > > You mean something like: > > > > Select Distinct, Int(PKID/1000000) as PKMegRange, Count(*) as Records > > from myTable > > Group By Int(PKID/1000000) > > Order by Int(PKID/1000000) > > > > On 2 Apr 2009 at 14:51, jwcolby wrote: > > > >> You could do that. But I need it to show me steps of X PKID. Perhaps > >> every 1 meg PK over 50 megs of records. > > ,,, > >> Charlotte Foust wrote: > >>> Maybe this is too simple, but wouldn't you just select Count(PKID) Where > >>> PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > >>> -----Original Message----- > > ... > >>> I need to get a count of records in a PK range in SQL Server. For > >>> example I need to know that there are X addresses between PKID Y and > >>> PKID Z. > >>> > >>> Any idea how to do this in tsql? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Thu Apr 2 17:42:36 2009 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 03 Apr 2009 11:42:36 +1300 Subject: [AccessD] Multiple Users ADE and SQL In-Reply-To: References: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20090402224121.OENH18933.mta02.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Anita, I'll give it a try. David At 3/04/2009, you wrote: >David, >I'm wondering what would happen if you modified the shortcut that opens your >application to include the runtime option. > >PathToAccess PathToAccessFile /runtime > >I always use that to get rid of the message that Access will be opened in >read only mode. > >Anita Smith >On Fri, Apr 3, 2009 at 8:28 AM, David Emerson wrote: > > > Hi Team, > > > > I have received this information: > > "Citrix creates a new application instance per session. If an opened > > file creates a lock file then I don't believe there is any way around > > this short of creating multiple instances." > > > > It seems strange that the file should be locked if separate instances > > are created. I wonder if it is because the AccessXP application is > > being run through an Access 2003 runtime? The Client 1 below is > > using an Access XP runtime, the other two are using Access 2003. > > > > Regards > > > > David > > > > At 26/03/2009, you wrote: > > >This is more for clarification than anything else. > > > > > >I have a couple of clients: > > > > > >Client 1: Access XP ade using SQL2000 BE over terminal services. > > >Client 2: Access XP ade using SQL2005 BE over Citrix > > >Client 3: Access XP ade using SQL2005 BE over remote desktop. > > > > > > From Microsoft help > > >http://support.microsoft.com/default.aspx?scid=kb;en-us;322762 they say: > > > > > >When users in a multiuser environment try to open a Microsoft Access > > >project (.adp) file or a Microsoft Access project extension (.ade) > > >file, they may receive an error message similar to the following: > > >The database DatabaseName will be opened read-only because one of the > > >following occurred: The file is locked for editing by another user, > > >or the file (or the folder in which it is located) is marked as > > >read-only, or you specified that you wanted to open this file read-only. > > >This behavior is by design. An Access project is strictly a client > > >and has no multiuser capability. > > > > > > > > >In the situation of Client 1 there is no problem with multiple users > > >opening the same file, but in the other two cases the clients get the > > >error message. Is this because Terminal server actually opens > > >separate instances of the FE whereas the other two cases are trying > > >to open the same physical file? > > > > > > > > >Regards > > > > > >David Emerson > > >Dalyn Software Ltd > > >Wellington, New Zealand From mcp2004 at mail.ru Thu Apr 2 18:04:49 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Fri, 03 Apr 2009 03:04:49 +0400 Subject: [AccessD] =?koi8-r?b?Tm9ydGh3aW5kLk5FVCBzb3VyY2VzICAtIGh0dHA6Ly9u?= =?koi8-r?b?b3J0aHdpbmQuY29kZXBsZXguY29tL1NvdXJjZUNvbnRyb2wvY2hh?= =?koi8-r?b?bmdlc2V0L3ZpZXcvMzgxNA==?= Message-ID: Crossposted to dba-VB and AccessD -- Hi All, I must say that the yesterday version of the subject code was incomplete. Please download and use the source code from today: http://northwind.codeplex.com/SourceControl/changeset/view/3814 (there is a download link on this page) It was tested by downloading and compiling. Please note that there are three SQL scripts within FE project's sources that should be applied to the MS SQL database to get it in synch with the code. Sorry for any inconvenience. Please always report here or privately to me or Gustav about any problems with published code sources. Thank you. -- Shamil From wdhindman at dejpolsystems.com Thu Apr 2 18:16:19 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Apr 2009 19:16:19 -0400 Subject: [AccessD] Count of records in PK range References: <49D4F6B3.4030509@colbyconsulting.com> <49D515C3.8050109@colbyconsulting.com> <49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: ...Drew? ...is that you Drew? William -------------------------------------------------- From: "Max Wanadoo" Sent: Thursday, April 02, 2009 4:00 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Count of records in PK range > Yes, but the question is surely "Does it have an intrinsic meaning" to > which > the answer should be no. That does not imply that it has no meaning > whatsoever, within a programming sense. To the End User they have no > meaning. To the programmer every "object" (in its broadest sense > possible) > has meaning. > > Am I right? > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 02 April 2009 20:45 > To: Access Developers discussion and problem solving > Subject: [AccessD] Count of records in PK range > > ROTFL. > > They are sequential, and they have no meaning in my databases. And even > here > all they mean is that > they exist. > > John W. Colby > www.ColbyConsulting.com > > > Heenan, Lambert wrote: >> Always assuming of course that your PK is something sequential. Which > opens up that age old topic "Should Primary Keys have any meaning?" >> >> Who said that? >> >> Lambert >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, April 02, 2009 2:08 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] http://northwind.codeplex.com >> >> Maybe this is too simple, but wouldn't you just select Count(PKID) Where > PKID less than or equal to PKID Z and Greater than or equal to PKID Y? >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, April 02, 2009 10:33 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] http://northwind.codeplex.com >> >> I need to get a count of records in a PK range in SQL Server. For >> example > I need to know that there are X addresses between PKID Y and PKID Z. >> >> Any idea how to do this in tsql? >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Salakhetdinov Shamil wrote: >>> Cross-posted in dba-VB and AccessD >>> === >>> >>> Hi All, >>> >>> Northwind.NET project has got the new version of publicly available >>> source code today at >>> >>> http://northwind.codeplex.com >>> >>> This code is a result of the first week of SCRUM team work. >>> >>> Please download the code, try to run it, join dba-VB discussion... >>> >>> Stay tuned for the next versions of code planned to be released >> regularily every one-two weeks... >>> Thank you. >>> >>> -- >>> Shamil >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Apr 2 18:34:52 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Apr 2009 16:34:52 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <2F81CA8DCC8940FB805D1910245C7EAC@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com><7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005><49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com> <2F81CA8DCC8940FB805D1910245C7EAC@HAL9005> Message-ID: <0BF2186005084798AE6CE9760F92873A@HAL9005> I set the options to select the entire field but it didn't seem to hold. The field wasn't selected when I tabbed into it and when I looked at the option it was set back to start of field. What I needed was: Application.SetOption "Behavior Entering Field", 0 In the open event of the form where I wanted that behavior. It does not carry over from one form to the next. HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I'll need an OnClick cal to select the text. But the database options to select entire field seems to work for the tabbing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me ...and does it still work if you tab into it ...and does it still work if you select it in code, ie: me!textname.setfocus And every other way it can be selected? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Apr 2 22:10:43 2009 From: darren at activebilling.com.au (Darren D) Date: Fri, 3 Apr 2009 14:10:43 +1100 Subject: [AccessD] A2003:Outlook Recurrence Screen Message-ID: <01cd01c9b409$c7c8a2d0$131b910a@denzilnote> Hi Team In my access app I am creating calendar items/appointments in Outlook (outlook is the default office standard here that's why it has to be Outlook) I was wondering if anyone knew a way to 'call' the outlook recurrence screen and 'pass' the EntryID for a given Calendar item or Appointment Item. Then hopefully have the recurrences entered take effect based on that item Does anyone know if this is possible? I don't want to write a recurrence tool as I think the Outlook one does a good job and I figured most other objects are exposed - Why not the recurrence screen? Also-I know I can pass recurrence details etc via code. But what I want is the actual recurrence screen to be loaded whilst holding some pointer to the EntryID for the Calendar/Appointment Many thanks in advance Darren From Darryl.Collins at coles.com.au Thu Apr 2 22:23:26 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 3 Apr 2009 14:23:26 +1100 Subject: [AccessD] Access 2007: In-Reply-To: <01cd01c9b409$c7c8a2d0$131b910a@denzilnote> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13942@WPEXCH22.retail.ad.cmltd.net.au> For those whom maybe interested. I used a small function on many forms to let the user know which record is selected out of all records. It shows up on the form as such "Record 5 of 625" in a text box. The code below works in earlier versions, but not in Access 2007: '============= RESET RECORD VS ROW COUNTER ================== Public Function GetRecordText() As String GetRecordText = CStr([CurrentRecord]) & " of " & Cstr([RecordsetClone].[RecordCount])" End Function '============================================================ Access 2007 doesn't seem to like RecordSetClone? This code works in all versions (although it seems slower to calculate it, at least on my PC). '============= RESET RECORD VS ROW COUNTER ================== Public Function GetRecordText() As String GetRecordText = CStr(Recordset.AbsolutePosition + 1) + " of " & CStr(Recordset.RecordCount) End Function '============================================================ cheers Darryl This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From jwcolby at colbyconsulting.com Thu Apr 2 22:46:19 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Apr 2009 23:46:19 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> References: , , <49D50917.2090901@colbyconsulting.com> <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> Message-ID: <49D5868B.5040205@colbyconsulting.com> Stuart, The only problem... a small problem... Int() is not a built-in function of TSQL AFAICS. 8) John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > You mean something like: > > Select Distinct, Int(PKID/1000000) as PKMegRange, Count(*) as Records > from myTable > Group By Int(PKID/1000000) > Order by Int(PKID/1000000) > > On 2 Apr 2009 at 14:51, jwcolby wrote: > >> You could do that. But I need it to show me steps of X PKID. Perhaps >> every 1 meg PK over 50 megs of records. > ,,, >> Charlotte Foust wrote: >>> Maybe this is too simple, but wouldn't you just select Count(PKID) Where >>> PKID less than or equal to PKID Z and Greater than or equal to PKID Y? >>> -----Original Message----- > ... >>> I need to get a count of records in a PK range in SQL Server. For >>> example I need to know that there are X addresses between PKID Y and >>> PKID Z. >>> >>> Any idea how to do this in tsql? > From stuart at lexacorp.com.pg Thu Apr 2 23:07:12 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 Apr 2009 14:07:12 +1000 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D5868B.5040205@colbyconsulting.com> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com> Message-ID: <49D61810.20575.A0C841@stuart.lexacorp.com.pg> Sorry, I'm using too many different languages at the same time. In TSQL use Floor() -- Stuart On 2 Apr 2009 at 23:46, jwcolby wrote: > Stuart, > > The only problem... a small problem... Int() is not a built-in function of TSQL AFAICS. > > 8) > > John W. Colby > www.ColbyConsulting.com > > > Stuart McLachlan wrote: > > You mean something like: > > > > Select Distinct, Int(PKID/1000000) as PKMegRange, Count(*) as Records > > from myTable > > Group By Int(PKID/1000000) > > Order by Int(PKID/1000000) > > > > On 2 Apr 2009 at 14:51, jwcolby wrote: > > > >> You could do that. But I need it to show me steps of X PKID. Perhaps > >> every 1 meg PK over 50 megs of records. > > ,,, > >> Charlotte Foust wrote: > >>> Maybe this is too simple, but wouldn't you just select Count(PKID) Where > >>> PKID less than or equal to PKID Z and Greater than or equal to PKID Y? > >>> -----Original Message----- > > ... > >>> I need to get a count of records in a PK range in SQL Server. For > >>> example I need to know that there are X addresses between PKID Y and > >>> PKID Z. > >>> > >>> Any idea how to do this in tsql? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Apr 3 04:37:39 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 10:37:39 +0100 Subject: [AccessD] Selecting Entire Field Message-ID: Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub From jwcolby at colbyconsulting.com Fri Apr 3 05:25:03 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 03 Apr 2009 06:25:03 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D61810.20575.A0C841@stuart.lexacorp.com.pg> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> Message-ID: <49D5E3FF.5020606@colbyconsulting.com> That worked! Thanks, John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > Sorry, I'm using too many different languages at the same time. > In TSQL use Floor() > From markamatte at hotmail.com Fri Apr 3 08:56:33 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 3 Apr 2009 13:56:33 +0000 Subject: [AccessD] Count of records in PK range In-Reply-To: <49D5E3FF.5020606@colbyconsulting.com> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: Hello All, I have been interested in the past in moving to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover Hotmail?: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 From markamatte at hotmail.com Fri Apr 3 08:58:36 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 3 Apr 2009 13:58:36 +0000 Subject: [AccessD] Choosing web technology In-Reply-To: <49D5E3FF.5020606@colbyconsulting.com> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover Hotmail?: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 From garykjos at gmail.com Fri Apr 3 09:06:40 2009 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 3 Apr 2009 09:06:40 -0500 Subject: [AccessD] Multiple Users ADE and SQL In-Reply-To: References: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Anita! Been a while since we've heard from you hasn't it? GK On Thu, Apr 2, 2009 at 5:23 PM, Anita Smith wrote: > David, > I'm wondering what would happen if you modified the shortcut that opens your > application to include the runtime option. > > PathToAccess PathToAccessFile /runtime > > I always use that to get rid of the message that Access will be opened in > read only mode. > > Anita Smith -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Apr 3 09:26:16 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 07:26:16 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: Message-ID: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005> Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Apr 3 09:47:27 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 3 Apr 2009 10:47:27 -0400 Subject: [AccessD] A2003:Outlook Recurrence Screen References: <01cd01c9b409$c7c8a2d0$131b910a@denzilnote> Message-ID: <43E71197458A480DB086914A00C5B719@SusanOne> > I was wondering if anyone knew a way to 'call' the outlook recurrence > screen > and 'pass' the EntryID for a given Calendar item or Appointment Item. > Then hopefully have the recurrences entered take effect based on that item =======I'm full of otc cold medication, so I'm not so sharp today, but I don't know what you mean by "recurrence screen" -- are you talking about the actual dialog box that lets you identify an appointment or event as recurring? By EntryID, do you mean the item's internal identity number or is that an actual field in the dialog box? Susan H. From dwaters at usinternet.com Fri Apr 3 09:50:42 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Apr 2009 09:50:42 -0500 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: <1999CBE896BA4209B800AD39E8AB3D32@danwaters> Hi Mark, You got a bad question at work. What you pick depends on what your goals are. If you are going to make systems used only on a LANs, then Access is fine. If you want to make systems used on WANs, then Access/SQL Server or VB.Net/SQL Server is the right path. If you want to make systems that must be web-based, then learn to develop web-based system. By the way, I've listed these in the order of increasing difficulty/time needed. So the criteria is, "What kind of system(s) does your company actually need to support the business strategy?" There should be a broad-based and comprehensive discussion on this subject before you get started, because whichever way you go is a large investment in your time. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 03, 2009 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Choosing web technology Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover HotmailR: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Sto rage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri Apr 3 10:52:46 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 3 Apr 2009 10:52:46 -0500 Subject: [AccessD] Selecting Entire Field In-Reply-To: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005> Message-ID: <6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 3 10:18:09 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 08:18:09 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: <6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005> <6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> Message-ID: That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Apr 3 10:20:48 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 3 Apr 2009 15:20:48 +0000 Subject: [AccessD] Choosing web technology In-Reply-To: <1999CBE896BA4209B800AD39E8AB3D32@danwaters> References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> <1999CBE896BA4209B800AD39E8AB3D32@danwaters> Message-ID: Thanks Dan, What would be the difference in your statements"VB.Net" or "develop web-based system"? Thanks, Mark ---------------------------------------- > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Fri, 3 Apr 2009 09:50:42 -0500 > Subject: Re: [AccessD] Choosing web technology > > Hi Mark, > > You got a bad question at work. > > What you pick depends on what your goals are. If you are going to make > systems used only on a LANs, then Access is fine. If you want to make > systems used on WANs, then Access/SQL Server or VB.Net/SQL Server is the > right path. If you want to make systems that must be web-based, then learn > to develop web-based system. By the way, I've listed these in the order of > increasing difficulty/time needed. > > So the criteria is, "What kind of system(s) does your company actually need > to support the business strategy?" There should be a broad-based and > comprehensive discussion on this subject before you get started, because > whichever way you go is a large investment in your time. > > Hope this helps! > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Friday, April 03, 2009 8:59 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Choosing web technology > > > Hello All, > > I have been interested in the past in moving from Access to something 'web > based'...and have done a number of html and asp tutorials...but would have > to say I really don't know either. It has been recently suggested (at work) > that I 'pick' something and learn it. Seems like a broad generic request to > me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the appropriate > language/technology? Thanks, > > Mark > _________________________________________________________________ > Rediscover HotmailR: Get e-mail storage that grows with you. > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Sto > rage1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From cfoust at infostatsystems.com Fri Apr 3 10:22:50 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 08:22:50 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: Message-ID: What happens when you try to click a particular point in the text to edit it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 3 10:23:42 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 08:23:42 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> Message-ID: Have you tried adding it to your template form? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Apr 3 10:27:24 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 3 Apr 2009 11:27:24 -0400 Subject: [AccessD] Choosing web technology References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com> <1999CBE896BA4209B800AD39E8AB3D32@danwaters> Message-ID: <718BADF2801047E89D565A9495C6D975@SusanOne> > > You got a bad question at work. > > What you pick depends on what your goals are. =====And where you're coming from matters a bit too -- not as much though. If you're coming from a strictly Access, SQL Server background, you might consider the Express suite for awhile -- it's a nice bridge. Susan H. From Gustav at cactus.dk Fri Apr 3 10:31:44 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Apr 2009 17:31:44 +0200 Subject: [AccessD] Choosing web technology Message-ID: Hi Mark That person is not stupid, and this could be your chance. And remember, with your Access background you know a lot about databases which is a huge advantage as most web developers have limited knowledge in this area, some are even "scared by the database". That said, web development is much different from Access and Windows - it looks like a mess but you'll catch up. Go and pick Visual Studio Web Express: http://www.microsoft.com/express/vwd/ and browse all the free learning stuff (I found some of the videos very good getting started) and you'll be busy while having fun for at least a year. Also, don't forget to sign up at our dba-vb list. /gustav >>> markamatte at hotmail.com 03-04-2009 15:58 >>> Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark From rockysmolin at bchacc.com Fri Apr 3 10:36:22 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 08:36:22 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> Message-ID: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Template? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Have you tried adding it to your template form? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 3 10:38:28 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 08:38:28 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: Message-ID: <8998F35A977C46C38505638362BF745D@HAL9005> It would select the entire field, but in this case the field is only length = 1 so it works well for that. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field What happens when you try to click a particular point in the text to edit it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 3 10:43:04 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 08:43:04 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: <8998F35A977C46C38505638362BF745D@HAL9005> References: <8998F35A977C46C38505638362BF745D@HAL9005> Message-ID: Just keep that in mind if you decide to apply the same logic elsewhere! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field It would select the entire field, but in this case the field is only length = 1 so it works well for that. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field What happens when you try to click a particular point in the text to edit it? Charlotte Foust From cfoust at infostatsystems.com Fri Apr 3 10:46:35 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 08:46:35 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Oh, dear, is my age showing?? You used to be able to create a template object in forms and reports (I believe you named it "Normal") and then set its properties like font, etc. the way you wanted all newly created objects of that type formatted. It didn't work for code, of course, only for property settings. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Template? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Have you tried adding it to your template form? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Apr 3 10:48:44 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Apr 2009 10:48:44 -0500 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com> <1999CBE896BA4209B800AD39E8AB3D32@danwaters> Message-ID: <71AE9FB5D4974AC288F592E037761F6A@danwaters> Hi Mark, Rather than VB.Net, I should have said VB 2005/2008 for Windows. This is client/server development for Windows applications used on LANs or WANs. This would typically be something to manage your business' internal activities - like an ERP system, CRM, or QA processes. Web-based apps consist of web pages written for the internet. These are typically a brochure site, or a sales site. Web sites are typically where your customers will interact with your company. Hope that's a better explanation! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 03, 2009 10:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Choosing web technology Thanks Dan, What would be the difference in your statements"VB.Net" or "develop web-based system"? Thanks, Mark ---------------------------------------- > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Fri, 3 Apr 2009 09:50:42 -0500 > Subject: Re: [AccessD] Choosing web technology > > Hi Mark, > > You got a bad question at work. > > What you pick depends on what your goals are. If you are going to make > systems used only on a LANs, then Access is fine. If you want to make > systems used on WANs, then Access/SQL Server or VB.Net/SQL Server is the > right path. If you want to make systems that must be web-based, then learn > to develop web-based system. By the way, I've listed these in the order of > increasing difficulty/time needed. > > So the criteria is, "What kind of system(s) does your company actually need > to support the business strategy?" There should be a broad-based and > comprehensive discussion on this subject before you get started, because > whichever way you go is a large investment in your time. > > Hope this helps! > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Friday, April 03, 2009 8:59 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Choosing web technology > > > Hello All, > > I have been interested in the past in moving from Access to something 'web > based'...and have done a number of html and asp tutorials...but would have > to say I really don't know either. It has been recently suggested (at work) > that I 'pick' something and learn it. Seems like a broad generic request to > me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the appropriate > language/technology? Thanks, > > Mark > _________________________________________________________________ > Rediscover HotmailR: Get e-mail storage that grows with you. > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Sto > rage1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows LiveT: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Apr 3 10:55:46 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 3 Apr 2009 11:55:46 -0400 Subject: [AccessD] Selecting Entire Field References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Still can. :) Susan H. > Oh, dear, is my age showing?? You used to be able to create a template > object in forms and reports (I believe you named it "Normal") and then > set its properties like font, etc. the way you wanted all newly created > objects of that type formatted. It didn't work for code, of course, > only for property settings. From dwaters at usinternet.com Fri Apr 3 11:03:24 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Apr 2009 11:03:24 -0500 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: C'mon Charlotte! After all AGE just stands for Additional Great Experience! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 10:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Oh, dear, is my age showing?? You used to be able to create a template object in forms and reports (I believe you named it "Normal") and then set its properties like font, etc. the way you wanted all newly created objects of that type formatted. It didn't work for code, of course, only for property settings. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Template? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Have you tried adding it to your template form? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 3 11:08:54 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 09:08:54 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Whew! That's a relief! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, April 03, 2009 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Still can. :) Susan H. > Oh, dear, is my age showing?? You used to be able to create a > template object in forms and reports (I believe you named it "Normal") > and then set its properties like font, etc. the way you wanted all > newly created objects of that type formatted. It didn't work for > code, of course, only for property settings. -- From cfoust at infostatsystems.com Fri Apr 3 11:10:00 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 09:10:00 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Yeah, right! Try that one on your grown children some time and see how it goes over! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, April 03, 2009 9:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field C'mon Charlotte! After all AGE just stands for Additional Great Experience! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 10:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Oh, dear, is my age showing?? You used to be able to create a template object in forms and reports (I believe you named it "Normal") and then set its properties like font, etc. the way you wanted all newly created objects of that type formatted. It didn't work for code, of course, only for property settings. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Template? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 03, 2009 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Have you tried adding it to your template form? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 8:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field That would be icing on the cake. It works for the one form I need now. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, April 03, 2009 8:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Rocky, Are you saying that you want a solution to work for all forms? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 03, 2009 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Selecting Entire Field Max: That looks like a very 'robust' solution. I ended up using Charlotte's snip for the click event and Application.SetOptions to set the enter behavior to select the whole field. But that Application.SetOptions does not carry from one form to another. You have to issue it in each form where you want that behavior. Setting it through the menus worked but only until you exited. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 2:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting Entire Field Rocky, Dont know if you solved this last night but if not the code below will select the entire field whether tabbed in or clicked in, regardless of hte global setting in Tools/Options. Max ps. Haven't got access to previous correspondece/postings so the title may be out of sync. Sorry. ' Test the ability to select the entire contents of a bound field regardless of the setting in Tools/Options/Keyboard ' tests only a Currencyfield,Datefield,Numberfield,Stringfield ' does not work for boolean fields ' for each field we need to call the sub for both the OnClick event AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option Explicit Private ActiveCtl As Control Private Sub BooleanField_Click() ' do not call sSelLength for boolean End Sub Private Sub BooleanField_GotFocus() ' do not call sSelLength for boolean End Sub Private Sub CurrencyField_Click() Call sSelLength End Sub Private Sub CurrencyField_GotFocus() Call sSelLength End Sub Private Sub DateField_Click() Call sSelLength End Sub Private Sub DateField_GotFocus() Call sSelLength End Sub Private Sub NumberField_Click() Call sSelLength End Sub Private Sub NumberField_GotFocus() Call sSelLength End Sub Private Sub StringField_Click() Call sSelLength End Sub Private Sub StringField_GotFocus() Call sSelLength End Sub Private Sub sSelLength() On Error GoTo errhandler Set ActiveCtl = Application.Screen.ActiveControl Debug.Print Application.Screen.ActiveControl.Name With ActiveCtl .SetFocus .SelStart = 0 .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With exithere: Exit Sub errhandler: Select Case Err.Number Case 2474 ' not active control Debug.Print Application.Screen.ActiveControl.Name MsgBox Application.Screen.ActiveControl.Name Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Apr 3 12:13:35 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 3 Apr 2009 17:13:35 +0000 Subject: [AccessD] Choosing web technology In-Reply-To: References: Message-ID: Thanks Gustav, and All that replied. I think I have Visual web developer at home. Looks like a good place to start. Thanks, Mark ---------------------------------------- > Date: Fri, 3 Apr 2009 17:31:44 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Choosing web technology > > Hi Mark > > That person is not stupid, and this could be your chance. And remember, with your Access background you know a lot about databases which is a huge advantage as most web developers have limited knowledge in this area, some are even "scared by the database". That said, web development is much different from Access and Windows - it looks like a mess but you'll catch up. > > Go and pick Visual Studio Web Express: > > http://www.microsoft.com/express/vwd/ > > and browse all the free learning stuff (I found some of the videos very good getting started) and you'll be busy while having fun for at least a year. > > Also, don't forget to sign up at our dba-vb list. > > /gustav > > >>>> markamatte at hotmail.com 03-04-2009 15:58>>> > > Hello All, > > I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From max.wanadoo at gmail.com Fri Apr 3 12:25:20 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 18:25:20 +0100 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005> <6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP> <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Also Growing Exponentially Max On Fri, Apr 3, 2009 at 5:03 PM, Dan Waters wrote: > C'mon Charlotte! After all AGE just stands for Additional Great > Experience! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, April 03, 2009 10:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Oh, dear, is my age showing?? You used to be able to create a template > object in forms and reports (I believe you named it "Normal") and then > set its properties like font, etc. the way you wanted all newly created > objects of that type formatted. It didn't work for code, of course, > only for property settings. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, April 03, 2009 8:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Template? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, April 03, 2009 8:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Have you tried adding it to your template form? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, April 03, 2009 8:18 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > That would be icing on the cake. It works for the one form I need now. > > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat > Sent: Friday, April 03, 2009 8:53 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Rocky, > Are you saying that you want a solution to work for all forms? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, April 03, 2009 9:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Max: > > That looks like a very 'robust' solution. I ended up using Charlotte's > snip for the click event and Application.SetOptions to set the enter > behavior to select the whole field. But that Application.SetOptions > does not carry from one form to another. You have to issue it in each > form where you want that behavior. Setting it through the menus worked > but only until you exited. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, April 03, 2009 2:38 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Selecting Entire Field > > Rocky, > Dont know if you solved this last night but if not the code below will > select the entire field whether tabbed in or clicked in, regardless of > hte global setting in Tools/Options. > Max > ps. Haven't got access to previous correspondece/postings so the title > may be out of sync. Sorry. > > > ' Test the ability to select the entire contents of a bound field > regardless of the setting in Tools/Options/Keyboard ' tests only a > Currencyfield,Datefield,Numberfield,Stringfield > ' does not work for boolean fields > ' for each field we need to call the sub for both the OnClick event AND > the GotFocus event ' Max Sherman Apr 2009 Option Compare Database Option > Explicit Private ActiveCtl As Control > > Private Sub BooleanField_Click() > ' do not call sSelLength for boolean > End Sub > > Private Sub BooleanField_GotFocus() > ' do not call sSelLength for boolean > End Sub > > Private Sub CurrencyField_Click() > Call sSelLength > End Sub > > Private Sub CurrencyField_GotFocus() > Call sSelLength > End Sub > > Private Sub DateField_Click() > Call sSelLength > End Sub > > Private Sub DateField_GotFocus() > Call sSelLength > End Sub > > Private Sub NumberField_Click() > Call sSelLength > End Sub > > Private Sub NumberField_GotFocus() > Call sSelLength > End Sub > > Private Sub StringField_Click() > Call sSelLength > End Sub > > Private Sub StringField_GotFocus() > Call sSelLength > End Sub > Private Sub sSelLength() > On Error GoTo errhandler > Set ActiveCtl = Application.Screen.ActiveControl > Debug.Print Application.Screen.ActiveControl.Name > With ActiveCtl > .SetFocus > .SelStart = 0 > .SelLength = Len(Nz(ActiveCtl, "")) + 1 > End With > exithere: > Exit Sub > errhandler: > Select Case Err.Number > Case 2474 ' not active control > Debug.Print Application.Screen.ActiveControl.Name > MsgBox Application.Screen.ActiveControl.Name > Case Else > MsgBox "Error: " & Err.Number & vbCrLf & Err.Description > End Select > Resume exithere > End Sub > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Apr 3 12:31:43 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 10:31:43 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: I thought the A was for a body part. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Also Growing Exponentially Max On Fri, Apr 3, 2009 at 5:03 PM, Dan Waters wrote: > C'mon Charlotte! After all AGE just stands for Additional Great > Experience! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, April 03, 2009 10:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Oh, dear, is my age showing?? You used to be able to create a > template object in forms and reports (I believe you named it "Normal") > and then set its properties like font, etc. the way you wanted all > newly created objects of that type formatted. It didn't work for > code, of course, only for property settings. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 8:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Template? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, April 03, 2009 8:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Have you tried adding it to your template form? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 8:18 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > That would be icing on the cake. It works for the one form I need now. > > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and > Pat > Sent: Friday, April 03, 2009 8:53 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Rocky, > Are you saying that you want a solution to work for all forms? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 9:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Max: > > That looks like a very 'robust' solution. I ended up using > Charlotte's snip for the click event and Application.SetOptions to set > the enter behavior to select the whole field. But that > Application.SetOptions does not carry from one form to another. You > have to issue it in each form where you want that behavior. Setting > it through the menus worked but only until you exited. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, April 03, 2009 2:38 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Selecting Entire Field > > Rocky, > Dont know if you solved this last night but if not the code below will > select the entire field whether tabbed in or clicked in, regardless of > hte global setting in Tools/Options. > Max > ps. Haven't got access to previous correspondece/postings so the title > may be out of sync. Sorry. > > > ' Test the ability to select the entire contents of a bound field > regardless of the setting in Tools/Options/Keyboard ' tests only a > Currencyfield,Datefield,Numberfield,Stringfield > ' does not work for boolean fields > ' for each field we need to call the sub for both the OnClick event > AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database > Option Explicit Private ActiveCtl As Control > > Private Sub BooleanField_Click() > ' do not call sSelLength for boolean > End Sub > > Private Sub BooleanField_GotFocus() > ' do not call sSelLength for boolean > End Sub > > Private Sub CurrencyField_Click() > Call sSelLength > End Sub > > Private Sub CurrencyField_GotFocus() > Call sSelLength > End Sub > > Private Sub DateField_Click() > Call sSelLength > End Sub > > Private Sub DateField_GotFocus() > Call sSelLength > End Sub > > Private Sub NumberField_Click() > Call sSelLength > End Sub > > Private Sub NumberField_GotFocus() > Call sSelLength > End Sub > > Private Sub StringField_Click() > Call sSelLength > End Sub > > Private Sub StringField_GotFocus() > Call sSelLength > End Sub > Private Sub sSelLength() > On Error GoTo errhandler > Set ActiveCtl = Application.Screen.ActiveControl Debug.Print > Application.Screen.ActiveControl.Name > With ActiveCtl > .SetFocus > .SelStart = 0 > .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With > exithere: > Exit Sub > errhandler: > Select Case Err.Number > Case 2474 ' not active control > Debug.Print Application.Screen.ActiveControl.Name > MsgBox Application.Screen.ActiveControl.Name > Case Else > MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End > Select Resume exithere End Sub > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 3 12:35:38 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Apr 2009 10:35:38 -0700 Subject: [AccessD] Selecting Entire Field In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: Hah! No, that's my waistline! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Entire Field Also Growing Exponentially Max On Fri, Apr 3, 2009 at 5:03 PM, Dan Waters wrote: > C'mon Charlotte! After all AGE just stands for Additional Great > Experience! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, April 03, 2009 10:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Oh, dear, is my age showing?? You used to be able to create a > template object in forms and reports (I believe you named it "Normal") > and then set its properties like font, etc. the way you wanted all > newly created objects of that type formatted. It didn't work for > code, of course, only for property settings. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 8:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Template? > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, April 03, 2009 8:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Entire Field > > Have you tried adding it to your template form? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 8:18 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > That would be icing on the cake. It works for the one form I need now. > > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and > Pat > Sent: Friday, April 03, 2009 8:53 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Rocky, > Are you saying that you want a solution to work for all forms? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, April 03, 2009 9:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Selecting Entire Field > > Max: > > That looks like a very 'robust' solution. I ended up using > Charlotte's snip for the click event and Application.SetOptions to set > the enter behavior to select the whole field. But that > Application.SetOptions does not carry from one form to another. You > have to issue it in each form where you want that behavior. Setting > it through the menus worked but only until you exited. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, April 03, 2009 2:38 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Selecting Entire Field > > Rocky, > Dont know if you solved this last night but if not the code below will > select the entire field whether tabbed in or clicked in, regardless of > hte global setting in Tools/Options. > Max > ps. Haven't got access to previous correspondece/postings so the title > may be out of sync. Sorry. > > > ' Test the ability to select the entire contents of a bound field > regardless of the setting in Tools/Options/Keyboard ' tests only a > Currencyfield,Datefield,Numberfield,Stringfield > ' does not work for boolean fields > ' for each field we need to call the sub for both the OnClick event > AND the GotFocus event ' Max Sherman Apr 2009 Option Compare Database > Option Explicit Private ActiveCtl As Control > > Private Sub BooleanField_Click() > ' do not call sSelLength for boolean > End Sub > > Private Sub BooleanField_GotFocus() > ' do not call sSelLength for boolean > End Sub > > Private Sub CurrencyField_Click() > Call sSelLength > End Sub > > Private Sub CurrencyField_GotFocus() > Call sSelLength > End Sub > > Private Sub DateField_Click() > Call sSelLength > End Sub > > Private Sub DateField_GotFocus() > Call sSelLength > End Sub > > Private Sub NumberField_Click() > Call sSelLength > End Sub > > Private Sub NumberField_GotFocus() > Call sSelLength > End Sub > > Private Sub StringField_Click() > Call sSelLength > End Sub > > Private Sub StringField_GotFocus() > Call sSelLength > End Sub > Private Sub sSelLength() > On Error GoTo errhandler > Set ActiveCtl = Application.Screen.ActiveControl Debug.Print > Application.Screen.ActiveControl.Name > With ActiveCtl > .SetFocus > .SelStart = 0 > .SelLength = Len(Nz(ActiveCtl, "")) + 1 End With > exithere: > Exit Sub > errhandler: > Select Case Err.Number > Case 2474 ' not active control > Debug.Print Application.Screen.ActiveControl.Name > MsgBox Application.Screen.ActiveControl.Name > Case Else > MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End > Select Resume exithere End Sub > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Apr 3 14:20:31 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Apr 2009 15:20:31 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> Message-ID: <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Group ...I have the following in the FormLoad event: DoCmd.SetWarnings False tblExhibitorWebClear DoCmd.OpenQuery "qryExhByShowCurrentAppend" DoCmd.OpenQuery "qryExhByShowPastAppend" DoCmd.SetWarnings True ...that all happens in the background ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. ...don't want to use the vb ocx if possible, but would if necessary. ...don't want to use the progress meter in the status bar ...accuracy isn't necessary ...just a reasonable approximation. ...tried using a timer and labels but the queries always run before the timer starts ...any ideas or samples much appreciated William From marksimms at verizon.net Fri Apr 3 14:31:14 2009 From: marksimms at verizon.net (Mark Simms) Date: Fri, 03 Apr 2009 15:31:14 -0400 Subject: [AccessD] Count of records in PK range In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: <006a01c9b492$c0d5ed00$0501a8c0@MSIMMSWS> Web Development is extremely broad: 1) front-end HTML 2) front-end CSS 3) front-end Javascript/DHTML 4) back-end database access (SQL,TSQL) 5) back-end business logic (ASP.NET) 6) graphics specialist (Photoshop, Flash, MPG, etc) 7) web architect (pulling all of the above together into a coherent design) Typically you need at least 5 separate people with expertise in all of the above to make a robust website. Best to select from the above menu. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: Friday, April 03, 2009 9:57 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Count of records in PK range > > > > Hello All, > > I have been interested in the past in moving to something > 'web based'...and have done a number of html and asp > tutorials...but would have to say I really don't know either. > > It has been recently suggested (at work) that I 'pick' > something and learn it. Seems like a broad generic request > to me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the > appropriate language/technology? > > Thanks, > > Mark > _________________________________________________________________ > Rediscover HotmailR: Get e-mail storage that grows with you. > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_ Rediscover_Storage1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Fri Apr 3 14:39:01 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 20:39:01 +0100 Subject: [AccessD] Web Applications Message-ID: I thought you might like this overview of what it takes to run a successful web site. The alternative, which I recommend given our resources, is to goto a web site wizard which we use for the Events web site. All the "hard" work is done for the user. But it come as-is (but still lots of flexibility). Max Web Development is extremely broad: 1) front-end HTML 2) front-end CSS 3) front-end Javascript/DHTML 4) back-end database access (SQL,TSQL) 5) back-end business logic (ASP.NET) 6) graphics specialist (Photoshop, Flash, MPG, etc) 7) web architect (pulling all of the above together into a coherent design) Typically you need at least 5 separate people with expertise in all of the above to make a robust website. Best to select from the above menu. > -----Original Message----- > Mark A Matte > Sent: Friday, April 03, 2009 9:57 AM > Subject: Re: [AccessD] Count of records in PK range > > > > Hello All, > > I have been interested in the past in moving to something > 'web based'...and have done a number of html and asp > tutorials...but would have to say I really don't know either. > > It has been recently suggested (at work) that I 'pick' > something and learn it. Seems like a broad generic request > to me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the > appropriate language/technology? > > Thanks, > > Mark > _________________________________________________________________ From max.wanadoo at gmail.com Fri Apr 3 14:43:55 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 20:43:55 +0100 Subject: [AccessD] Count of records in PK range In-Reply-To: <006a01c9b492$c0d5ed00$0501a8c0@MSIMMSWS> References: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> <006a01c9b492$c0d5ed00$0501a8c0@MSIMMSWS> Message-ID: Please ignore my previous TWO posting. I tried to post this on to somebody else and both times it went to the List, even though I had not addressed it to the List. Sorry on behalf of Google Mail which Kraps up sometimes. Max On 4/3/09, Mark Simms wrote: > > Web Development is extremely broad: > 1) front-end HTML > 2) front-end CSS > 3) front-end Javascript/DHTML > 4) back-end database access (SQL,TSQL) > 5) back-end business logic (ASP.NET) > 6) graphics specialist (Photoshop, Flash, MPG, etc) > 7) web architect (pulling all of the above together into a coherent design) > > Typically you need at least 5 separate people with expertise in all of the > above to make a robust website. > Best to select from the above menu. > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Mark A Matte > > Sent: Friday, April 03, 2009 9:57 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Count of records in PK range > > > > > > > > Hello All, > > > > I have been interested in the past in moving to something > > 'web based'...and have done a number of html and asp > > tutorials...but would have to say I really don't know either. > > > > It has been recently suggested (at work) that I 'pick' > > something and learn it. Seems like a broad generic request > > to me...but it is from a non technical person. > > > > So...I guess if I wanted to create interactive/dynamic web > > applications...what criteria would I use to determine the > > appropriate language/technology? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > > Rediscover HotmailR: Get e-mail storage that grows with you. > > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_ > Rediscover_Storage1_042009 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at nciinc.com Fri Apr 3 15:12:29 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Fri, 3 Apr 2009 15:12:29 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> I think it's a great idea. I have tried several times to do what you describe - I have never been successful. What I learned is that any progress bar you make will ultimately be a something you have crafted with two labels and code to make progress after each process completes. That means after each query runs... I have used the FMS add-in and it does work, but it takes up more clock-time to run than it's worth. I hope someone can give you help on this. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 03, 2009 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Queries Progress Bar Group ...I have the following in the FormLoad event: DoCmd.SetWarnings False tblExhibitorWebClear DoCmd.OpenQuery "qryExhByShowCurrentAppend" DoCmd.OpenQuery "qryExhByShowPastAppend" DoCmd.SetWarnings True ...that all happens in the background ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. ...don't want to use the vb ocx if possible, but would if necessary. ...don't want to use the progress meter in the status bar ...accuracy isn't necessary ...just a reasonable approximation. ...tried using a timer and labels but the queries always run before the timer starts ...any ideas or samples much appreciated William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From max.wanadoo at gmail.com Fri Apr 3 15:19:09 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 21:19:09 +0100 Subject: [AccessD] Queries Progress Bar In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: I have to ask, why a "Progress Bar", just give them something to look at with animation. People get used to not even looking unitil the animation finishes anyway. IOW they get used to click to open then walking away for a coffee knowing they have x tseconds/minutes before it is ready. Dont break your butts on a progress bar which is only ever looked at the first few times. max lateral thinking... On 4/3/09, Hewson, Jim wrote: > > I think it's a great idea. > I have tried several times to do what you describe - I have never been > successful. > What I learned is that any progress bar you make will ultimately be a > something you have crafted with two labels and code to make progress > after each process completes. That means after each query runs... > I have used the FMS add-in and it does work, but it takes up more > clock-time to run than it's worth. > I hope someone can give you help on this. > > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the > user > the progress during the entire process which can take a couple of > minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ################################################################################ > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > > ################################################################################ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ebarro at verizon.net Fri Apr 3 15:21:13 2009 From: ebarro at verizon.net (Eric Barro) Date: Fri, 03 Apr 2009 13:21:13 -0700 Subject: [AccessD] Web Applications In-Reply-To: References: Message-ID: <906DE9FCA1304535A33359A89E63AD2F@advancedinput.com> I'd reduce that number to 2 people. The first one to take care of 1-5 and the second one to take care of 6 and 7. Or you can have the first one take care of 3-5 and the second one take care of 1-2 and 6-7. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 12:39 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web Applications I thought you might like this overview of what it takes to run a successful web site. The alternative, which I recommend given our resources, is to goto a web site wizard which we use for the Events web site. All the "hard" work is done for the user. But it come as-is (but still lots of flexibility). Max Web Development is extremely broad: 1) front-end HTML 2) front-end CSS 3) front-end Javascript/DHTML 4) back-end database access (SQL,TSQL) 5) back-end business logic (ASP.NET) 6) graphics specialist (Photoshop, Flash, MPG, etc) 7) web architect (pulling all of the above together into a coherent design) Typically you need at least 5 separate people with expertise in all of the above to make a robust website. Best to select from the above menu. > -----Original Message----- > Mark A Matte > Sent: Friday, April 03, 2009 9:57 AM > Subject: Re: [AccessD] Count of records in PK range > > > > Hello All, > > I have been interested in the past in moving to something 'web > based'...and have done a number of html and asp tutorials...but would > have to say I really don't know either. > > It has been recently suggested (at work) that I 'pick' > something and learn it. Seems like a broad generic request to > me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the appropriate > language/technology? > > Thanks, > > Mark > _________________________________________________________________ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Apr 3 15:23:56 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Apr 2009 16:23:56 -0400 Subject: [AccessD] Web Applications References: Message-ID: <37348DB8C7924AFDB326534F49E3B4E7@jislaptopdev> Mark ...Max is overstating the difficulty ...its not "easy" per se and you do have to become reasonably competent with each of the individual technologies he addresses ...but one individual can certainly do it all without over stressing themselves and Visual Studio Express 2008 gives you the tools to grease the path ...you will need a very good graphics program designed for the Web ...Adobe Photo Shop is what I use but MS Expression Blend also comes highly recommended now and you don't have to learn the Adobe interface (which makes the Ribbon look positively brilliant by comparison) ...neither do you have to start with SQL Server, an Access mdb backend works just fine unless you expect hundreds of simultaneous users ...for example, I built www.jisshow.com for a client from scratch in a fairly short time without knowing anything but Access to begin with ...I'll be updating it to use SQL Server shortly because its starting to draw more use ...but all I used was VSE2008 and Photo Shop ...if I can do it, you can ...don't let Max scare you off :) ...I will add one bit of warning though ...you have to know who your audience is ...the differences between the major browsers can drive you nuts and its NOT just IE ...google and apple both have serious problems and FF3 has many as well ...if you're doing it for an in-house clientele you can design to their browser standard but if you're doing it for a wider audience you'll have to make some choices or rent a straight jacket ...I gave up on google's chrome and apple's safari mostly because their market share is so small ...but even within FF and IE the differences and work arounds can add seriously to your development time ...and we won't even talk about screen resolutions and the abject impossibility of resizing to accommodate everyone without giving up serious design resources. ...its a lot to learn but its not a five man thing ...if you already build decent Access databases you can certainly move them to the web ...in fact, Shamil, Gustav and others here are involved in doing exactly that over on dba.vb right now using the northwind.mdb as their starting point ...I wish to god I could have gotten in to something like that when I started playing with Visual Studio ...you really should take a good look at that project first. William -------------------------------------------------- From: "Max Wanadoo" Sent: Friday, April 03, 2009 3:39 PM To: "Access Developers discussion and problem solving" Subject: [AccessD] Web Applications > I thought you might like this overview of what it takes to run a > successful > web site. > The alternative, which I recommend given our resources, is to goto a web > site wizard which we use for the Events web site. All the "hard" work is > done for the user. > But it come as-is (but still lots of flexibility). > Max > > > > Web Development is extremely broad: > 1) front-end HTML > 2) front-end CSS > 3) front-end Javascript/DHTML > 4) back-end database access (SQL,TSQL) > 5) back-end business logic (ASP.NET) > 6) graphics specialist (Photoshop, Flash, MPG, etc) > 7) web architect (pulling all of the above together into a coherent > design) > > Typically you need at least 5 separate people with expertise in all of the > above to make a robust website. > Best to select from the above menu. > > >> -----Original Message----- >> Mark A Matte >> Sent: Friday, April 03, 2009 9:57 AM >> Subject: Re: [AccessD] Count of records in PK range >> >> >> >> Hello All, >> >> I have been interested in the past in moving to something >> 'web based'...and have done a number of html and asp >> tutorials...but would have to say I really don't know either. >> >> It has been recently suggested (at work) that I 'pick' >> something and learn it. Seems like a broad generic request >> to me...but it is from a non technical person. >> >> So...I guess if I wanted to create interactive/dynamic web >> applications...what criteria would I use to determine the >> appropriate language/technology? >> >> Thanks, >> >> Mark >> _________________________________________________________________ > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Fri Apr 3 15:27:29 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 21:27:29 +0100 Subject: [AccessD] Web Applications In-Reply-To: <906DE9FCA1304535A33359A89E63AD2F@advancedinput.com> References: <906DE9FCA1304535A33359A89E63AD2F@advancedinput.com> Message-ID: Yes, well where I work it is reduced to 1 - me! And I know ought about nought! max ps. A Northern saying (UK that is) On 4/3/09, Eric Barro wrote: > > I'd reduce that number to 2 people. > > The first one to take care of 1-5 and the second one to take care of 6 and > 7. Or you can have the first one take care of 3-5 and the second one take > care of 1-2 and 6-7. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, April 03, 2009 12:39 PM > To: Access Developers discussion and problem solving > > Subject: [AccessD] Web Applications > > I thought you might like this overview of what it takes to run a successful > web site. > The alternative, which I recommend given our resources, is to goto a web > site wizard which we use for the Events web site. All the "hard" work is > done for the user. > But it come as-is (but still lots of flexibility). > Max > > > > Web Development is extremely broad: > 1) front-end HTML > 2) front-end CSS > 3) front-end Javascript/DHTML > 4) back-end database access (SQL,TSQL) > 5) back-end business logic (ASP.NET) > 6) graphics specialist (Photoshop, Flash, MPG, etc) > 7) web architect (pulling all of the above together into a coherent design) > > Typically you need at least 5 separate people with expertise in all of the > above to make a robust website. > Best to select from the above menu. > > > > -----Original Message----- > > Mark A Matte > > Sent: Friday, April 03, 2009 9:57 AM > > Subject: Re: [AccessD] Count of records in PK range > > > > > > > > Hello All, > > > > I have been interested in the past in moving to something 'web > > based'...and have done a number of html and asp tutorials...but would > > have to say I really don't know either. > > > > It has been recently suggested (at work) that I 'pick' > > something and learn it. Seems like a broad generic request to > > me...but it is from a non technical person. > > > > So...I guess if I wanted to create interactive/dynamic web > > applications...what criteria would I use to determine the appropriate > > language/technology? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Apr 3 15:32:58 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Apr 2009 16:32:58 -0400 Subject: [AccessD] Queries Progress Bar References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: ...I have considered using an ajax type loading animation from the web but REALLY want a progress bar :) William -------------------------------------------------- From: "Max Wanadoo" Sent: Friday, April 03, 2009 4:19 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > I have to ask, why a "Progress Bar", just give them something to look at > with animation. People get used to not even looking unitil the animation > finishes anyway. IOW they get used to click to open then walking away for > a > coffee knowing they have x tseconds/minutes before it is ready. Dont > break > your butts on a progress bar which is only ever looked at the first few > times. > > max > lateral thinking... > > On 4/3/09, Hewson, Jim wrote: >> >> I think it's a great idea. >> I have tried several times to do what you describe - I have never been >> successful. >> What I learned is that any progress bar you make will ultimately be a >> something you have crafted with two labels and code to make progress >> after each process completes. That means after each query runs... >> I have used the FMS add-in and it does work, but it takes up more >> clock-time to run than it's worth. >> I hope someone can give you help on this. >> >> Jim >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 2:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the >> user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before the >> timer starts >> ...any ideas or samples much appreciated >> >> William >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> ################################################################################ >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> ################################################################################ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Fri Apr 3 15:38:01 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 21:38:01 +0100 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: Well, stamping your feet will only get you sore feet and a clip round the ear. I have something up my sleeve (my arm - ha!) but I can't do it now - maybe next week BUT it is not a progress bar in the sense you mean. max On 4/3/09, William Hindman wrote: > > ...I have considered using an ajax type loading animation from the web but > REALLY want a progress bar :) > > William > > -------------------------------------------------- > From: "Max Wanadoo" > Sent: Friday, April 03, 2009 4:19 PM > > To: "Access Developers discussion and problem solving" > > > Subject: Re: [AccessD] Queries Progress Bar > > > > I have to ask, why a "Progress Bar", just give them something to look at > > with animation. People get used to not even looking unitil the animation > > finishes anyway. IOW they get used to click to open then walking away for > > a > > coffee knowing they have x tseconds/minutes before it is ready. Dont > > break > > your butts on a progress bar which is only ever looked at the first few > > times. > > > > max > > lateral thinking... > > > > On 4/3/09, Hewson, Jim wrote: > >> > >> I think it's a great idea. > >> I have tried several times to do what you describe - I have never been > >> successful. > >> What I learned is that any progress bar you make will ultimately be a > >> something you have crafted with two labels and code to make progress > >> after each process completes. That means after each query runs... > >> I have used the FMS add-in and it does work, but it takes up more > >> clock-time to run than it's worth. > >> I hope someone can give you help on this. > >> > >> Jim > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >> Sent: Friday, April 03, 2009 2:21 PM > >> To: Access Developers discussion and problem solving > >> Subject: [AccessD] Queries Progress Bar > >> > >> Group > >> > >> ...I have the following in the FormLoad event: > >> > >> DoCmd.SetWarnings False > >> tblExhibitorWebClear > >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" > >> DoCmd.OpenQuery "qryExhByShowPastAppend" > >> DoCmd.SetWarnings True > >> > >> ...that all happens in the background > >> ...in the foreground I want to display a progress bar that shows the > >> user > >> the progress during the entire process which can take a couple of > >> minutes. > >> ...don't want to use the vb ocx if possible, but would if necessary. > >> ...don't want to use the progress meter in the status bar > >> ...accuracy isn't necessary ...just a reasonable approximation. > >> ...tried using a timer and labels but the queries always run before the > >> timer starts > >> ...any ideas or samples much appreciated > >> > >> William > >> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> > ################################################################################ > >> If you have received this message in error, please contact the sender > >> immediately and be aware that the use, copying, or dissemination of > >> this information is prohibited. This email transmission contains > >> information from NCI Information Systems, Inc. that may be considered > >> privileged or confidential and is intended solely for the named > >> recipient. > >> > >> > ################################################################################ > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > -- > > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Fri Apr 3 15:54:57 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 3 Apr 2009 15:54:57 -0500 Subject: [AccessD] Count of records in PK range In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> <49D515C3.8050109@colbyconsulting.com><49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: No, that was Neo, not codeboy... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, April 02, 2009 6:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Count of records in PK range ...Drew? ...is that you Drew? William -------------------------------------------------- From: "Max Wanadoo" Sent: Thursday, April 02, 2009 4:00 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Count of records in PK range > Yes, but the question is surely "Does it have an intrinsic meaning" to > which > the answer should be no. That does not imply that it has no meaning > whatsoever, within a programming sense. To the End User they have no > meaning. To the programmer every "object" (in its broadest sense > possible) > has meaning. > > Am I right? > > Max > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From max.wanadoo at gmail.com Fri Apr 3 15:58:26 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 3 Apr 2009 21:58:26 +0100 Subject: [AccessD] Count of records in PK range In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com> <49D515C3.8050109@colbyconsulting.com> <49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: Neo?? On 4/3/09, Drew Wutka wrote: > > No, that was Neo, not codeboy... ;) > > Drew > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, April 02, 2009 6:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Count of records in PK range > > > ...Drew? ...is that you Drew? > > William > > -------------------------------------------------- > From: "Max Wanadoo" > Sent: Thursday, April 02, 2009 4:00 PM > To: "'Access Developers discussion and problem solving'" > > > Subject: Re: [AccessD] Count of records in PK range > > > > Yes, but the question is surely "Does it have an intrinsic meaning" to > > > which > > the answer should be no. That does not imply that it has no meaning > > whatsoever, within a programming sense. To the End User they have no > > meaning. To the programmer every "object" (in its broadest sense > > possible) > > has meaning. > > > > Am I right? > > > > Max > > > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI Proprietary > and/or II-VI Business Sensitive material. If you are not the intended > recipient, please contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. You are notified that any > review, retransmission, copying, disclosure, dissemination, or other use of, > or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. > > > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From csduke at blueyonder.co.uk Fri Apr 3 16:04:58 2009 From: csduke at blueyonder.co.uk (Trisha Duke) Date: Fri, 03 Apr 2009 22:04:58 +0100 Subject: [AccessD] Web Applications In-Reply-To: References: Message-ID: <49D679FA.8040903@blueyonder.co.uk> for us... just 2... one person for item 1-5 and 7 and second person for item 6 Max Wanadoo wrote: > I thought you might like this overview of what it takes to run a successful > web site. > The alternative, which I recommend given our resources, is to goto a web > site wizard which we use for the Events web site. All the "hard" work is > done for the user. > But it come as-is (but still lots of flexibility). > Max > > > > Web Development is extremely broad: > 1) front-end HTML > 2) front-end CSS > 3) front-end Javascript/DHTML > 4) back-end database access (SQL,TSQL) > 5) back-end business logic (ASP.NET) > 6) graphics specialist (Photoshop, Flash, MPG, etc) > 7) web architect (pulling all of the above together into a coherent design) > > Typically you need at least 5 separate people with expertise in all of the > above to make a robust website. > Best to select from the above menu. > > > >> -----Original Message----- >> Mark A Matte >> Sent: Friday, April 03, 2009 9:57 AM >> Subject: Re: [AccessD] Count of records in PK range >> >> >> >> Hello All, >> >> I have been interested in the past in moving to something >> 'web based'...and have done a number of html and asp >> tutorials...but would have to say I really don't know either. >> >> It has been recently suggested (at work) that I 'pick' >> something and learn it. Seems like a broad generic request >> to me...but it is from a non technical person. >> >> So...I guess if I wanted to create interactive/dynamic web >> applications...what criteria would I use to determine the >> appropriate language/technology? >> >> Thanks, >> >> Mark >> _________________________________________________________________ >> From DWUTKA at Marlow.com Fri Apr 3 16:12:08 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 3 Apr 2009 16:12:08 -0500 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: I am self taught in pretty much everything, including the web stuff I got into. My personal recommendation is to start with HTML and ASP, to learn and understand how web apps work. Of course, this would almost be like telling someone to learn Machine language if they wanted to learn to program. The difference is that web applications are a different beast from normal Window's apps. It's a client/server situation, that has it's own quirks. Once you are familiar with HTML and ASP, when you go to something like ASP.NET, you do so with the understanding that ASP.NET is using Javascript and server side stuff to simulate a 'real time' environment, even though such an environment really doesn't exist in the HTML world of the web. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 03, 2009 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Choosing web technology Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover Hotmail(r): Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Storage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Apr 3 16:54:16 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 3 Apr 2009 16:54:16 -0500 Subject: [AccessD] Count of records in PK range In-Reply-To: References: <49D4F6B3.4030509@colbyconsulting.com><49D515C3.8050109@colbyconsulting.com><49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: I've been calling you Neo for a while now, and you're just now noticing? ;) LOL Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, April 03, 2009 3:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Count of records in PK range Neo?? On 4/3/09, Drew Wutka wrote: > > No, that was Neo, not codeboy... ;) > > Drew > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, April 02, 2009 6:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Count of records in PK range > > > ...Drew? ...is that you Drew? > > William > > -------------------------------------------------- > From: "Max Wanadoo" > Sent: Thursday, April 02, 2009 4:00 PM > To: "'Access Developers discussion and problem solving'" > > > Subject: Re: [AccessD] Count of records in PK range > > > > Yes, but the question is surely "Does it have an intrinsic meaning" to > > > which > > the answer should be no. That does not imply that it has no meaning > > whatsoever, within a programming sense. To the End User they have no > > meaning. To the programmer every "object" (in its broadest sense > > possible) > > has meaning. > > > > Am I right? > > > > Max > > > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI Proprietary > and/or II-VI Business Sensitive material. If you are not the intended > recipient, please contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. You are notified that any > review, retransmission, copying, disclosure, dissemination, or other use of, > or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. > > > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Fri Apr 3 17:20:51 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 03 Apr 2009 18:20:51 -0400 Subject: [AccessD] Visa: Can you undelete a move? Message-ID: <49D68BC3.2000103@colbyconsulting.com> I did a shift Drag / Drop from my camera, and apparently answered no when asked the folder question. AFAICT the pictures did NOT end up in the directory but they are gone from the camera. IOW, they appear to be just gone. I am not seeing them in the recycle bin, and they are not on the camera. Can I get them back? -- John W. Colby www.ColbyConsulting.com From ssharkins at gmail.com Fri Apr 3 17:30:00 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 3 Apr 2009 18:30:00 -0400 Subject: [AccessD] Visa: Can you undelete a move? References: <49D68BC3.2000103@colbyconsulting.com> Message-ID: I suppose you've run a general search on the picture format extension? Susan H. >I did a shift Drag / Drop from my camera, and apparently answered no when >asked the folder question. > AFAICT the pictures did NOT end up in the directory but they are gone > from the camera. IOW, they > appear to be just gone. I am not seeing them in the recycle bin, and they > are not on the camera. > Can I get them back? From bill_patten at embarqmail.com Fri Apr 3 17:42:13 2009 From: bill_patten at embarqmail.com (Bill Patten) Date: Fri, 3 Apr 2009 15:42:13 -0700 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: <49D68BC3.2000103@colbyconsulting.com> References: <49D68BC3.2000103@colbyconsulting.com> Message-ID: <5845D8CC58794D77B2992DD7C6696F9F@BPCS> John, I have successfully recovered photos from a camera SD card using eData unerase by Octane Soft. I think I paid $30 or so for it. Well worth it since it was my wife's camera that I accidentally erase. Other unerase program might work, if you already have one. HTH Bill URL to Octane http://www.octanesoft.com/ ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Friday, April 03, 2009 3:20 PM Subject: [AccessD] Visa: Can you undelete a move? I did a shift Drag / Drop from my camera, and apparently answered no when asked the folder question. AFAICT the pictures did NOT end up in the directory but they are gone from the camera. IOW, they appear to be just gone. I am not seeing them in the recycle bin, and they are not on the camera. Can I get them back? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri Apr 3 18:57:16 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 3 Apr 2009 18:57:16 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: William, Take a look at ProgressbarNoOCX It has a sample of progress bar using a form with 2 boxes. Jack From drawbridgej at sympatico.ca Fri Apr 3 19:07:45 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 3 Apr 2009 19:07:45 -0500 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: <5845D8CC58794D77B2992DD7C6696F9F@BPCS> References: <49D68BC3.2000103@colbyconsulting.com> <5845D8CC58794D77B2992DD7C6696F9F@BPCS> Message-ID: John, Here's a link to a free utility that might work. It claims to recover lost files. I haven't tried it. http://filehippo.com/download_recuva/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Friday, April 03, 2009 5:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Visa: Can you undelete a move? John, I have successfully recovered photos from a camera SD card using eData unerase by Octane Soft. I think I paid $30 or so for it. Well worth it since it was my wife's camera that I accidentally erase. Other unerase program might work, if you already have one. HTH Bill URL to Octane http://www.octanesoft.com/ ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Friday, April 03, 2009 3:20 PM Subject: [AccessD] Visa: Can you undelete a move? I did a shift Drag / Drop from my camera, and apparently answered no when asked the folder question. AFAICT the pictures did NOT end up in the directory but they are gone from the camera. IOW, they appear to be just gone. I am not seeing them in the recycle bin, and they are not on the camera. Can I get them back? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Apr 3 18:19:06 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Apr 2009 09:19:06 +1000 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: References: <49D68BC3.2000103@colbyconsulting.com>, <5845D8CC58794D77B2992DD7C6696F9F@BPCS>, Message-ID: <49D7260A.15496.4BF631E@stuart.lexacorp.com.pg> Here's a freeware utility that I've used successfully to recover all the photos on an SD card which had been reformatted. It should have no problems recovering files which have just been deleted. http://www.pcinspector.de/default.htm?Language=1 -- Stuart On 3 Apr 2009 at 19:07, Jack and Pat wrote: > John, > > > > Here's a link to a free utility that might work. It claims to recover lost > files. > > I haven't tried it. > > > > http://filehippo.com/download_recuva/ > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten > Sent: Friday, April 03, 2009 5:42 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Visa: Can you undelete a move? > > > > John, > > > > I have successfully recovered photos from a camera SD card using eData > > unerase by Octane Soft. I think > > I paid $30 or so for it. Well worth it since it was my wife's camera that I > > accidentally erase. Other unerase program might work, if you already have > > one. > > > > > > HTH > > > > Bill > > > > URL to Octane > > > > http://www.octanesoft.com/ > > > > ----- Original Message ----- > > From: "jwcolby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, April 03, 2009 3:20 PM > > Subject: [AccessD] Visa: Can you undelete a move? > > > > > > I did a shift Drag / Drop from my camera, and apparently answered no when > > asked the folder question. > > AFAICT the pictures did NOT end up in the directory but they are gone from > > > the camera. IOW, they > > appear to be just gone. I am not seeing them in the recycle bin, and they > > are not on the camera. > > Can I get them back? > > > > > > -- > > John W. Colby > > www.ColbyConsulting.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Apr 3 19:11:09 2009 From: marksimms at verizon.net (Mark Simms) Date: Fri, 03 Apr 2009 20:11:09 -0400 Subject: [AccessD] Web Applications In-Reply-To: <49D679FA.8040903@blueyonder.co.uk> References: <49D679FA.8040903@blueyonder.co.uk> Message-ID: <006701c9b4b9$db79ecc0$0501a8c0@MSIMMSWS> Wow - you guys are a lot smarter than me ! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Trisha Duke > Sent: Friday, April 03, 2009 5:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Web Applications > > for us... just 2... one person for item 1-5 and 7 and second > person for item 6 > > Max Wanadoo wrote: > > I thought you might like this overview of what it takes to run a > > successful web site. > > The alternative, which I recommend given our resources, is > to goto a > > web site wizard which we use for the Events web site. All > the "hard" > > work is done for the user. > > But it come as-is (but still lots of flexibility). > > Max > > > > > > > > Web Development is extremely broad: > > 1) front-end HTML > > 2) front-end CSS > > 3) front-end Javascript/DHTML > > 4) back-end database access (SQL,TSQL) > > 5) back-end business logic (ASP.NET) > > 6) graphics specialist (Photoshop, Flash, MPG, etc) > > 7) web architect (pulling all of the above together into a coherent > > design) > > From jwelz at hotmail.com Fri Apr 3 19:25:07 2009 From: jwelz at hotmail.com (Jurgen Welz) Date: Fri, 3 Apr 2009 18:25:07 -0600 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: <49D68BC3.2000103@colbyconsulting.com> References: <49D68BC3.2000103@colbyconsulting.com> Message-ID: I"ve used RescuePRO from Sandisk. It was included with some of their flash cards in the past but it seems they sell it now. There were good old DOS undelete utilities that worked up to Fat32 days that might be worth a try in the days when files were deleted by erasing the first character of the file name. Most (all?) smaller memory cards still use a FAT system and I've no idea how things have changed with NTFS. Ciao J?rgen Welz Edmonton, Alberta jwelz at hotmail.com > Date: Fri, 3 Apr 2009 18:20:51 -0400 > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Visa: Can you undelete a move? > > I did a shift Drag / Drop from my camera, and apparently answered no when asked the folder question. > AFAICT the pictures did NOT end up in the directory but they are gone from the camera. IOW, they > appear to be just gone. I am not seeing them in the recycle bin, and they are not on the camera. > Can I get them back? > > > -- > John W. Colby _________________________________________________________________ Internet Explorer 8 helps keep your personal info safe. http://go.microsoft.com/?linkid=9655581 From wdhindman at dejpolsystems.com Fri Apr 3 21:08:47 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Apr 2009 22:08:47 -0400 Subject: [AccessD] Count of records in PK range References: <49D4F6B3.4030509@colbyconsulting.com><49D515C3.8050109@colbyconsulting.com><49d51953.0aaa660a.114a.fffff161@mx.google.com> Message-ID: ...too much warm beer ...rots the brain, it does :) William -------------------------------------------------- From: "Drew Wutka" Sent: Friday, April 03, 2009 5:54 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Count of records in PK range > I've been calling you Neo for a while now, and you're just now noticing? > ;) > > LOL > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, April 03, 2009 3:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Count of records in PK range > > Neo?? > > On 4/3/09, Drew Wutka wrote: >> >> No, that was Neo, not codeboy... ;) >> >> Drew >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Thursday, April 02, 2009 6:16 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Count of records in PK range >> >> >> ...Drew? ...is that you Drew? >> >> William >> >> -------------------------------------------------- >> From: "Max Wanadoo" >> Sent: Thursday, April 02, 2009 4:00 PM >> To: "'Access Developers discussion and problem solving'" >> >> >> Subject: Re: [AccessD] Count of records in PK range >> >> >> > Yes, but the question is surely "Does it have an intrinsic meaning" > to >> >> > which >> > the answer should be no. That does not imply that it has no meaning >> > whatsoever, within a programming sense. To the End User they have > no >> > meaning. To the programmer every "object" (in its broadest sense >> > possible) >> > has meaning. >> > >> > Am I right? >> > >> > Max >> > >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI > Proprietary >> and/or II-VI Business Sensitive material. If you are not the intended >> recipient, please contact the sender immediately and destroy the > material in >> its entirety, whether electronic or hard copy. You are notified that > any >> review, retransmission, copying, disclosure, dissemination, or other > use of, >> or taking of any action in reliance upon this information by persons > or >> entities other than the intended recipient is prohibited. >> >> >> >> -- >> >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From anitatiedemann at gmail.com Fri Apr 3 21:58:33 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Sat, 4 Apr 2009 13:58:33 +1100 Subject: [AccessD] Multiple Users ADE and SQL In-Reply-To: References: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: I am a lurker now! I don't have much time to participate. I scan the subject lines and read a few posts now and again. I still develop in Access but these days I mainly use SQL as the back end. I would love to switch to VS but don't seem to have the time to take the plunge. Anita On Sat, Apr 4, 2009 at 1:06 AM, Gary Kjos wrote: > Anita! Been a while since we've heard from you hasn't it? > > GK > > On Thu, Apr 2, 2009 at 5:23 PM, Anita Smith > wrote: > > David, > > I'm wondering what would happen if you modified the shortcut that opens > your > > application to include the runtime option. > > > > PathToAccess PathToAccessFile /runtime > > > > I always use that to get rid of the message that Access will be opened in > > read only mode. > > > > Anita Smith > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Apr 3 23:44:37 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Apr 2009 21:44:37 -0700 Subject: [AccessD] FW: Toy Track Message-ID: Dear List: This client had an abnormal termination running my 2003 mde on 2007 - that apologetic pop up that says Access has encountered and error and has to close - gives you an option to send the error to Microsoft. Anyone had any experience with this or this AccessRT2003 of which he speaks? MTIA Rocky _____ From: Jeff Jarvis [mailto:crimsonk91 at gmail.com] Sent: Friday, April 03, 2009 8:09 PM To: Rocky Smolin Subject: Toy Track Rocky, on a hunch I took the liberty of installing AccessRT2003 on my computer, you'll never guess what happened. The minor problems I was having all cleared up except the label problem, the error is included as an attachment. It would appear that an Access database created with 2003 does not run properly on 2007. I'm going to contact Microsoft and inquire as how to proceed, maybe there's a glitch in it that they don't know about. Jeff From darren at activebilling.com.au Sat Apr 4 00:57:10 2009 From: darren at activebilling.com.au (Darren D) Date: Sat, 4 Apr 2009 16:57:10 +1100 Subject: [AccessD] A2003:Outlook Recurrence Screen In-Reply-To: <43E71197458A480DB086914A00C5B719@SusanOne> References: <01cd01c9b409$c7c8a2d0$131b910a@denzilnote> <43E71197458A480DB086914A00C5B719@SusanOne> Message-ID: <01d701c9b4ea$337348b0$131b910a@denzilnote> Hi Susan et al Sorry to hear about your flu - I hate those days. You really do have my sympathy Open Outlook Click on Calendar Double click to create a new appointment Click on the 'Recurrence' The popup screen that appears is the item I want to open The Entry ID is kinda the PK for outlook things In my case it's the PK for an appointment/calendar item It's easy enough to retrieve in code once an appointment is made It's that EntryID I want to pass to this recurrence screen Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 04 April 2009 1:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Outlook Recurrence Screen > I was wondering if anyone knew a way to 'call' the outlook recurrence > screen > and 'pass' the EntryID for a given Calendar item or Appointment Item. > Then hopefully have the recurrences entered take effect based on that item =======I'm full of otc cold medication, so I'm not so sharp today, but I don't know what you mean by "recurrence screen" -- are you talking about the actual dialog box that lets you identify an appointment or event as recurring? By EntryID, do you mean the item's internal identity number or is that an actual field in the dialog box? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Apr 4 08:26:35 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 04 Apr 2009 09:26:35 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: <49D7600B.5060509@colbyconsulting.com> And... it does not display progress of a single query. John W. Colby www.ColbyConsulting.com Hewson, Jim wrote: > I think it's a great idea. > I have tried several times to do what you describe - I have never been > successful. > What I learned is that any progress bar you make will ultimately be a > something you have crafted with two labels and code to make progress > after each process completes. That means after each query runs... > I have used the FMS add-in and it does work, but it takes up more > clock-time to run than it's worth. > I hope someone can give you help on this. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the > user > the progress during the entire process which can take a couple of > minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > > > From rbgajewski at adelphia.net Sat Apr 4 09:26:52 2009 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Sat, 4 Apr 2009 10:26:52 -0400 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: <0BF2186005084798AE6CE9760F92873A@HAL9005> References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com><7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005><49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com><2F81CA8DCC8940FB805D1910245C7EAC@HAL9005> <0BF2186005084798AE6CE9760F92873A@HAL9005> Message-ID: Hi Rocky This works for me, and then I just call the function in the OnClick events ... Function cbfClick() Me.ActiveControl.SelStart = 0 Me.ActiveControl.SelLength = Nz(Len(Me.ActiveControl), 0) End Function Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 19:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I set the options to select the entire field but it didn't seem to hold. The field wasn't selected when I tabbed into it and when I looked at the option it was set back to start of field. What I needed was: Application.SetOption "Behavior Entering Field", 0 In the open event of the form where I wanted that behavior. It does not carry over from one form to the next. HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I'll need an OnClick cal to select the text. But the database options to select entire field seems to work for the tabbing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me ...and does it still work if you tab into it ...and does it still work if you select it in code, ie: me!textname.setfocus And every other way it can be selected? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Apr 4 09:39:05 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 4 Apr 2009 07:39:05 -0700 Subject: [AccessD] Sel Start and Sel Length not working for me In-Reply-To: References: <7EDD43CF5D9D4D948C17671B7C2F5A1C@HAL9005> <49d528fa.0710660a.4e26.ffffad1c@mx.google.com><7E83E2E8BCAF42E2A1BC006C95FEED0C@HAL9005><49d52cfe.02a1660a.4cb1.ffffd2e6@mx.google.com><2F81CA8DCC8940FB805D1910245C7EAC@HAL9005><0BF2186005084798AE6CE9760F92873A@HAL9005> Message-ID: <1D8D792720B547578F4D8D679DAE39BA@HAL9005> Too easy! :) Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Saturday, April 04, 2009 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Hi Rocky This works for me, and then I just call the function in the OnClick events ... Function cbfClick() Me.ActiveControl.SelStart = 0 Me.ActiveControl.SelLength = Nz(Len(Me.ActiveControl), 0) End Function Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 19:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I set the options to select the entire field but it didn't seem to hold. The field wasn't selected when I tabbed into it and when I looked at the option it was set back to start of field. What I needed was: Application.SetOption "Behavior Entering Field", 0 In the open event of the form where I wanted that behavior. It does not carry over from one form to the next. HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 02, 2009 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I'll need an OnClick cal to select the text. But the database options to select entire field seems to work for the tabbing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me ...and does it still work if you tab into it ...and does it still work if you select it in code, ie: me!textname.setfocus And every other way it can be selected? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 22:18 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me Ah, good one! When I tab into it I get the field selected. Click, no go. If I put the call into the click event, then walla!, data selected. Unfortunately I have 14 of these little text boxes on the form so I'll have to have both a click and an enter event calling the text selector for each one. Problem solved. Thanks once again to all for your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, April 02, 2009 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sel Start and Sel Length not working for me I bet if you TAB into it, it selects the current value. Allowing you to overtype. If you click on it, then it probably won't Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 02 April 2009 20:03 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sel Start and Sel Length not working for me Dear List: In the got focus event of a bound text box I want to have all the current text selected. The box can only have a 0 or 1.It is bound to a field of data type number The following code should (I think, but obviously not) select all the text in the box but doesn't. Can anyone see why? Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = len(Me.fldFHxDetailMotherResponse) I also tried: Me.fldFHxDetailMotherResponse.SelStart = 0 Me.fldFHxDetailMotherResponse.SelLength = 1 just to make things simple. But no soap. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Apr 4 09:52:47 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 04 Apr 2009 10:52:47 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: William, I'm going to send you a progress bar form off line that I wrote. However unless you run the query asynchronously, which you can only do through an ODBC Direct connection, it's not going to do you much good. With regular JET based queries, they run synchronously and you won't get control back until it's finished. You'd be better off with an animation as the other's have suggested. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 03, 2009 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Queries Progress Bar Group ...I have the following in the FormLoad event: DoCmd.SetWarnings False tblExhibitorWebClear DoCmd.OpenQuery "qryExhByShowCurrentAppend" DoCmd.OpenQuery "qryExhByShowPastAppend" DoCmd.SetWarnings True ...that all happens in the background ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. ...don't want to use the vb ocx if possible, but would if necessary. ...don't want to use the progress meter in the status bar ...accuracy isn't necessary ...just a reasonable approximation. ...tried using a timer and labels but the queries always run before the timer starts ...any ideas or samples much appreciated William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Apr 4 10:26:01 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 4 Apr 2009 11:26:01 -0400 Subject: [AccessD] FW: Toy Track References: Message-ID: <81AA3CF486A24E18922C7BB7A0FA84AB@SusanOne> BTW, what the hell is AccessRT2003? I've never heard of such a critter. ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 04, 2009 12:44 AM Subject: [AccessD] FW: Toy Track > Dear List: > > This client had an abnormal termination running my 2003 mde on 2007 - that > apologetic pop up that says Access has encountered and error and has to > close - gives you an option to send the error to Microsoft. > > Anyone had any experience with this or this AccessRT2003 of which he > speaks? > > MTIA > > Rocky > > > _____ > > From: Jeff Jarvis [mailto:crimsonk91 at gmail.com] > Sent: Friday, April 03, 2009 8:09 PM > To: Rocky Smolin > Subject: Toy Track > > > Rocky, on a hunch I took the liberty of installing AccessRT2003 on my > computer, you'll never guess what happened. The minor problems I was > having > all cleared up except the label problem, the error is included as an > attachment. It would appear that an Access database created with 2003 does > not run properly on 2007. I'm going to contact Microsoft and inquire as > how > to proceed, maybe there's a glitch in it that they don't know about. > > Jeff > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Sat Apr 4 11:05:42 2009 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 4 Apr 2009 11:05:42 -0500 Subject: [AccessD] FW: Toy Track In-Reply-To: <81AA3CF486A24E18922C7BB7A0FA84AB@SusanOne> References: <81AA3CF486A24E18922C7BB7A0FA84AB@SusanOne> Message-ID: Looks to be Access Run Time 2003 RT=Run TIme. Just a guess. GK On Sat, Apr 4, 2009 at 10:26 AM, Susan Harkins wrote: > BTW, what the hell is AccessRT2003? I've never heard of such a critter. > > ----- Original Message ----- > From: "Rocky Smolin" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, April 04, 2009 12:44 AM > Subject: [AccessD] FW: Toy Track > > >> Dear List: >> >> This client had an abnormal termination running my 2003 mde on 2007 - that >> apologetic pop up that says Access has encountered and error and has to >> close - gives you an option to send the error to Microsoft. >> >> Anyone had any experience with this or this AccessRT2003 of which he >> speaks? >> >> MTIA >> >> Rocky >> >> >> ?_____ >> >> From: Jeff Jarvis [mailto:crimsonk91 at gmail.com] >> Sent: Friday, April 03, 2009 8:09 PM >> To: Rocky Smolin >> Subject: Toy Track >> >> >> Rocky, on a hunch I took the liberty of installing AccessRT2003 on my >> computer, you'll never guess what happened. The minor problems I was >> having >> all cleared up except the label problem, the error is included as an >> attachment. It would appear that an Access database created with 2003 does >> not run properly on 2007. I'm going to contact Microsoft and inquire as >> how >> to proceed, maybe there's a glitch in it that they don't know about. >> >> Jeff >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Sat Apr 4 11:15:31 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 4 Apr 2009 12:15:31 -0400 Subject: [AccessD] FW: Toy Track References: <81AA3CF486A24E18922C7BB7A0FA84AB@SusanOne> Message-ID: <3A12825A11FD41E1B9A6E020A2A61A67@SusanOne> Well, I figured as much, but just never seen it referred to that way. BTW, I thought I was sending that to Rocky privately -- I apologize to the list for having a really bad cold (for TWO FRIGGIN WEEKS) and being snarky this morning. Susan H. Looks to be Access Run Time 2003 RT=Run TIme. Just a guess. From garykjos at gmail.com Sat Apr 4 11:33:00 2009 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 4 Apr 2009 11:33:00 -0500 Subject: [AccessD] FW: Toy Track In-Reply-To: <3A12825A11FD41E1B9A6E020A2A61A67@SusanOne> References: <81AA3CF486A24E18922C7BB7A0FA84AB@SusanOne> <3A12825A11FD41E1B9A6E020A2A61A67@SusanOne> Message-ID: I sometimes forget this list isn't the OT one. Hope you feel better soon, GK On Sat, Apr 4, 2009 at 11:15 AM, Susan Harkins wrote: > Well, I figured as much, but just never seen it referred to that way. > > BTW, I thought I was sending that to Rocky privately -- I apologize to the > list for having a really bad cold (for TWO FRIGGIN WEEKS) and being snarky > this morning. > > Susan H. > > > > Looks to be Access Run Time 2003 ? RT=Run TIme. ?Just a guess. > -- Gary Kjos garykjos at gmail.com From DWUTKA at Marlow.com Sun Apr 5 04:13:22 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sun, 5 Apr 2009 04:13:22 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005> <359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: I'd say you have the following options: #1. Put in an animation (.avi file). This would have no accuracy at all. Nothing in Access is going to work while a query is running, because VBA is single threaded, so when you run the query, no other code in your project will run. #2. Break the query down into steps you run manually in code, and thus can provide status points to display a progress. #3. Run the query outside of Jet, I believe ADO (or maybe it's something else) will provide a progress. Both 2 and 3 are going to slow things down, because Jet is going to run optimized on it's own, these options are going to take longer. #4. Jet is reporting the progress to the status bar. In theory, you could create an ActiveX progress bar that would monitor and redisplay the progress from the status bar itself. That's completely theoretical. I haven't looked into the logistics. The key component would be whether the activeX would keep running on it's own, outside of the VBA thread. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 03, 2009 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Queries Progress Bar Group ...I have the following in the FormLoad event: DoCmd.SetWarnings False tblExhibitorWebClear DoCmd.OpenQuery "qryExhByShowCurrentAppend" DoCmd.OpenQuery "qryExhByShowPastAppend" DoCmd.SetWarnings True ...that all happens in the background ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. ...don't want to use the vb ocx if possible, but would if necessary. ...don't want to use the progress meter in the status bar ...accuracy isn't necessary ...just a reasonable approximation. ...tried using a timer and labels but the queries always run before the timer starts ...any ideas or samples much appreciated William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From adtp at airtelmail.in Sun Apr 5 07:12:16 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sun, 5 Apr 2009 17:42:16 +0530 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: <007e01c9b5e8$07e99b00$d760a27a@personald6374f> William, My sample db named Query_TopsPerSubGrpLargeData displays a progress bar, using option #2 suggested by Drew. It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Interestingly, in case of large data set, piecemeal processing in convenient packets, through saved queries is found to be faster as compared to a conventional query acting upon the whole data, specially when it involves subqueries. Comparative performance of various alternatives is also brought out in the above sample (Access 2000 file format). Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Drew Wutka To: Access Developers discussion and problem solving Sent: Sunday, April 05, 2009 14:43 Subject: Re: [AccessD] Queries Progress Bar I'd say you have the following options: #1. Put in an animation (.avi file). This would have no accuracy at all. Nothing in Access is going to work while a query is running, because VBA is single threaded, so when you run the query, no other code in your project will run. #2. Break the query down into steps you run manually in code, and thus can provide status points to display a progress. #3. Run the query outside of Jet, I believe ADO (or maybe it's something else) will provide a progress. Both 2 and 3 are going to slow things down, because Jet is going to run optimized on it's own, these options are going to take longer. #4. Jet is reporting the progress to the status bar. In theory, you could create an ActiveX progress bar that would monitor and redisplay the progress from the status bar itself. That's completely theoretical. I haven't looked into the logistics. The key component would be whether the activeX would keep running on it's own, outside of the VBA thread. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 03, 2009 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Queries Progress Bar Group ...I have the following in the FormLoad event: DoCmd.SetWarnings False tblExhibitorWebClear DoCmd.OpenQuery "qryExhByShowCurrentAppend" DoCmd.OpenQuery "qryExhByShowPastAppend" DoCmd.SetWarnings True ...that all happens in the background ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. ...don't want to use the vb ocx if possible, but would if necessary. ...don't want to use the progress meter in the status bar ...accuracy isn't necessary ...just a reasonable approximation. ...tried using a timer and labels but the queries always run before the timer starts ...any ideas or samples much appreciated William From drawbridgej at sympatico.ca Fri Apr 3 17:06:02 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 3 Apr 2009 17:06:02 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> Message-ID: <7B36E008F3DE4F99BD5F57A5277962E1@AMDXP> William, Take a look at ProgressbarNoOCX -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 03, 2009 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar ...I have considered using an ajax type loading animation from the web but REALLY want a progress bar :) William -------------------------------------------------- From: "Max Wanadoo" Sent: Friday, April 03, 2009 4:19 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > I have to ask, why a "Progress Bar", just give them something to look at > with animation. People get used to not even looking unitil the animation > finishes anyway. IOW they get used to click to open then walking away for > a > coffee knowing they have x tseconds/minutes before it is ready. Dont > break > your butts on a progress bar which is only ever looked at the first few > times. > > max > lateral thinking... > > On 4/3/09, Hewson, Jim wrote: >> >> I think it's a great idea. >> I have tried several times to do what you describe - I have never been >> successful. >> What I learned is that any progress bar you make will ultimately be a >> something you have crafted with two labels and code to make progress >> after each process completes. That means after each query runs... >> I have used the FMS add-in and it does work, but it takes up more >> clock-time to run than it's worth. >> I hope someone can give you help on this. >> >> Jim >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 2:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the >> user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before the >> timer starts >> ...any ideas or samples much appreciated >> >> William >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> ############################################################################ #### >> If you have received this message in error, please contact the sender >> immediately and be aware that the use, copying, or dissemination of >> this information is prohibited. This email transmission contains >> information from NCI Information Systems, Inc. that may be considered >> privileged or confidential and is intended solely for the named >> recipient. >> >> ############################################################################ #### >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Sun Apr 5 13:51:12 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 5 Apr 2009 11:51:12 -0700 Subject: [AccessD] Unicode string conversion Message-ID: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> Hello All: I have to read a unicode string from a SQL database into Access. The bytes are doubled up; for instance, the string for 'fred' in hex is '6600720065006400'. I found the Access function 'StrConv', which almost does the translation, but leaves a blank after each character: StrConv(myFredString,vbUnicode) = 'f r e d '. I'd prefer not to have to step through every string dropping the spaces. Does anyone know of a more elegant way to do this? Thanks, Doug Steele From stuart at lexacorp.com.pg Sun Apr 5 14:24:45 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Apr 2009 05:24:45 +1000 Subject: [AccessD] Unicode string conversion In-Reply-To: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> References: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> Message-ID: <49D9921D.585.E358FEA@stuart.lexacorp.com.pg> How are you getting and reading the string? Access/Jet uses Uniode by default for storing strings. On 5 Apr 2009 at 11:51, Doug Steele wrote: > Hello All: > > I have to read a unicode string from a SQL database into Access. The bytes > are doubled up; for instance, the string for 'fred' in hex is > '6600720065006400'. > > I found the Access function 'StrConv', which almost does the translation, > but leaves a blank after each character: > > StrConv(myFredString,vbUnicode) = 'f r e d '. > > I'd prefer not to have to step through every string dropping the spaces. > Does anyone know of a more elegant way to do this? > > Thanks, > > Doug Steele > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Apr 5 14:29:26 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Apr 2009 05:29:26 +1000 Subject: [AccessD] Unicode string conversion In-Reply-To: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> References: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> Message-ID: <49D99336.3175.E39D784@stuart.lexacorp.com.pg> Shouldn't that be StrConv(myFredString,vbFromUnicode) On 5 Apr 2009 at 11:51, Doug Steele wrote: > Hello All: > > I have to read a unicode string from a SQL database into Access. The bytes > are doubled up; for instance, the string for 'fred' in hex is > '6600720065006400'. > > I found the Access function 'StrConv', which almost does the translation, > but leaves a blank after each character: > > StrConv(myFredString,vbUnicode) = 'f r e d '. > > I'd prefer not to have to step through every string dropping the spaces. > Does anyone know of a more elegant way to do this? > > Thanks, > > Doug Steele > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kismert at gmail.com Sun Apr 5 16:50:47 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Sun, 5 Apr 2009 16:50:47 -0500 Subject: [AccessD] Web Applications Message-ID: <7c7841600904051450u46447e1cvfde060bbc21b590@mail.gmail.com> Mark, Max gave a good outline of the skills needed to make a web application, and William provided good insight, too: you don't have to be an expert in all these categories to produce a good web site. A one word summary of this post would be "frameworks". For more words, read on. For references, go to the end. As far as the learning curve goes, I would say: 1) HTML - Easy You are on the standards-compliant, table-less div-based layout bandwagon, aren't you? Advice: build your HTML/CSS in FireFox using the FireBug add-in, then fix compatibility issues that arise with other browsers. FireFox is far and away the best developer's web platform out there. 2) CSS - Difficult, but getting easier -- Mainly because of cross-browser compatibility issues *cough* IE6 *cough*. IE6 consumed almost 2/3 of my CSS consulting time on one large project I was on. Blessedly, IE6 is dying, and the worst cross-browser issues are dying with it. Use IE7 as your lowest common denominator when designing standards-compliant sites. There is so much CSS documentation out there (a lot incomplete, some misleading or just plain wrong), that it can be hard to find the critical points you must grasp to make your style sheets work. Get a good book. See below. 3) Javascript/DHTML - Hard -- Javascript was a rushed project that instantly became the web client-scripting standard after it was launched, and it carries all the warts of its hurried design with it today. That means the web is awash with bad coding examples and confused advice on how to use it. Javascript is, at it's heart, Lisp with a C syntax. If you use it in a Lisp-like way (first-class functions, closures), you will get the highest value. There are an enormous number of mature Javascript FRAMEWORKS out there that will perform AJAX/DHTML functions with ease. If you are doing anything non-trivial with Javascript, you must choose and use one. Javascript is poised for a renaissance. All the significant browser players (MS is not a significant player) are building Javascript optimization technologies that will dramatically improve it's performance. Javascript will equal or exceed Silverlight's capabilities as an client-side web application platform. 4) Back-end database - In hand -- Members of this list will have no trouble building databases to support web apps. 5) Back-end business logic - Doable -- Sorry, but you can't use VBA. You'll have to use something newer, like PHP, Python, Ruby, or .NET. All modern web languages are vastly better than VBA -- once you learn one, VBA will strike you as limited and clumsy. Don't build your site from scratch using just your chosen language -- that's so Web 1.0! The language is secondary to your real choice: what web FRAMEWORK to use in that language. Web frameworks are a philosophical and sometimes religious choice, but you can choose based on breadth of support and applicability to the type of application you are building. 6) Graphics - Use a Mac -- Or find someone who does. What I'm saying is, if it's not your cup of tea, get a designer. GIFs are out, PNG is in. Don't edit a Mac-made PNG on your PC -- you'll screw up the gamma, and your designer will complain. 7) Web architect - No one right way -- Once you've mastered a subset of these skills, putting it all together is one of the simplest things. If you can get it to work, you've done it right. If your site is successful, you will have plenty of time to fix your mistakes. Books: JavaScript: The Good Parts -- http://oreilly.com/catalog/9780596517748/ -- Douglas Crockford Crockford, a curmudgeon and world's leading Javascript expert, tells you what to use in Javascript, and what to avoid, in a dense, slim volume. Stylin' with CSS -- http://www.stylinwithcss.com/ -- Charles Wyke-Smith Wyke-Smith gives a correct, fairly complete, and up-to-date tour of CSS, while avoiding common pitfalls. Links: The Browsers of 2009 -- http://css.dzone.com/news/browsers-2009 A cost/benefit analysis of developing for the various browser platforms -- the IE6 comments bear out in my experience. CSS: Specificity Wars -- http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html Andy Clarke gives by far the most approachable introduction to the CSS specificity that I've seen. If you don't understand specificity, you'll struggle endlessly trying to get your CSS to work. -Ken From ebarro at verizon.net Sun Apr 5 19:09:25 2009 From: ebarro at verizon.net (Eric Barro) Date: Sun, 05 Apr 2009 17:09:25 -0700 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> Message-ID: <545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> I would skip classic ASP and go directly to ASP.NET. If you already have VB or VBA programming experience, you can easily adapt to VB.NET. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, April 03, 2009 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Choosing web technology I am self taught in pretty much everything, including the web stuff I got into. My personal recommendation is to start with HTML and ASP, to learn and understand how web apps work. Of course, this would almost be like telling someone to learn Machine language if they wanted to learn to program. The difference is that web applications are a different beast from normal Window's apps. It's a client/server situation, that has it's own quirks. Once you are familiar with HTML and ASP, when you go to something like ASP.NET, you do so with the understanding that ASP.NET is using Javascript and server side stuff to simulate a 'real time' environment, even though such an environment really doesn't exist in the HTML world of the web. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 03, 2009 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Choosing web technology Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either. It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover Hotmail(r): Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Storage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Apr 5 19:37:30 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 5 Apr 2009 17:37:30 -0700 (PDT) Subject: [AccessD] Choosing web technology Message-ID: <798339.70676.qm@web110208.mail.gq1.yahoo.com> I concur. The development enviorment has a lot of drop and drag controls that are useful to application developers. The 2008 version has some AJAX controls that do cool things as well. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us ? --- On Sun, 4/5/09, Eric Barro wrote: From: Eric Barro Subject: Re: [AccessD] Choosing web technology To: "'Access Developers discussion and problem solving'" Date: Sunday, April 5, 2009, 5:09 PM I would skip classic ASP and go directly to ASP.NET. If you already have VB or VBA programming experience, you can easily adapt to VB.NET. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, April 03, 2009 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Choosing web technology I am self taught in pretty much everything, including the web stuff I got into.? My personal recommendation is to start with HTML and ASP, to learn and understand how web apps work.? Of course, this would almost be like telling someone to learn Machine language if they wanted to learn to program. The difference is that web applications are a different beast from normal Window's apps.? It's a client/server situation, that has it's own quirks. Once you are familiar with HTML and ASP, when you go to something like ASP.NET, you do so with the understanding that ASP.NET is using Javascript and server side stuff? to simulate a 'real time' environment, even though such an environment really doesn't exist in the HTML world of the web. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 03, 2009 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Choosing web technology Hello All, I have been interested in the past in moving from Access to something 'web based'...and have done a number of html and asp tutorials...but would have to say I really don't know either.? It has been recently suggested (at work) that I 'pick' something and learn it. Seems like a broad generic request to me...but it is from a non technical person. So...I guess if I wanted to create interactive/dynamic web applications...what criteria would I use to determine the appropriate language/technology? Thanks, Mark _________________________________________________________________ Rediscover Hotmail(r): Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Storage1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Sun Apr 5 19:37:41 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Mon, 6 Apr 2009 10:37:41 +1000 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: <5845D8CC58794D77B2992DD7C6696F9F@BPCS> References: <49D68BC3.2000103@colbyconsulting.com> <5845D8CC58794D77B2992DD7C6696F9F@BPCS> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13955@WPEXCH22.retail.ad.cmltd.net.au> I have recovered photos before and for free (From a Sony Cybershot in this case). Google your camera make and model and see what comes up. There is a lot of help out there for this sort of thing. IMPORTANT! Don't do anything else with the camera and definitely do not take any more photos. Try to get the images back before you try anything new. good luck. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, 4 April 2009 9:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Visa: Can you undelete a move? John, I have successfully recovered photos from a camera SD card using eData unerase by Octane Soft. I think I paid $30 or so for it. Well worth it since it was my wife's camera that I accidentally erase. Other unerase program might work, if you already have one. HTH Bill URL to Octane http://www.octanesoft.com/ ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Friday, April 03, 2009 3:20 PM Subject: [AccessD] Visa: Can you undelete a move? I did a shift Drag / Drop from my camera, and apparently answered no when asked the folder question. AFAICT the pictures did NOT end up in the directory but they are gone from the camera. IOW, they appear to be just gone. I am not seeing them in the recycle bin, and they are not on the camera. Can I get them back? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From jwcolby at colbyconsulting.com Sun Apr 5 20:04:07 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 05 Apr 2009 21:04:07 -0400 Subject: [AccessD] Visa: Can you undelete a move? In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13955@WPEXCH22.retail.ad.cmltd.net.au> References: <49D68BC3.2000103@colbyconsulting.com> <5845D8CC58794D77B2992DD7C6696F9F@BPCS> <57E6E6CA42105A48B977303A2CDC27200815F13955@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <49D95507.7080404@colbyconsulting.com> I did manage to get them back. I tried to do it in the camera attached via the usb cable but that didn't work. So I moved the memory chip into my laptop and got them back using an undelete program. Thanks for all the responses. John W. Colby www.ColbyConsulting.com Darryl Collins wrote: > I have recovered photos before and for free (From a Sony Cybershot in this case). Google your camera make and model and see what comes up. There is a lot of help out there for this sort of thing. > > IMPORTANT! Don't do anything else with the camera and definitely do not take any more photos. Try to get the images back before you try anything new. > > good luck. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten > Sent: Saturday, 4 April 2009 9:42 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Visa: Can you undelete a move? > > John, > > I have successfully recovered photos from a camera SD card using eData > unerase by Octane Soft. I think > I paid $30 or so for it. Well worth it since it was my wife's camera that I > accidentally erase. Other unerase program might work, if you already have > one. > > > HTH > > Bill > > URL to Octane > > http://www.octanesoft.com/ > > ----- Original Message ----- > From: "jwcolby" > To: "Access Developers discussion and problem solving" > > Sent: Friday, April 03, 2009 3:20 PM > Subject: [AccessD] Visa: Can you undelete a move? > > > I did a shift Drag / Drop from my camera, and apparently answered no when > asked the folder question. > AFAICT the pictures did NOT end up in the directory but they are gone from > the camera. IOW, they > appear to be just gone. I am not seeing them in the recycle bin, and they > are not on the camera. > Can I get them back? > > From marksimms at verizon.net Sun Apr 5 20:12:42 2009 From: marksimms at verizon.net (Mark Simms) Date: Sun, 05 Apr 2009 21:12:42 -0400 Subject: [AccessD] Web Applications In-Reply-To: <7c7841600904051450u46447e1cvfde060bbc21b590@mail.gmail.com> References: <7c7841600904051450u46447e1cvfde060bbc21b590@mail.gmail.com> Message-ID: <005901c9b654$c952e190$0601a8c0@MSIMMSWS> Great review Ken, but again, without a super webdev IDE like Visual Studio 2008, I challenge anyone to be proficient in all of the below with development via text editor. Also, the cross-browser issue is huge IMHO. IE6 renders my most favorite CSS-heavy website with no problem. Firefox cannot render it...at all. Told them about it 5 months ago....still no solution. Lack of standard rendering engine just makes for web developer and end-user misery. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kenneth Ismert > Sent: Sunday, April 05, 2009 5:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Web Applications > > Mark, > > Max gave a good outline of the skills needed to make a web > application, and William provided good insight, too: you > don't have to be an expert in all these categories to produce > a good web site. > > A one word summary of this post would be "frameworks". For > more words, read on. For references, go to the end. > > As far as the learning curve goes, I would say: > > 1) HTML - Easy > You are on the standards-compliant, table-less div-based > layout bandwagon, aren't you? Advice: build your HTML/CSS in > FireFox using the FireBug add-in, then fix compatibility > issues that arise with other browsers. FireFox is far and > away the best developer's web platform out there. > > 2) CSS - Difficult, but getting easier -- > Mainly because of cross-browser compatibility issues > *cough* IE6 *cough*. > IE6 consumed almost 2/3 of my CSS consulting time on one > large project I was on. Blessedly, IE6 is dying, and the > worst cross-browser issues are dying with it. Use IE7 as your > lowest common denominator when designing standards-compliant sites. > There is so much CSS documentation out there (a lot > incomplete, some misleading or just plain wrong), that it can > be hard to find the critical points you must grasp to make > your style sheets work. Get a good book. See below. > > 3) Javascript/DHTML - Hard -- > Javascript was a rushed project that instantly became the > web client-scripting standard after it was launched, and it > carries all the warts of its hurried design with it today. > That means the web is awash with bad coding examples and > confused advice on how to use it. Javascript is, at it's > heart, Lisp with a C syntax. If you use it in a Lisp-like way > (first-class functions, closures), you will get the highest value. > There are an enormous number of mature Javascript > FRAMEWORKS out there that will perform AJAX/DHTML functions > with ease. If you are doing anything non-trivial with > Javascript, you must choose and use one. > Javascript is poised for a renaissance. All the significant > browser players (MS is not a significant player) are building > Javascript optimization technologies that will dramatically > improve it's performance. > Javascript will equal or exceed Silverlight's capabilities as > an client-side web application platform. > > 4) Back-end database - In hand -- > Members of this list will have no trouble building > databases to support web apps. > > 5) Back-end business logic - Doable -- > Sorry, but you can't use VBA. You'll have to use something > newer, like PHP, Python, Ruby, or .NET. All modern web > languages are vastly better than VBA -- once you learn one, > VBA will strike you as limited and clumsy. > Don't build your site from scratch using just your chosen > language -- that's so Web 1.0! The language is secondary to > your real choice: what web FRAMEWORK to use in that language. > Web frameworks are a philosophical and sometimes religious > choice, but you can choose based on breadth of support and > applicability to the type of application you are building. > > 6) Graphics - Use a Mac -- > Or find someone who does. What I'm saying is, if it's not > your cup of tea, get a designer. GIFs are out, PNG is in. > Don't edit a Mac-made PNG on your PC -- you'll screw up the > gamma, and your designer will complain. > > 7) Web architect - No one right way -- > Once you've mastered a subset of these skills, putting it > all together is one of the simplest things. If you can get it > to work, you've done it right. > If your site is successful, you will have plenty of time to > fix your mistakes. > > Books: > JavaScript: The Good Parts -- > http://oreilly.com/catalog/9780596517748/ -- Douglas > Crockford Crockford, a curmudgeon and world's leading > Javascript expert, tells you what to use in Javascript, and > what to avoid, in a dense, slim volume. > > Stylin' with CSS -- http://www.stylinwithcss.com/ -- Charles > Wyke-Smith Wyke-Smith gives a correct, fairly complete, and > up-to-date tour of CSS, while avoiding common pitfalls. > > Links: > The Browsers of 2009 -- http://css.dzone.com/news/browsers-2009 > A cost/benefit analysis of developing for the various browser > platforms -- the IE6 comments bear out in my experience. > > CSS: Specificity Wars -- > http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html > Andy Clarke gives by far the most approachable introduction > to the CSS specificity that I've seen. If you don't > understand specificity, you'll struggle endlessly trying to > get your CSS to work. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Sun Apr 5 20:38:12 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 5 Apr 2009 21:38:12 -0400 Subject: [AccessD] Choosing web technology References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com> <545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> Message-ID: ...Drew simply loves ASP ...he's much like the occasional user you run into who just won't give up their Word Perfect 5.1 :) William -------------------------------------------------- From: "Eric Barro" Sent: Sunday, April 05, 2009 8:09 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Choosing web technology > I would skip classic ASP and go directly to ASP.NET. If you already have > VB > or VBA programming experience, you can easily adapt to VB.NET. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Friday, April 03, 2009 2:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Choosing web technology > > I am self taught in pretty much everything, including the web stuff I got > into. My personal recommendation is to start with HTML and ASP, to learn > and understand how web apps work. Of course, this would almost be like > telling someone to learn Machine language if they wanted to learn to > program. > > The difference is that web applications are a different beast from normal > Window's apps. It's a client/server situation, that has it's own quirks. > > Once you are familiar with HTML and ASP, when you go to something like > ASP.NET, you do so with the understanding that ASP.NET is using Javascript > and server side stuff to simulate a 'real time' environment, even though > such an environment really doesn't exist in the HTML world of the web. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Friday, April 03, 2009 8:59 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Choosing web technology > > > Hello All, > > I have been interested in the past in moving from Access to something 'web > based'...and have done a number of html and asp tutorials...but would have > to say I really don't know either. It has been recently suggested (at > work) > that I 'pick' something and learn it. Seems like a broad generic request > to > me...but it is from a non technical person. > > So...I guess if I wanted to create interactive/dynamic web > applications...what criteria would I use to determine the appropriate > language/technology? Thanks, > > Mark > _________________________________________________________________ > Rediscover Hotmail(r): Get e-mail storage that grows with you. > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover > _Storage1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information contained in this > transmission is intended only for the person or entity to which it is > addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive > material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic > or > hard copy. You are notified that any review, retransmission, copying, > disclosure, dissemination, or other use of, or taking of any action in > reliance upon this information by persons or entities other than the > intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Sun Apr 5 20:47:55 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 5 Apr 2009 21:47:55 -0400 Subject: [AccessD] Web Applications References: <7c7841600904051450u46447e1cvfde060bbc21b590@mail.gmail.com> <005901c9b654$c952e190$0601a8c0@MSIMMSWS> Message-ID: <4C86EAED6121477CA9C8D33D0AB2F2A3@jislaptopdev> ...I find the FF devotees akin to any other cult group ...it has some good points, mainly, its not IE6 ...but less a few plug-ins I find useful for web work, IE8 is my development browser for the moment ...the practical matter is that IE remains the defacto user standard by far and all the geek whining in the world won't change that ...I prefer designing for 60+ % of the market on IE and then adjusting for the 20% on FF ...and I'm rather cultish about that myself :) William -------------------------------------------------- From: "Mark Simms" Sent: Sunday, April 05, 2009 9:12 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Web Applications > Great review Ken, but again, without a super webdev IDE like Visual Studio > 2008, > I challenge anyone to be proficient in all of the below with development > via > text editor. > > Also, the cross-browser issue is huge IMHO. > IE6 renders my most favorite CSS-heavy website with no problem. > Firefox cannot render it...at all. > Told them about it 5 months ago....still no solution. > Lack of standard rendering engine just makes for web developer and > end-user > misery. >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kenneth Ismert >> Sent: Sunday, April 05, 2009 5:51 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Web Applications >> >> Mark, >> >> Max gave a good outline of the skills needed to make a web >> application, and William provided good insight, too: you >> don't have to be an expert in all these categories to produce >> a good web site. >> >> A one word summary of this post would be "frameworks". For >> more words, read on. For references, go to the end. >> >> As far as the learning curve goes, I would say: >> >> 1) HTML - Easy >> You are on the standards-compliant, table-less div-based >> layout bandwagon, aren't you? Advice: build your HTML/CSS in >> FireFox using the FireBug add-in, then fix compatibility >> issues that arise with other browsers. FireFox is far and >> away the best developer's web platform out there. >> >> 2) CSS - Difficult, but getting easier -- >> Mainly because of cross-browser compatibility issues >> *cough* IE6 *cough*. >> IE6 consumed almost 2/3 of my CSS consulting time on one >> large project I was on. Blessedly, IE6 is dying, and the >> worst cross-browser issues are dying with it. Use IE7 as your >> lowest common denominator when designing standards-compliant sites. >> There is so much CSS documentation out there (a lot >> incomplete, some misleading or just plain wrong), that it can >> be hard to find the critical points you must grasp to make >> your style sheets work. Get a good book. See below. >> >> 3) Javascript/DHTML - Hard -- >> Javascript was a rushed project that instantly became the >> web client-scripting standard after it was launched, and it >> carries all the warts of its hurried design with it today. >> That means the web is awash with bad coding examples and >> confused advice on how to use it. Javascript is, at it's >> heart, Lisp with a C syntax. If you use it in a Lisp-like way >> (first-class functions, closures), you will get the highest value. >> There are an enormous number of mature Javascript >> FRAMEWORKS out there that will perform AJAX/DHTML functions >> with ease. If you are doing anything non-trivial with >> Javascript, you must choose and use one. >> Javascript is poised for a renaissance. All the significant >> browser players (MS is not a significant player) are building >> Javascript optimization technologies that will dramatically >> improve it's performance. >> Javascript will equal or exceed Silverlight's capabilities as >> an client-side web application platform. >> >> 4) Back-end database - In hand -- >> Members of this list will have no trouble building >> databases to support web apps. >> >> 5) Back-end business logic - Doable -- >> Sorry, but you can't use VBA. You'll have to use something >> newer, like PHP, Python, Ruby, or .NET. All modern web >> languages are vastly better than VBA -- once you learn one, >> VBA will strike you as limited and clumsy. >> Don't build your site from scratch using just your chosen >> language -- that's so Web 1.0! The language is secondary to >> your real choice: what web FRAMEWORK to use in that language. >> Web frameworks are a philosophical and sometimes religious >> choice, but you can choose based on breadth of support and >> applicability to the type of application you are building. >> >> 6) Graphics - Use a Mac -- >> Or find someone who does. What I'm saying is, if it's not >> your cup of tea, get a designer. GIFs are out, PNG is in. >> Don't edit a Mac-made PNG on your PC -- you'll screw up the >> gamma, and your designer will complain. >> >> 7) Web architect - No one right way -- >> Once you've mastered a subset of these skills, putting it >> all together is one of the simplest things. If you can get it >> to work, you've done it right. >> If your site is successful, you will have plenty of time to >> fix your mistakes. >> >> Books: >> JavaScript: The Good Parts -- >> http://oreilly.com/catalog/9780596517748/ -- Douglas >> Crockford Crockford, a curmudgeon and world's leading >> Javascript expert, tells you what to use in Javascript, and >> what to avoid, in a dense, slim volume. >> >> Stylin' with CSS -- http://www.stylinwithcss.com/ -- Charles >> Wyke-Smith Wyke-Smith gives a correct, fairly complete, and >> up-to-date tour of CSS, while avoiding common pitfalls. >> >> Links: >> The Browsers of 2009 -- http://css.dzone.com/news/browsers-2009 >> A cost/benefit analysis of developing for the various browser >> platforms -- the IE6 comments bear out in my experience. >> >> CSS: Specificity Wars -- >> http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html >> Andy Clarke gives by far the most approachable introduction >> to the CSS specificity that I've seen. If you don't >> understand specificity, you'll struggle endlessly trying to >> get your CSS to work. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Sun Apr 5 23:53:19 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sun, 5 Apr 2009 23:53:19 -0500 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com><545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> Message-ID: LOL. True, in a way, but that wasn't my point. Many 'web developers' (and I use that term VERY loosely, and am not talking about anyone I have seen on this list...) don't have a clue about how a website actually works. They use other people's code, to overcharge their clients in developing a system that is all glitz and glitter, and usually is less then stellar internally. If you get a good grasp of how to use plain old ASP, you should have learned, along the way, how a web application actually works. In my book, that is crucial to being a GOOD web developer. Newer technologies really aren't improving on the core processes, they are just implementing preprogrammed stuff to give the appearance of new features. For example, with ASP.NET, you have client side events...those really don't exist. It's being accomplished with Javascript on the client side. Yes, a client's browser can have events, but the server doesn't know that, and is completely unaware of them, unless the client sends them some how. Not that I have anything against using something like ASP.NET. Hey, it does have a lot of advantages. If someone really wanted to learn to fly, I wouldn't recommend they start with an SR-71 either! ;) It is just my opinion though.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, April 05, 2009 8:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Choosing web technology ...Drew simply loves ASP ...he's much like the occasional user you run into who just won't give up their Word Perfect 5.1 :) William -------------------------------------------------- From: "Eric Barro" Sent: Sunday, April 05, 2009 8:09 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Choosing web technology > I would skip classic ASP and go directly to ASP.NET. If you already have > VB > or VBA programming experience, you can easily adapt to VB.NET. > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Apr 6 01:10:57 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 02:10:57 -0400 Subject: [AccessD] Choosing web technology References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com><545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> Message-ID: "If someone really wanted to learn to fly, I wouldn't recommend they start with an SR-71 either! ;)" Drew ...hhhmmm ...no, I'd probably recommend they solo in a piper cub first ...not the Wright Brother's biplane :) William From jwcolby at colbyconsulting.com Mon Apr 6 07:03:00 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Apr 2009 08:03:00 -0400 Subject: [AccessD] Choosing web technology In-Reply-To: References: , <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg>, <49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com><545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> Message-ID: <49D9EF74.6060103@colbyconsulting.com> > If someone really wanted to learn to fly, I wouldn't recommend they start with an SR-71 either! ;) OTOH if someone wants to fly, starting by flapping your arms isn't extraordinarily useful either. ;) John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > LOL. > > True, in a way, but that wasn't my point. Many 'web developers' (and I > use that term VERY loosely, and am not talking about anyone I have seen > on this list...) don't have a clue about how a website actually works. > They use other people's code, to overcharge their clients in developing > a system that is all glitz and glitter, and usually is less then stellar > internally. > > If you get a good grasp of how to use plain old ASP, you should have > learned, along the way, how a web application actually works. In my > book, that is crucial to being a GOOD web developer. > > Newer technologies really aren't improving on the core processes, they > are just implementing preprogrammed stuff to give the appearance of new > features. For example, with ASP.NET, you have client side > events...those really don't exist. It's being accomplished with > Javascript on the client side. Yes, a client's browser can have events, > but the server doesn't know that, and is completely unaware of them, > unless the client sends them some how. > > Not that I have anything against using something like ASP.NET. Hey, it > does have a lot of advantages. > > If someone really wanted to learn to fly, I wouldn't recommend they > start with an SR-71 either! ;) > > It is just my opinion though.... > > Drew From wdhindman at dejpolsystems.com Mon Apr 6 08:18:50 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:18:50 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: <4564CA0822A249EA9317199C9E06FA2F@jislaptopdev> ...thanks Jim, I've put it in my library ...looks like there really is no way to progress bar a query without breaking it up into separate smaller queries ...so its off to the animation library to see what I can figure out there :( William -------------------------------------------------- From: "Jim Dettman" Sent: Saturday, April 04, 2009 10:52 AM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Queries Progress Bar > William, > > I'm going to send you a progress bar form off line that I wrote. > > However unless you run the query asynchronously, which you can only do > through an ODBC Direct connection, it's not going to do you much good. > With > regular JET based queries, they run synchronously and you won't get > control > back until it's finished. > > You'd be better off with an animation as the other's have suggested. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, April 03, 2009 3:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the user > the progress during the entire process which can take a couple of minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 08:22:40 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:22:40 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> Message-ID: <222339E647254966856F89484AC3A8D9@jislaptopdev> ...you call these OPTIONS? ...would you rather swallow rat poison or Clorox eh? :) ...tks, its a decent summary of one of Access's limitations that there just is no decent work around for. William -------------------------------------------------- From: "Drew Wutka" Sent: Sunday, April 05, 2009 5:13 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > I'd say you have the following options: > > #1. Put in an animation (.avi file). This would have no accuracy at > all. > > Nothing in Access is going to work while a query is running, because VBA > is single threaded, so when you run the query, no other code in your > project will run. > > #2. Break the query down into steps you run manually in code, and thus > can provide status points to display a progress. > > #3. Run the query outside of Jet, I believe ADO (or maybe it's > something else) will provide a progress. > > Both 2 and 3 are going to slow things down, because Jet is going to run > optimized on it's own, these options are going to take longer. > > #4. Jet is reporting the progress to the status bar. In theory, you > could create an ActiveX progress bar that would monitor and redisplay > the progress from the status bar itself. That's completely theoretical. > I haven't looked into the logistics. The key component would be whether > the activeX would keep running on it's own, outside of the VBA thread. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the > user > the progress during the entire process which can take a couple of > minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 08:32:00 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:32:00 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <007e01c9b5e8$07e99b00$d760a27a@personald6374f> Message-ID: <44370CEF64EE47568CF80E7451A1BC2C@jislaptopdev> ...its a very useful sample AD and I appreciate your posting it ...but I'm just not willing to risk complicating the query structure like that here :( ...sigh ...it looks like I'm going to just use a regular label to tell them something is going on and they'll just have to wait ...not what I want but I've turned up nothing either here or googling, not even an ocx that will track a single query ...something that seems so simple and so basic and yet ...nothing ...time to move on. William -------------------------------------------------- From: "A.D.Tejpal" Sent: Sunday, April 05, 2009 8:12 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > William, > > My sample db named Query_TopsPerSubGrpLargeData displays a progress > bar, using option #2 suggested by Drew. It is available at Rogers Access > Library. Link: > http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 > > Interestingly, in case of large data set, piecemeal processing in > convenient packets, through saved queries is found to be faster as > compared to a conventional query acting upon the whole data, specially > when it involves subqueries. Comparative performance of various > alternatives is also brought out in the above sample (Access 2000 file > format). > > Best wishes, > A.D. Tejpal > ------------ > > ----- Original Message ----- > From: Drew Wutka > To: Access Developers discussion and problem solving > Sent: Sunday, April 05, 2009 14:43 > Subject: Re: [AccessD] Queries Progress Bar > > > I'd say you have the following options: > > #1. Put in an animation (.avi file). This would have no accuracy at > all. > > Nothing in Access is going to work while a query is running, because VBA > is single threaded, so when you run the query, no other code in your > project will run. > > #2. Break the query down into steps you run manually in code, and thus > can provide status points to display a progress. > > #3. Run the query outside of Jet, I believe ADO (or maybe it's > something else) will provide a progress. > > Both 2 and 3 are going to slow things down, because Jet is going to run > optimized on it's own, these options are going to take longer. > > #4. Jet is reporting the progress to the status bar. In theory, you > could create an ActiveX progress bar that would monitor and redisplay > the progress from the status bar itself. That's completely theoretical. > I haven't looked into the logistics. The key component would be whether > the activeX would keep running on it's own, outside of the VBA thread. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the > user > the progress during the entire process which can take a couple of > minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 08:33:10 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:33:10 -0400 Subject: [AccessD] Queries Progress Bar References: <2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><7E02B06E41E5404589EDDDA2BAA1C5A86BDA3B@sanex101.nciinc.com> <7B36E008F3DE4F99BD5F57A5277962E1@AMDXP> Message-ID: ...thks but that won't work against a query :( William -------------------------------------------------- From: "Jack and Pat" Sent: Friday, April 03, 2009 6:06 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Queries Progress Bar > William, > > > > Take a look at ProgressbarNoOCX > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, April 03, 2009 3:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > > > ...I have considered using an ajax type loading animation from the web but > > REALLY want a progress bar :) > > > > William > > > > -------------------------------------------------- > > From: "Max Wanadoo" > > Sent: Friday, April 03, 2009 4:19 PM > > To: "Access Developers discussion and problem solving" > > > > Subject: Re: [AccessD] Queries Progress Bar > > > >> I have to ask, why a "Progress Bar", just give them something to look at > >> with animation. People get used to not even looking unitil the animation > >> finishes anyway. IOW they get used to click to open then walking away for > >> a > >> coffee knowing they have x tseconds/minutes before it is ready. Dont > >> break > >> your butts on a progress bar which is only ever looked at the first few > >> times. > >> > >> max > >> lateral thinking... > >> > >> On 4/3/09, Hewson, Jim wrote: > >>> > >>> I think it's a great idea. > >>> I have tried several times to do what you describe - I have never been > >>> successful. > >>> What I learned is that any progress bar you make will ultimately be a > >>> something you have crafted with two labels and code to make progress > >>> after each process completes. That means after each query runs... > >>> I have used the FMS add-in and it does work, but it takes up more > >>> clock-time to run than it's worth. > >>> I hope someone can give you help on this. > >>> > >>> Jim > >>> > >>> > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >>> Hindman > >>> Sent: Friday, April 03, 2009 2:21 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: [AccessD] Queries Progress Bar > >>> > >>> Group > >>> > >>> ...I have the following in the FormLoad event: > >>> > >>> DoCmd.SetWarnings False > >>> tblExhibitorWebClear > >>> DoCmd.OpenQuery "qryExhByShowCurrentAppend" > >>> DoCmd.OpenQuery "qryExhByShowPastAppend" > >>> DoCmd.SetWarnings True > >>> > >>> ...that all happens in the background > >>> ...in the foreground I want to display a progress bar that shows the > >>> user > >>> the progress during the entire process which can take a couple of > >>> minutes. > >>> ...don't want to use the vb ocx if possible, but would if necessary. > >>> ...don't want to use the progress meter in the status bar > >>> ...accuracy isn't necessary ...just a reasonable approximation. > >>> ...tried using a timer and labels but the queries always run before the > >>> timer starts > >>> ...any ideas or samples much appreciated > >>> > >>> William > >>> > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> > >>> > ############################################################################ > #### > >>> If you have received this message in error, please contact the sender > >>> immediately and be aware that the use, copying, or dissemination of > >>> this information is prohibited. This email transmission contains > >>> information from NCI Information Systems, Inc. that may be considered > >>> privileged or confidential and is intended solely for the named > >>> recipient. > >>> > >>> > ############################################################################ > #### > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Mon Apr 6 08:34:17 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Apr 2009 15:34:17 +0200 Subject: [AccessD] Queries Progress Bar Message-ID: Hi William #5. Launch - before you run the query - with Shell an external tiny app that runs asynchronously (in another thread) and displays the progress bar. Record the time for the query to run, store that value, and use it +10% as the full time for the progress bar next time it is launched. /gustav >>> wdhindman at dejpolsystems.com 06-04-2009 15:22 >>> ...you call these OPTIONS? ...would you rather swallow rat poison or Clorox eh? :) ...tks, its a decent summary of one of Access's limitations that there just is no decent work around for. William -------------------------------------------------- From: "Drew Wutka" Sent: Sunday, April 05, 2009 5:13 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > I'd say you have the following options: > > #1. Put in an animation (.avi file). This would have no accuracy at > all. > > Nothing in Access is going to work while a query is running, because VBA > is single threaded, so when you run the query, no other code in your > project will run. > > #2. Break the query down into steps you run manually in code, and thus > can provide status points to display a progress. > > #3. Run the query outside of Jet, I believe ADO (or maybe it's > something else) will provide a progress. > > Both 2 and 3 are going to slow things down, because Jet is going to run > optimized on it's own, these options are going to take longer. > > #4. Jet is reporting the progress to the status bar. In theory, you > could create an ActiveX progress bar that would monitor and redisplay > the progress from the status bar itself. That's completely theoretical. > I haven't looked into the logistics. The key component would be whether > the activeX would keep running on it's own, outside of the VBA thread. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the user the progress during the entire process which can take a couple of minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the timer starts > ...any ideas or samples much appreciated > > William From wdhindman at dejpolsystems.com Mon Apr 6 08:35:40 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:35:40 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <4564CA0822A249EA9317199C9E06FA2F@jislaptopdev> Message-ID: <110FECBE1034457DA1C6AE85D4A6AF74@jislaptopdev> ...sheesh ...talk about a single minded beast ...even an animation stops until the query finishes :( William -------------------------------------------------- From: "William Hindman" Sent: Monday, April 06, 2009 9:18 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > ...thanks Jim, I've put it in my library ...looks like there really is no > way to progress bar a query without breaking it up into separate smaller > queries ...so its off to the animation library to see what I can figure > out > there :( > > William > > -------------------------------------------------- > From: "Jim Dettman" > Sent: Saturday, April 04, 2009 10:52 AM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] Queries Progress Bar > >> William, >> >> I'm going to send you a progress bar form off line that I wrote. >> >> However unless you run the query asynchronously, which you can only do >> through an ODBC Direct connection, it's not going to do you much good. >> With >> regular JET based queries, they run synchronously and you won't get >> control >> back until it's finished. >> >> You'd be better off with an animation as the other's have suggested. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 3:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before the >> timer starts >> ...any ideas or samples much appreciated >> >> William >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 08:49:57 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 09:49:57 -0400 Subject: [AccessD] Queries Progress Bar References: Message-ID: <54B8614F37BD449E86F63C92A4F2C019@jislaptopdev> ...and you just happen to have a working sample of this? :) William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, April 06, 2009 9:34 AM To: Subject: Re: [AccessD] Queries Progress Bar > Hi William > > #5. Launch - before you run the query - with Shell an external tiny app > that runs asynchronously (in another thread) and displays the progress > bar. > Record the time for the query to run, store that value, and use it +10% as > the full time for the progress bar next time it is launched. > > /gustav > > >>>> wdhindman at dejpolsystems.com 06-04-2009 15:22 >>> > ...you call these OPTIONS? ...would you rather swallow rat poison or > Clorox eh? :) > ...tks, its a decent summary of one of Access's limitations that there > just is no decent work around for. > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Sunday, April 05, 2009 5:13 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Queries Progress Bar > >> I'd say you have the following options: >> >> #1. Put in an animation (.avi file). This would have no accuracy at >> all. >> >> Nothing in Access is going to work while a query is running, because VBA >> is single threaded, so when you run the query, no other code in your >> project will run. >> >> #2. Break the query down into steps you run manually in code, and thus >> can provide status points to display a progress. >> >> #3. Run the query outside of Jet, I believe ADO (or maybe it's >> something else) will provide a progress. >> >> Both 2 and 3 are going to slow things down, because Jet is going to run >> optimized on it's own, these options are going to take longer. >> >> #4. Jet is reporting the progress to the status bar. In theory, you >> could create an ActiveX progress bar that would monitor and redisplay >> the progress from the status bar itself. That's completely theoretical. >> I haven't looked into the logistics. The key component would be whether >> the activeX would keep running on it's own, outside of the VBA thread. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 2:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before the >> timer starts >> ...any ideas or samples much appreciated >> >> William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Apr 6 09:11:15 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Apr 2009 16:11:15 +0200 Subject: [AccessD] Queries Progress Bar Message-ID: Hi William Nope, you have to do something yourself! ... Isn't a progress bar a standard component of Visual Studio? Or Stuart may have a micro implementation using PowerBasic. I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. /gustav >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> ...and you just happen to have a working sample of this? :) William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, April 06, 2009 9:34 AM To: Subject: Re: [AccessD] Queries Progress Bar > Hi William > > #5. Launch - before you run the query - with Shell an external tiny app > that runs asynchronously (in another thread) and displays the progress > bar. > Record the time for the query to run, store that value, and use it +10% as > the full time for the progress bar next time it is launched. > > /gustav From jwcolby at colbyconsulting.com Mon Apr 6 09:22:12 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Apr 2009 10:22:12 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: Message-ID: <49DA1014.10904@colbyconsulting.com> > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. Oh that would be cool! Play a clip of the sound from Jaws... du-dum. du-dum du-dum du-dum... as your query progressed. Freak your users right out! ;) John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi William > > Nope, you have to do something yourself! ... Isn't a progress bar a standard component of Visual Studio? Or Stuart may have a micro implementation using PowerBasic. > > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. > > /gustav > > >>>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> > > ...and you just happen to have a working sample of this? :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Monday, April 06, 2009 9:34 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > >> Hi William >> >> #5. Launch - before you run the query - with Shell an external tiny app >> that runs asynchronously (in another thread) and displays the progress >> bar. >> Record the time for the query to run, store that value, and use it +10% as >> the full time for the progress bar next time it is launched. >> >> /gustav > > > From dbdoug at gmail.com Mon Apr 6 09:44:15 2009 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 6 Apr 2009 07:44:15 -0700 Subject: [AccessD] Unicode string conversion In-Reply-To: <49D99336.3175.E39D784@stuart.lexacorp.com.pg> References: <4dd71a0c0904051151x39178ee1va44d7d7671e4c35b@mail.gmail.com> <49D99336.3175.E39D784@stuart.lexacorp.com.pg> Message-ID: <4dd71a0c0904060744r56635307o928a6712e9e9a75f@mail.gmail.com> It's a SQL varbinary field and I'm reading it from a SQL table linked to my Access db. I tried the 'vbFromUnicode' parameter as well, but it gave me '??' as the result from the same field. Doug Steele On Sun, Apr 5, 2009 at 12:29 PM, Stuart McLachlan wrote: > Shouldn't that be > StrConv(myFredString,vbFromUnicode) > > > On 5 Apr 2009 at 11:51, Doug Steele wrote: > > > Hello All: > > > > I have to read a unicode string from a SQL database into Access. The > bytes > > are doubled up; for instance, the string for 'fred' in hex is > > '6600720065006400'. > > > > I found the Access function 'StrConv', which almost does the translation, > > but leaves a blank after each character: > > > > StrConv(myFredString,vbUnicode) = 'f r e d '. > > > From andy at minstersystems.co.uk Mon Apr 6 10:48:18 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 6 Apr 2009 15:48:18 +0000 Subject: [AccessD] Queries Progress Bar Message-ID: <200904061448.n36EmL3q017359@databaseadvisors.com> Or Sam & Dave's "Hold On I'm Coming" -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar Date: 06/04/09 14:25 > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. Oh that would be cool! Play a clip of the sound from Jaws... du-dum. du-dum du-dum du-dum... as your query progressed. Freak your users right out! ;) John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi William > > Nope, you have to do something yourself! ... Isn't a progress bar a standard component of Visual Studio? Or Stuart may have a micro implementation using PowerBasic. > > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. > > /gustav > > >>>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> > > ...and you just happen to have a working sample of this? :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Monday, April 06, 2009 9:34 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > >> Hi William >> >> #5. Launch - before you run the query - with Shell an external tiny app >> that runs asynchronously (in another thread) and displays the progress >> bar. >> Record the time for the query to run, store that value, and use it +10% as >> the full time for the progress bar next time it is launched. >> >> /gustav > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Mon Apr 6 10:08:24 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Apr 2009 17:08:24 +0200 Subject: [AccessD] Unicode string conversion Message-ID: Hi Doug I think you need to use a recordset and the GetChunk method to retrieve the data from the binary field. Look up the on-line help for an example of this. /gustav >>> dbdoug at gmail.com 06-04-2009 16:44 >>> It's a SQL varbinary field and I'm reading it from a SQL table linked to my Access db. I tried the 'vbFromUnicode' parameter as well, but it gave me '??' as the result from the same field. Doug Steele On Sun, Apr 5, 2009 at 12:29 PM, Stuart McLachlan wrote: > Shouldn't that be > StrConv(myFredString,vbFromUnicode) > > > On 5 Apr 2009 at 11:51, Doug Steele wrote: > > > Hello All: > > > > I have to read a unicode string from a SQL database into Access. The bytes > > are doubled up; for instance, the string for 'fred' in hex is > > '6600720065006400'. > > > > I found the Access function 'StrConv', which almost does the translation, > > but leaves a blank after each character: > > > > StrConv(myFredString,vbUnicode) = 'f r e d '. From jimdettman at verizon.net Mon Apr 6 10:10:51 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 06 Apr 2009 11:10:51 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: Message-ID: <673E400DAF6D447BB13A091A14CBC636@XPS> <> No need to shell for that, the play sound function will allow a sound to play asynchronously right from within VBA. You just need to call it with the right argument. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 06, 2009 10:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Queries Progress Bar Hi William Nope, you have to do something yourself! ... Isn't a progress bar a standard component of Visual Studio? Or Stuart may have a micro implementation using PowerBasic. I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. /gustav >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> ...and you just happen to have a working sample of this? :) William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, April 06, 2009 9:34 AM To: Subject: Re: [AccessD] Queries Progress Bar > Hi William > > #5. Launch - before you run the query - with Shell an external tiny app > that runs asynchronously (in another thread) and displays the progress > bar. > Record the time for the query to run, store that value, and use it +10% as > the full time for the progress bar next time it is launched. > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 6 10:17:23 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 06 Apr 2009 11:17:23 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: <200904061448.n36EmL3q017359@databaseadvisors.com> References: <200904061448.n36EmL3q017359@databaseadvisors.com> Message-ID: <6E294DD210C6423BBCED2C044388C308@XPS> Or "She'll be coming around the mountain.." But I've got to tell you, I have some Star Trek sound bites recorded and have tossed them in a couple of apps for a joke. I had used the one that says "Working..." for queries or long running processes and "Analysis complete" at the end. Never played anything during the entire run of the query, but I do like John's idea Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, April 06, 2009 11:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar Or Sam & Dave's "Hold On I'm Coming" -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar Date: 06/04/09 14:25 > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. Oh that would be cool! Play a clip of the sound from Jaws... du-dum. du-dum du-dum du-dum... as your query progressed. Freak your users right out! ;) John W. Colby www.ColbyConsulting.com <> From DWUTKA at Marlow.com Mon Apr 6 10:45:26 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 10:45:26 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: <222339E647254966856F89484AC3A8D9@jislaptopdev> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev> <222339E647254966856F89484AC3A8D9@jislaptopdev> Message-ID: Hey, I didn't build Access you know! ;) #4 is really your best shot to reach your goal. It's theoretical though. You'd have to go about it by using SetWindowsHookEx from another program. Let me know if you'd like me to look into it. Otherwise #1 is the easiest to do. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, April 06, 2009 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar ...you call these OPTIONS? ...would you rather swallow rat poison or Clorox eh? :) ...tks, its a decent summary of one of Access's limitations that there just is no decent work around for. William -------------------------------------------------- From: "Drew Wutka" Sent: Sunday, April 05, 2009 5:13 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > I'd say you have the following options: > > #1. Put in an animation (.avi file). This would have no accuracy at > all. > > Nothing in Access is going to work while a query is running, because VBA > is single threaded, so when you run the query, no other code in your > project will run. > > #2. Break the query down into steps you run manually in code, and thus > can provide status points to display a progress. > > #3. Run the query outside of Jet, I believe ADO (or maybe it's > something else) will provide a progress. > > Both 2 and 3 are going to slow things down, because Jet is going to run > optimized on it's own, these options are going to take longer. > > #4. Jet is reporting the progress to the status bar. In theory, you > could create an ActiveX progress bar that would monitor and redisplay > the progress from the status bar itself. That's completely theoretical. > I haven't looked into the logistics. The key component would be whether > the activeX would keep running on it's own, outside of the VBA thread. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, April 03, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Queries Progress Bar > > Group > > ...I have the following in the FormLoad event: > > DoCmd.SetWarnings False > tblExhibitorWebClear > DoCmd.OpenQuery "qryExhByShowCurrentAppend" > DoCmd.OpenQuery "qryExhByShowPastAppend" > DoCmd.SetWarnings True > > ...that all happens in the background > ...in the foreground I want to display a progress bar that shows the > user > the progress during the entire process which can take a couple of > minutes. > ...don't want to use the vb ocx if possible, but would if necessary. > ...don't want to use the progress meter in the status bar > ...accuracy isn't necessary ...just a reasonable approximation. > ...tried using a timer and labels but the queries always run before the > timer starts > ...any ideas or samples much appreciated > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From dbdoug at gmail.com Mon Apr 6 10:52:11 2009 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 6 Apr 2009 08:52:11 -0700 Subject: [AccessD] Unicode string conversion In-Reply-To: References: Message-ID: <4dd71a0c0904060852o6bb96fa6xb51b8643cb5cec19@mail.gmail.com> OK, I will check this out. Thanks. On Mon, Apr 6, 2009 at 8:08 AM, Gustav Brock wrote: > Hi Doug > > I think you need to use a recordset and the GetChunk method to retrieve the > data from the binary field. > > Look up the on-line help for an example of this. > > /gustav > > > >>> dbdoug at gmail.com 06-04-2009 16:44 >>> > It's a SQL varbinary field and I'm reading it from a SQL table linked to my > Access db. > > I tried the 'vbFromUnicode' parameter as well, but it gave me '??' as the > result from the same field. > > Doug Steele > > > On Sun, Apr 5, 2009 at 12:29 PM, Stuart McLachlan >wrote: > > > Shouldn't that be > > StrConv(myFredString,vbFromUnicode) > > > > > > On 5 Apr 2009 at 11:51, Doug Steele wrote: > > > > > Hello All: > > > > > > I have to read a unicode string from a SQL database into Access. The > bytes > > > are doubled up; for instance, the string for 'fred' in hex is > > > '6600720065006400'. > > > > > > I found the Access function 'StrConv', which almost does the > translation, > > > but leaves a blank after each character: > > > > > > StrConv(myFredString,vbUnicode) = 'f r e d '. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Marvin.Bergeleen at avistacorp.com Mon Apr 6 10:54:58 2009 From: Marvin.Bergeleen at avistacorp.com (Bergeleen, Marvin) Date: Mon, 6 Apr 2009 08:54:58 -0700 Subject: [AccessD] Access 2007 - Trusted Location Message-ID: <6F8F6E7326A37B4BA9F184242E92368711C35EC5@H0007.C00.CORP.COM> How would I have Access 2007 open and run a macro right away with "Set Warnings NO" and NOT set a Trusted Location? We will distribute Access to many PC's, some of which have different .MDB or .MDE files on them in various paths. We do not want to have to go to every one of them to manually set the Trusted Location. I understand there are some "global" trusted locations that can be set, but there are only 20 of them, which is not enough. Marvin Bergeleen Information Analyst EDS, an HP company Avista Corp Account MSC: 28 1411 East Mission Ave Spokane, WA 99220 Tel: +1 509 495-4199 Fax: +1 509 777-6031 E-mail: marvin.bergeleen at avistacorp.com We deliver on our commitments so you can deliver on yours. This message and any attached files or documents may contain information that is confidential and considered proprietary to Avista Corporation. Any unauthorized use, transfer, or disclosure of the information contained herein is strictly forbidden. If you believe that this message has been sent to you in error, please reply to the sender that you have received the message in error and delete the message. From kismert at gmail.com Mon Apr 6 11:41:00 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 6 Apr 2009 11:41:00 -0500 Subject: [AccessD] Web Applications Message-ID: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> Hi, All, Some further responses: Mark, "I challenge anyone to be proficient in all of the below with development via text editor." I did it for two years using just creaky old Notepad++, and a GREP tool. Of course, I was using PHP/Apache/MySQL, which is suited to this development style. I even took a shot at writing an MVC web framework in PHP, which, while not ready for production use, showed promising results. Almost the whole Ruby on Rails community uses Textmate. Drew, "If someone really wanted to learn to fly, I wouldn't recommend they start with an SR-71 either! ;)" I have to agree with you on this one. The opinion of certain local developers who I respect is that ASP.NET is overkill. My 'over-the-shoulder' view of the large ASP.NET project I was doing CSS consulting for was that the group of young, talented developers where creating more mess than they were solving. Using a super-fancy IDE doesn't absolve you of the discipline required to make a successful project. And if you have the discipline, you can do it without the super-fancy IDE. William, My "minimum effort" web development strategy is: * Use the subset of CSS 2.1 that IE7 supports * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... it really is less effort to do it this way) * Tweak the site to work in IE7 (this requires *very* few changes from standard CSS) * Work in IE6 to ensure the site is functional, and achieve 80%-96% of the look of the site in the top-tier browsers "...but less a few plug-ins I find useful for web work, IE8 is my development browser for the moment ..." I can't help but wondering whether the "few plug-ins I find useful" is FireBug under FireFox. If IE8 provides developer tools superior to FireBug, I'll consider switching, too. "...I find the FF devotees akin to any other cult group .." Without the FireFox gadfly, Microsoft would never have developed IE8. This forced forward progress is good for all. It remains to be seen whether IE8 will staunch the losses Microsoft continues to suffer in the browser arena. "...the practical matter is that IE remains the defacto user standard..." The fact is there are real standards, maintained by the W3C. When you look at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are far better than IE, although 8 closes the gap considerably. This is the overwhelming consensus of the standards-based web development community. -Ken From wdhindman at dejpolsystems.com Mon Apr 6 11:57:58 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 12:57:58 -0400 Subject: [AccessD] Queries Progress Bar References: Message-ID: <523F65C313E04EEB921126278DFD109B@jislaptopdev> "Nope, you have to do something yourself!" gustav ...damn! William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, April 06, 2009 10:11 AM To: Subject: Re: [AccessD] Queries Progress Bar > Hi William > > Nope, you have to do something yourself! ... Isn't a progress bar a > standard component of Visual Studio? Or Stuart may have a micro > implementation using PowerBasic. > > I just got the idea as I remember someone having success playing an audio > file launched by a Shell command while Access continues to run. > > /gustav > > >>>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> > > ...and you just happen to have a working sample of this? :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Monday, April 06, 2009 9:34 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > >> Hi William >> >> #5. Launch - before you run the query - with Shell an external tiny app >> that runs asynchronously (in another thread) and displays the progress >> bar. >> Record the time for the query to run, store that value, and use it +10% >> as >> the full time for the progress bar next time it is launched. >> >> /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 12:02:13 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 13:02:13 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><222339E647254966856F89484AC3A8D9@jislaptopdev> Message-ID: ...of course I want you to look into it ...do I sound like I'm into creating ocx's? ...noooooooooooooooooooo! William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 11:45 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > Hey, I didn't build Access you know! ;) > > #4 is really your best shot to reach your goal. It's theoretical > though. You'd have to go about it by using SetWindowsHookEx from > another program. > > Let me know if you'd like me to look into it. Otherwise #1 is the > easiest to do. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Monday, April 06, 2009 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > ...you call these OPTIONS? ...would you rather swallow rat poison or > Clorox > eh? :) > ...tks, its a decent summary of one of Access's limitations that there > just > is no decent work around for. > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Sunday, April 05, 2009 5:13 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Queries Progress Bar > >> I'd say you have the following options: >> >> #1. Put in an animation (.avi file). This would have no accuracy at >> all. >> >> Nothing in Access is going to work while a query is running, because > VBA >> is single threaded, so when you run the query, no other code in your >> project will run. >> >> #2. Break the query down into steps you run manually in code, and > thus >> can provide status points to display a progress. >> >> #3. Run the query outside of Jet, I believe ADO (or maybe it's >> something else) will provide a progress. >> >> Both 2 and 3 are going to slow things down, because Jet is going to > run >> optimized on it's own, these options are going to take longer. >> >> #4. Jet is reporting the progress to the status bar. In theory, you >> could create an ActiveX progress bar that would monitor and redisplay >> the progress from the status bar itself. That's completely > theoretical. >> I haven't looked into the logistics. The key component would be > whether >> the activeX would keep running on it's own, outside of the VBA thread. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 2:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the >> user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before > the >> timer starts >> ...any ideas or samples much appreciated >> >> William >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not > the >> intended recipient, please contact the sender immediately and destroy > the >> material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance > upon >> this information by persons or entities other than the intended > recipient >> is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Mon Apr 6 12:19:17 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 12:19:17 -0500 Subject: [AccessD] Web Applications In-Reply-To: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> Message-ID: I can do ASP and HTML with notepad proficiently, though I prefer Microsoft Script Editor. Javascript, I wouldn't call myself proficient. I could muddle through something if I needed too, but I'm usually googling when time is an issue. As for ASP.NET being overkill....yep. It has it's advantages, but there isn't anything you can't do with ASP and a client side script. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Monday, April 06, 2009 11:41 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Web Applications Hi, All, Some further responses: Mark, "I challenge anyone to be proficient in all of the below with development via text editor." I did it for two years using just creaky old Notepad++, and a GREP tool. Of course, I was using PHP/Apache/MySQL, which is suited to this development style. I even took a shot at writing an MVC web framework in PHP, which, while not ready for production use, showed promising results. Almost the whole Ruby on Rails community uses Textmate. Drew, "If someone really wanted to learn to fly, I wouldn't recommend they start with an SR-71 either! ;)" I have to agree with you on this one. The opinion of certain local developers who I respect is that ASP.NET is overkill. My 'over-the-shoulder' view of the large ASP.NET project I was doing CSS consulting for was that the group of young, talented developers where creating more mess than they were solving. Using a super-fancy IDE doesn't absolve you of the discipline required to make a successful project. And if you have the discipline, you can do it without the super-fancy IDE. William, My "minimum effort" web development strategy is: * Use the subset of CSS 2.1 that IE7 supports * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... it really is less effort to do it this way) * Tweak the site to work in IE7 (this requires *very* few changes from standard CSS) * Work in IE6 to ensure the site is functional, and achieve 80%-96% of the look of the site in the top-tier browsers "...but less a few plug-ins I find useful for web work, IE8 is my development browser for the moment ..." I can't help but wondering whether the "few plug-ins I find useful" is FireBug under FireFox. If IE8 provides developer tools superior to FireBug, I'll consider switching, too. "...I find the FF devotees akin to any other cult group .." Without the FireFox gadfly, Microsoft would never have developed IE8. This forced forward progress is good for all. It remains to be seen whether IE8 will staunch the losses Microsoft continues to suffer in the browser arena. "...the practical matter is that IE remains the defacto user standard..." The fact is there are real standards, maintained by the W3C. When you look at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are far better than IE, although 8 closes the gap considerably. This is the overwhelming consensus of the standards-based web development community. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Apr 6 12:43:10 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 13:43:10 -0400 Subject: [AccessD] Web Applications References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> Message-ID: <3558DB8E14B1455CB5EDACEEBB41E632@jislaptopdev> "there isn't anything you can't do with ASP and a client side script." Drew ...sigh ...so sayeth the Word Perfect 5.1 user re upgrading :( ...you guys who want to brag about using notepad to develop web sites ...bs! (imnsho of course) ...anything beyond basic html is a non-starter using notepad. ...and yes, you can do most things in ASP ...and a Model-T will get you to the store and back with great gas mileage ...takes a real geek to drive a Model-T every day, though ...most of us like our power windows and a/c ...not to mention not having to use the spark advance lever to get up a hill :) William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 1:19 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Web Applications > I can do ASP and HTML with notepad proficiently, though I prefer > Microsoft Script Editor. Javascript, I wouldn't call myself proficient. > I could muddle through something if I needed too, but I'm usually > googling when time is an issue. > > As for ASP.NET being overkill....yep. It has it's advantages, but there > isn't anything you can't do with ASP and a client side script. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth > Ismert > Sent: Monday, April 06, 2009 11:41 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Web Applications > > Hi, All, > > Some further responses: > > Mark, > "I challenge anyone to be proficient in all of the below with > development > via text editor." > I did it for two years using just creaky old Notepad++, and a GREP tool. > Of > course, I was using PHP/Apache/MySQL, which is suited to this > development > style. I even took a shot at writing an MVC web framework in PHP, which, > while not ready for production use, showed promising results. Almost the > whole Ruby on Rails community uses Textmate. > > Drew, > "If someone really wanted to learn to fly, I wouldn't recommend they > start > with an SR-71 either! ;)" > I have to agree with you on this one. The opinion of certain local > developers who I respect is that ASP.NET is overkill. My > 'over-the-shoulder' > view of the large ASP.NET project I was doing CSS consulting for was > that > the group of young, talented developers where creating more mess than > they > were solving. Using a super-fancy IDE doesn't absolve you of the > discipline > required to make a successful project. And if you have the discipline, > you > can do it without the super-fancy IDE. > > William, > My "minimum effort" web development strategy is: > * Use the subset of CSS 2.1 that IE7 supports > * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... > it > really is less effort to do it this way) > * Tweak the site to work in IE7 (this requires *very* few changes from > standard CSS) > * Work in IE6 to ensure the site is functional, and achieve 80%-96% of > the > look of the site in the top-tier browsers > > "...but less a few plug-ins I find useful for web work, IE8 is my > development browser for the moment ..." > I can't help but wondering whether the "few plug-ins I find useful" is > FireBug under FireFox. If IE8 provides developer tools superior to > FireBug, > I'll consider switching, too. > > "...I find the FF devotees akin to any other cult group .." > Without the FireFox gadfly, Microsoft would never have developed IE8. > This > forced forward progress is good for all. It remains to be seen whether > IE8 > will staunch the losses Microsoft continues to suffer in the browser > arena. > > "...the practical matter is that IE remains the defacto user > standard..." > The fact is there are real standards, maintained by the W3C. When you > look > at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are far > better than IE, although 8 closes the gap considerably. This is the > overwhelming consensus of the standards-based web development community. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Mon Apr 6 13:24:19 2009 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 6 Apr 2009 11:24:19 -0700 Subject: [AccessD] Choosing web technology In-Reply-To: References: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg> <49D5868B.5040205@colbyconsulting.com> <49D61810.20575.A0C841@stuart.lexacorp.com.pg> <49D5E3FF.5020606@colbyconsulting.com> <545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> Message-ID: <8786a4c00904061124p127c9491l9c195bea6f5bcf55@mail.gmail.com> And what's wrong with WP5.1? :) Actually I still like Word 2.0 On Sun, Apr 5, 2009 at 6:38 PM, William Hindman wrote: > ...Drew simply loves ASP ...he's much like the occasional user you run into > who just won't give up their Word Perfect 5.1 :) > > William From wdhindman at dejpolsystems.com Mon Apr 6 13:39:46 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 14:39:46 -0400 Subject: [AccessD] Web Applications References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> Message-ID: <45510BA228E9447EA85E811F3FF5A7F4@jislaptopdev> " If IE8 provides developer tools superior to FireBug, I'll consider switching, too." Ken ...I'm not knocking FF itself, just the Mac like cult that has developed around it :) ...as for IE8 developer tools see: http://msdn.microsoft.com/en-us/library/dd565628(VS.85).aspx ...IE8 Developer's Tools is actually a pretty good port of FireBug to IE8 and comes with every install. William -------------------------------------------------- From: "Kenneth Ismert" Sent: Monday, April 06, 2009 12:41 PM To: Subject: Re: [AccessD] Web Applications > Hi, All, > > Some further responses: > > Mark, > "I challenge anyone to be proficient in all of the below with development > via text editor." > I did it for two years using just creaky old Notepad++, and a GREP tool. > Of > course, I was using PHP/Apache/MySQL, which is suited to this development > style. I even took a shot at writing an MVC web framework in PHP, which, > while not ready for production use, showed promising results. Almost the > whole Ruby on Rails community uses Textmate. > > Drew, > "If someone really wanted to learn to fly, I wouldn't recommend they start > with an SR-71 either! ;)" > I have to agree with you on this one. The opinion of certain local > developers who I respect is that ASP.NET is overkill. My > 'over-the-shoulder' > view of the large ASP.NET project I was doing CSS consulting for was that > the group of young, talented developers where creating more mess than they > were solving. Using a super-fancy IDE doesn't absolve you of the > discipline > required to make a successful project. And if you have the discipline, you > can do it without the super-fancy IDE. > > William, > My "minimum effort" web development strategy is: > * Use the subset of CSS 2.1 that IE7 supports > * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... it > really is less effort to do it this way) > * Tweak the site to work in IE7 (this requires *very* few changes from > standard CSS) > * Work in IE6 to ensure the site is functional, and achieve 80%-96% of the > look of the site in the top-tier browsers > > "...but less a few plug-ins I find useful for web work, IE8 is my > development browser for the moment ..." > I can't help but wondering whether the "few plug-ins I find useful" is > FireBug under FireFox. If IE8 provides developer tools superior to > FireBug, > I'll consider switching, too. > > "...I find the FF devotees akin to any other cult group .." > Without the FireFox gadfly, Microsoft would never have developed IE8. This > forced forward progress is good for all. It remains to be seen whether IE8 > will staunch the losses Microsoft continues to suffer in the browser > arena. > > "...the practical matter is that IE remains the defacto user standard..." > The fact is there are real standards, maintained by the W3C. When you look > at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are far > better than IE, although 8 closes the gap considerably. This is the > overwhelming consensus of the standards-based web development community. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Apr 6 13:43:36 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 14:43:36 -0400 Subject: [AccessD] Choosing web technology References: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg><49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com><545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com> <8786a4c00904061124p127c9491l9c195bea6f5bcf55@mail.gmail.com> Message-ID: ...wow! ...Word 2 ...that's like waaaaaaaay back time ...I think I was in love with Ami Pro back then :) William -------------------------------------------------- From: "David McAfee" Sent: Monday, April 06, 2009 2:24 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Choosing web technology > And what's wrong with WP5.1? :) > > Actually I still like Word 2.0 > > On Sun, Apr 5, 2009 at 6:38 PM, William Hindman > > wrote: > >> ...Drew simply loves ASP ...he's much like the occasional user you run >> into >> who just won't give up their Word Perfect 5.1 :) >> >> William > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Mon Apr 6 15:03:05 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 6 Apr 2009 15:03:05 -0500 Subject: [AccessD] Using recordset in a query Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? Set RS1 = MyDb.OpenRecordset(strSql) strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From EdTesiny at oasas.state.ny.us Mon Apr 6 15:04:48 2009 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 6 Apr 2009 16:04:48 -0400 Subject: [AccessD] Choosing web technology In-Reply-To: References: <49D5BB7D.27999.2BDE2B4A@stuart.lexacorp.com.pg><49D5868B.5040205@colbyconsulting.com><49D61810.20575.A0C841@stuart.lexacorp.com.pg><49D5E3FF.5020606@colbyconsulting.com><545F8AD3A5B84BEFA9BCF9E4576B3B36@advancedinput.com><8786a4c00904061124p127c9491l9c195bea6f5bcf55@mail.gmail.com> Message-ID: Hey, same here I really liked Ami Pro Ed Tesiny EdTesiny at oasas.state.ny.us ...I think I was in love with Ami Pro back then :) William From cfoust at infostatsystems.com Mon Apr 6 15:41:03 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Apr 2009 13:41:03 -0700 Subject: [AccessD] Using recordset in a query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> Message-ID: You've got it swallowing its own tail! You're trying to set a recordset to RS1 that refers to fields in RS1, so no, you can't do that. You can use a subquery and do an inner join on that then open a recordset on the resulting SQL but not like this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 06, 2009 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Using recordset in a query I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? Set RS1 = MyDb.OpenRecordset(strSql) strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Apr 6 16:52:18 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 16:52:18 -0500 Subject: [AccessD] Web Applications In-Reply-To: <3558DB8E14B1455CB5EDACEEBB41E632@jislaptopdev> References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> <3558DB8E14B1455CB5EDACEEBB41E632@jislaptopdev> Message-ID: First, I said I could if I wanted to, though I prefer Microsoft Script Editor. Second, what's your point William? I think you need to join OT again and vent somewhere else. The original question was about learning to develop on the web. Not what tool is the best. I answered the original question with my personal opinion, which is that you will be a better web developer if you get a strong grasp of some of the less flashy tools. Believe you me, I've met my share of developers that were handed the keys to an SR-71 package and were recklessly gallivanting around displaying their absolute lack of knowledge..... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, April 06, 2009 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web Applications "there isn't anything you can't do with ASP and a client side script." Drew ...sigh ...so sayeth the Word Perfect 5.1 user re upgrading :( ...you guys who want to brag about using notepad to develop web sites ...bs! (imnsho of course) ...anything beyond basic html is a non-starter using notepad. ...and yes, you can do most things in ASP ...and a Model-T will get you to the store and back with great gas mileage ...takes a real geek to drive a Model-T every day, though ...most of us like our power windows and a/c ...not to mention not having to use the spark advance lever to get up a hill :) William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 1:19 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Web Applications > I can do ASP and HTML with notepad proficiently, though I prefer > Microsoft Script Editor. Javascript, I wouldn't call myself proficient. > I could muddle through something if I needed too, but I'm usually > googling when time is an issue. > > As for ASP.NET being overkill....yep. It has it's advantages, but there > isn't anything you can't do with ASP and a client side script. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth > Ismert > Sent: Monday, April 06, 2009 11:41 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Web Applications > > Hi, All, > > Some further responses: > > Mark, > "I challenge anyone to be proficient in all of the below with > development > via text editor." > I did it for two years using just creaky old Notepad++, and a GREP tool. > Of > course, I was using PHP/Apache/MySQL, which is suited to this > development > style. I even took a shot at writing an MVC web framework in PHP, which, > while not ready for production use, showed promising results. Almost the > whole Ruby on Rails community uses Textmate. > > Drew, > "If someone really wanted to learn to fly, I wouldn't recommend they > start > with an SR-71 either! ;)" > I have to agree with you on this one. The opinion of certain local > developers who I respect is that ASP.NET is overkill. My > 'over-the-shoulder' > view of the large ASP.NET project I was doing CSS consulting for was > that > the group of young, talented developers where creating more mess than > they > were solving. Using a super-fancy IDE doesn't absolve you of the > discipline > required to make a successful project. And if you have the discipline, > you > can do it without the super-fancy IDE. > > William, > My "minimum effort" web development strategy is: > * Use the subset of CSS 2.1 that IE7 supports > * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... > it > really is less effort to do it this way) > * Tweak the site to work in IE7 (this requires *very* few changes from > standard CSS) > * Work in IE6 to ensure the site is functional, and achieve 80%-96% of > the > look of the site in the top-tier browsers > > "...but less a few plug-ins I find useful for web work, IE8 is my > development browser for the moment ..." > I can't help but wondering whether the "few plug-ins I find useful" is > FireBug under FireFox. If IE8 provides developer tools superior to > FireBug, > I'll consider switching, too. > > "...I find the FF devotees akin to any other cult group .." > Without the FireFox gadfly, Microsoft would never have developed IE8. > This > forced forward progress is good for all. It remains to be seen whether > IE8 > will staunch the losses Microsoft continues to suffer in the browser > arena. > > "...the practical matter is that IE remains the defacto user > standard..." > The fact is there are real standards, maintained by the W3C. When you > look > at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are far > better than IE, although 8 closes the gap considerably. This is the > overwhelming consensus of the standards-based web development community. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 6 16:59:56 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 16:59:56 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><222339E647254966856F89484AC3A8D9@jislaptopdev> Message-ID: Ok William, looked into it a little further. There's a catch. You can hook into another window's events, just not in VB, you have to use a .dll....a C++ .dll, to capture the event procedure. I'm not that great with C++, have too much on my plate to dig into all of that right now. Haven't installed C++ in years. If anyone has the time/inclination to do so, using a SetWindowsHookEx API call, for a child window of Access using the OStatProg class, you should be able to find the events that Jet is sending to that window and run your own progress bar off of them. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, April 06, 2009 12:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar ...of course I want you to look into it ...do I sound like I'm into creating ocx's? ...noooooooooooooooooooo! William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 11:45 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > Hey, I didn't build Access you know! ;) > > #4 is really your best shot to reach your goal. It's theoretical > though. You'd have to go about it by using SetWindowsHookEx from > another program. > > Let me know if you'd like me to look into it. Otherwise #1 is the > easiest to do. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Monday, April 06, 2009 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > ...you call these OPTIONS? ...would you rather swallow rat poison or > Clorox > eh? :) > ...tks, its a decent summary of one of Access's limitations that there > just > is no decent work around for. > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Sunday, April 05, 2009 5:13 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Queries Progress Bar > >> I'd say you have the following options: >> >> #1. Put in an animation (.avi file). This would have no accuracy at >> all. >> >> Nothing in Access is going to work while a query is running, because > VBA >> is single threaded, so when you run the query, no other code in your >> project will run. >> >> #2. Break the query down into steps you run manually in code, and > thus >> can provide status points to display a progress. >> >> #3. Run the query outside of Jet, I believe ADO (or maybe it's >> something else) will provide a progress. >> >> Both 2 and 3 are going to slow things down, because Jet is going to > run >> optimized on it's own, these options are going to take longer. >> >> #4. Jet is reporting the progress to the status bar. In theory, you >> could create an ActiveX progress bar that would monitor and redisplay >> the progress from the status bar itself. That's completely > theoretical. >> I haven't looked into the logistics. The key component would be > whether >> the activeX would keep running on it's own, outside of the VBA thread. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, April 03, 2009 2:21 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Queries Progress Bar >> >> Group >> >> ...I have the following in the FormLoad event: >> >> DoCmd.SetWarnings False >> tblExhibitorWebClear >> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >> DoCmd.OpenQuery "qryExhByShowPastAppend" >> DoCmd.SetWarnings True >> >> ...that all happens in the background >> ...in the foreground I want to display a progress bar that shows the >> user >> the progress during the entire process which can take a couple of >> minutes. >> ...don't want to use the vb ocx if possible, but would if necessary. >> ...don't want to use the progress meter in the status bar >> ...accuracy isn't necessary ...just a reasonable approximation. >> ...tried using a timer and labels but the queries always run before > the >> timer starts >> ...any ideas or samples much appreciated >> >> William >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not > the >> intended recipient, please contact the sender immediately and destroy > the >> material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance > upon >> this information by persons or entities other than the intended > recipient >> is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Apr 6 18:23:51 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 19:23:51 -0400 Subject: [AccessD] Queries Progress Bar References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><222339E647254966856F89484AC3A8D9@jislaptopdev> Message-ID: <5D4D203C84CA459BAF3179E7788D1E19@jislaptopdev> ...ah well ...I'm just going to have to find another way of conveying the message ...just seems ridiculous that MS has it all right there in the progress meter and yet limits our use of that functionality elsewhere in the window ...tks for looking. William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 5:59 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > Ok William, looked into it a little further. There's a catch. > > You can hook into another window's events, just not in VB, you have to > use a .dll....a C++ .dll, to capture the event procedure. I'm not that > great with C++, have too much on my plate to dig into all of that right > now. Haven't installed C++ in years. > > If anyone has the time/inclination to do so, using a SetWindowsHookEx > API call, for a child window of Access using the OStatProg class, you > should be able to find the events that Jet is sending to that window and > run your own progress bar off of them. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Monday, April 06, 2009 12:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > > ...of course I want you to look into it ...do I sound like I'm into > creating > ocx's? ...noooooooooooooooooooo! > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Monday, April 06, 2009 11:45 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Queries Progress Bar > >> Hey, I didn't build Access you know! ;) >> >> #4 is really your best shot to reach your goal. It's theoretical >> though. You'd have to go about it by using SetWindowsHookEx from >> another program. >> >> Let me know if you'd like me to look into it. Otherwise #1 is the >> easiest to do. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Monday, April 06, 2009 8:23 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Queries Progress Bar >> >> ...you call these OPTIONS? ...would you rather swallow rat poison or >> Clorox >> eh? :) >> ...tks, its a decent summary of one of Access's limitations that there >> just >> is no decent work around for. >> >> William >> >> -------------------------------------------------- >> From: "Drew Wutka" >> Sent: Sunday, April 05, 2009 5:13 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Queries Progress Bar >> >>> I'd say you have the following options: >>> >>> #1. Put in an animation (.avi file). This would have no accuracy at >>> all. >>> >>> Nothing in Access is going to work while a query is running, because >> VBA >>> is single threaded, so when you run the query, no other code in your >>> project will run. >>> >>> #2. Break the query down into steps you run manually in code, and >> thus >>> can provide status points to display a progress. >>> >>> #3. Run the query outside of Jet, I believe ADO (or maybe it's >>> something else) will provide a progress. >>> >>> Both 2 and 3 are going to slow things down, because Jet is going to >> run >>> optimized on it's own, these options are going to take longer. >>> >>> #4. Jet is reporting the progress to the status bar. In theory, you >>> could create an ActiveX progress bar that would monitor and redisplay >>> the progress from the status bar itself. That's completely >> theoretical. >>> I haven't looked into the logistics. The key component would be >> whether >>> the activeX would keep running on it's own, outside of the VBA > thread. >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Friday, April 03, 2009 2:21 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Queries Progress Bar >>> >>> Group >>> >>> ...I have the following in the FormLoad event: >>> >>> DoCmd.SetWarnings False >>> tblExhibitorWebClear >>> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >>> DoCmd.OpenQuery "qryExhByShowPastAppend" >>> DoCmd.SetWarnings True >>> >>> ...that all happens in the background >>> ...in the foreground I want to display a progress bar that shows the >>> user >>> the progress during the entire process which can take a couple of >>> minutes. >>> ...don't want to use the vb ocx if possible, but would if necessary. >>> ...don't want to use the progress meter in the status bar >>> ...accuracy isn't necessary ...just a reasonable approximation. >>> ...tried using a timer and labels but the queries always run before >> the >>> timer starts >>> ...any ideas or samples much appreciated >>> >>> William >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> The information contained in this transmission is intended only for >> the >>> person or entity to which it is addressed and may contain II-VI >>> Proprietary and/or II-VI Business Sensitive material. If you are not >> the >>> intended recipient, please contact the sender immediately and destroy >> the >>> material in its entirety, whether electronic or hard copy. You are >>> notified that any review, retransmission, copying, disclosure, >>> dissemination, or other use of, or taking of any action in reliance >> upon >>> this information by persons or entities other than the intended >> recipient >>> is prohibited. >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not > the >> intended recipient, please contact the sender immediately and destroy > the >> material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance > upon >> this information by persons or entities other than the intended > recipient >> is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > 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 Apr 6 18:36:53 2009 From: darren at activebilling.com.au (Darren D) Date: Tue, 7 Apr 2009 09:36:53 +1000 Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 Message-ID: <032801c9b710$929f8f60$131b910a@denzilnote> Hi team Apart from Susan (I hope you're feeling better) asking for clarification I got no responses to this one Apologies if there were responses and I missed 'em Anyway.. I want to know if I can 'open' the recurrence screen that Outlook calendaring uses (yes - It has to be Outlook) Open Outlook Click on Calendar Double click to create a new appointment Click on the 'Recurrence' button The popup screen that appears is the item I want to 'open' I want to know if I can pass a known EntryID to this screen then manipulate the recurrences as per normal (The EntryID is a kind of PK for Outlook Object items) Many thanks in advance Darren From wdhindman at dejpolsystems.com Mon Apr 6 18:43:42 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Apr 2009 19:43:42 -0400 Subject: [AccessD] Web Applications References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com><3558DB8E14B1455CB5EDACEEBB41E632@jislaptopdev> Message-ID: <10353F9DF5EB4BBBAC6A408EF97CF2C3@jislaptopdev> ...what is YOUR point? ...developing data driven websites using notepad went out long ago ...you can warm a cup of coffee by first building a campfire in the middle of your kitchen but most people prefer the microwave ...suggesting to someone that notepad or MSE are serious tools for web development in today's work environment is ...well, you fill in the blanks, eh ...and given that VSWD Express is, among many other good web development tools, absolutely free with great tutorial videos ...well ...I won't waste my time "venting" ...its a closed case, eh. ...everyone starts somewhere Drew ...some start with one tool and never move on when better ones come along. William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 5:52 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Web Applications > First, I said I could if I wanted to, though I prefer Microsoft Script > Editor. > > Second, what's your point William? I think you need to join OT again > and vent somewhere else. The original question was about learning to > develop on the web. Not what tool is the best. I answered the original > question with my personal opinion, which is that you will be a better > web developer if you get a strong grasp of some of the less flashy > tools. > > Believe you me, I've met my share of developers that were handed the > keys to an SR-71 package and were recklessly gallivanting around > displaying their absolute lack of knowledge..... > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Monday, April 06, 2009 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Web Applications > > "there isn't anything you can't do with ASP and a client side script." > Drew > > ...sigh ...so sayeth the Word Perfect 5.1 user re upgrading :( > > ...you guys who want to brag about using notepad to develop web sites > ...bs! > (imnsho of course) ...anything beyond basic html is a non-starter using > notepad. > > ...and yes, you can do most things in ASP ...and a Model-T will get you > to > the store and back with great gas mileage > > ...takes a real geek to drive a Model-T every day, though ...most of us > like > our power windows and a/c ...not to mention not having to use the spark > advance lever to get up a hill :) > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Monday, April 06, 2009 1:19 PM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Web Applications > >> I can do ASP and HTML with notepad proficiently, though I prefer >> Microsoft Script Editor. Javascript, I wouldn't call myself > proficient. >> I could muddle through something if I needed too, but I'm usually >> googling when time is an issue. >> >> As for ASP.NET being overkill....yep. It has it's advantages, but > there >> isn't anything you can't do with ASP and a client side script. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth >> Ismert >> Sent: Monday, April 06, 2009 11:41 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Web Applications >> >> Hi, All, >> >> Some further responses: >> >> Mark, >> "I challenge anyone to be proficient in all of the below with >> development >> via text editor." >> I did it for two years using just creaky old Notepad++, and a GREP > tool. >> Of >> course, I was using PHP/Apache/MySQL, which is suited to this >> development >> style. I even took a shot at writing an MVC web framework in PHP, > which, >> while not ready for production use, showed promising results. Almost > the >> whole Ruby on Rails community uses Textmate. >> >> Drew, >> "If someone really wanted to learn to fly, I wouldn't recommend they >> start >> with an SR-71 either! ;)" >> I have to agree with you on this one. The opinion of certain local >> developers who I respect is that ASP.NET is overkill. My >> 'over-the-shoulder' >> view of the large ASP.NET project I was doing CSS consulting for was >> that >> the group of young, talented developers where creating more mess than >> they >> were solving. Using a super-fancy IDE doesn't absolve you of the >> discipline >> required to make a successful project. And if you have the discipline, >> you >> can do it without the super-fancy IDE. >> >> William, >> My "minimum effort" web development strategy is: >> * Use the subset of CSS 2.1 that IE7 supports >> * Develop the site in FireFox/FireBug (see "Browsers of 2009" link ... >> it >> really is less effort to do it this way) >> * Tweak the site to work in IE7 (this requires *very* few changes from >> standard CSS) >> * Work in IE6 to ensure the site is functional, and achieve 80%-96% of >> the >> look of the site in the top-tier browsers >> >> "...but less a few plug-ins I find useful for web work, IE8 is my >> development browser for the moment ..." >> I can't help but wondering whether the "few plug-ins I find useful" is >> FireBug under FireFox. If IE8 provides developer tools superior to >> FireBug, >> I'll consider switching, too. >> >> "...I find the FF devotees akin to any other cult group .." >> Without the FireFox gadfly, Microsoft would never have developed IE8. >> This >> forced forward progress is good for all. It remains to be seen whether >> IE8 >> will staunch the losses Microsoft continues to suffer in the browser >> arena. >> >> "...the practical matter is that IE remains the defacto user >> standard..." >> The fact is there are real standards, maintained by the W3C. When you >> look >> at compliance to *actual* standards, FireFox/Safari/Opera/Chrome are > far >> better than IE, although 8 closes the gap considerably. This is the >> overwhelming consensus of the standards-based web development > community. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not > the >> intended recipient, please contact the sender immediately and destroy > the >> material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance > upon >> this information by persons or entities other than the intended > recipient >> is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Mon Apr 6 19:11:03 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 19:11:03 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: <5D4D203C84CA459BAF3179E7788D1E19@jislaptopdev> References: <319B9D5EB83E49ECA91B5C71CEAC1ABA@HAL9005><6CA2FC0F309242B4B0B619C6DECDC99C@AMDXP><2AF7CCC6F0604121A06AF66191FCD593@HAL9005><359BF9FDEC204D2E951661061E17AE75@jislaptopdev><222339E647254966856F89484AC3A8D9@jislaptopdev> <5D4D203C84CA459BAF3179E7788D1E19@jislaptopdev> Message-ID: Yep, it is kinda sad. I even tried to just move the progress bar in the status bar, won't let me do it, it just disappears. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, April 06, 2009 6:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar ...ah well ...I'm just going to have to find another way of conveying the message ...just seems ridiculous that MS has it all right there in the progress meter and yet limits our use of that functionality elsewhere in the window ...tks for looking. William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 5:59 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > Ok William, looked into it a little further. There's a catch. > > You can hook into another window's events, just not in VB, you have to > use a .dll....a C++ .dll, to capture the event procedure. I'm not that > great with C++, have too much on my plate to dig into all of that right > now. Haven't installed C++ in years. > > If anyone has the time/inclination to do so, using a SetWindowsHookEx > API call, for a child window of Access using the OStatProg class, you > should be able to find the events that Jet is sending to that window and > run your own progress bar off of them. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Monday, April 06, 2009 12:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > > ...of course I want you to look into it ...do I sound like I'm into > creating > ocx's? ...noooooooooooooooooooo! > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Monday, April 06, 2009 11:45 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Queries Progress Bar > >> Hey, I didn't build Access you know! ;) >> >> #4 is really your best shot to reach your goal. It's theoretical >> though. You'd have to go about it by using SetWindowsHookEx from >> another program. >> >> Let me know if you'd like me to look into it. Otherwise #1 is the >> easiest to do. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Monday, April 06, 2009 8:23 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Queries Progress Bar >> >> ...you call these OPTIONS? ...would you rather swallow rat poison or >> Clorox >> eh? :) >> ...tks, its a decent summary of one of Access's limitations that there >> just >> is no decent work around for. >> >> William >> >> -------------------------------------------------- >> From: "Drew Wutka" >> Sent: Sunday, April 05, 2009 5:13 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Queries Progress Bar >> >>> I'd say you have the following options: >>> >>> #1. Put in an animation (.avi file). This would have no accuracy at >>> all. >>> >>> Nothing in Access is going to work while a query is running, because >> VBA >>> is single threaded, so when you run the query, no other code in your >>> project will run. >>> >>> #2. Break the query down into steps you run manually in code, and >> thus >>> can provide status points to display a progress. >>> >>> #3. Run the query outside of Jet, I believe ADO (or maybe it's >>> something else) will provide a progress. >>> >>> Both 2 and 3 are going to slow things down, because Jet is going to >> run >>> optimized on it's own, these options are going to take longer. >>> >>> #4. Jet is reporting the progress to the status bar. In theory, you >>> could create an ActiveX progress bar that would monitor and redisplay >>> the progress from the status bar itself. That's completely >> theoretical. >>> I haven't looked into the logistics. The key component would be >> whether >>> the activeX would keep running on it's own, outside of the VBA > thread. >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Friday, April 03, 2009 2:21 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Queries Progress Bar >>> >>> Group >>> >>> ...I have the following in the FormLoad event: >>> >>> DoCmd.SetWarnings False >>> tblExhibitorWebClear >>> DoCmd.OpenQuery "qryExhByShowCurrentAppend" >>> DoCmd.OpenQuery "qryExhByShowPastAppend" >>> DoCmd.SetWarnings True >>> >>> ...that all happens in the background >>> ...in the foreground I want to display a progress bar that shows the >>> user >>> the progress during the entire process which can take a couple of >>> minutes. >>> ...don't want to use the vb ocx if possible, but would if necessary. >>> ...don't want to use the progress meter in the status bar >>> ...accuracy isn't necessary ...just a reasonable approximation. >>> ...tried using a timer and labels but the queries always run before >> the >>> timer starts >>> ...any ideas or samples much appreciated >>> >>> William >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> The information contained in this transmission is intended only for >> the >>> person or entity to which it is addressed and may contain II-VI >>> Proprietary and/or II-VI Business Sensitive material. If you are not >> the >>> intended recipient, please contact the sender immediately and destroy >> the >>> material in its entirety, whether electronic or hard copy. You are >>> notified that any review, retransmission, copying, disclosure, >>> dissemination, or other use of, or taking of any action in reliance >> upon >>> this information by persons or entities other than the intended >> recipient >>> is prohibited. >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity to which it is addressed and may contain II-VI >> Proprietary and/or II-VI Business Sensitive material. If you are not > the >> intended recipient, please contact the sender immediately and destroy > the >> material in its entirety, whether electronic or hard copy. You are >> notified that any review, retransmission, copying, disclosure, >> dissemination, or other use of, or taking of any action in reliance > upon >> this information by persons or entities other than the intended > recipient >> is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI Business Sensitive material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From ssharkins at gmail.com Mon Apr 6 19:26:04 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 6 Apr 2009 20:26:04 -0400 Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 References: <032801c9b710$929f8f60$131b910a@denzilnote> Message-ID: <8AD554ED662F42CCA2557118F865E349@SusanOne> I've not done anything like that and I really don't even know where to tell you to begin to look, except of course, you might check Helen Feddema's site, but I don't remember seeing anything like that on her site either, but you never know. Manipulating the EntryID value can be done, but I know it's difficult to synchronize and I haven't needed to, so I haven't explored. I checked the custom forms, but all I found under Calendar was Appointment. However, check CDO first -- I think it's unlikely it'll be there, but thought I'd suggest it. Are you looking for the actual object to manipulate or a way to display the Recurrence dialog for a specific/existing appointment? Sometimes... it's easier to go back to the drawing board and restrategize. (I hate it when someone says that to me, so I don't say it lightly.) Susan H. > Apart from Susan (I hope you're feeling better) asking for clarification I > got > no responses to this one > > Apologies if there were responses and I missed 'em From dw-murphy at cox.net Mon Apr 6 19:26:55 2009 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 6 Apr 2009 17:26:55 -0700 Subject: [AccessD] SCRUM team progress report... In-Reply-To: References: <4788.24.35.25.42.1238190275.squirrel@mail.expedient.net> Message-ID: Folks, Sorry I am so late on this. Downloaded the latest back up of the database and restored to my SQL Express. Downloaded the solution files and upzipped and brought into VS2008. So far so good. I created the Products form from the dataset diagram with no problem. Changed the Connection string property in the appconfig file to my sql server and database. For some reason the existing datasets don't seem to recognize my server and file. I can rebuild them using the new connection I have but I shouln't have to do that. What did I miss? I have done this with several other projects with no problem so I must be missing a simple step somewhere. Do I need to use the source control system to provide my files? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, March 27, 2009 3:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SCRUM team progress report... Hi Michael, Thank you for your feedback. Sorry, example can't run under VS2005 but it can run under C# 2008 Express Edition, which is free and is available to download from MS site. Similar .NET WinForms design techniques are available in VS2005. -- Shamil -----Original Message----- From: "Michael Bahr" To: "Access Developers discussion and problem solving" Date: Fri, 27 Mar 2009 17:44:35 -0400 (EDT) Subject: Re: [AccessD] SCRUM team progress report... > Thank you Shamil for updating the demo. The music is soooo soooothing. > > Can the example run in VS 2005? I only have VS 2005. > > Mike... > > > > > Thank you for your feedback, Michael, > > > > I have enlarged every frame duration 1.5 times. > > New version is published here > > > > http://shamils-4.hosting.parking.ru/scrum/ht1.wmv > > > > and also together with all the sources here: > > > > http://northwind.codeplex.com/ > > > > -- > > Shamil > > > > -----Original Message----- > > From: "Michael Bahr" > > To: "Access Developers discussion and problem > > solving" > > Date: Thu, 26 Mar 2009 17:13:43 -0400 > > Subject: Re: [AccessD] SCRUM team progress report... > > > >> Hi Shamil, very nice video. I have VS 2005. I thought there was > >> discussion on doing in VS 2005--maybe I am wrong. One other > >> comment, for your next video can you slow it down a bit. The eyes > >> do not have time to read the text and focus on the graphic or focus > >> on the graphics and read the text. :-} > >> > >> Mike... > >> > > ...snip > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Mon Apr 6 20:00:48 2009 From: ebarro at verizon.net (Eric Barro) Date: Mon, 06 Apr 2009 18:00:48 -0700 Subject: [AccessD] Web Applications In-Reply-To: References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> Message-ID: <8416E3C5B4F949EF8BC9873B8BC08CD9@advancedinput.com> Yes Classic ASP is still alive and well and can certainly be used to develop web applications. And yes ASP.NET does render a lot of the server-side magic into client-side script using javascript. Do you need to know and understand all the javascript it renders to the browser? Heck no. You might need to know a smattering of javascript to get some client-side script for some tasks that cannot be handled natively by javascript. As far as ASP.NET being overkill I don't think so. 1. When you deploy your web application to the server, you simply have to upload your application's DLL and ASPX page and other supporting files (CSS, JS, etc...). With Classic ASP you need to upload all your files including your code. With ASP.NET you don't even need to upload the code behind because it's all packaged into a DLL. Works for me because I nobody can "steal" my code files since I don't have to upload them to the server. 2. When you write classic ASP, the presentation layer and the code layer are interspersed in your .ASP file. Sure, you can use include files, etc...but it becomes a nightmare to maintain those files and it sure is time-consuming having to wade through both the HTML, Javascript *AND* ASP code. With ASP.NET and Visual Studio you can use the object oriented approach and have all the intellisense at your fingertips so that you can easily find a function or a sub in your code file which is totally separate from your HTML code. 3. ASP.NET has field validator controls that render the appropriate client-side script for validating required fields, range validation, custom validation, etc...You can drag and drop the validation controls, type an error message and specify the ASP.NET control to validate and never have to worry about writing the same javascript code over and over again for those situations. This facility alone makes ASP.NET better than classic ASP development. 4. Uploading files and sending mail via SMTP are handled by ASP.NET binaries which means that you don't need third party libraries to upload files or send mail via your web apps which you have to do with classic ASP. 5. Postbacks are handled differently in ASP.NET compared to classic ASP. You can check for postbacks and check if the page is valid (if there are field validators that were triggered) very easily compared to classic ASP where you have to write those functions yourself. 6. Viewstate is also handled better in ASP.NET. Ever wanted to preserve the value of some control in classic ASP? You'll need to write Request.Form() constructs for each form control you want to pass on to the next page. ASP.NET does that for you. 7. You can write your data handler functions and compile them into a library (DLL) and reference them in any web app so that you have a standard way of interfacing with back-end databases. Classic ASP doesn't compile your code. Sure you can copy and paste all those custom functions into every classic ASP project you work on. But is that really being efficient? So yeah...ASP.NET is overkill if you want to build a lot of the built-in stuff yourself. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 06, 2009 10:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web Applications I can do ASP and HTML with notepad proficiently, though I prefer Microsoft Script Editor. Javascript, I wouldn't call myself proficient. I could muddle through something if I needed too, but I'm usually googling when time is an issue. As for ASP.NET being overkill....yep. It has it's advantages, but there isn't anything you can't do with ASP and a client side script. Drew From DWUTKA at Marlow.com Mon Apr 6 22:47:07 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 22:47:07 -0500 Subject: [AccessD] Web Applications In-Reply-To: <8416E3C5B4F949EF8BC9873B8BC08CD9@advancedinput.com> References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> <8416E3C5B4F949EF8BC9873B8BC08CD9@advancedinput.com> Message-ID: Before you read my >>>in-line comments, note two things: #1. As I posted to William, the original post was about 'learning' web development. So my point was that classic ASP let's you see the gears better then ASP.NET does. I have nothing against using ASP.NET. I have some issues with some people that use it, have issues with some people and screw drivers too! ;) #2. Personally, I use a tag team. I use Access or SQL Server for databases, VB 6 for business logic, HTML for the interface, and ASP is the bridge between VB and HTML. As an 'in house' developer, I don't have the pressure of keeping up to the absolute latest standard. Not too mention I'm no longer the developer (I'm now the Network Systems Administrator, though I still dabble here and there...). Yes Classic ASP is still alive and well and can certainly be used to develop web applications. And yes ASP.NET does render a lot of the server-side magic into client-side script using javascript. Do you need to know and understand all the javascript it renders to the browser? Heck no. You might need to know a smattering of javascript to get some client-side script for some tasks that cannot be handled natively by javascript. As far as ASP.NET being overkill I don't think so. >>> Overkill might be a bad term. All the client side 'magic' is handled well, but it's not perfect. In a way, this is a lot like the bound/unbound debate. With classic and unbound, there is the advantage of far more stringent control over the actual process involved. With .Net and bound, you have the advantage of prebuilt processes. It can be a coin toss in a lot of situations. 1. When you deploy your web application to the server, you simply have to upload your application's DLL and ASPX page and other supporting files (CSS, JS, etc...). With Classic ASP you need to upload all your files including your code. With ASP.NET you don't even need to upload the code behind because it's all packaged into a DLL. Works for me because I nobody can "steal" my code files since I don't have to upload them to the server. >>> Really not sure what you mean here. I usually work directly with the IIS server. So I normally don't 'upload' anything, I'm working on the live files (or working on live files in a test or development platform). I do have my core code 'compiled' as a .dll too. Plus with what I do, I use either .asp or .htm extensions, it's just a matter of tweaking the ISAPI filters to read .asp code in whatever extensions you want. 2. When you write classic ASP, the presentation layer and the code layer are interspersed in your .ASP file. Sure, you can use include files, etc...but it becomes a nightmare to maintain those files and it sure is time-consuming having to wade through both the HTML, Javascript *AND* ASP code. With ASP.NET and Visual Studio you can use the object oriented approach and have all the intellisense at your fingertips so that you can easily find a function or a sub in your code file which is totally separate from your HTML code. >>>Wouldn't say this is an advantage, just a different style. I never have problems finding anything in my asp code, of course most of what I do now is 'condition coding', ie, HTML interspersed with the .asp. 3. ASP.NET has field validator controls that render the appropriate client-side script for validating required fields, range validation, custom validation, etc...You can drag and drop the validation controls, type an error message and specify the ASP.NET control to validate and never have to worry about writing the same javascript code over and over again for those situations. This facility alone makes ASP.NET better than classic ASP development. >>> This is an advantage and disadvantage. I build my data validation into the VB code. What is returned is a simple message to the end user as to what needs to be changed. It's pretty simple to do. So the advantage of the .Net method is that you have prebuilt processes that can alert immediately, and even correct the user. The disadvantage is that it can be bypassed. And an advantage of my method is that automation is easier. I've built several apps for 'side work' clients, where I 'upload' a users data into a site built by someone else. When that site is loaded with Javascript data validation, it 'breaks' the automation. My method would allow an automated process to enter the data, and then retrieve a valid/invalid response. 4. Uploading files and sending mail via SMTP are handled by ASP.NET binaries which means that you don't need third party libraries to upload files or send mail via your web apps which you have to do with classic ASP. >>>Matter of style again. I have a single .asp file to allow users to upload files (I just copy the file, not very hard), and sending mail is a .dll I have already built (actually, one is ASPEmail, the other is a custom one I built which uses a special email handler). 5. Postbacks are handled differently in ASP.NET compared to classic ASP. You can check for postbacks and check if the page is valid (if there are field validators that were triggered) very easily compared to classic ASP where you have to write those functions yourself. >>> Actually, I believe they are handled the same way, ASP.NET is just automating it. Definitely an advantage for .NET 6. Viewstate is also handled better in ASP.NET. Ever wanted to preserve the value of some control in classic ASP? You'll need to write Request.Form() constructs for each form control you want to pass on to the next page. ASP.NET does that for you. >>>Another style issue. I handle everything in my .dll. Most of the time I am recording the data then and there, though to pass information to another page there is always a session variable to hold the info. No big deal. 7. You can write your data handler functions and compile them into a library (DLL) and reference them in any web app so that you have a standard way of interfacing with back-end databases. Classic ASP doesn't compile your code. Sure you can copy and paste all those custom functions into every classic ASP project you work on. But is that really being efficient? >>> Again, using a VB .dll. It can be ported to any web app or for that matter, any system that can use an ActiveX .dll. So yeah...ASP.NET is overkill if you want to build a lot of the built-in stuff yourself. :) The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 6 23:02:18 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Apr 2009 23:02:18 -0500 Subject: [AccessD] Web Applications In-Reply-To: <10353F9DF5EB4BBBAC6A408EF97CF2C3@jislaptopdev> References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com><3558DB8E14B1455CB5EDACEEBB41E632@jislaptopdev> <10353F9DF5EB4BBBAC6A408EF97CF2C3@jislaptopdev> Message-ID: LOL. Kind of ironic here William. I am not trying to put down ASP.NET. It's fine. My only issue is with how some people use it, which can happen to any tool. Yet you are dumping on ASP. I have a feeling you've never really used asp, or if you did, you didn't become very good at it. While I concur that your sentiment about sticking with the first thing you use can be true, there is a flip side to this William. Sometimes, someone who gets really good with a technology builds more tools to make things go even faster. Custom tools, that do just what you want, in a heartbeat. That really does take the shine off of new technology flash, when you already have the capability that you built yourself. With a few mouse clicks, I can have a fully functional data and collection classes in either VB or asp. (And that was really easy to do with ASP since it's just a text file). Why would I want a class in ASP and not a .dll? Does everything run asp.net? Apache doesn't natively, and not everyone has it setup with something like Mono. But asp is still pretty universal. No .dll, just upload the .asp files....whalla. Plus, not all of your mobile devices have browsers that jive well with Javascript. Just plain old HTML. So rant away. But I think you're missing the point entirely! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, April 06, 2009 6:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web Applications ...what is YOUR point? ...developing data driven websites using notepad went out long ago ...you can warm a cup of coffee by first building a campfire in the middle of your kitchen but most people prefer the microwave ...suggesting to someone that notepad or MSE are serious tools for web development in today's work environment is ...well, you fill in the blanks, eh ...and given that VSWD Express is, among many other good web development tools, absolutely free with great tutorial videos ...well ...I won't waste my time "venting" ...its a closed case, eh. ...everyone starts somewhere Drew ...some start with one tool and never move on when better ones come along. William -------------------------------------------------- From: "Drew Wutka" Sent: Monday, April 06, 2009 5:52 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Web Applications > First, I said I could if I wanted to, though I prefer Microsoft Script > Editor. > > Second, what's your point William? I think you need to join OT again > and vent somewhere else. The original question was about learning to > develop on the web. Not what tool is the best. I answered the original > question with my personal opinion, which is that you will be a better > web developer if you get a strong grasp of some of the less flashy > tools. > > Believe you me, I've met my share of developers that were handed the > keys to an SR-71 package and were recklessly gallivanting around > displaying their absolute lack of knowledge..... > > Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stuart at lexacorp.com.pg Tue Apr 7 00:02:21 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Apr 2009 15:02:21 +1000 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: Message-ID: <49DADE5D.391.156CBB24@stuart.lexacorp.com.pg> I have one now :-) ProgBar.exe displays a simple progress bar in a small Topmost window in the centre of your screen. Download the zipped file from http://www.lexacorp.com.pg/soft/ProgBar.zip Shell to it with a parameter of the number of seconds you want it to run for i.e. Shell CurrentProject.Path & "\Progbar.exe 10", vbNormalFocus will look for it in the same directory as your MDB and display it for 10 seconds. Cheers, Stuart > Nope, you have to do something yourself! ... Isn't a progress bar a > standard component of Visual Studio? Or Stuart may have a micro > implementation using PowerBasic. > > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. > > /gustav > > > >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> > > ...and you just happen to have a working sample of this? :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Monday, April 06, 2009 9:34 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > > > Hi William > > > > #5. Launch - before you run the query - with Shell an external tiny app > > that runs asynchronously (in another thread) and displays the progress > > bar. > > Record the time for the query to run, store that value, and use it +10% as > > the full time for the progress bar next time it is launched. > > > > /gustav > From Gustav at cactus.dk Tue Apr 7 03:53:04 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Apr 2009 10:53:04 +0200 Subject: [AccessD] Queries Progress Bar Message-ID: Hi Stuart I knew it! William now has the ball. /gustav >>> stuart at lexacorp.com.pg 07-04-2009 07:02 >>> I have one now :-) ProgBar.exe displays a simple progress bar in a small Topmost window in the centre of your screen. Download the zipped file from http://www.lexacorp.com.pg/soft/ProgBar.zip Shell to it with a parameter of the number of seconds you want it to run for i.e. Shell CurrentProject.Path & "\Progbar.exe 10", vbNormalFocus will look for it in the same directory as your MDB and display it for 10 seconds. Cheers, Stuart > Nope, you have to do something yourself! ... Isn't a progress bar a > standard component of Visual Studio? Or Stuart may have a micro > implementation using PowerBasic. > > I just got the idea as I remember someone having success playing an audio file launched by a Shell command while Access continues to run. > > /gustav > > > >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> > > ...and you just happen to have a working sample of this? :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Monday, April 06, 2009 9:34 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > > > Hi William > > > > #5. Launch - before you run the query - with Shell an external tiny app > > that runs asynchronously (in another thread) and displays the progress > > bar. > > Record the time for the query to run, store that value, and use it +10% as > > the full time for the progress bar next time it is launched. > > > > /gustav From Chester_Kaup at kindermorgan.com Tue Apr 7 07:50:37 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Apr 2009 07:50:37 -0500 Subject: [AccessD] Using recordset in a query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Probably did not explain this very well. RS1 contains the results of a previous SQL statement run in code. I want to use the data stored in RS1 in the query posted below. Maybe instead of strSql = I should use strSql1= ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 06, 2009 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using recordset in a query You've got it swallowing its own tail! You're trying to set a recordset to RS1 that refers to fields in RS1, so no, you can't do that. You can use a subquery and do an inner join on that then open a recordset on the resulting SQL but not like this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 06, 2009 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Using recordset in a query I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? Set RS1 = MyDb.OpenRecordset(strSql) strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Apr 7 07:59:21 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Apr 2009 14:59:21 +0200 Subject: [AccessD] Using recordset in a query Message-ID: Hi Chester You are mixing up DAO/ADO and SQL. Can't be done. Write the RS1 recordset to a temp table and use this in your query for RS1. Replace the RS1.Fields(n) with the actual field names. /gustav >>> Chester_Kaup at kindermorgan.com 07-04-2009 14:50 >>> Probably did not explain this very well. RS1 contains the results of a previous SQL statement run in code. I want to use the data stored in RS1 in the query posted below. Maybe instead of strSql = I should use strSql1= ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 06, 2009 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using recordset in a query You've got it swallowing its own tail! You're trying to set a recordset to RS1 that refers to fields in RS1, so no, you can't do that. You can use a subquery and do an inner join on that then open a recordset on the resulting SQL but not like this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 06, 2009 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Using recordset in a query I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? Set RS1 = MyDb.OpenRecordset(strSql) strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From fahooper at gmail.com Tue Apr 7 08:37:12 2009 From: fahooper at gmail.com (Fred Hooper) Date: Tue, 07 Apr 2009 09:37:12 -0400 Subject: [AccessD] Using recordset in a query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Message-ID: <49DB5708.2090604@gmail.com> Hi Chester, You have two problems: (1) the RS1.Fields(n) entries are inside quotes so that only the "RS1.Fields(n)" text is submitted to the SQL parser, not the RS1.Fields(n) *value*. If you modify it like strSql = "SELECT dbo_DSS_StatusChanges.PID, " & RS1.Fields(1) & ", " & _ This makes the value in the recordset actually appear in strSql. BTW, if you display the contents of strSql in the Immediate window (?strSql) you'll see that you currently have the text, not the value. (2) You are referring to the the RS1 *recordset* in place of a table in the query. You can't use recordsets in place of a table. However you can get around this by just using the recordset *values*. Try this: strSql = "SELECT dbo_DSS_StatusChanges.PID, " & RS1.Fields(1) & ", " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM dbo_DSS_StatusChanges " & _ "WHERE dbo_DSS_StatusChanges.StatusDate = #" & RS1.Fields(3) & "# " & _ "AND dbo_DSS_StatusChanges.PID = " & RS1.Fields(0) & " " & _ "GROUP BY dbo_DSS_StatusChanges.PID, " & RS1.Fields(1) & ", " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Note: This assumes that StatusDate is actually a *date*, hence the # delimiters and that PID is a number (if it's text you'll need single-quote delimeters). Also, you don't need the "Group By" clause as you aren't using any sum, count, etc. You can remove that clause, which will speed the query up a bit. Hope this helps, Fred Kaup, Chester wrote: > Probably did not explain this very well. RS1 contains the results of a previous SQL statement run in code. I want to use the data stored in RS1 in the query posted below. > > Maybe instead of strSql = I should use strSql1= ? > > Thanks. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 06, 2009 3:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using recordset in a query > > You've got it swallowing its own tail! You're trying to set a recordset to RS1 that refers to fields in RS1, so no, you can't do that. You can use a subquery and do an inner join on that then open a recordset on the resulting SQL but not like this. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, April 06, 2009 1:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Using recordset in a query > > I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? > > Set RS1 = MyDb.OpenRecordset(strSql) > > strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ > "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ > "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ > "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ > "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From markamatte at hotmail.com Tue Apr 7 08:39:52 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 7 Apr 2009 13:39:52 +0000 Subject: [AccessD] Using recordset in a query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Message-ID: Why not do it all in 1 statement..."Select a.testfield from (select testfield from testtable) a" Mark A. Matte > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, April 06, 2009 1:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Using recordset in a query > > I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? > > Set RS1 = MyDb.OpenRecordset(strSql) > > strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ > "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ > "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ > "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ > "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From kismert at gmail.com Tue Apr 7 09:38:47 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 7 Apr 2009 09:38:47 -0500 Subject: [AccessD] Web Applications Message-ID: <7c7841600904070738v5b93d57dndd4ad175edfb83c@mail.gmail.com> Drew: "... It [ASP.NET] has it's advantages, but there isn't anything you can't do with ASP and a client side script." All the user sees is HTML, some style sheets, Javascript, and a bunch of supporting files (graphics, flash, etc.). From the user's perspective, *any* platform can deliver the same experience. The real question is: what can your platform do for you? That takes me back to my point of frameworks. Take advantage of other people's code, whether it's a CMS or a more abstract MVC framework. If you do that, your coding requirements are rather slim. I used a CMS, and got by with a syntax-highlighting text editor and a Grep tool. The Javascript stuff is especially tricky, with it's own set of set of cross-browser incompatibilities. Get a Javascript framework to do the heavy lifting for you. There is no need to be a He-man or woman and roll it all yourself. Cheat. Your users will never know the difference. William: "...IE8 Developer's Tools is actually a pretty good port of FireBug to IE8 and comes with every install." I need to upgrade my Vista machine at work to IE8. When I do, I'll check out the Developer's Tools. Hopefully they are a big improvement over what IE7 & 6 offered. -Ken From DWUTKA at Marlow.com Tue Apr 7 09:59:11 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 7 Apr 2009 09:59:11 -0500 Subject: [AccessD] Web Applications In-Reply-To: <7c7841600904070738v5b93d57dndd4ad175edfb83c@mail.gmail.com> References: <7c7841600904070738v5b93d57dndd4ad175edfb83c@mail.gmail.com> Message-ID: LOL. I like that 'Cheat. Your users will never know the difference.'. Well put. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, April 07, 2009 9:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Web Applications Drew: "... It [ASP.NET] has it's advantages, but there isn't anything you can't do with ASP and a client side script." All the user sees is HTML, some style sheets, Javascript, and a bunch of supporting files (graphics, flash, etc.). From the user's perspective, *any* platform can deliver the same experience. The real question is: what can your platform do for you? That takes me back to my point of frameworks. Take advantage of other people's code, whether it's a CMS or a more abstract MVC framework. If you do that, your coding requirements are rather slim. I used a CMS, and got by with a syntax-highlighting text editor and a Grep tool. The Javascript stuff is especially tricky, with it's own set of set of cross-browser incompatibilities. Get a Javascript framework to do the heavy lifting for you. There is no need to be a He-man or woman and roll it all yourself. Cheat. Your users will never know the difference. William: "...IE8 Developer's Tools is actually a pretty good port of FireBug to IE8 and comes with every install." I need to upgrade my Vista machine at work to IE8. When I do, I'll check out the Developer's Tools. Hopefully they are a big improvement over what IE7 & 6 offered. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From cfoust at infostatsystems.com Tue Apr 7 10:15:33 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Apr 2009 08:15:33 -0700 Subject: [AccessD] Using recordset in a query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Message-ID: The point is you can't reference a recordset in a SQL query, period. And if you COULD, you'd have to use a different name for the two recordsets, not the same name. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, April 07, 2009 5:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using recordset in a query Probably did not explain this very well. RS1 contains the results of a previous SQL statement run in code. I want to use the data stored in RS1 in the query posted below. Maybe instead of strSql = I should use strSql1= ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 06, 2009 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using recordset in a query You've got it swallowing its own tail! You're trying to set a recordset to RS1 that refers to fields in RS1, so no, you can't do that. You can use a subquery and do an inner join on that then open a recordset on the resulting SQL but not like this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 06, 2009 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Using recordset in a query I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? Set RS1 = MyDb.OpenRecordset(strSql) strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Apr 7 10:29:24 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 7 Apr 2009 15:29:24 +0000 Subject: [AccessD] Web Applications In-Reply-To: References: <7c7841600904070738v5b93d57dndd4ad175edfb83c@mail.gmail.com> Message-ID: Hello All, I want to thank everyone that responded. I will take everything sent...do a little research...and move forward (almost scared to say what direction). I do value the opinion of everyone on the list...even when they are different (this actually adds value in my opinion) Thanks Again, Mark A. Matte _________________________________________________________________ Rediscover Hotmail?: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 From markamatte at hotmail.com Tue Apr 7 11:17:03 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 7 Apr 2009 16:17:03 +0000 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Message-ID: Hello All, Inherited situation: 4 FE and 30+ BE I have condensed...to 1 and 1. Now I need to move the BE to their location and populate with current data. I'm considering a table which lists table names and what old mdb it belonged to...then loop through and link each one in code? run queries againts each table appending in new single BE. Any suggestions/comments on approach? Thanks, Mark _________________________________________________________________ Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A From dwaters at usinternet.com Tue Apr 7 11:27:06 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 7 Apr 2009 11:27:06 -0500 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> Message-ID: <872BA126732B422D8409B65F83961AFA@danwaters> Are the tables duplicated (or mostly) in all 30 old BE's? If so, then make a table with the names of the BE's, and a hard-coded list of tables in your transitioning code and then loop through that list of tables for each BE. Of course, that might be too easy? Good Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, April 07, 2009 11:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Relink Multiple BE Hello All, Inherited situation: 4 FE and 30+ BE I have condensed...to 1 and 1. Now I need to move the BE to their location and populate with current data. I'm considering a table which lists table names and what old mdb it belonged to...then loop through and link each one in code? run queries againts each table appending in new single BE. Any suggestions/comments on approach? Thanks, Mark _________________________________________________________________ Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN 55C0701A -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Apr 7 13:09:20 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 7 Apr 2009 14:09:20 -0400 Subject: [AccessD] Queries Progress Bar References: Message-ID: ...I knew that there just HAD to be a way to do this ...now to test it in a runtime ...tks :) William -------------------------------------------------- From: "Gustav Brock" Sent: Tuesday, April 07, 2009 4:53 AM To: Subject: Re: [AccessD] Queries Progress Bar > Hi Stuart > > I knew it! > William now has the ball. > > /gustav > > >>>> stuart at lexacorp.com.pg 07-04-2009 07:02 >>> > I have one now :-) > > ProgBar.exe displays a simple progress bar in a small Topmost window in > the centre of > your screen. Download the zipped file from > http://www.lexacorp.com.pg/soft/ProgBar.zip > > Shell to it with a parameter of the number of seconds you want it to run > for i.e. > > Shell CurrentProject.Path & "\Progbar.exe 10", vbNormalFocus > > will look for it in the same directory as your MDB and display it for 10 > seconds. > > Cheers, > Stuart > >> Nope, you have to do something yourself! ... Isn't a progress bar a >> standard component of Visual Studio? Or Stuart may have a micro >> implementation using PowerBasic. >> > >> I just got the idea as I remember someone having success playing an audio >> file launched by a Shell command while Access continues to run. >> >> /gustav >> >> >> >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> >> >> ...and you just happen to have a working sample of this? :) >> >> William >> >> -------------------------------------------------- >> From: "Gustav Brock" >> Sent: Monday, April 06, 2009 9:34 AM >> To: >> Subject: Re: [AccessD] Queries Progress Bar >> >> > Hi William >> > >> > #5. Launch - before you run the query - with Shell an external tiny app >> > that runs asynchronously (in another thread) and displays the progress >> > bar. >> > Record the time for the query to run, store that value, and use it +10% >> > as >> > the full time for the progress bar next time it is launched. >> > >> > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Apr 7 14:01:26 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 7 Apr 2009 15:01:26 -0400 Subject: [AccessD] Queries Progress Bar References: Message-ID: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> Stu ...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" :) ...looks like this is a "plug-in" solution useful in a number of scenarios. ...of course I'd like to be able to match the gui with my own and perhaps add a cancel option and a caption :) ...so, how was this done and is the source available? ...never hurts to ask :) ...gustav ...tks for your help as well in getting Stu going. ...there simply is NO place on the web like AccessD :) William -------------------------------------------------- From: "William Hindman" Sent: Tuesday, April 07, 2009 2:09 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Queries Progress Bar > > ...I knew that there just HAD to be a way to do this ...now to test it in > a > runtime ...tks :) > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Tuesday, April 07, 2009 4:53 AM > To: > Subject: Re: [AccessD] Queries Progress Bar > >> Hi Stuart >> >> I knew it! >> William now has the ball. >> >> /gustav >> >> >>>>> stuart at lexacorp.com.pg 07-04-2009 07:02 >>> >> I have one now :-) >> >> ProgBar.exe displays a simple progress bar in a small Topmost window in >> the centre of >> your screen. Download the zipped file from >> http://www.lexacorp.com.pg/soft/ProgBar.zip >> >> Shell to it with a parameter of the number of seconds you want it to run >> for i.e. >> >> Shell CurrentProject.Path & "\Progbar.exe 10", vbNormalFocus >> >> will look for it in the same directory as your MDB and display it for 10 >> seconds. >> >> Cheers, >> Stuart >> >>> Nope, you have to do something yourself! ... Isn't a progress bar a >>> standard component of Visual Studio? Or Stuart may have a micro >>> implementation using PowerBasic. >>> >> >>> I just got the idea as I remember someone having success playing an >>> audio >>> file launched by a Shell command while Access continues to run. >>> >>> /gustav >>> >>> >>> >>> wdhindman at dejpolsystems.com 06-04-2009 15:49 >>> >>> >>> ...and you just happen to have a working sample of this? :) >>> >>> William >>> >>> -------------------------------------------------- >>> From: "Gustav Brock" >>> Sent: Monday, April 06, 2009 9:34 AM >>> To: >>> Subject: Re: [AccessD] Queries Progress Bar >>> >>> > Hi William >>> > >>> > #5. Launch - before you run the query - with Shell an external tiny >>> > app >>> > that runs asynchronously (in another thread) and displays the progress >>> > bar. >>> > Record the time for the query to run, store that value, and use it >>> > +10% >>> > as >>> > the full time for the progress bar next time it is launched. >>> > >>> > /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 Lambert.Heenan at aiuholdings.com Tue Apr 7 15:10:40 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Tue, 7 Apr 2009 16:10:40 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> References: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> Message-ID: "...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" " What version of Access? With A2K2 it has no effect at all on the native progress bar: still shows up. But the biggest problem with this little tool is that you need to know in advance how long the query will take to run before calling the progress bar. Not much use IMHO. YMMV depending on network conditions etc. etc. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, April 07, 2009 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar Stu ...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" :) ...looks like this is a "plug-in" solution useful in a number of scenarios. ...of course I'd like to be able to match the gui with my own and perhaps add a cancel option and a caption :) ...so, how was this done and is the source available? ...never hurts to ask :) From Gustav at cactus.dk Tue Apr 7 15:51:45 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Apr 2009 22:51:45 +0200 Subject: [AccessD] Queries Progress Bar Message-ID: Hi Lambert You are correct, but that seems to be how close we can get. > Record the time for the query to run, store that value, and use it +10% as > the full time for the progress bar next time it is launched. /gustav >>> Lambert.Heenan at aiuholdings.com 07-04-2009 22:10 >>> "...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" " What version of Access? With A2K2 it has no effect at all on the native progress bar: still shows up. But the biggest problem with this little tool is that you need to know in advance how long the query will take to run before calling the progress bar. Not much use IMHO. YMMV depending on network conditions etc. etc. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, April 07, 2009 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar Stu ...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" :) ...looks like this is a "plug-in" solution useful in a number of scenarios. ...of course I'd like to be able to match the gui with my own and perhaps add a cancel option and a caption :) ...so, how was this done and is the source available? ...never hurts to ask :) From stuart at lexacorp.com.pg Tue Apr 7 16:19:13 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Apr 2009 07:19:13 +1000 Subject: [AccessD] Queries Progress Bar In-Reply-To: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> References: , <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> Message-ID: <49DBC351.14686.18EB1518@stuart.lexacorp.com.pg> As Gustav "suggested" - Powerbasic - specifically PB/Win 9.01 And here's the source: #COMPILE EXE #DIM ALL #INCLUDE "Win32API.inc" GLOBAL lMax AS LONG '------------------------------------------------------------------------------ ' Equates '------------------------------------------------------------------------------ %WM_USER = &H400 %ID_PROGRESS = %WM_USER + 2048 '----------------------------------------------------------------------------- ' Progress dialog callback ' In %WM_INITDIALOG, we post a user defined message to the dialog's message ' queue via DIALOG POST. Posted messages are placed at bottom of the message ' queue, so this ensures dialog will be shown before the action starts. '------------------------------------------------------------------------------ CALLBACK FUNCTION PBarDlgProc () AS LONG LOCAL i AS LONG SELECT CASE CB.MSG CASE %WM_INITDIALOG ' Post a user defined (private) message to self DIALOG POST CB.HNDL, %WM_USER + 999&, 0, 0 CASE %WM_USER + 999& FOR i = 1 TO lmax PROGRESSBAR STEP CB.HNDL, %ID_PROGRESS DIALOG DOEVENTS 500' allow processor to breathe and wait 500 millisecs NEXT DIALOG END CB.HNDL, 0 'Done, so close dialog END SELECT END FUNCTION '------------------------------------------------------------------------------ ' Main entry point for the application '------------------------------------------------------------------------------ FUNCTION PBMAIN () AS LONG LOCAL hdlg AS DWORD 'Get time to display: x 2 because we update every 1/2 second lMax = VAL(COMMAND$) * 2 'create Dialog DIALOG NEW 0, "Processing - Please Wait",,, 200, 40,, 0 TO hDlg DIALOG SET COLOR hDlg, -1, RGB(192,192,222) CONTROL ADD PROGRESSBAR, hDlg, %ID_PROGRESS, "", 5, 12, 190, 12 'Configure Prgress bar PROGRESSBAR SET RANGE hDlg, %ID_PROGRESS, 0, lMax PROGRESSBAR SET STEP hDlg, %ID_PROGRESS, 1 'Lock window on top SETWINDOWPOS hDlg, %HWND_TOPMOST, 0, 0, 0, 0, %SWP_NOMOVE OR %SWP_NOSIZE 'show it DIALOG SHOW MODAL hDlg, CALL PBarDlgProc END FUNCTION On 7 Apr 2009 at 15:01, William Hindman wrote: > Stu > > ...works perfectly Stu ...it even takes the progress meter out of the status > bar ...just "calculating" :) > ...looks like this is a "plug-in" solution useful in a number of scenarios. > ...of course I'd like to be able to match the gui with my own and perhaps > add a cancel option and a caption :) > ...so, how was this done and is the source available? ...never hurts to ask > :) > > ...gustav ...tks for your help as well in getting Stu going. > > ...there simply is NO place on the web like AccessD :) > From wdhindman at dejpolsystems.com Tue Apr 7 16:19:53 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 7 Apr 2009 17:19:53 -0400 Subject: [AccessD] Queries Progress Bar References: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> Message-ID: <3BC378DFF9CD4772824B5720E3C386D3@jislaptopdev> Lambert ...A2K3 ...no longer shows the progress meter for the queries ...just "calculating..." ...and no, its not a perfect solution ...but its a damn sight better than anything else I've tried :) ...once I time the average query in a real world environment and set it in the parameters, it does what I need. ...and for my apps that run in different environments, I can auto test and set a global environment adjustment factor that once set, should play nicely. ...I'm happy, ymmv :) ...no question we'd all be happier with a progress bar running off the internals that MS uses for its own progress meter ...but so far I've not seen a hint of any such api ...in the meantime, Stu's solution is very, very useful in providing visual feedback in a single threaded process based on queries. William -------------------------------------------------- From: "Heenan, Lambert" Sent: Tuesday, April 07, 2009 4:10 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Queries Progress Bar > > "...works perfectly Stu ...it even takes the progress meter out of the > status bar ...just "calculating" " > > What version of Access? With A2K2 it has no effect at all on the native > progress bar: still shows up. > > But the biggest problem with this little tool is that you need to know in > advance how long the query will take to run before calling the progress > bar. Not much use IMHO. YMMV depending on network conditions etc. etc. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Tuesday, April 07, 2009 3:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Queries Progress Bar > > Stu > > ...works perfectly Stu ...it even takes the progress meter out of the > status bar ...just "calculating" :) ...looks like this is a "plug-in" > solution useful in a number of scenarios. > ...of course I'd like to be able to match the gui with my own and perhaps > add a cancel option and a caption :) ...so, how was this done and is the > source available? ...never hurts to ask > :) > > -- > 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 Apr 7 16:23:30 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Apr 2009 07:23:30 +1000 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: , <1740B1198A864C98BA91D08A60DA7670@jislaptopdev>, Message-ID: <49DBC452.9294.18EF02FF@stuart.lexacorp.com.pg> I'm thinking about building it as a DLL so that you can inercat with it more easily. That way, you will be able to give it your best guess, but still it earlier. It will also continue to display once the Progress bar has reached 100% until you specifically kill it. I'll probably have a go at it over the weekend. On 7 Apr 2009 at 16:10, Heenan, Lambert wrote: > > But the biggest problem with this little tool is that you need to know > in advance how long the query will take to run before calling the > progress bar. Not much use IMHO. YMMV depending on network conditions > etc. etc. > > Lambert > From ebarro at verizon.net Tue Apr 7 20:00:12 2009 From: ebarro at verizon.net (Eric Barro) Date: Tue, 07 Apr 2009 18:00:12 -0700 Subject: [AccessD] Web Applications In-Reply-To: References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com> <8416E3C5B4F949EF8BC9873B8BC08CD9@advancedinput.com> Message-ID: <791693D8A5E2487B8C4B3E03C1D70DAF@advancedinput.com> Therein lies the problem with the recommendation to go with classic ASP versus ASP.NET... You mentioned that you compile your code into a DLL. Now, how would a beginner know to do that using VB6...much less know what to put in those VB6 modules and *then* know enough to instantiate the object you just created using VB Script on their classic ASP pages? Not to mention the fact that when you deploy your DLL to the server you will have to make sure that it's registered. Fortunately with ASP.NET you don't have to worry about all those things because it's a framework and the framework does all the heavy lifting for you. Am I right or am I right? :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 06, 2009 8:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web Applications I do have my core code 'compiled' as a .dll too. Plus with what I do, I use either .asp or .htm extensions, it's just a matter of tweaking the ISAPI filters to read .asp code in whatever extensions you want. I handle everything in my .dll. Most of the time I am recording the data then and there, though to pass information to another page there is always a session variable to hold the info. No big deal. >>> Again, using a VB .dll. It can be ported to any web app or for that matter, any system that can use an ActiveX .dll. From DWUTKA at Marlow.com Tue Apr 7 20:25:18 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 7 Apr 2009 20:25:18 -0500 Subject: [AccessD] Web Applications In-Reply-To: <791693D8A5E2487B8C4B3E03C1D70DAF@advancedinput.com> References: <7c7841600904060941u624ab4e5n3dc6384ddcbf9ca1@mail.gmail.com><8416E3C5B4F949EF8BC9873B8BC08CD9@advancedinput.com> <791693D8A5E2487B8C4B3E03C1D70DAF@advancedinput.com> Message-ID: If the question was 'hey, I need a system to develop a website', then yes, you would be absolutely right. But that wasn't the question, it was what to do to learn web development. My point from the get go has been that classic asp gives you a good nuts and bolts view of how the web actually works. And it's not that hard to pick up. My comments about using VB6 were brought up in the offshoot of 'asp classic is dead' and 'asp classic sucks and should be dropped because of ASP.NET'. Just clarifying, Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, April 07, 2009 8:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Web Applications Therein lies the problem with the recommendation to go with classic ASP versus ASP.NET... You mentioned that you compile your code into a DLL. Now, how would a beginner know to do that using VB6...much less know what to put in those VB6 modules and *then* know enough to instantiate the object you just created using VB Script on their classic ASP pages? Not to mention the fact that when you deploy your DLL to the server you will have to make sure that it's registered. Fortunately with ASP.NET you don't have to worry about all those things because it's a framework and the framework does all the heavy lifting for you. Am I right or am I right? :) The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From dbdoug at gmail.com Tue Apr 7 21:31:04 2009 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 7 Apr 2009 19:31:04 -0700 Subject: [AccessD] Setting form filter string Message-ID: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Hello All: I discovered today that I couldn't assign the empty string to a form filter in Access 2003: Me.Filter = "" left the filter string unchanged. I couldn't assign a Null to it, either. Has anyone else run into this? Help doesn't say anything. The workaround is to set Me.FilterOn to False instead, but it still seems weird. Doug Steele From darren at activebilling.com.au Wed Apr 8 02:57:01 2009 From: darren at activebilling.com.au (Darren D) Date: Wed, 8 Apr 2009 17:57:01 +1000 Subject: [AccessD] A2003:Embedded Image in HTML Message-ID: <011801c9b81f$9ac77670$131b910a@denzilnote> Hi Team I am storing a big heap of HTML in a field then using it to send HTML formatted emails The Problem comes when adding images to the email Traditionally we'd have a syntax in the HTML referring to the image something like src="C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our logo"> or src="file://C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our logo"> I have since discovered there is a thing called cid that might be called like this src="cid:CompanyLogo" alt="our logo"> The CID means Content ID and allows for 'embedding' rather than linking But the problem is I am unable to 'set' this content ID in the HTML - I don't know how Does anyone know how to set this stuff up - In pure HTML? I have found VB and VBA samples but I have no clue how to write this sort of stuff in HTML Many thanks Darren From max.wanadoo at gmail.com Wed Apr 8 03:11:32 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 8 Apr 2009 09:11:32 +0100 Subject: [AccessD] Setting form filter string In-Reply-To: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Message-ID: <49dc5c3c.231e640a.076d.14b7@mx.google.com> Would it take this? Dim str as string Str = "" Me.filter = str Me.filteron = false Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 08 April 2009 03:31 To: accessd at databaseadvisors.com Subject: [AccessD] Setting form filter string Hello All: I discovered today that I couldn't assign the empty string to a form filter in Access 2003: Me.Filter = "" left the filter string unchanged. I couldn't assign a Null to it, either. Has anyone else run into this? Help doesn't say anything. The workaround is to set Me.FilterOn to False instead, but it still seems weird. Doug Steele -- 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 Apr 8 04:42:17 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Apr 2009 19:42:17 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <011801c9b81f$9ac77670$131b910a@denzilnote> References: <011801c9b81f$9ac77670$131b910a@denzilnote> Message-ID: <49DC7179.6657.1980CA5@stuart.lexacorp.com.pg> You can't set it in HTML. Your HTML is in one part of a multipart message. The data pointed to by the cid is in another, completely separate part of the message, with its own Content-Type, Content_ID etc headers. The image data will need to be encoded for email transport as well, probably using Base64 encoding. Basically, you are going to have to construct the whole message yourself including standard and MIME headers, boundaries,encoding etc and then come up with your own MAPI or SMTP transport to despatch the message. Before you do that you are going to have to be very familiar with the basic standards for all internet mail contained in RFC 822 and then go on RFCs 2046 and 2111 for a start and get an understanding of how a multipart MIME message is structured. You will probably also need to be familiar with RFCs 2045, 2047, 2049, 4288, and 4289 among others. Note: RFC = "Request For Comments" = a memorandum published by the Internet Engineering Task Force (IETF) describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internet-connected systems. Many RFCs including the ones listed above are adopted byt the IETF as "Internet Standards" See http://www.rfc-editor.org/rfc.html Have fun :-) On 8 Apr 2009 at 17:57, Darren D wrote: > Hi Team > > I am storing a big heap of HTML in a field then using it to send HTML formatted > emails > > The Problem comes when adding images to the email > > Traditionally we'd have a syntax in the HTML referring to the image something > like > > src="C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our logo"> > > or > > src="file://C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our > logo"> > > > > I have since discovered there is a thing called cid that might be called like > this > > src="cid:CompanyLogo" alt="our logo"> > > > > The CID means Content ID and allows for 'embedding' rather than linking > > But the problem is I am unable to 'set' this content ID in the HTML - I don't > know how > > Does anyone know how to set this stuff up - In pure HTML? > > I have found VB and VBA samples but I have no clue how to write this sort of > stuff in HTML > From Alun.Garraway at otto.de Wed Apr 8 04:57:43 2009 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 8 Apr 2009 11:57:43 +0200 Subject: [AccessD] Treeview (A2K7) In-Reply-To: <6573E26B5A9D408180E35DE1E4EAFE7A@AMDXP> References: <49b694f0.1818d00a.507a.ffffd542@mx.google.com> <49b69ffc.0508d00a.08ea.0adf@mx.google.com> <49b6a2cf.0508d00a.0481.ffffe9de@mx.google.com><49b6aac9.0a1ad00a.3d71.0d09@mx.google.com> <6573E26B5A9D408180E35DE1E4EAFE7A@AMDXP> Message-ID: <781809D0CBCA4D4C8599423EC952DF75AE6A61@ntovmail02.ad.otto.de> Hello, am using a treeview in a form, everything okay so far :-) what I'd like to do now is change the color of the node when chosen, is that possible? I've tried .Key.ForeColor = vbRed (in a With Node block) But just get run time error 424 (object missing) :-( Any ideas anyone? TIA! :-) alun From jimdettman at verizon.net Wed Apr 8 06:55:38 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Apr 2009 07:55:38 -0400 Subject: [AccessD] Queries Progress Bar In-Reply-To: References: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> Message-ID: <77ADD888BEA34E55B94649EA7318C3CA@LaptopII> I agree as well. Not much of a progress bar. I'd rather put up an animation. To me, a bar that might reach 100% and then sit there for two or three minutes because a server is slow is not only worthless, but would imply that the app poorly developed. Not something I'd want to put in front of a user. Nothing worse in my book then telling'em something and it's not right. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, April 07, 2009 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Queries Progress Bar "...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" " What version of Access? With A2K2 it has no effect at all on the native progress bar: still shows up. But the biggest problem with this little tool is that you need to know in advance how long the query will take to run before calling the progress bar. Not much use IMHO. YMMV depending on network conditions etc. etc. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, April 07, 2009 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queries Progress Bar Stu ...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" :) ...looks like this is a "plug-in" solution useful in a number of scenarios. ...of course I'd like to be able to match the gui with my own and perhaps add a cancel option and a caption :) ...so, how was this done and is the source available? ...never hurts to ask :) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Wed Apr 8 07:22:50 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Wed, 08 Apr 2009 16:22:50 +0400 Subject: [AccessD] =?koi8-r?b?U0NSVU06IDIgd2Vla3Mgd29yayByZXN1bHRz?= Message-ID: Crossposted in dba-VB and Access-d ----------------------------------- Hi All, The sources of two weeks of work of our SCRUM team are published at CodePlex: http://northwind.codeplex.com/SourceControl/changeset/view/5396 You can download and use them with VS2008 or C# 2008 Express - see !reame.!st subfolder for short setup instructions. Thank you. -- Shamil From drawbridgej at sympatico.ca Wed Apr 8 07:38:38 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Wed, 8 Apr 2009 08:38:38 -0400 Subject: [AccessD] Treeview (A2K7) In-Reply-To: <781809D0CBCA4D4C8599423EC952DF75AE6A61@ntovmail02.ad.otto.de> References: <49b694f0.1818d00a.507a.ffffd542@mx.google.com> <49b69ffc.0508d00a.08ea.0adf@mx.google.com> <49b6a2cf.0508d00a.0481.ffffe9de@mx.google.com><49b6aac9.0a1ad00a.3d71.0d09@mx.google.com><6573E26B5A9D408180E35DE1E4EAFE7A@AMDXP> <781809D0CBCA4D4C8599423EC952DF75AE6A61@ntovmail02.ad.otto.de> Message-ID: <07FEBD70A0EE471BB5C7A1B71D9B3B42@AMDXP> Alun, I am using A2003. I don't have A2007. I just adjusted a working Treeview to change the color of a node when clicked. It changes to red. Here's the code - hope it's helpful. '--------------------------------------------------------------------------- ' Procedure : myTreeview_Click ' Author : Jack ' Created : 3/12/2009 ' Purpose : This is an event procedure that reacts to clicking on a node 'of the Treeview. It determines which type of node it is, And if it is a 'URL, it will link to it. If it is a pwd node, it will be changed to red. '--------------------------------------------------------------------------- ' Last Modified: ' ' Inputs: N/A ' Dependency: N/A '--------------------------------------------------------------------------- ' Private Sub myTreeview_Click() Dim nodSelected As Node Set nodSelected = Me.myTreeview.SelectedItem 'For testing 'MsgBox "Node selected " & nodSelected.Key & " " & nodSelected.Text nodSelected.Expanded = True 'if the selected item is a url the follow it, else just continue If nodSelected.Key Like "url*" Then nodSelected.Expanded = False Application.FollowHyperlink nodSelected.Text, , True, True ElseIf nodSelected.Key Like "pwd*" Then nodSelected.ForeColor = vbRed '<<<<<<<< change node color End If Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Wednesday, April 08, 2009 5:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Treeview (A2K7) Hello, am using a treeview in a form, everything okay so far :-) what I'd like to do now is change the color of the node when chosen, is that possible? I've tried .Key.ForeColor = vbRed (in a With Node block) But just get run time error 424 (object missing) :-( Any ideas anyone? TIA! :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Wed Apr 8 08:10:41 2009 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 8 Apr 2009 15:10:41 +0200 Subject: [AccessD] Treeview (A2K7) In-Reply-To: <07FEBD70A0EE471BB5C7A1B71D9B3B42@AMDXP> References: <49b694f0.1818d00a.507a.ffffd542@mx.google.com> <49b69ffc.0508d00a.08ea.0adf@mx.google.com> <49b6a2cf.0508d00a.0481.ffffe9de@mx.google.com><49b6aac9.0a1ad00a.3d71.0d09@mx.google.com><6573E26B5A9D408180E35DE1E4EAFE7A@AMDXP><781809D0CBCA4D4C8599423EC952DF75AE6A61@ntovmail02.ad.otto.de> <07FEBD70A0EE471BB5C7A1B71D9B3B42@AMDXP> Message-ID: <781809D0CBCA4D4C8599423EC952DF75AE6A64@ntovmail02.ad.otto.de> Hi Jack, YES! worked a treat :-) Thanks & all the best alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Im Auftrag von Jack and Pat Gesendet: Mittwoch, 8. April 2009 14:39 An: 'Access Developers discussion and problem solving' Betreff: Re: [AccessD] Treeview (A2K7) Alun, I am using A2003. I don't have A2007. I just adjusted a working Treeview to change the color of a node when clicked. It changes to red. Here's the code - hope it's helpful. '--------------------------------------------------------------------------- ' Procedure : myTreeview_Click ' Author : Jack ' Created : 3/12/2009 ' Purpose : This is an event procedure that reacts to clicking on a node 'of the Treeview. It determines which type of node it is, And if it is a 'URL, it will link to it. If it is a pwd node, it will be changed to red. '--------------------------------------------------------------------------- ' Last Modified: ' ' Inputs: N/A ' Dependency: N/A '--------------------------------------------------------------------------- ' Private Sub myTreeview_Click() Dim nodSelected As Node Set nodSelected = Me.myTreeview.SelectedItem 'For testing 'MsgBox "Node selected " & nodSelected.Key & " " & nodSelected.Text nodSelected.Expanded = True 'if the selected item is a url the follow it, else just continue If nodSelected.Key Like "url*" Then nodSelected.Expanded = False Application.FollowHyperlink nodSelected.Text, , True, True ElseIf nodSelected.Key Like "pwd*" Then nodSelected.ForeColor = vbRed '<<<<<<<< change node color End If Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Wednesday, April 08, 2009 5:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Treeview (A2K7) Hello, am using a treeview in a form, everything okay so far :-) what I'd like to do now is change the color of the node when chosen, is that possible? I've tried .Key.ForeColor = vbRed (in a With Node block) But just get run time error 424 (object missing) :-( Any ideas anyone? TIA! :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Apr 8 08:35:57 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Apr 2009 15:35:57 +0200 Subject: [AccessD] [dba-VB] SCRUM: 2 weeks work results Message-ID: Hi Shamil So are we supposed to switch to the CodePlex source now? /gustav >>> Salakhetdinov Shamil 08-04-2009 14:22 >>> Crossposted in dba-VB and Access-d ----------------------------------- Hi All, The sources of two weeks of work of our SCRUM team are published at CodePlex: http://northwind.codeplex.com/SourceControl/changeset/view/5396 You can download and use them with VS2008 or C# 2008 Express - see !reame.!st subfolder for short setup instructions. Thank you. -- Shamil From kismert at gmail.com Wed Apr 8 09:02:42 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 8 Apr 2009 09:02:42 -0500 Subject: [AccessD] Web Applications Message-ID: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com> Here's an example of a MVC framework that runs under ASP.NET: http://www.asp.net/mvc/ It's a Microsoft Open Source project. (Hmmm... 'Microsoft' and 'Open Source' didn't burst into flames when written next to each other...) It's a more programmatic web framework which doesn't rely on monolithic ASP.NET web forms, and gives finer control over the HTML and Javascript that gets produced. There are lots of tutorials and videos, and a very handsome gallery of Microsoft bloggers, for you lady geeks out there. -Ken From dbdoug at gmail.com Wed Apr 8 09:57:10 2009 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 8 Apr 2009 07:57:10 -0700 Subject: [AccessD] Unicode string conversion In-Reply-To: References: Message-ID: <4dd71a0c0904080757y36c58f03q884ebd5eb1561f26@mail.gmail.com> For the eddification of the curious, the solution turned out to take two steps: 1. Convert the binary field to a unicode string: MyString = StrConv(MyBinaryField,vbUnicode) 2. Convert the output from step 1 to to a standard string: MyFinalString = StrConv(MyString,vbFromUnicode) (done in one double step in code) On Mon, Apr 6, 2009 at 8:08 AM, Gustav Brock wrote: > Hi Doug > > I think you need to use a recordset and the GetChunk method to retrieve the > data from the binary field. > > Look up the on-line help for an example of this. > > /gustav > > > >>> dbdoug at gmail.com 06-04-2009 16:44 >>> > It's a SQL varbinary field and I'm reading it from a SQL table linked to my > Access db. > > I tried the 'vbFromUnicode' parameter as well, but it gave me '??' as the > result from the same field. > > Doug Steele > > > From dbdoug at gmail.com Wed Apr 8 09:58:28 2009 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 8 Apr 2009 07:58:28 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: <49dc5c3c.231e640a.076d.14b7@mx.google.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <49dc5c3c.231e640a.076d.14b7@mx.google.com> Message-ID: <4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> No, I tried that as well. On Wed, Apr 8, 2009 at 1:11 AM, Max Wanadoo wrote: > Would it take this? > > Dim str as string > Str = "" > Me.filter = str > Me.filteron = false > > Max > > > I discovered today that I couldn't assign the empty string to a form filter > in Access 2003: > > Me.Filter = "" > > left the filter string unchanged. I couldn't assign a Null to it, either. > Has anyone else run into this? Help doesn't say anything. The workaround > is to set Me.FilterOn to False instead, but it still seems weird. > > Doug Steele > > From Lambert.Heenan at aiuholdings.com Wed Apr 8 10:09:10 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 8 Apr 2009 11:09:10 -0400 Subject: [AccessD] Setting form filter string In-Reply-To: <4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <49dc5c3c.231e640a.076d.14b7@mx.google.com> <4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> Message-ID: Another Access 2003 foible? In Access 2002 setting the filter to "" not only removes the filter string it also automatically sets FilterOn = False. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, April 08, 2009 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string No, I tried that as well. On Wed, Apr 8, 2009 at 1:11 AM, Max Wanadoo wrote: > Would it take this? > > Dim str as string > Str = "" > Me.filter = str > Me.filteron = false > > Max > > > I discovered today that I couldn't assign the empty string to a form > filter in Access 2003: > > Me.Filter = "" > > left the filter string unchanged. I couldn't assign a Null to it, either. > Has anyone else run into this? Help doesn't say anything. The > workaround is to set Me.FilterOn to False instead, but it still seems weird. > > Doug Steele > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Apr 8 10:09:15 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Apr 2009 08:09:15 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Message-ID: It's necessary, weird or not. You have to set the filteron property to false before you can change the filter. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, April 07, 2009 7:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Setting form filter string Hello All: I discovered today that I couldn't assign the empty string to a form filter in Access 2003: Me.Filter = "" left the filter string unchanged. I couldn't assign a Null to it, either. Has anyone else run into this? Help doesn't say anything. The workaround is to set Me.FilterOn to False instead, but it still seems weird. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Apr 8 10:12:17 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Apr 2009 08:12:17 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com><49dc5c3c.231e640a.076d.14b7@mx.google.com><4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> Message-ID: I never made that work reliably in any version, Lambert. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, April 08, 2009 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting form filter string Another Access 2003 foible? In Access 2002 setting the filter to "" not only removes the filter string it also automatically sets FilterOn = False. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, April 08, 2009 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string No, I tried that as well. On Wed, Apr 8, 2009 at 1:11 AM, Max Wanadoo wrote: > Would it take this? > > Dim str as string > Str = "" > Me.filter = str > Me.filteron = false > > Max > > > I discovered today that I couldn't assign the empty string to a form > filter in Access 2003: > > Me.Filter = "" > > left the filter string unchanged. I couldn't assign a Null to it, either. > Has anyone else run into this? Help doesn't say anything. The > workaround is to set Me.FilterOn to False instead, but it still seems weird. > > Doug Steele > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aiuholdings.com Wed Apr 8 10:20:11 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 8 Apr 2009 11:20:11 -0400 Subject: [AccessD] Setting form filter string In-Reply-To: References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com><49dc5c3c.231e640a.076d.14b7@mx.google.com><4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> Message-ID: I've never tried to do it that way in the past either, Charlotte. I've always set my filter string and then set FilterOn to True/False as appropriate. I was just curious to see what would happen in the light of this thread. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, April 08, 2009 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string I never made that work reliably in any version, Lambert. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, April 08, 2009 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting form filter string Another Access 2003 foible? In Access 2002 setting the filter to "" not only removes the filter string it also automatically sets FilterOn = False. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, April 08, 2009 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string No, I tried that as well. On Wed, Apr 8, 2009 at 1:11 AM, Max Wanadoo wrote: > Would it take this? > > Dim str as string > Str = "" > Me.filter = str > Me.filteron = false > > Max > > > I discovered today that I couldn't assign the empty string to a form > filter in Access 2003: > > Me.Filter = "" > > left the filter string unchanged. I couldn't assign a Null to it, either. > Has anyone else run into this? Help doesn't say anything. The > workaround is to set Me.FilterOn to False instead, but it still seems weird. > > Doug Steele > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Wed Apr 8 10:44:14 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 8 Apr 2009 10:44:14 -0500 Subject: [AccessD] Queries Progress Bar In-Reply-To: <77ADD888BEA34E55B94649EA7318C3CA@LaptopII> References: <1740B1198A864C98BA91D08A60DA7670@jislaptopdev> <77ADD888BEA34E55B94649EA7318C3CA@LaptopII> Message-ID: Which is why I said the 'best' solution would be to read the progress right off of Access' progress bar. But it's a project I don't have time to build right now. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 08, 2009 6:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Queries Progress Bar I agree as well. Not much of a progress bar. I'd rather put up an animation. To me, a bar that might reach 100% and then sit there for two or three minutes because a server is slow is not only worthless, but would imply that the app poorly developed. Not something I'd want to put in front of a user. Nothing worse in my book then telling'em something and it's not right. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, April 07, 2009 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Queries Progress Bar "...works perfectly Stu ...it even takes the progress meter out of the status bar ...just "calculating" " What version of Access? With A2K2 it has no effect at all on the native progress bar: still shows up. But the biggest problem with this little tool is that you need to know in advance how long the query will take to run before calling the progress bar. Not much use IMHO. YMMV depending on network conditions etc. etc. Lambert The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From max.wanadoo at gmail.com Wed Apr 8 12:01:01 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 8 Apr 2009 18:01:01 +0100 Subject: [AccessD] Setting form filter string In-Reply-To: References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Message-ID: <49dcd855.0aaa660a.114a.ffffdf49@mx.google.com> Not in my Access version you don't ! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 08 April 2009 16:09 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string It's necessary, weird or not. You have to set the filteron property to false before you can change the filter. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, April 07, 2009 7:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Setting form filter string Hello All: I discovered today that I couldn't assign the empty string to a form filter in Access 2003: Me.Filter = "" left the filter string unchanged. I couldn't assign a Null to it, either. Has anyone else run into this? Help doesn't say anything. The workaround is to set Me.FilterOn to False instead, but it still seems weird. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed Apr 8 12:02:04 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 8 Apr 2009 18:02:04 +0100 Subject: [AccessD] Setting form filter string In-Reply-To: <4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <49dc5c3c.231e640a.076d.14b7@mx.google.com> <4dd71a0c0904080758s185a179av7842d318d5e583f0@mail.gmail.com> Message-ID: <49dcd895.06e2660a.0e53.04b0@mx.google.com> What is the error being reported? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 08 April 2009 15:58 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string No, I tried that as well. On Wed, Apr 8, 2009 at 1:11 AM, Max Wanadoo wrote: > Would it take this? > > Dim str as string > Str = "" > Me.filter = str > Me.filteron = false > > Max > > > I discovered today that I couldn't assign the empty string to a form filter > in Access 2003: > > Me.Filter = "" > > left the filter string unchanged. I couldn't assign a Null to it, either. > Has anyone else run into this? Help doesn't say anything. The workaround > is to set Me.FilterOn to False instead, but it still seems weird. > > Doug Steele > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Apr 8 13:22:13 2009 From: marksimms at verizon.net (Mark Simms) Date: Wed, 08 Apr 2009 14:22:13 -0400 Subject: [AccessD] Web Applications In-Reply-To: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com> References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com> Message-ID: <00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Good idea...but what took MSFT so long ? Java/J2EE had an MVC framework 5 years ago. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kenneth Ismert > Sent: Wednesday, April 08, 2009 10:03 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Web Applications > > Here's an example of a MVC framework that runs under ASP.NET: > http://www.asp.net/mvc/ > > It's a Microsoft Open Source project. (Hmmm... 'Microsoft' > and 'Open Source' > didn't burst into flames when written next to each other...) > > It's a more programmatic web framework which doesn't rely on > monolithic ASP.NET web forms, and gives finer control over > the HTML and Javascript that gets produced. > > There are lots of tutorials and videos, and a very handsome > gallery of Microsoft bloggers, for you lady geeks out there. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at airtelmail.in Wed Apr 8 13:48:09 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 9 Apr 2009 00:18:09 +0530 Subject: [AccessD] Setting form filter string References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Message-ID: <011e01c9b87a$e95ae960$175fa27a@personald6374f> Doug, My observations based upon Access 2003 desktop on Win XP are placed below: Programmatic assignment of zero length string as filter property does clear the previous filter string if any - as seen at run time. It has the simultaneous effect that the FilterOn property too gets set to False. (Mere change of filter string, so long as the new one is not of zero length, does not interfere with existing status of FilterOn property). Carry-over of filter string to next session takes place if the form is saved and closed while a normal filter string is still in force and has not been cleared by explicit assignment of zero length string. Once this carry over takes place, the string gets embedded in the property sheet (as can be verified in design view). This represents a sticky state in the sense that although assignment of zero length string at run time would still prevail (as per previous para), the sticky string does not go away and resurfaces on next opening of form. Of course if another non-zero length string is assigned during a given session, the latest one becomes the carry-over string. In actual practice, so long as you take care to explicitly set the FilterOn property to True or False as required, the sticky behavior of filter string should not cause a problem. Some other details are placed below, for ready reference. Best wishes, A.D. Tejpal ------------ Form's Filter & Sort Order At Run-Time ============================ 1 - Factors to be considered for ensuring that the form opens with a clean slate (free of any filter or sort order). 1.1 - Once the Filter and OrderBy properties of a form have been set to some significant strings at run time, subsequent setting to zero length strings (Me.Filter = "" and Me.OrderBy = "") in the close event is not found effective in preventing a carry over to the next opening of form. (Though debug.Print statement placed within the close event, shows zero length strings for these two properties, their last significant values used prior to firing of close event are found to stick on and resurface when the form is opened next time). 1.2 - On a clean form (free of filter & sort), any values assigned at runtime to Filter and OrderBy properties, can be cleared by subsequent assignment of zero length strings provided such assignment is carried within same session of runtime and before reaching the Close event stage. In absence of any such action, the values assigned to Filter and OrderBy properties get carried over to the next opening of form. 1.3 - Assignment of zero length strings to Filter and OrderBy properties results in forcing the FilterOn and OrderByOn properties to False for the current session of runtime, till further interference. 1.4 - If a form opens with carry-over values of Filter & OrderBy properties from the previous session, assignment of zero length strings to these properties, even if done before reaching the Close event, is effective only for current run session and does not get rid of old carry over values for next opening of the form. If however, fresh non-zero length strings are assigned (before reaching the Close event), these replace the earlier ones and become new carry-over values. 1.5 - FilterOn and OrderByOn properties are not available in design view and their default status is False. For any new opening of a form (whether free of Filter/OrderBy settings or not), the status of FilterOn is invariably False. On the other hand, if OrderByOn property had been set to True in previous run of the form and was not re-set to False before reaching the Close event (setting it to False in Close event alone, does not suffice), it is found to retain its True status in next opening of form. 1.6 - Conclusion - For ensuring clean status of form (free of filter & sort) when it opens, the following statement in its Load event should suffice. Private Sub Form_Load() Me.OrderByOn = False End Sub As an abundant precaution (and if the developer does not feel comfortable in their absence), the following additional statements (though redundant) can also be included in the Load event. Me.OrderBy = "" Me.Filter = "" Me.FilterOn = False 2 - Some general aspects relevant to filtering on forms at run time are summarized below. 2.1- Any filter inherent within the record-source continues to remain in force. Whatever is done via form's filter property, is merely supplementary to that (as if joined by " And " operator). 2.2 - Unlike a report, form's FilterOn property is not available for setting in design view. It has to be explicitly set to True at run time (on opening the form, default status of this property is False, even though Allow filters property is set to Yes). 2.3 - Order of placement of Me.FilterOn statement with respect to Me.Filter statement does not matter. 2.4 - Whenever the statement Me.Filter = "" is used, FilterOn property of the form gets automatically set to False. This implies that if at any stage in the code, Me.Filter is set to zero length string, subsequent assignment of a fresh string to the filter property won't be effective unless there is also a fresh statement Me.FilterOn = True (although Me.FilterOn was never set to False explicitly). 2.5 - Once a criteria gets assigned to form's filter property, it tends to stick. Subsequent run time assignment of zero length string to this property is not able to get rid of it permanently. It can be replaced by another string (e.g. "2 = 2" or "True"). 2.6 - If it is to be doubly ensured that form's filter set during runtime, does not cause any interference on next opening of the form (after it has been closed after the current session), the following statement can be included in form's load event. Me.FilterOn = False (Strictly speaking, this statement is redundant, as on opening of a form, the default status of FilterOn property is False) 2.7 - After applying the filter, there is no need to use Me.Requery explicitly. Application of any fresh filter condition, forces requery as well. Note - If DoCmd.OpenForm statement, used for opening the form, contains a criteria string in its where argument, the form opens with its FilterOn property set to True and its Filter property set to the contents of where argument (in Docmd statement). Effect of this filter is supplementary to any filter inherent within the record source, as mentioned at (2.1) above. ===================================== ----- Original Message ----- From: Doug Steele To: accessd at databaseadvisors.com Sent: Wednesday, April 08, 2009 08:01 Subject: [AccessD] Setting form filter string Hello All: I discovered today that I couldn't assign the empty string to a form filter in Access 2003: Me.Filter = "" left the filter string unchanged. I couldn't assign a Null to it, either. Has anyone else run into this? Help doesn't say anything. The workaround is to set Me.FilterOn to False instead, but it still seems weird. Doug Steele From Chester_Kaup at kindermorgan.com Thu Apr 9 07:51:44 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 9 Apr 2009 07:51:44 -0500 Subject: [AccessD] Access 2007 Table Question Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0647A544AF@houex1.kindermorgan.com> Fired up access 2007 for the first time yesterday. What an appearance difference. The question is how do I display hidden objects and system objects? Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From phpons at gmail.com Thu Apr 9 08:37:31 2009 From: phpons at gmail.com (philippe pons) Date: Thu, 9 Apr 2009 15:37:31 +0200 Subject: [AccessD] Access 2007 Table Question In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C0647A544AF@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C0647A544AF@houex1.kindermorgan.com> Message-ID: <57144ced0904090637k61733f4ap4e6d5d71193b3d50@mail.gmail.com> Chester, if you right click on top of the navigation pane, then select navigation options from the pop up, you get a window from where you can do that. Philippe 2009/4/9 Kaup, Chester > Fired up access 2007 for the first time yesterday. What an appearance > difference. The question is how do I display hidden objects and system > objects? Thanks. > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large number > of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Apr 9 08:43:44 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 9 Apr 2009 13:43:44 +0000 Subject: [AccessD] Using recordset in a query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> Message-ID: Chester, Was curious if this was solved?...and what direction you went. Thanks, Mark ---------------------------------------- > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Mon, 6 Apr 2009 15:03:05 -0500 > Subject: [AccessD] Using recordset in a query > > I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? > > Set RS1 = MyDb.OpenRecordset(strSql) > > strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ > "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ > "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ > "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ > "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Rediscover Hotmail?: Get quick friend updates right in your inbox. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009 From Chester_Kaup at kindermorgan.com Thu Apr 9 09:02:04 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 9 Apr 2009 09:02:04 -0500 Subject: [AccessD] Access 2007 Table Question In-Reply-To: <57144ced0904090637k61733f4ap4e6d5d71193b3d50@mail.gmail.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C0647A544AF@houex1.kindermorgan.com> <57144ced0904090637k61733f4ap4e6d5d71193b3d50@mail.gmail.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0647A544E9@houex1.kindermorgan.com> Thanks. That was well hidden. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Thursday, April 09, 2009 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 Table Question Chester, if you right click on top of the navigation pane, then select navigation options from the pop up, you get a window from where you can do that. Philippe 2009/4/9 Kaup, Chester > Fired up access 2007 for the first time yesterday. What an appearance > difference. The question is how do I display hidden objects and system > objects? Thanks. > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large number > of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- 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 Apr 9 09:54:21 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 9 Apr 2009 09:54:21 -0500 Subject: [AccessD] Using recordset in a query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0647A54514@houex1.kindermorgan.com> I haven't had a chance to get back to it. Had some new software to implement and other priorities from the boss. I am going to try to get it in one query. I am not a big fan of temp tables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, April 09, 2009 8:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using recordset in a query Chester, Was curious if this was solved?...and what direction you went. Thanks, Mark ---------------------------------------- > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Mon, 6 Apr 2009 15:03:05 -0500 > Subject: [AccessD] Using recordset in a query > > I am trying to use the following query but am getting no records returned. Can this be done or am I approaching this all wrong? > > Set RS1 = MyDb.OpenRecordset(strSql) > > strSql = "SELECT dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status " & _ > "FROM RS1 INNER JOIN dbo_DSS_StatusChanges ON " & _ > "(RS1.Fields(3) = dbo_DSS_StatusChanges.StatusDate) AND " & _ > "(RS1.Fields(0) = dbo_DSS_StatusChanges.PID) " & _ > "GROUP BY dbo_DSS_StatusChanges.PID, RS1.Fields(1), " & _ "dbo_DSS_StatusChanges.StatusDate, dbo_DSS_StatusChanges.Status;" > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Rediscover Hotmail(r): Get quick friend updates right in your inbox. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 9 11:20:54 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 09:20:54 -0700 Subject: [AccessD] Empty Field Label Message-ID: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Dear List: I think it was Gustav that turned me on to putting some text into an empty bound text box using: @;"Select Matter "[Red] which displays the words 'Select Matter' in red if the field bound to the text box is null. Works great in a continuous form. My client now wants to extend this to combo boxes. I tried it but it didn't work. Probably because the first column of the combo box is zero width - containing the PK. Is there a way to use @;"Select Matter "[Red] so that it will display in the second column of the combo box? He also wants to extend this technique to text boxes that already have a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a format. If the field does not have a date he'd like the words 'Date Worked' to appear in red. But if I paste @;"Date Worked"[Red] into the format property it'll override the date format when there's a date in the field. Any way to finesse that one? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From ssharkins at gmail.com Thu Apr 9 11:27:44 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 9 Apr 2009 12:27:44 -0400 Subject: [AccessD] Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: <34A2BE071D4645C4A23DAA764273E67A@SusanOne> Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have a > format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a > format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that one? From rockysmolin at bchacc.com Thu Apr 9 12:17:48 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 10:17:48 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <34A2BE071D4645C4A23DAA764273E67A@SusanOne> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <34A2BE071D4645C4A23DAA764273E67A@SusanOne> Message-ID: <94F95A6C2601476AB3DECF3329B42B77@HAL9005> Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that one? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 9 12:40:15 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Apr 2009 10:40:15 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <42568C6C310E4E9397C9D2296D70F333@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: Shoot the client before he gets any more ideas?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 9:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Field Label Dear List: I think it was Gustav that turned me on to putting some text into an empty bound text box using: @;"Select Matter "[Red] which displays the words 'Select Matter' in red if the field bound to the text box is null. Works great in a continuous form. My client now wants to extend this to combo boxes. I tried it but it didn't work. Probably because the first column of the combo box is zero width - containing the PK. Is there a way to use @;"Select Matter "[Red] so that it will display in the second column of the combo box? He also wants to extend this technique to text boxes that already have a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a format. If the field does not have a date he'd like the words 'Date Worked' to appear in red. But if I paste @;"Date Worked"[Red] into the format property it'll override the date format when there's a date in the field. Any way to finesse that one? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From ssharkins at gmail.com Thu Apr 9 12:45:12 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 9 Apr 2009 13:45:12 -0400 Subject: [AccessD] Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: <76CE455838BD43E6B62D424225C479C0@SusanOne> I'm going to remember that one! ;) Susan H. > Shoot the client before he gets any more ideas?? LOL From Chester_Kaup at kindermorgan.com Thu Apr 9 12:48:42 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 9 Apr 2009 12:48:42 -0500 Subject: [AccessD] Empty Field Label In-Reply-To: <42568C6C310E4E9397C9D2296D70F333@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0647A5459D@houex1.kindermorgan.com> I don't if this will help you or give you any ideas but I used this code to color text in text boxes in the detail section of a report. Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Last_IT_Date < Date - 10 Then Last_IT_Date.ForeColor = vbRed Else Last_IT_Date.ForeColor = vbBlack End If If Stat_Code = "WI" And Lin_pres > 1850 Then Lin_pres.ForeColor = vbRed ElseIf Stat_Code = "WI" Then Lin_pres.ForeColor = vbBlack End If If Stat_Code = "CI" And Lin_pres > 2180 Then Lin_pres.ForeColor = vbRed ElseIf Stat_Code = "CI" Then Lin_pres.ForeColor = vbBlack End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Field Label Dear List: I think it was Gustav that turned me on to putting some text into an empty bound text box using: @;"Select Matter "[Red] which displays the words 'Select Matter' in red if the field bound to the text box is null. Works great in a continuous form. My client now wants to extend this to combo boxes. I tried it but it didn't work. Probably because the first column of the combo box is zero width - containing the PK. Is there a way to use @;"Select Matter "[Red] so that it will display in the second column of the combo box? He also wants to extend this technique to text boxes that already have a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a format. If the field does not have a date he'd like the words 'Date Worked' to appear in red. But if I paste @;"Date Worked"[Red] into the format property it'll override the date format when there's a date in the field. Any way to finesse that one? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From rockysmolin at bchacc.com Thu Apr 9 12:55:24 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 10:55:24 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C0647A5459D@houex1.kindermorgan.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <0B2BF8524B73A248A2F1B81BA751ED3C0647A5459D@houex1.kindermorgan.com> Message-ID: That would be good for a report. But it don't think you can make it work for a continuous form. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, April 09, 2009 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label I don't if this will help you or give you any ideas but I used this code to color text in text boxes in the detail section of a report. Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Last_IT_Date < Date - 10 Then Last_IT_Date.ForeColor = vbRed Else Last_IT_Date.ForeColor = vbBlack End If If Stat_Code = "WI" And Lin_pres > 1850 Then Lin_pres.ForeColor = vbRed ElseIf Stat_Code = "WI" Then Lin_pres.ForeColor = vbBlack End If If Stat_Code = "CI" And Lin_pres > 2180 Then Lin_pres.ForeColor = vbRed ElseIf Stat_Code = "CI" Then Lin_pres.ForeColor = vbBlack End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Field Label Dear List: I think it was Gustav that turned me on to putting some text into an empty bound text box using: @;"Select Matter "[Red] which displays the words 'Select Matter' in red if the field bound to the text box is null. Works great in a continuous form. My client now wants to extend this to combo boxes. I tried it but it didn't work. Probably because the first column of the combo box is zero width - containing the PK. Is there a way to use @;"Select Matter "[Red] so that it will display in the second column of the combo box? He also wants to extend this technique to text boxes that already have a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a format. If the field does not have a date he'd like the words 'Date Worked' to appear in red. But if I paste @;"Date Worked"[Red] into the format property it'll override the date format when there's a date in the field. Any way to finesse that one? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.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 Thu Apr 9 13:29:23 2009 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Apr 2009 11:29:23 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <94F95A6C2601476AB3DECF3329B42B77@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne> <94F95A6C2601476AB3DECF3329B42B77@HAL9005> Message-ID: <83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1> Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 fuller.artful at gmail.com Thu Apr 9 13:31:59 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 9 Apr 2009 14:31:59 -0400 Subject: [AccessD] Empty Field Label In-Reply-To: References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> LOL. I can already see this as Reality TV show for the geekified people. With a little from what's name, the one with the foolish hair and hotels and casinos and an ex-spouse with a really foolish name? You know who I mean. I think I need to rethink this one. The clients are new each week, and the stars are people such as yourself. In advance, the clients present List of Requirements docoments. You have one day to review their requirements and then describe it cannot possibly in the time frame mentioned. I guess this probably could only work on YouTube. But you know, as a marketing amateur, my opinions are not to be trusted. I know it's only Thursday but our Friday holiday humour is going to precluded by some guy got hung (oops I meant crucified) for a while. Which reminds me of another terrible joke. Jesus is on the cross and calls out to the audience, "Could you get my Adidas, these spikes are killing me." I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. Thinking about sleeping with Charlotte while we co-author this script. Except how would get any work done? Hmmm. Problem. I suggest that we invite the esteemed Mr. William Hindman to advise us on our next week's agenda. A. From rockysmolin at bchacc.com Thu Apr 9 13:38:51 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 11:38:51 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005> <83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1> Message-ID: <06437AFC246343258B9D7EA5FDE87BC7@HAL9005> I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Apr 9 13:40:32 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 9 Apr 2009 14:40:32 -0400 Subject: [AccessD] Empty Field Label In-Reply-To: <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> Message-ID: <29f585dd0904091140q272d7c7fm8f989fb0200aaef6@mail.gmail.com> I just re-read my message and realized that I have possibly offended person on this this. But in case I neglected to make a remark about your particular culture and/or sexpuasion, then please email and I submit a market-driven insult and/or compliment targeted at your particular market position, and I mean it. It will come the honesty pool. I know, it's Good Thursday, and so technically it's a day but what choice did I have? If you know what I mean. Love and Kisses, Arthur From cfoust at infostatsystems.com Thu Apr 9 13:45:41 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Apr 2009 11:45:41 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> Message-ID: Huh! Who dragged me into this? Arthur, you need a hobby!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, April 09, 2009 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label LOL. I can already see this as Reality TV show for the geekified people. With a little from what's name, the one with the foolish hair and hotels and casinos and an ex-spouse with a really foolish name? You know who I mean. I think I need to rethink this one. The clients are new each week, and the stars are people such as yourself. In advance, the clients present List of Requirements docoments. You have one day to review their requirements and then describe it cannot possibly in the time frame mentioned. I guess this probably could only work on YouTube. But you know, as a marketing amateur, my opinions are not to be trusted. I know it's only Thursday but our Friday holiday humour is going to precluded by some guy got hung (oops I meant crucified) for a while. Which reminds me of another terrible joke. Jesus is on the cross and calls out to the audience, "Could you get my Adidas, these spikes are killing me." I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. Thinking about sleeping with Charlotte while we co-author this script. Except how would get any work done? Hmmm. Problem. I suggest that we invite the esteemed Mr. William Hindman to advise us on our next week's agenda. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 9 13:48:51 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 11:48:51 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> Message-ID: <1227B0431D79453BA66460B984EBABD3@HAL9005> Apparently he has one. We'll call him the Bermuda Stalker. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 09, 2009 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Huh! Who dragged me into this? Arthur, you need a hobby!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, April 09, 2009 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label LOL. I can already see this as Reality TV show for the geekified people. With a little from what's name, the one with the foolish hair and hotels and casinos and an ex-spouse with a really foolish name? You know who I mean. I think I need to rethink this one. The clients are new each week, and the stars are people such as yourself. In advance, the clients present List of Requirements docoments. You have one day to review their requirements and then describe it cannot possibly in the time frame mentioned. I guess this probably could only work on YouTube. But you know, as a marketing amateur, my opinions are not to be trusted. I know it's only Thursday but our Friday holiday humour is going to precluded by some guy got hung (oops I meant crucified) for a while. Which reminds me of another terrible joke. Jesus is on the cross and calls out to the audience, "Could you get my Adidas, these spikes are killing me." I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. Thinking about sleeping with Charlotte while we co-author this script. Except how would get any work done? Hmmm. Problem. I suggest that we invite the esteemed Mr. William Hindman to advise us on our next week's agenda. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 9 13:51:33 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Apr 2009 11:51:33 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <1227B0431D79453BA66460B984EBABD3@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> <1227B0431D79453BA66460B984EBABD3@HAL9005> Message-ID: ROTFL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Apparently he has one. We'll call him the Bermuda Stalker. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 09, 2009 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Huh! Who dragged me into this? Arthur, you need a hobby!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, April 09, 2009 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label LOL. I can already see this as Reality TV show for the geekified people. With a little from what's name, the one with the foolish hair and hotels and casinos and an ex-spouse with a really foolish name? You know who I mean. I think I need to rethink this one. The clients are new each week, and the stars are people such as yourself. In advance, the clients present List of Requirements docoments. You have one day to review their requirements and then describe it cannot possibly in the time frame mentioned. I guess this probably could only work on YouTube. But you know, as a marketing amateur, my opinions are not to be trusted. I know it's only Thursday but our Friday holiday humour is going to precluded by some guy got hung (oops I meant crucified) for a while. Which reminds me of another terrible joke. Jesus is on the cross and calls out to the audience, "Could you get my Adidas, these spikes are killing me." I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. Thinking about sleeping with Charlotte while we co-author this script. Except how would get any work done? Hmmm. Problem. I suggest that we invite the esteemed Mr. William Hindman to advise us on our next week's agenda. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at nciinc.com Thu Apr 9 13:55:52 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Thu, 9 Apr 2009 13:55:52 -0500 Subject: [AccessD] Empty Field Label In-Reply-To: <06437AFC246343258B9D7EA5FDE87BC7@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005><83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1> <06437AFC246343258B9D7EA5FDE87BC7@HAL9005> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> Rocky, If you add "Date Worked" to a union query to populate the combo box. Set the Default to "Date Worked and then use conditional formatting with the default. Something like: SELECT "0" as ID,"Date Worked" as Test FROM table1 UNION SELECT Table1.ID, Table1.field2 FROM Table1; Then use conditional formatting when the field value is 0. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From rockysmolin at bchacc.com Thu Apr 9 14:11:36 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Apr 2009 12:11:36 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005><83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1><06437AFC246343258B9D7EA5FDE87BC7@HAL9005> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> Message-ID: <035134804F934EE39E88DBA291C32566@HAL9005> Jim: I think that will work for the combos. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 09, 2009 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, If you add "Date Worked" to a union query to populate the combo box. Set the Default to "Date Worked and then use conditional formatting with the default. Something like: SELECT "0" as ID,"Date Worked" as Test FROM table1 UNION SELECT Table1.ID, Table1.field2 FROM Table1; Then use conditional formatting when the field value is 0. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Apr 9 14:11:33 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Apr 2009 15:11:33 -0400 Subject: [AccessD] Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> Message-ID: <6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> Arthur ...lol ...nothing against you or Charlotte but I'm just not into threesomes. ...especially when all you've suggested is sleeping ...waste of time that is ...imnsho of course ...as for foolish clients, I always thought jc had the perfect solution :) ...or is that too far back in the AccessD records for you to recall? William -------------------------------------------------- From: "Arthur Fuller" Sent: Thursday, April 09, 2009 2:31 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Empty Field Label > LOL. I can already see this as Reality TV show for the geekified people. > With a little from what's name, the one with the foolish hair and hotels > and > casinos and an ex-spouse with a really foolish name? You know who I mean. > I > think I need to rethink this one. The clients are new each week, and the > stars are people such as yourself. In advance, the clients present List of > Requirements docoments. You have one day to review their requirements and > then describe it cannot possibly in the time frame mentioned. > > I guess this probably could only work on YouTube. But you know, as a > marketing amateur, my opinions are not to be trusted. > > I know it's only Thursday but our Friday holiday humour is going to > precluded by some guy got hung (oops I meant crucified) for a while. Which > reminds me of another terrible joke. Jesus is on the cross and calls out > to > the audience, "Could you get my Adidas, these spikes are killing me." > > I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. > > Thinking about sleeping with Charlotte while we co-author this script. > Except how would get any work done? Hmmm. Problem. I suggest that we > invite > the esteemed Mr. William Hindman to advise us on our next week's agenda. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Thu Apr 9 14:14:02 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Apr 2009 15:14:02 -0400 Subject: [AccessD] Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> Message-ID: ...and you don't know which of us he was apologizing to! :) William -------------------------------------------------- From: "Charlotte Foust" Sent: Thursday, April 09, 2009 2:45 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Empty Field Label > Huh! Who dragged me into this? Arthur, you need a hobby!! LOL > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, April 09, 2009 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Empty Field Label > > LOL. I can already see this as Reality TV show for the geekified people. > With a little from what's name, the one with the foolish hair and hotels > and casinos and an ex-spouse with a really foolish name? You know who I > mean. I think I need to rethink this one. The clients are new each week, > and the stars are people such as yourself. In advance, the clients > present List of Requirements docoments. You have one day to review their > requirements and then describe it cannot possibly in the time frame > mentioned. > > I guess this probably could only work on YouTube. But you know, as a > marketing amateur, my opinions are not to be trusted. > > I know it's only Thursday but our Friday holiday humour is going to > precluded by some guy got hung (oops I meant crucified) for a while. > Which reminds me of another terrible joke. Jesus is on the cross and > calls out to the audience, "Could you get my Adidas, these spikes are > killing me." > > I know it's only Thursday but tomorrow I'm holidaying. YawYawYaw. > > Thinking about sleeping with Charlotte while we co-author this script. > Except how would get any work done? Hmmm. Problem. I suggest that we > invite the esteemed Mr. William Hindman to advise us on our next week's > agenda. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Thu Apr 9 14:14:28 2009 From: mmattys at rochester.rr.com (Mike Mattys) Date: Thu, 9 Apr 2009 15:14:28 -0400 Subject: [AccessD] OT: Arthur - was: Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> <29f585dd0904091140q272d7c7fm8f989fb0200aaef6@mail.gmail.com> Message-ID: <7C2FA4025A7D4030937BBABFF2E0D38E@Mattys> This reminded me of one of my favorite actors and a favorite movie from yester-year http://vodpod.com/watch/1092188-christopher-cross-arthur%E2%80%99s-theme-best-that-you-can-do - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Thursday, April 09, 2009 2:40 PM Subject: Re: [AccessD] Empty Field Label >I just re-read my message and realized that I have possibly offended person > on this this. But in case I neglected to make a remark about your > particular > culture and/or sexpuasion, then please email and I submit a market-driven > insult and/or compliment targeted at your particular market position, and > I > mean it. It will come the honesty pool. > > I know, it's Good Thursday, and so technically it's a day but what choice > did I have? If you know what I mean. > > Love and Kisses, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dbdoug at gmail.com Thu Apr 9 15:17:09 2009 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 9 Apr 2009 13:17:09 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> Message-ID: <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com> After some experimentation, I discovered that my version of Access 2003/Win XP Pro is behaving as Charlotte said - I can't set Me.Filter to the empty string without first setting Me.FilterOn to False. However, I can definitely change the filter string to a new, non-empty string without setting FilterOn to False first. Setting Me.FilterOn to True or False does not change the filter string. Doug Steele On Wed, Apr 8, 2009 at 8:09 AM, Charlotte Foust wrote: > It's necessary, weird or not. You have to set the filteron property to > false before you can change the filter. > > From stuart at lexacorp.com.pg Thu Apr 9 15:31:10 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 10 Apr 2009 06:31:10 +1000 Subject: [AccessD] Empty Field Label In-Reply-To: <42568C6C310E4E9397C9D2296D70F333@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> Message-ID: <49DE5B0E.5348.9107B94@stuart.lexacorp.com.pg> Replace the "@" with your desired date format and create the Format string as for a numeric field i.e you need four formats: "PositiveValue;NegativeValue;Zero;Null" so something like: mmm d yyyy ;;;"Date worked"[Red] Cheers, Stuart On 9 Apr 2009 at 9:20, Rocky Smolin wrote: > He also wants to extend this technique to text boxes that already have a > format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for a > format. If the field does not have a date he'd like the words 'Date Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that one? From cfoust at infostatsystems.com Thu Apr 9 15:45:15 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Apr 2009 13:45:15 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com> Message-ID: Well, I'm relieved to hear that not all my brain cells have died yet! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, April 09, 2009 1:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string After some experimentation, I discovered that my version of Access 2003/Win XP Pro is behaving as Charlotte said - I can't set Me.Filter to the empty string without first setting Me.FilterOn to False. However, I can definitely change the filter string to a new, non-empty string without setting FilterOn to False first. Setting Me.FilterOn to True or False does not change the filter string. Doug Steele On Wed, Apr 8, 2009 at 8:09 AM, Charlotte Foust wrote: > It's necessary, weird or not. You have to set the filteron property > to false before you can change the filter. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 10 08:08:30 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Apr 2009 09:08:30 -0400 Subject: [AccessD] Empty Field Label In-Reply-To: <6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com> <6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> Message-ID: <49DF44CE.3070605@colbyconsulting.com> > ...as for foolish clients, I always thought jc had the perfect solution :) > > ...or is that too far back in the AccessD records for you to recall? For those too young to remember... 20,000 feet, out the door, without a parachute! I must protest though, it wasn't my idea. I stole it from some Chilean dictator. John W. Colby www.ColbyConsulting.com William Hindman wrote: > Arthur > > ...lol ...nothing against you or Charlotte but I'm just not into threesomes. > > ...especially when all you've suggested is sleeping ...waste of time that is > ...imnsho of course > > ...as for foolish clients, I always thought jc had the perfect solution :) > > ...or is that too far back in the AccessD records for you to recall? > > William > From jwcolby at colbyconsulting.com Fri Apr 10 08:13:18 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Apr 2009 09:13:18 -0400 Subject: [AccessD] Setting form filter string In-Reply-To: References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com> Message-ID: <49DF45EE.60402@colbyconsulting.com> > Well, I'm relieved to hear that not all my brain cells have died yet! Uhhh... we haven't yet determined that! John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > Well, I'm relieved to hear that not all my brain cells have died yet! > LOL > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, April 09, 2009 1:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Setting form filter string > > After some experimentation, I discovered that my version of Access > 2003/Win XP Pro is behaving as Charlotte said - I can't set Me.Filter to > the empty string without first setting Me.FilterOn to False. However, I > can definitely change the filter string to a new, non-empty string > without setting FilterOn to False first. Setting Me.FilterOn to True or > False does not change the filter string. > > Doug Steele > > On Wed, Apr 8, 2009 at 8:09 AM, Charlotte Foust > wrote: > >> It's necessary, weird or not. You have to set the filteron property >> to false before you can change the filter. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Apr 10 10:36:18 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Apr 2009 08:36:18 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <49DF44CE.3070605@colbyconsulting.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com><6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> <49DF44CE.3070605@colbyconsulting.com> Message-ID: But you named it colbyizing, which has its own panache! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 10, 2009 6:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label > ...as for foolish clients, I always thought jc had the perfect solution :) > > ...or is that too far back in the AccessD records for you to recall? For those too young to remember... 20,000 feet, out the door, without a parachute! I must protest though, it wasn't my idea. I stole it from some Chilean dictator. John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 10 10:37:21 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Apr 2009 08:37:21 -0700 Subject: [AccessD] Setting form filter string In-Reply-To: <49DF45EE.60402@colbyconsulting.com> References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com> <49DF45EE.60402@colbyconsulting.com> Message-ID: Are you trying to start a fight on Friday? I'm a pacifist, go pick on Drew. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 10, 2009 6:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting form filter string > Well, I'm relieved to hear that not all my brain cells have died yet! Uhhh... we haven't yet determined that! John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > Well, I'm relieved to hear that not all my brain cells have died yet! > LOL > > Charlotte From rockysmolin at bchacc.com Fri Apr 10 11:14:13 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 09:14:13 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005><83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1><06437AFC246343258B9D7EA5FDE87BC7@HAL9005> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> Message-ID: <624898596DB2443FA490F4B645E5D34A@HAL9005> Jim: In your code there does table1 mean I have to create a table in the front end with one record? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 09, 2009 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, If you add "Date Worked" to a union query to populate the combo box. Set the Default to "Date Worked and then use conditional formatting with the default. Something like: SELECT "0" as ID,"Date Worked" as Test FROM table1 UNION SELECT Table1.ID, Table1.field2 FROM Table1; Then use conditional formatting when the field value is 0. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 10 11:14:51 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 09:14:51 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <49DE5B0E.5348.9107B94@stuart.lexacorp.com.pg> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <49DE5B0E.5348.9107B94@stuart.lexacorp.com.pg> Message-ID: <163AEE488E4F40B5AC4E7449569A5618@HAL9005> Thanks, Stuart. That was exactly what the client wanted to see. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 09, 2009 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Replace the "@" with your desired date format and create the Format string as for a numeric field i.e you need four formats: "PositiveValue;NegativeValue;Zero;Null" so something like: mmm d yyyy ;;;"Date worked"[Red] Cheers, Stuart On 9 Apr 2009 at 9:20, Rocky Smolin wrote: > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that one? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at nciinc.com Fri Apr 10 12:02:01 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Fri, 10 Apr 2009 12:02:01 -0500 Subject: [AccessD] Empty Field Label In-Reply-To: <624898596DB2443FA490F4B645E5D34A@HAL9005> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005><83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1><06437AFC246343258B9D7EA5FDE87BC7@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com> <624898596DB2443FA490F4B645E5D34A@HAL9005> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA9E@sanex101.nciinc.com> No, it can be any name. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 10, 2009 11:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Jim: In your code there does table1 mean I have to create a table in the front end with one record? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 09, 2009 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, If you add "Date Worked" to a union query to populate the combo box. Set the Default to "Date Worked and then use conditional formatting with the default. Something like: SELECT "0" as ID,"Date Worked" as Test FROM table1 UNION SELECT Table1.ID, Table1.field2 FROM Table1; Then use conditional formatting when the field value is 0. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ######################################################################## #### #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ######################################################################## #### #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From rockysmolin at bchacc.com Fri Apr 10 12:18:56 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 10:18:56 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDA9E@sanex101.nciinc.com> References: <42568C6C310E4E9397C9D2296D70F333@HAL9005><34A2BE071D4645C4A23DAA764273E67A@SusanOne><94F95A6C2601476AB3DECF3329B42B77@HAL9005><83176CAC9C1B45D1938C3F01DF27AA0A@murphy3234aaf1><06437AFC246343258B9D7EA5FDE87BC7@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDA94@sanex101.nciinc.com><624898596DB2443FA490F4B645E5D34A@HAL9005> <7E02B06E41E5404589EDDDA2BAA1C5A86BDA9E@sanex101.nciinc.com> Message-ID: <5B27F56BC1444354BD322BDE744A64A8@HAL9005> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Friday, April 10, 2009 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label No, it can be any name. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 10, 2009 11:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Jim: In your code there does table1 mean I have to create a table in the front end with one record? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 09, 2009 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, If you add "Date Worked" to a union query to populate the combo box. Set the Default to "Date Worked and then use conditional formatting with the default. Something like: SELECT "0" as ID,"Date Worked" as Test FROM table1 UNION SELECT Table1.ID, Table1.field2 FROM Table1; Then use conditional formatting when the field value is 0. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label I thought about that but since it's a continuous form it would have to be in the conditional formatting. I couldn't seem to get it to work after fooling with it for a couple of minutes. Again - that old cost/benefit thing. He doesn't want me to spend two hours trying to figure it out. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, April 09, 2009 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Could you have two text boxes for the field and make them visible/invisible depending on content? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 09, 2009 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Well, it's a continuous form. SO the format of the record on the continuous would have to change based on the record. I don't think you can do that in a continuous form. I'm also thinking the cost/benefit is not in the client's favor. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, April 09, 2009 9:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Field Label Rocky, sounds like a class to me, and in lieu of that, can't you create a function using an input mask property that you could just call rather than dealing with each individual control? You could use the label's caption as the text, right? Don't know how to help with the combo box problem. Susan H. > Dear List: > > He also wants to extend this technique to text boxes that already have > a format. For example, the 'Date Worked' field has ddd d-mmm-yyyy for > a format. If the field does not have a date he'd like the words 'Date > Worked' > to appear in red. But if I paste @;"Date Worked"[Red] into the format > property it'll override the date format when there's a date in the field. > Any way to finesse that 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ######################################################################## #### #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ######################################################################## #### #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 10 12:52:46 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Apr 2009 19:52:46 +0200 Subject: [AccessD] Empty Field Label Message-ID: Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky From rockysmolin at bchacc.com Fri Apr 10 15:01:02 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 13:01:02 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: Message-ID: Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 10 15:28:50 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Apr 2009 22:28:50 +0200 Subject: [AccessD] Empty Field Label Message-ID: Hi Rocky One thing to remember is that for combo- and listboxes everything is strings. Thus Null turns into an empty string, "". You could try with that. Or set the default value for the combox to "0" and keep "0" as the value for "Client ID". /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:01:02 >>> Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky From rockysmolin at bchacc.com Fri Apr 10 15:44:54 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 13:44:54 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: Message-ID: Gustav: I changed the row source to: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; But the records with no client selected still do not show "Client ID". It shows when I run the query - right at the top. But it doesn't show at the top of the list in the combo box when I drop the list down. Maybe that's why it doesn't show that first record in the combo box for records for which a client has not been selected. But why wouldn't it show in the list if it shows in the query? I just remembered to change the number of columns from 3 to 4 and make the last column width zero - but that didn't help. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky One thing to remember is that for combo- and listboxes everything is strings. Thus Null turns into an empty string, "". You could try with that. Or set the default value for the combox to "0" and keep "0" as the value for "Client ID". /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:01:02 >>> Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 10 15:47:41 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 13:47:41 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: Message-ID: <09F3A42458B14A8EB2CD45C120763E6A@HAL9005> Another clue: I widened the width of the fourth column where the sort field is to 1/2 and inch. It show nothing. No 1s and no 0s. Is that any help? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 10, 2009 1:45 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Gustav: I changed the row source to: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; But the records with no client selected still do not show "Client ID". It shows when I run the query - right at the top. But it doesn't show at the top of the list in the combo box when I drop the list down. Maybe that's why it doesn't show that first record in the combo box for records for which a client has not been selected. But why wouldn't it show in the list if it shows in the query? I just remembered to change the number of columns from 3 to 4 and make the last column width zero - but that didn't help. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky One thing to remember is that for combo- and listboxes everything is strings. Thus Null turns into an empty string, "". You could try with that. Or set the default value for the combox to "0" and keep "0" as the value for "Client ID". /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:01:02 >>> Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. 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 Gustav at cactus.dk Fri Apr 10 16:00:58 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Apr 2009 23:00:58 +0200 Subject: [AccessD] Empty Field Label Message-ID: Hi Rocky Sounds like you do something like: Me!cboClient.Value = Null That will clear a selection from the combo. Try with: Me!cboClient.Value = Nz([ID]) /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:47:41 >>> Another clue: I widened the width of the fourth column where the sort field is to 1/2 and inch. It show nothing. No 1s and no 0s. Is that any help? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 10, 2009 1:45 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Gustav: I changed the row source to: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; But the records with no client selected still do not show "Client ID". It shows when I run the query - right at the top. But it doesn't show at the top of the list in the combo box when I drop the list down. Maybe that's why it doesn't show that first record in the combo box for records for which a client has not been selected. But why wouldn't it show in the list if it shows in the query? I just remembered to change the number of columns from 3 to 4 and make the last column width zero - but that didn't help. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky One thing to remember is that for combo- and listboxes everything is strings. Thus Null turns into an empty string, "". You could try with that. Or set the default value for the combox to "0" and keep "0" as the value for "Client ID". /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:01:02 >>> Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky From rockysmolin at bchacc.com Fri Apr 10 16:04:44 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 14:04:44 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: Message-ID: <0763D0B89D6B4547A4E0257D0E8B38ED@HAL9005> Gustav: Where would that go in the code? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 2:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky Sounds like you do something like: Me!cboClient.Value = Null That will clear a selection from the combo. Try with: Me!cboClient.Value = Nz([ID]) /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:47:41 >>> Another clue: I widened the width of the fourth column where the sort field is to 1/2 and inch. It show nothing. No 1s and no 0s. Is that any help? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, April 10, 2009 1:45 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Empty Field Label Gustav: I changed the row source to: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; But the records with no client selected still do not show "Client ID". It shows when I run the query - right at the top. But it doesn't show at the top of the list in the combo box when I drop the list down. Maybe that's why it doesn't show that first record in the combo box for records for which a client has not been selected. But why wouldn't it show in the list if it shows in the query? I just remembered to change the number of columns from 3 to 4 and make the last column width zero - but that didn't help. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky One thing to remember is that for combo- and listboxes everything is strings. Thus Null turns into an empty string, "". You could try with that. Or set the default value for the combox to "0" and keep "0" as the value for "Client ID". /gustav >>> rockysmolin at bchacc.com 10-04-2009 22:01:02 >>> Thanks Gustav. Works perfectly in the query. But records without a client ID selected don't show "Client ID" in the combo box. I changed the "0" to Null in the Union query on the theory that those record have a null in the record. But no soap. DO you know why that "Client ID" might not be showing up in the combo box? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 10:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky You can add a field to order by which sets you in full control without using "smart" values or codes: SELECT ClientID, ClientCode, ClientName, 1 AS SortField FROM Clients UNION SELECT TOP 1 "0" AS ClientID, "Client ID" AS ClientCode, "" AS ClientName, 0 AS SortField FROM Clients ORDER BY SortField, ClientCode; /gustav >>> rockysmolin at bchacc.com 10-04-2009 19:18:56 >>> Jim: The original query has an ORDER BY clause which I need to get the combo to come out correctly. Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; I modified the query: SELECT "0","Client ID","" FROM Clients UNION Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients ORDER BY Clients.ClientCode; And got an error when I ran it - the ORDER BY expression (Clients.ClientCode) includes fields that are not selected by the query. Etc. So I changed it to: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0","Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that worked except that the "Client ID" didn't come out on top. So I put a space in front: Select Clients.ClientID, Clients.ClientCode, Clients.ClientName FROM Clients UNION SELECT "0"," Client ID","" FROM Clients ORDER BY Clients.ClientCode; And that works when I run it as a query. But that first record 0,"Client ID" doesn't show up in the combo box. It does show up if I put the SELECT "0","Client ID","" UNION ... first but then I can't use the ORDER BY. Any way to finesse that one? Thanks. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 10 16:25:15 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Apr 2009 17:25:15 -0400 Subject: [AccessD] Empty Field Label In-Reply-To: References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com><6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> <49DF44CE.3070605@colbyconsulting.com> Message-ID: <49DFB93B.70303@colbyconsulting.com> In fact William named it Colbyizing. And it does have a certain panache. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > But you named it colbyizing, which has its own panache! LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 10, 2009 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Empty Field Label > > > ...as for foolish clients, I always thought jc had the perfect > solution :) > > ...or is that too far back in the AccessD records for > you to recall? > > For those too young to remember... > > 20,000 feet, out the door, without a parachute! > > I must protest though, it wasn't my idea. I stole it from some Chilean > dictator. > > John W. Colby > www.ColbyConsulting.com > > > From stuart at lexacorp.com.pg Fri Apr 10 16:25:29 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Apr 2009 07:25:29 +1000 Subject: [AccessD] Empty Field Label In-Reply-To: References: , Message-ID: <49DFB949.25741.E689374@stuart.lexacorp.com.pg> You will not be able to display a matching value for Null fields in a combobox. Remembet that the combobox displays the value from its recordset which is *equal to* the *value* in the underlying field. Effectively you are asking the combobox to display "ClientID" where [ClientID] = Null Remember also that (regardless of what Drew thinks ), Null is not a *value* and that nothing is *equal to* Null, not even another Null, so nothing will be displayed for a Null field. You could possibly cheat and set the Default value of [ClientID] to 0, but storing ) where a thClientID hasn't been set destroys referential integrity for a start and can cause other problems.as well. On 10 Apr 2009 at 13:01, Rocky Smolin wrote: > Thanks Gustav. Works perfectly in the query. > > But records without a client ID selected don't show "Client ID" in the combo > box. I changed the "0" to Null in the Union query on the theory that those > record have a null in the record. But no soap. DO you know why that "Client > ID" might not be showing up in the combo box? > From wdhindman at dejpolsystems.com Fri Apr 10 16:27:40 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Apr 2009 17:27:40 -0400 Subject: [AccessD] Setting form filter string References: <4dd71a0c0904071931h7108cf56v75c86175a248b270@mail.gmail.com> <4dd71a0c0904091317o67a4ad40w172bf0136bcf7931@mail.gmail.com><49DF45EE.60402@colbyconsulting.com> Message-ID: <6B3261378352421AB75024E72B4F4517@jislaptopdev> ...fer cryin' out loud Charlotte, don't we have enough holy wars already? :) William -------------------------------------------------- From: "Charlotte Foust" Sent: Friday, April 10, 2009 11:37 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Setting form filter string > Are you trying to start a fight on Friday? I'm a pacifist, go pick on > Drew. LOL > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 10, 2009 6:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Setting form filter string > > > Well, I'm relieved to hear that not all my brain cells have died yet! > > Uhhh... we haven't yet determined that! > > John W. Colby > www.ColbyConsulting.com > > > Charlotte Foust wrote: >> Well, I'm relieved to hear that not all my brain cells have died yet! >> LOL >> >> Charlotte > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Apr 10 16:28:28 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Apr 2009 23:28:28 +0200 Subject: [AccessD] Empty Field Label Message-ID: Hi Rocky Well, how will I know - it's your app ... but isn't the combo bound to some field? But that is what you will update, thus it cannot be an expression which means ... I think we are moving in circles here. You could make the combo unbound and bind a (hidden) textbox instead. This you will update using the AfterUpdate event of the combo. At the OnCurrent event of the form, you set the value of the combobox. Bedtime here, a hard day is coming up tomorrow. /gustav >>> rockysmolin at bchacc.com 10-04-2009 23:04:44 >>> Gustav: Where would that go in the code? Rocky From rockysmolin at bchacc.com Fri Apr 10 16:41:18 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Apr 2009 14:41:18 -0700 Subject: [AccessD] Empty Field Label In-Reply-To: References: Message-ID: Gustav: I'm thinking that the marginal utility of what this client wants is not worth the effort. To do this looks like building a big kluge. Your technique will still be valuable to me. I can see a couple of places to use it. Thanks for all your help. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 10, 2009 2:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Empty Field Label Hi Rocky Well, how will I know - it's your app ... but isn't the combo bound to some field? But that is what you will update, thus it cannot be an expression which means ... I think we are moving in circles here. You could make the combo unbound and bind a (hidden) textbox instead. This you will update using the AfterUpdate event of the combo. At the OnCurrent event of the form, you set the value of the combobox. Bedtime here, a hard day is coming up tomorrow. /gustav >>> rockysmolin at bchacc.com 10-04-2009 23:04:44 >>> Gustav: Where would that go in the code? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Apr 10 16:52:33 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Apr 2009 17:52:33 -0400 Subject: [AccessD] Empty Field Label References: <42568C6C310E4E9397C9D2296D70F333@HAL9005> <29f585dd0904091131ga24da5ao767281a706cd5735@mail.gmail.com><6DA89D81D7654AD7A4B0A3F45BAF5030@jislaptopdev> <49DF44CE.3070605@colbyconsulting.com> <49DFB93B.70303@colbyconsulting.com> Message-ID: <9B22E502C93F454BA0672D20EA63FAE8@jislaptopdev> ...well maybe ...it was long, long ago in a place far, far away ...and weren't your clients back then mostly Mexican drug lords trying to launder their money through maquiladores ...Colbyizing them seemed so appropriate ...that's my story and I'm sticking to it :) William -------------------------------------------------- From: "jwcolby" Sent: Friday, April 10, 2009 5:25 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Empty Field Label > In fact William named it Colbyizing. And it does have a certain panache. > > John W. Colby > www.ColbyConsulting.com > > > Charlotte Foust wrote: >> But you named it colbyizing, which has its own panache! LOL >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Friday, April 10, 2009 6:09 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Empty Field Label >> >> > ...as for foolish clients, I always thought jc had the perfect >> solution :) > > ...or is that too far back in the AccessD records for >> you to recall? >> >> For those too young to remember... >> >> 20,000 feet, out the door, without a parachute! >> >> I must protest though, it wasn't my idea. I stole it from some Chilean >> dictator. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lembit.dbamail at t-online.de Sat Apr 11 05:53:35 2009 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 11 Apr 2009 12:53:35 +0200 Subject: [AccessD] Empty Field Label References: , <49DFB949.25741.E689374@stuart.lexacorp.com.pg> Message-ID: <6693ABA7C5DF44CE88E3A45D4BB1C779@s1800> I remember, using a UNION query of the bound table and a something like '*' or 'All' to select or deselect a filter. Dont remember which db it was, and how exactly I did it. Lembit ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, April 10, 2009 11:25 PM Subject: Re: [AccessD] Empty Field Label > You will not be able to display a matching value for Null fields in a > combobox. > > Remembet that the combobox displays the value from its recordset which is > *equal to* the > *value* in the underlying field. Effectively you are asking the combobox > to display > "ClientID" where [ClientID] = Null > > Remember also that (regardless of what Drew thinks ), Null is not a > *value* and that > nothing is *equal to* Null, not even another Null, so nothing will be > displayed for a Null field. > > You could possibly cheat and set the Default value of [ClientID] to 0, but > storing ) where a > thClientID hasn't been set destroys referential integrity for a start and > can cause other > problems.as well. > > > > On 10 Apr 2009 at 13:01, Rocky Smolin wrote: > >> Thanks Gustav. Works perfectly in the query. >> >> But records without a client ID selected don't show "Client ID" in the >> combo >> box. I changed the "0" to Null in the Union query on the theory that >> those >> record have a null in the record. But no soap. DO you know why that >> "Client >> ID" might not be showing up in the combo box? >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 11 06:33:09 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Apr 2009 21:33:09 +1000 Subject: [AccessD] Empty Field Label In-Reply-To: <6693ABA7C5DF44CE88E3A45D4BB1C779@s1800> References: , <6693ABA7C5DF44CE88E3A45D4BB1C779@s1800> Message-ID: <49E07FF5.6957.1170A3B9@stuart.lexacorp.com.pg> That's quite a common technique for filtering records. You use an unbound combo. You populate it with a list of possible values either from a lookup table or from a "Select Distint... Group By...." on the table you want to filter unioned with "". You then filter on something like strFilter = "LIKE " & IIF(cboFilter = "","*",cboFilter) It won't work on bound combos with Nulls, On 11 Apr 2009 at 12:53, Lembit Soobik wrote: > I remember, using a UNION query of the bound table and a something like '*' > or 'All' to select or deselect a filter. > Dont remember which db it was, and how exactly I did it. > From accma at sympatico.ca Sun Apr 12 05:40:34 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Sun, 12 Apr 2009 06:40:34 -0400 Subject: [AccessD] Spelling dialog box Message-ID: Hello everyone, I'm using Access 2003 and developping a database for a french user. Most everything is ok and in French, using a French windows and a user defined menu. However, he want to be able to use the spelling check. I can assign the French dictionary so the spelling is in French, but I cannot see how to get that Spelling Check dialog box in French. Is it possible? Thanks! Annie Courchesne, CMA From drawbridgej at sympatico.ca Sun Apr 12 08:24:16 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Sun, 12 Apr 2009 09:24:16 -0400 Subject: [AccessD] Spelling dialog box In-Reply-To: References: Message-ID: Annie, Not sure how relevant this is but I did find this link. Hope it is helpful info. http://software.techrepublic.com.com/abstract.aspx?docid=793773 Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Sunday, April 12, 2009 6:41 AM To: Accessd Subject: [AccessD] Spelling dialog box Hello everyone, I'm using Access 2003 and developping a database for a french user. Most everything is ok and in French, using a French windows and a user defined menu. However, he want to be able to use the spelling check. I can assign the French dictionary so the spelling is in French, but I cannot see how to get that Spelling Check dialog box in French. Is it possible? Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Sun Apr 12 10:39:12 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Sun, 12 Apr 2009 11:39:12 -0400 Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 In-Reply-To: <032801c9b710$929f8f60$131b910a@denzilnote> References: <032801c9b710$929f8f60$131b910a@denzilnote> Message-ID: <2825C264431740519A29C1CA58C9A1E8@AMDXP> Darren, I don't know if you have resolved this or not, but I did find some info on recurrence. Hopefully it is relevant. See link: http://msdn.microsoft.com/en-us/library/aa171441(office.11).aspx jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, April 06, 2009 7:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 Hi team Apart from Susan (I hope you're feeling better) asking for clarification I got no responses to this one Apologies if there were responses and I missed 'em Anyway.. I want to know if I can 'open' the recurrence screen that Outlook calendaring uses (yes - It has to be Outlook) Open Outlook Click on Calendar Double click to create a new appointment Click on the 'Recurrence' button The popup screen that appears is the item I want to 'open' I want to know if I can pass a known EntryID to this screen then manipulate the recurrences as per normal (The EntryID is a kind of PK for Outlook Object items) Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 13 12:12:10 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 13 Apr 2009 13:12:10 -0400 Subject: [AccessD] test Message-ID: <49E3726A.7090005@colbyconsulting.com> Not a peep from any list since yesterday sometime. -- John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Mon Apr 13 12:15:25 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Apr 2009 10:15:25 -0700 Subject: [AccessD] test In-Reply-To: <49E3726A.7090005@colbyconsulting.com> References: <49E3726A.7090005@colbyconsulting.com> Message-ID: 5 x 5 here. Maybe everyone was in church? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 13, 2009 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] test Not a peep from any list since yesterday sometime. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Apr 13 12:32:11 2009 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 13 Apr 2009 12:32:11 -0500 Subject: [AccessD] test In-Reply-To: <49E3726A.7090005@colbyconsulting.com> References: <49E3726A.7090005@colbyconsulting.com> Message-ID: Come to to the DBA-OT list. We are usually chatting there when the other lists aren't. It's not that wild there anymore either. mostly chatting. Some political arguements I guess but it's not too bad. GK On Mon, Apr 13, 2009 at 12:12 PM, jwcolby wrote: > Not a peep from any list since yesterday sometime. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Mon Apr 13 13:36:18 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Apr 2009 11:36:18 -0700 Subject: [AccessD] Query Using field names Message-ID: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005> Dear List: I want to write a DCount or do a stored query (amounts to the same thing I guess) which incorporates the field name as a criterion. This is an app which diagnoses back problems. In the patient record there are a number of fields which identify pain locations and all of those field names start with "fldPL". So I want to look at all the fields whose name starts with fldPL for a specific Patient ID (I have the PK), and count the ones where the field value is True (this is to make sure the user has identified at least one pain location). But I can't figure out how to use the field name as a criterion. Can this be done? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From Donald.A.McGillivray at sprint.com Mon Apr 13 13:59:13 2009 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 13 Apr 2009 13:59:13 -0500 Subject: [AccessD] Query Using field names In-Reply-To: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005> References: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005> Message-ID: <59F4C79E0A20B74990A3775EF2388A89423054F9F0@PDAWM03C.ad.sprint.com> Hi, Rocky Not sure that Dcount is what you want. That returns the count of a specific field over several records. Why not sum all the values for the fldPL* fields for the target record (True = -1) and if the result is a non-zero value, you know that at least one of them was answered true. Hope this helps. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, April 13, 2009 11:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Query Using field names Dear List: I want to write a DCount or do a stored query (amounts to the same thing I guess) which incorporates the field name as a criterion. This is an app which diagnoses back problems. In the patient record there are a number of fields which identify pain locations and all of those field names start with "fldPL". So I want to look at all the fields whose name starts with fldPL for a specific Patient ID (I have the PK), and count the ones where the field value is True (this is to make sure the user has identified at least one pain location). But I can't figure out how to use the field name as a criterion. Can this be done? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. From rockysmolin at bchacc.com Mon Apr 13 14:26:14 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Apr 2009 12:26:14 -0700 Subject: [AccessD] Query Using field names In-Reply-To: <59F4C79E0A20B74990A3775EF2388A89423054F9F0@PDAWM03C.ad.sprint.com> References: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005> <59F4C79E0A20B74990A3775EF2388A89423054F9F0@PDAWM03C.ad.sprint.com> Message-ID: <6005A974C1DF48868630AAA339FCB29B@HAL9005> That's probably a better approach. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, April 13, 2009 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Using field names Hi, Rocky Not sure that Dcount is what you want. That returns the count of a specific field over several records. Why not sum all the values for the fldPL* fields for the target record (True = -1) and if the result is a non-zero value, you know that at least one of them was answered true. Hope this helps. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, April 13, 2009 11:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Query Using field names Dear List: I want to write a DCount or do a stored query (amounts to the same thing I guess) which incorporates the field name as a criterion. This is an app which diagnoses back problems. In the patient record there are a number of fields which identify pain locations and all of those field names start with "fldPL". So I want to look at all the fields whose name starts with fldPL for a specific Patient ID (I have the PK), and count the ones where the field value is True (this is to make sure the user has identified at least one pain location). But I can't figure out how to use the field name as a criterion. Can this be done? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. -- 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 Apr 13 16:27:28 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Apr 2009 07:27:28 +1000 Subject: [AccessD] test In-Reply-To: <49E3726A.7090005@colbyconsulting.com> References: <49E3726A.7090005@colbyconsulting.com> Message-ID: <49E3AE40.9568.8F994AF@stuart.lexacorp.com.pg> All my lists have been quiet. It's Eostre - the first Sunday after the first Full Moon after the Vernal Equinox. Everyone's too busy hunting rabbits, fertilising eggs or whatever it is you are supposed to do at the Vernal Equinox. :-) Stuart On 13 Apr 2009 at 13:12, jwcolby wrote: > Not a peep from any list since yesterday sometime. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 13 16:40:10 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 13 Apr 2009 21:40:10 +0000 Subject: [AccessD] Relink Multiple BE In-Reply-To: <872BA126732B422D8409B65F83961AFA@danwaters> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> <872BA126732B422D8409B65F83961AFA@danwaters> Message-ID: Hello All, Current...I have a list of all tables and which MDB they are in...I need to loop through this list and populate the local copy of said table. Transferdatabase imports and creates new table...but I want to append the data to an existing table. Should I link 1...append...delete link...link new...append??? Any advice? Thanks, Mark > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Tue, 7 Apr 2009 11:27:06 -0500 > Subject: Re: [AccessD] Relink Multiple BE > > Are the tables duplicated (or mostly) in all 30 old BE's? > > If so, then make a table with the names of the BE's, and a hard-coded list > of tables in your transitioning code and then loop through that list of > tables for each BE. Of course, that might be too easy? > > Good Luck, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, April 07, 2009 11:17 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Relink Multiple BE > > > Hello All, > > Inherited situation: 4 FE and 30+ BE > > I have condensed...to 1 and 1. Now I need to move the BE to their location > and populate with current data. > > I'm considering a table which lists table names and what old mdb it belonged > to...then loop through and link each one in code? > > run queries againts each table appending in new single BE. > > Any suggestions/comments on approach? > > Thanks, > > Mark > _________________________________________________________________ _________________________________________________________________ Rediscover Hotmail?: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 From stuart at lexacorp.com.pg Mon Apr 13 16:48:01 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Apr 2009 07:48:01 +1000 Subject: [AccessD] Query Using field names In-Reply-To: <6005A974C1DF48868630AAA339FCB29B@HAL9005> References: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005>, <59F4C79E0A20B74990A3775EF2388A89423054F9F0@PDAWM03C.ad.sprint.com>, <6005A974C1DF48868630AAA339FCB29B@HAL9005> Message-ID: <49E3B311.23660.C904D@stuart.lexacorp.com.pg> But it still doesn't solve the problem of how to identify the fields :-( I'd probably use a function for this. Function PainLocsPicked(PatientID As Long) As Long Dim rs As DAO.Recordset Dim fld As Field Dim Locs As Long Set rs = CurrentDb.OpenRecordset("select * from tblPatients where PatientID = " & PatientID) For Each fld In rs.Fields If Left(fld.Name, 5) = "fldPL" Then Locs = Locs - fld.Value End If Next rs.Close Set rs = Nothing PainLocsPicked = Locs End Function On 13 Apr 2009 at 12:26, Rocky Smolin wrote: > That's probably a better approach. Thanks. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don > [IT] > Sent: Monday, April 13, 2009 11:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Using field names > > Hi, Rocky > > Not sure that Dcount is what you want. That returns the count of a specific > field over several records. Why not sum all the values for the fldPL* > fields for the target record (True = -1) and if the result is a non-zero > value, you know that at least one of them was answered true. > > Hope this helps. > > Don > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, April 13, 2009 11:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query Using field names > > Dear List: > > I want to write a DCount or do a stored query (amounts to the same thing I > guess) which incorporates the field name as a criterion. > > This is an app which diagnoses back problems. In the patient record there > are a number of fields which identify pain locations and all of those field > names start with "fldPL". So I want to look at all the fields whose name > starts with fldPL for a specific Patient ID (I have the PK), and count the > ones where the field value is True (this is to make sure the user has > identified at least one pain location). > > But I can't figure out how to use the field name as a criterion. Can this > be done? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > This e-mail may contain Sprint Nextel Company proprietary information > intended for the sole use of the recipient(s). Any use by others is > prohibited. If you are not the intended recipient, please contact the sender > and delete all copies of the message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 13 16:50:00 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Apr 2009 14:50:00 -0700 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> <872BA126732B422D8409B65F83961AFA@danwaters> Message-ID: Are you relinking? It doesn't sound like that's what you want, since you also talk about appending data. It might not be what you're looking for, but we always used a bunch of tables in our Access databases that were just for that, to copy data in and then do any necessary manipulation before appending it to the existing table. Because the temporary tables didn't have PKs or FKs or any constraints and there was one to partner each active table, we could bring records in that would have aborted the transfer otherwise, and then we could deal with them as needed. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 13, 2009 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink Multiple BE Hello All, Current...I have a list of all tables and which MDB they are in...I need to loop through this list and populate the local copy of said table. Transferdatabase imports and creates new table...but I want to append the data to an existing table. Should I link 1...append...delete link...link new...append??? Any advice? Thanks, Mark > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Tue, 7 Apr 2009 11:27:06 -0500 > Subject: Re: [AccessD] Relink Multiple BE > > Are the tables duplicated (or mostly) in all 30 old BE's? > > If so, then make a table with the names of the BE's, and a hard-coded > list of tables in your transitioning code and then loop through that > list of tables for each BE. Of course, that might be too easy? > > Good Luck, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, April 07, 2009 11:17 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Relink Multiple BE > > > Hello All, > > Inherited situation: 4 FE and 30+ BE > > I have condensed...to 1 and 1. Now I need to move the BE to their > location and populate with current data. > > I'm considering a table which lists table names and what old mdb it > belonged to...then loop through and link each one in code? > > run queries againts each table appending in new single BE. > > Any suggestions/comments on approach? > > Thanks, > > Mark > _________________________________________________________________ _________________________________________________________________ Rediscover Hotmail(r): Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Mobile1_042009 -- 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 Apr 13 17:00:48 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Apr 2009 08:00:48 +1000 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com>, <872BA126732B422D8409B65F83961AFA@danwaters>, Message-ID: <49E3B610.4188.18425C@stuart.lexacorp.com.pg> It would be quicker if you: For each existing BE: Link and open the first table Link, append, delete the rest Append, delete the last. Keeping the first table open will speed up accessing the others. And here's a simple function to do the Link, append, delete: Function GetData(tablename As String, datafile As String) As Long DoCmd.TransferDatabase acLink, "Microsoft Access", datafile, acTable, tablename, "tmp" & tablename, False CurrentDb.Execute "Insert into " & tablename & " Select * from " & "tmp" & tablename DoCmd.DeleteObject acTable, "tmp" & tablename End Function On 13 Apr 2009 at 21:40, Mark A Matte wrote: > I have a list of all tables and which MDB they are in...I need to loop > through this list and populate the local copy of said table. > Transferdatabase imports and creates new table...but I want to append > the data to an existing table. Should I link 1...append...delete > link...link new...append??? From rockysmolin at bchacc.com Mon Apr 13 17:05:41 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Apr 2009 15:05:41 -0700 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> <872BA126732B422D8409B65F83961AFA@danwaters> Message-ID: I would do like you say - link, append, delete link, in a loop. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 13, 2009 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink Multiple BE Hello All, Current...I have a list of all tables and which MDB they are in...I need to loop through this list and populate the local copy of said table. Transferdatabase imports and creates new table...but I want to append the data to an existing table. Should I link 1...append...delete link...link new...append??? Any advice? Thanks, Mark > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Tue, 7 Apr 2009 11:27:06 -0500 > Subject: Re: [AccessD] Relink Multiple BE > > Are the tables duplicated (or mostly) in all 30 old BE's? > > If so, then make a table with the names of the BE's, and a hard-coded > list of tables in your transitioning code and then loop through that > list of tables for each BE. Of course, that might be too easy? > > Good Luck, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, April 07, 2009 11:17 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Relink Multiple BE > > > Hello All, > > Inherited situation: 4 FE and 30+ BE > > I have condensed...to 1 and 1. Now I need to move the BE to their > location and populate with current data. > > I'm considering a table which lists table names and what old mdb it > belonged to...then loop through and link each one in code? > > run queries againts each table appending in new single BE. > > Any suggestions/comments on approach? > > Thanks, > > Mark > _________________________________________________________________ _________________________________________________________________ Rediscover HotmailR: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mob ile1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Apr 13 17:07:34 2009 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Apr 2009 17:07:34 -0500 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> <872BA126732B422D8409B65F83961AFA@danwaters> Message-ID: <48069163DB3D4DB0B942D3534D39E042@danwaters> Hi Mark, This is a little air code - give it a try. This assumes that you have the full path of the remote mdb's listed in your table, and that the column names between the matching remote and local tables are identical. Dim stg as string Dim rst as DAO.Recordset Stg = "SELECT * FROM tblMDBList" Set rst = CurrentDB.OpenRecordset(stg,dbopensnapshot) Do While rst.EOF = FALSE stg = "INSERT INTO " & rst!TableLocal _ & " SELECT * FROM " & rst!TableRemote & " IN '" & rst!RemoteMDBFullPath & "'" Docmd.setwarnings false Docmd.runsql Docmd.setwarnings true Rst.movenext Loop -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 13, 2009 4:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink Multiple BE Hello All, Current...I have a list of all tables and which MDB they are in...I need to loop through this list and populate the local copy of said table. Transferdatabase imports and creates new table...but I want to append the data to an existing table. Should I link 1...append...delete link...link new...append??? Any advice? Thanks, Mark > From: dwaters at usinternet.com > To: accessd at databaseadvisors.com > Date: Tue, 7 Apr 2009 11:27:06 -0500 > Subject: Re: [AccessD] Relink Multiple BE > > Are the tables duplicated (or mostly) in all 30 old BE's? > > If so, then make a table with the names of the BE's, and a hard-coded list > of tables in your transitioning code and then loop through that list of > tables for each BE. Of course, that might be too easy? > > Good Luck, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, April 07, 2009 11:17 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Relink Multiple BE > > > Hello All, > > Inherited situation: 4 FE and 30+ BE > > I have condensed...to 1 and 1. Now I need to move the BE to their location > and populate with current data. > > I'm considering a table which lists table names and what old mdb it belonged > to...then loop through and link each one in code? > > run queries againts each table appending in new single BE. > > Any suggestions/comments on approach? > > Thanks, > > Mark > _________________________________________________________________ _________________________________________________________________ Rediscover HotmailR: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mob ile1_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 13 17:07:47 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 13 Apr 2009 22:07:47 +0000 Subject: [AccessD] Relink Multiple BE In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C064797A11E@houex1.kindermorgan.com> <872BA126732B422D8409B65F83961AFA@danwaters> Message-ID: Thanks Charlotte, I guess what I'm asking is do I have to link...or import first...then append? just had an idea??? I could loop through the table names (rst!tblName)...use transferdatabase...each time call it the same name tblMyTable...append: "insert into " & rst!tblName & " Select * from tblMyTable " ...then delete tblMyTable...loop and do it again? Sounds good on paper...any thoughts? Thank, Mark > Date: Mon, 13 Apr 2009 14:50:00 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Relink Multiple BE > > Are you relinking? It doesn't sound like that's what you want, since > you also talk about appending data. > > It might not be what you're looking for, but we always used a bunch of > tables in our Access databases that were just for that, to copy data in > and then do any necessary manipulation before appending it to the > existing table. Because the temporary tables didn't have PKs or FKs or > any constraints and there was one to partner each active table, we could > bring records in that would have aborted the transfer otherwise, and > then we could deal with them as needed. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Monday, April 13, 2009 2:40 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Relink Multiple BE > > > Hello All, > > > > Current...I have a list of all tables and which MDB they are in...I need > to loop through this list and populate the local copy of said table. > Transferdatabase imports and creates new table...but I want to append > the data to an existing table. Should I link 1...append...delete > link...link new...append??? > > > > Any advice? > > > > Thanks, > > > > Mark > > > From: dwaters at usinternet.com > > To: accessd at databaseadvisors.com > > Date: Tue, 7 Apr 2009 11:27:06 -0500 > > Subject: Re: [AccessD] Relink Multiple BE > > > > Are the tables duplicated (or mostly) in all 30 old BE's? > > > > If so, then make a table with the names of the BE's, and a hard-coded > > list of tables in your transitioning code and then loop through that > > list of tables for each BE. Of course, that might be too easy? > > > > Good Luck, > > Dan > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > Matte > > Sent: Tuesday, April 07, 2009 11:17 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Relink Multiple BE > > > > > > Hello All, > > > > Inherited situation: 4 FE and 30+ BE > > > > I have condensed...to 1 and 1. Now I need to move the BE to their > > location and populate with current data. > > > > I'm considering a table which lists table names and what old mdb it > > belonged to...then loop through and link each one in code? > > > > run queries againts each table appending in new single BE. > > > > Any suggestions/comments on approach? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > > _________________________________________________________________ > Rediscover Hotmail(r): Now available on your iPhone or BlackBerry > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover > _Mobile1_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Rediscover Hotmail?: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 From rockysmolin at bchacc.com Mon Apr 13 17:09:47 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Apr 2009 15:09:47 -0700 Subject: [AccessD] Query Using field names In-Reply-To: <49E3B311.23660.C904D@stuart.lexacorp.com.pg> References: <5486389A9FA44B06A9112C7DB8D5BA3C@HAL9005>, <59F4C79E0A20B74990A3775EF2388A89423054F9F0@PDAWM03C.ad.sprint.com>, <6005A974C1DF48868630AAA339FCB29B@HAL9005> <49E3B311.23660.C904D@stuart.lexacorp.com.pg> Message-ID: <85C77CFDF0BE4456A46FE6DE9CEEFF19@HAL9005> Right now I'm doing something similar in the form where the pain locations are identified by cycling through all the controls and bailing out when I find the first pain location selected (all they need is one to pass the test). But I need to check this in another form, so I thought to make a public sub to do it. I'm a big DAO fan so that's probably the way I'll go - a few minutes of coding versus a lot more trying to figure out a query. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, April 13, 2009 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Using field names But it still doesn't solve the problem of how to identify the fields :-( I'd probably use a function for this. Function PainLocsPicked(PatientID As Long) As Long Dim rs As DAO.Recordset Dim fld As Field Dim Locs As Long Set rs = CurrentDb.OpenRecordset("select * from tblPatients where PatientID = " & PatientID) For Each fld In rs.Fields If Left(fld.Name, 5) = "fldPL" Then Locs = Locs - fld.Value End If Next rs.Close Set rs = Nothing PainLocsPicked = Locs End Function On 13 Apr 2009 at 12:26, Rocky Smolin wrote: > That's probably a better approach. Thanks. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don > [IT] > Sent: Monday, April 13, 2009 11:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Using field names > > Hi, Rocky > > Not sure that Dcount is what you want. That returns the count of a specific > field over several records. Why not sum all the values for the fldPL* > fields for the target record (True = -1) and if the result is a non-zero > value, you know that at least one of them was answered true. > > Hope this helps. > > Don > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, April 13, 2009 11:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query Using field names > > Dear List: > > I want to write a DCount or do a stored query (amounts to the same thing I > guess) which incorporates the field name as a criterion. > > This is an app which diagnoses back problems. In the patient record there > are a number of fields which identify pain locations and all of those field > names start with "fldPL". So I want to look at all the fields whose name > starts with fldPL for a specific Patient ID (I have the PK), and count the > ones where the field value is True (this is to make sure the user has > identified at least one pain location). > > But I can't figure out how to use the field name as a criterion. Can this > be done? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > This e-mail may contain Sprint Nextel Company proprietary information > intended for the sole use of the recipient(s). Any use by others is > prohibited. If you are not the intended recipient, please contact the sender > and delete all copies of the message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 13 17:10:39 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 13 Apr 2009 22:10:39 +0000 Subject: [AccessD] Relink Multiple BE In-Reply-To: <49E3B610.4188.18425C@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C064797A08F@houex1.kindermorgan.com>, <872BA126732B422D8409B65F83961AFA@danwaters>, <49E3B610.4188.18425C@stuart.lexacorp.com.pg> Message-ID: Thanks Stuart, Just thought of that...sounds perfect. Thanks again... Mark > From: stuart at lexacorp.com.pg > To: accessd at databaseadvisors.com > Date: Tue, 14 Apr 2009 08:00:48 +1000 > Subject: Re: [AccessD] Relink Multiple BE > > It would be quicker if you: > > For each existing BE: > Link and open the first table > Link, append, delete the rest > Append, delete the last. > > Keeping the first table open will speed up accessing the others. > > And here's a simple function to do the Link, append, delete: > > Function GetData(tablename As String, datafile As String) As Long > DoCmd.TransferDatabase acLink, "Microsoft Access", datafile, acTable, tablename, "tmp" & > tablename, False > CurrentDb.Execute "Insert into " & tablename & " Select * from " & "tmp" & tablename > DoCmd.DeleteObject acTable, "tmp" & tablename > End Function > > > > On 13 Apr 2009 at 21:40, Mark A Matte wrote: > > > I have a list of all tables and which MDB they are in...I need to loop > > through this list and populate the local copy of said table. > > Transferdatabase imports and creates new table...but I want to append > > the data to an existing table. Should I link 1...append...delete > > link...link new...append??? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Rediscover Hotmail?: Get quick friend updates right in your inbox. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009 From darren at activebilling.com.au Mon Apr 13 18:01:09 2009 From: darren at activebilling.com.au (Darren D) Date: Tue, 14 Apr 2009 09:01:09 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49DC7179.6657.1980CA5@stuart.lexacorp.com.pg> References: <011801c9b81f$9ac77670$131b910a@denzilnote> <49DC7179.6657.1980CA5@stuart.lexacorp.com.pg> Message-ID: <01b501c9bc8b$bd10f150$131b910a@denzilnote> Hi Stuart OK - That's the end of that then :-) Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 08 April 2009 7:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML You can't set it in HTML. Your HTML is in one part of a multipart message. The data pointed to by the cid is in another, completely separate part of the message, with its own Content-Type, Content_ID etc headers. The image data will need to be encoded for email transport as well, probably using Base64 encoding. Basically, you are going to have to construct the whole message yourself including standard and MIME headers, boundaries,encoding etc and then come up with your own MAPI or SMTP transport to despatch the message. Before you do that you are going to have to be very familiar with the basic standards for all internet mail contained in RFC 822 and then go on RFCs 2046 and 2111 for a start and get an understanding of how a multipart MIME message is structured. You will probably also need to be familiar with RFCs 2045, 2047, 2049, 4288, and 4289 among others. Note: RFC = "Request For Comments" = a memorandum published by the Internet Engineering Task Force (IETF) describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internet-connected systems. Many RFCs including the ones listed above are adopted byt the IETF as "Internet Standards" See http://www.rfc-editor.org/rfc.html Have fun :-) On 8 Apr 2009 at 17:57, Darren D wrote: > Hi Team > > I am storing a big heap of HTML in a field then using it to send HTML formatted > emails > > The Problem comes when adding images to the email > > Traditionally we'd have a syntax in the HTML referring to the image something > like > > src="C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our logo"> > > or > > src="file://C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our > logo"> > > > > I have since discovered there is a thing called cid that might be called like > this > > src="cid:CompanyLogo" alt="our logo"> > > > > The CID means Content ID and allows for 'embedding' rather than linking > > But the problem is I am unable to 'set' this content ID in the HTML - I don't > know how > > Does anyone know how to set this stuff up - In pure HTML? > > I have found VB and VBA samples but I have no clue how to write this sort of > stuff in HTML > -- 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 Apr 13 18:01:09 2009 From: darren at activebilling.com.au (Darren D) Date: Tue, 14 Apr 2009 09:01:09 +1000 Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 In-Reply-To: <2825C264431740519A29C1CA58C9A1E8@AMDXP> References: <032801c9b710$929f8f60$131b910a@denzilnote> <2825C264431740519A29C1CA58C9A1E8@AMDXP> Message-ID: <01b601c9bc8b$bd750a50$131b910a@denzilnote> Hi Jack Apparently this screen cannot be 'called' via code and have an EntryID passed to it So I have given up - I will probably need to write a recurrence screen. Many many thanks for the link - when the time comes all the references from those pages will be my bible - It's a great resource - Especially details of all the methods and all the constants Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Monday, 13 April 2009 1:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003:Outlook Recurrence Screen-Take 2 Darren, I don't know if you have resolved this or not, but I did find some info on recurrence. Hopefully it is relevant. See link: http://msdn.microsoft.com/en-us/library/aa171441(office.11).aspx jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, April 06, 2009 7:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Outlook Recurrence Screen-Take 2 Hi team Apart from Susan (I hope you're feeling better) asking for clarification I got no responses to this one Apologies if there were responses and I missed 'em Anyway.. I want to know if I can 'open' the recurrence screen that Outlook calendaring uses (yes - It has to be Outlook) Open Outlook Click on Calendar Double click to create a new appointment Click on the 'Recurrence' button The popup screen that appears is the item I want to 'open' I want to know if I can pass a known EntryID to this screen then manipulate the recurrences as per normal (The EntryID is a kind of PK for Outlook Object items) Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Tue Apr 14 08:45:30 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 14 Apr 2009 06:45:30 -0700 Subject: [AccessD] Format Percentage Message-ID: <49E4937A.2020307@nanaimo.ark.com> Hey All Just curious. No biggy (because I am changing things) I inherited a database, in one table the previous programmer has a field Tender - Number, Double, Percentage, 2 decimal places On a form he has a text box bound to Tender, formatted percentage to 2 decimal places. When I enter numbers and then I click off then back on the text box I get 2 types of display(one formatted the other the decimal value). I have tried different types of rounding etc. Enter Click Off Click On 10 10.00% 10.00% 23.45 23.45% 23.45% 70 70.00% 0.7 76 76.00% 76.00% 90 90.00% 90.00% 95 95.00% 0.95 95.11 95.11% 0.9511 If I change it to Currency everything works fine. But what if I needed (just curious) to display the percentage to 3 decimal places. Am I missing something here??? Thanks From cfoust at infostatsystems.com Tue Apr 14 10:29:13 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Apr 2009 08:29:13 -0700 Subject: [AccessD] Format Percentage In-Reply-To: <49E4937A.2020307@nanaimo.ark.com> References: <49E4937A.2020307@nanaimo.ark.com> Message-ID: I'm not sure what your question is. You're seeing normal behavior for a percentage formatted field. The assumption is that if you enter a whole number or a whole number plus decimal, that's the percentage you want to display. If you enter a number less than 1, it's the value you want displayed as a percentage. What are you trying to gain by changing it to currency? If you enter .7, what do you WANT to see? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, April 14, 2009 6:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] Format Percentage Hey All Just curious. No biggy (because I am changing things) I inherited a database, in one table the previous programmer has a field Tender - Number, Double, Percentage, 2 decimal places On a form he has a text box bound to Tender, formatted percentage to 2 decimal places. When I enter numbers and then I click off then back on the text box I get 2 types of display(one formatted the other the decimal value). I have tried different types of rounding etc. Enter Click Off Click On 10 10.00% 10.00% 23.45 23.45% 23.45% 70 70.00% 0.7 76 76.00% 76.00% 90 90.00% 90.00% 95 95.00% 0.95 95.11 95.11% 0.9511 If I change it to Currency everything works fine. But what if I needed (just curious) to display the percentage to 3 decimal places. Am I missing something here??? Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Tue Apr 14 10:49:22 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 14 Apr 2009 08:49:22 -0700 Subject: [AccessD] Format Percentage In-Reply-To: References: <49E4937A.2020307@nanaimo.ark.com> Message-ID: <49E4B082.6070801@nanaimo.ark.com> Hey Charlotte Want I am saying. Is why do some number combinations display as formatted when you click in (or tab into) the text box and other numbers display as a decimal value. ie. Percentage text box displays 50.00%, tab into the text box and it still displays beside the cursor 50.00% Percentage text box displays 95.00%, tab into the text box and the display beside the cursor is 0.95 What causes the difference??? Charlotte Foust wrote: >I'm not sure what your question is. You're seeing normal behavior for a >percentage formatted field. The assumption is that if you enter a whole >number or a whole number plus decimal, that's the percentage you want to >display. If you enter a number less than 1, it's the value you want >displayed as a percentage. What are you trying to gain by changing it >to currency? If you enter .7, what do you WANT to see? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav >Sent: Tuesday, April 14, 2009 6:46 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Format Percentage > >Hey All >Just curious. No biggy (because I am changing things) I inherited a >database, in one table the previous programmer has a field Tender - >Number, Double, Percentage, 2 decimal places On a form he has a text box >bound to Tender, formatted percentage to 2 decimal places. >When I enter numbers and then I click off then back on the text box I >get 2 types of display(one formatted the other the decimal value). >I have tried different types of rounding etc. >Enter Click Off Click On >10 10.00% 10.00% >23.45 23.45% 23.45% >70 70.00% 0.7 >76 76.00% 76.00% >90 90.00% 90.00% >95 95.00% 0.95 >95.11 95.11% 0.9511 > >If I change it to Currency everything works fine. But what if I needed >(just curious) to display the percentage to 3 decimal places. > >Am I missing something here??? > >Thanks > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From accessd at gfconsultants.com Tue Apr 14 10:59:47 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Tue, 14 Apr 2009 11:59:47 -0400 Subject: [AccessD] Select Mulitple Files in a Dialog Box Message-ID: <6C7A6DD063B14842A226306D51FB35C8@reubennx9500> I use the Common Dialog Control to allow users to select a text file to import. Now the text file supplier is going to daily files rather than two a week. Therefore, I would like to allow the users to select several files at once in order for the user to avoid going thru searching for each file every time. Is there a way to make the common dialog to allow multi-file selections? Or can anyone give me another route to select the file names? And I've never done a multi-select anything so whatever help you can provide to process the names would be a big help as well. Thanks. Reuben Cummings GFC, LLC 812.523.1017 From ssharkins at gmail.com Tue Apr 14 11:06:27 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 12:06:27 -0400 Subject: [AccessD] Select Mulitple Files in a Dialog Box References: <6C7A6DD063B14842A226306D51FB35C8@reubennx9500> Message-ID: <343F90415163426094AD32AD2026F71E@SusanOne> > Is there a way to make the common dialog to allow multi-file selections? > Or > can anyone give me another route to select the file names? =====Reuben, have you tested it? The capability might already be there. The native Open dialogs will let you choose more than one file by holding down the Ctrl key and clicking the files you want to open. Or, you can hold down the Shift key and press the first and last files to select a contiguous block of files. The common dialog might provide the same feature. Susan H. From ssharkins at gmail.com Tue Apr 14 11:32:30 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 12:32:30 -0400 Subject: [AccessD] Keeping your db in tiptop shape Message-ID: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> I'm going to write about tasks that keep a db in shape -- the db doesn't have to be Access, but can be specific to Access or any database really. If it works out, I'll give credit where possible -- I like doing that and the readers like it too, but I can't promise anything. Susan H. From dwaters at usinternet.com Tue Apr 14 12:14:02 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Apr 2009 12:14:02 -0500 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> Message-ID: Hi Susan, The most important thing I do with Access backend files is to set up an automatic compact & repair. 1) Set your BE.mdb file to 'Compact on Close' in Options | General. 2) Create an Access database with a function called 'CompactBE' in it which gets initiated from an AutoExec macro. Add a table with one row and one field to store the full path to the BE.mdb file. Name this database AutoCompactBE.mdb or something. Put this code into a standard module: Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset stg = "SELECT BEFullPath FROM tblBEFullPath" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) stgPathBEFile = rst("BEFullPath") rst.Close Set rst = Nothing Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Exit Function End If Set appAccess = New Access.Application '-- Open the BE file appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents DoCmd.Quit acQuitSaveNone Exit Function EH: DoCmd.Quit acQuitSaveNone End Function 3) On the server where the BE.mdb file is stored, create a scheduled task to open the AutoCompactBE.mdb file at a day/time when the BE.mdb file is unlikely to be in use. I've had good luck with this - no corrupt data for several years now at 4 separate customers. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 11:33 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Keeping your db in tiptop shape I'm going to write about tasks that keep a db in shape -- the db doesn't have to be Access, but can be specific to Access or any database really. If it works out, I'll give credit where possible -- I like doing that and the readers like it too, but I can't promise anything. Susan H. From ssharkins at gmail.com Tue Apr 14 12:38:51 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 13:38:51 -0400 Subject: [AccessD] Keeping your db in tiptop shape References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> Message-ID: > I've had good luck with this - no corrupt data for several years now at 4 > separate customers. ========Well, that's a great track record! Thanks Dan! Susan H. From accessd at gfconsultants.com Tue Apr 14 12:53:13 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Tue, 14 Apr 2009 13:53:13 -0400 Subject: [AccessD] Select Mulitple Files in a Dialog Box In-Reply-To: <343F90415163426094AD32AD2026F71E@SusanOne> Message-ID: <6F9EE5A17E6849AC8F3F11E3DB41952F@reubennx9500> I tried that. It does not. I didn't know if there is a property of the dialog that I don't know about. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Tuesday, April 14, 2009 12:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > > > > Is there a way to make the common dialog to allow > multi-file selections? > > Or > > can anyone give me another route to select the file names? > > =====Reuben, have you tested it? The capability might already > be there. The > native Open dialogs will let you choose more than one file by > holding down > the Ctrl key and clicking the files you want to open. Or, you > can hold down > the Shift key and press the first and last files to select a > contiguous > block of files. > > The common dialog might provide the same feature. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Tue Apr 14 13:09:21 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 14:09:21 -0400 Subject: [AccessD] Keeping your db in tiptop shape References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> Message-ID: <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> Dan, do you find that the compact on close leaves temporary files behind? This is supposed to be a problem, but not one I've experienced myself. Susan H. > > 1) Set your BE.mdb file to 'Compact on Close' in Options | General. From JHewson at nciinc.com Tue Apr 14 13:16:11 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Tue, 14 Apr 2009 13:16:11 -0500 Subject: [AccessD] Select Mulitple Files in a Dialog Box In-Reply-To: <6F9EE5A17E6849AC8F3F11E3DB41952F@reubennx9500> References: <343F90415163426094AD32AD2026F71E@SusanOne> <6F9EE5A17E6849AC8F3F11E3DB41952F@reubennx9500> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDABD@sanex101.nciinc.com> The property you're looking for is AllowMultiSelect The property is available using either With... End With or ME. I typically use it this way: With fDialog .AllowMultiSelect = True ... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Tuesday, April 14, 2009 12:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box I tried that. It does not. I didn't know if there is a property of the dialog that I don't know about. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Tuesday, April 14, 2009 12:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > > > > Is there a way to make the common dialog to allow > multi-file selections? > > Or > > can anyone give me another route to select the file names? > > =====Reuben, have you tested it? The capability might already > be there. The > native Open dialogs will let you choose more than one file by > holding down > the Ctrl key and clicking the files you want to open. Or, you > can hold down > the Shift key and press the first and last files to select a > contiguous > block of files. > > The common dialog might provide the same feature. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From JHewson at nciinc.com Tue Apr 14 13:27:20 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Tue, 14 Apr 2009 13:27:20 -0500 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDABE@sanex101.nciinc.com> In my experience, I've had issues with a A2007 run time and a A2003 file. Occasionally, it would hang and never complete. Sometimes it would leave a copy of the file - usually incomplete. Once I had to rebuild a form because it was corrupted. I've also had to use the "three-finger salute" to stop the process in the task manager - or maybe it was impatience that got the best of me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keeping your db in tiptop shape Dan, do you find that the compact on close leaves temporary files behind? This is supposed to be a problem, but not one I've experienced myself. Susan H. > > 1) Set your BE.mdb file to 'Compact on Close' in Options | General. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From dwaters at usinternet.com Tue Apr 14 13:49:38 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Apr 2009 13:49:38 -0500 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> Message-ID: <48832322E7E042879B147804661BF7D7@danwaters> Yes - I've seen where compacting on close will leave behind a file called db1.mdb. But I've only seen that happen when my FE file closes, not the BE file which closes automatically. I'm guessing that the db1.mdb file serves some purpose. When I've seen it appear it will typically disappear a second or so after the closing FE.mdb file closes. But once in a while it will not disappear. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keeping your db in tiptop shape Dan, do you find that the compact on close leaves temporary files behind? This is supposed to be a problem, but not one I've experienced myself. Susan H. > > 1) Set your BE.mdb file to 'Compact on Close' in Options | General. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Apr 14 14:03:02 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 15:03:02 -0400 Subject: [AccessD] Keeping your db in tiptop shape References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne><7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> <48832322E7E042879B147804661BF7D7@danwaters> Message-ID: <48121499FEBD41148C435B0F0145F763@SusanOne> > I'm guessing that the db1.mdb file serves some purpose. When I've seen it > appear it will typically disappear a second or so after the closing FE.mdb > file closes. But once in a while it will not disappear. =====The process is supposed to do away with the copies, but sometimes fails to, which can be a breach in security, but otherwise, the file is harmless. Susan H. From jeff.developer at gmail.com Tue Apr 14 14:15:18 2009 From: jeff.developer at gmail.com (Jeff Barrows) Date: Tue, 14 Apr 2009 14:15:18 -0500 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <48121499FEBD41148C435B0F0145F763@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> <48832322E7E042879B147804661BF7D7@danwaters> <48121499FEBD41148C435B0F0145F763@SusanOne> Message-ID: <2dad32080904141215k2efac5d7t3c96da14be1ef065@mail.gmail.com> Two comments here: In my experience, it seems that the mysterious db1.mdb file is supposed to be a temp file where Access places everything during the compact / repair. When the file remains, I have found that the file was compacted / repaired on a network drive from a client pc. When compacted / repaired from the same machine the db1.mdb seems to always disappear (actually I believe the original is deleted and the db1.mdb is renamed to the original source name). One of the tricks I use to help keep my db in shape (the FE) is to run a small vb program from every users desktop that goes out to a network drive and grabs a 'fresh and clean' copy of the FE and copies it over to the individual PC. This makes it easy to force all users to run the most recent version of the FE and helps eliminate the need for a compact / repair of the FE. On Tue, Apr 14, 2009 at 2:03 PM, Susan Harkins wrote: > > > I'm guessing that the db1.mdb file serves some purpose. When I've seen > it > > appear it will typically disappear a second or so after the closing > FE.mdb > > file closes. But once in a while it will not disappear. > > =====The process is supposed to do away with the copies, but sometimes > fails > to, which can be a breach in security, but otherwise, the file is harmless. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Jeff Barrows From jimdettman at verizon.net Tue Apr 14 14:24:53 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 14 Apr 2009 15:24:53 -0400 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> Message-ID: In general: A. Create a backup schedule and make sure it is maintained. B. Verify your database on a regular basis. C. Rebuild indexes and/or update database statistics on a regular basis. D. Defragment your hard drive on a regular basis. Note that open files cannot be defragmented, so you need to shut your database down before doing so. If this this is not an option because of the length of time, defrag the drive first to create the most amount of contiguous free space possible, then close, move the data base files, and re-open the DB. E. If your R/DBMS system uses journaling files, make sure they are on a different drive then the main database files. F. Test that you are able to recover from your backups. G. Periodically review index usage and determine if changes are required. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 12:33 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Keeping your db in tiptop shape I'm going to write about tasks that keep a db in shape -- the db doesn't have to be Access, but can be specific to Access or any database really. If it works out, I'll give credit where possible -- I like doing that and the readers like it too, but I can't promise anything. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at gfconsultants.com Tue Apr 14 14:32:13 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Tue, 14 Apr 2009 15:32:13 -0400 Subject: [AccessD] Select Mulitple Files in a Dialog Box - SOLVED In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDABD@sanex101.nciinc.com> Message-ID: I tried that, but I'm told it's not a valid property. I played with some vb constants and I could select multiple files, but I hated the interface that resulted from it. So some more research led me to this. fDialog.flags = cdlOFNAllowMultiselect + cdlOFNExplorer + cdlOFNLongNames If you use only cdlOFNAllowMultiselect it works but the interface of the dialog changes. Add the cdlOFNExplorer and it looks just like the standard dialog, but allows multiple selections. Then I just need to parse out all the files by using the spaces left between each file name. Thanks for the help. Hopefully someone else can use these vb constants. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hewson, Jim > Sent: Tuesday, April 14, 2009 2:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > > > The property you're looking for is AllowMultiSelect > The property is available using either With... End With or ME. > I typically use it this way: > > With fDialog > .AllowMultiSelect = True > > ... > > > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben > Cummings > Sent: Tuesday, April 14, 2009 12:53 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > > I tried that. It does not. I didn't know if there is a > property of the > dialog that I don't know about. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Susan Harkins > > Sent: Tuesday, April 14, 2009 12:06 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > > > > > > > Is there a way to make the common dialog to allow > > multi-file selections? > > > Or > > > can anyone give me another route to select the file names? > > > > =====Reuben, have you tested it? The capability might already > > be there. The > > native Open dialogs will let you choose more than one file by > > holding down > > the Ctrl key and clicking the files you want to open. Or, you > > can hold down > > the Shift key and press the first and last files to select a > > contiguous > > block of files. > > > > The common dialog might provide the same feature. > > > > Susan H. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ############################################################## > ################## > If you have received this message in error, please contact the sender > immediately and be aware that the use, copying, or dissemination of > this information is prohibited. This email transmission contains > information from NCI Information Systems, Inc. that may be considered > privileged or confidential and is intended solely for the named > recipient. > ############################################################## > ################## > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Tue Apr 14 14:33:13 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 14 Apr 2009 20:33:13 +0100 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49DC7179.6657.1980CA5@stuart.lexacorp.com.pg> References: <011801c9b81f$9ac77670$131b910a@denzilnote> <49DC7179.6657.1980CA5@stuart.lexacorp.com.pg> Message-ID: <49e4e4fc.0c11660a.6869.ffff9b2f@mx.google.com> Hi Darren, Not sure if I am picking this up correctly (I have been away) and just picked up on the tail end. I regularly send out html emails with graphics in them. Can you send me an email off-line restating what you are trying to do and I will see if what I do can fit in with your requirements. I have also successfully used the CID and will try to dig some examples out. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 08 April 2009 10:42 To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML You can't set it in HTML. Your HTML is in one part of a multipart message. The data pointed to by the cid is in another, completely separate part of the message, with its own Content-Type, Content_ID etc headers. The image data will need to be encoded for email transport as well, probably using Base64 encoding. Basically, you are going to have to construct the whole message yourself including standard and MIME headers, boundaries,encoding etc and then come up with your own MAPI or SMTP transport to despatch the message. Before you do that you are going to have to be very familiar with the basic standards for all internet mail contained in RFC 822 and then go on RFCs 2046 and 2111 for a start and get an understanding of how a multipart MIME message is structured. You will probably also need to be familiar with RFCs 2045, 2047, 2049, 4288, and 4289 among others. Note: RFC = "Request For Comments" = a memorandum published by the Internet Engineering Task Force (IETF) describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internet-connected systems. Many RFCs including the ones listed above are adopted byt the IETF as "Internet Standards" See http://www.rfc-editor.org/rfc.html Have fun :-) From ssharkins at gmail.com Tue Apr 14 14:35:40 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Apr 2009 15:35:40 -0400 Subject: [AccessD] Keeping your db in tiptop shape References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> Message-ID: <5C08B5AFA35140E0B35F28719D279879@SusanOne> > B. Verify your database on a regular basis. ====Jim, that's a good list, but what's this one? Susan H. From jwcolby at colbyconsulting.com Tue Apr 14 14:39:16 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Apr 2009 15:39:16 -0400 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <48832322E7E042879B147804661BF7D7@danwaters> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> <48832322E7E042879B147804661BF7D7@danwaters> Message-ID: <49E4E664.3040604@colbyconsulting.com> The mysterious db1.mdb is the copy of the file created when the file does the compact repair. The process is: Create a temporary file called dbX.mdb. X will be the next available number if there is already (for example) a db1.mdb. Copy everything from the named db file into the temp file. Delete the regular (named) file. Rename dbX.mdb to the original name. The file is left behind when the delete of the named file fails for some reason. This means BTW that the compact / repair failed on that occasion. John W. Colby www.ColbyConsulting.com Dan Waters wrote: > Yes - I've seen where compacting on close will leave behind a file called > db1.mdb. But I've only seen that happen when my FE file closes, not the BE > file which closes automatically. > > I'm guessing that the db1.mdb file serves some purpose. When I've seen it > appear it will typically disappear a second or so after the closing FE.mdb > file closes. But once in a while it will not disappear. > > Dan > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Tuesday, April 14, 2009 1:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Keeping your db in tiptop shape > > Dan, do you find that the compact on close leaves temporary files behind? > This is supposed to be a problem, but not one I've experienced myself. > > Susan H. >> 1) Set your BE.mdb file to 'Compact on Close' in Options | General. > From drawbridgej at sympatico.ca Tue Apr 14 14:48:21 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Tue, 14 Apr 2009 15:48:21 -0400 Subject: [AccessD] Select Mulitple Files in a Dialog Box In-Reply-To: <343F90415163426094AD32AD2026F71E@SusanOne> References: <6C7A6DD063B14842A226306D51FB35C8@reubennx9500> <343F90415163426094AD32AD2026F71E@SusanOne> Message-ID: <7297B0B2356549DDA424CA5AFCD419A6@AMDXP> Rueben, Also do a look up FileDialog(msoFileDialogFilePicker). You will also need to set a reference to Microsoft Office 11.0 Object Library. You can set an AllowMultiSelect property for sure. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 12:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Mulitple Files in a Dialog Box > Is there a way to make the common dialog to allow multi-file selections? > Or > can anyone give me another route to select the file names? =====Reuben, have you tested it? The capability might already be there. The native Open dialogs will let you choose more than one file by holding down the Ctrl key and clicking the files you want to open. Or, you can hold down the Shift key and press the first and last files to select a contiguous block of files. The common dialog might provide the same feature. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 14 15:04:52 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Apr 2009 13:04:52 -0700 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <48832322E7E042879B147804661BF7D7@danwaters> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne><7B876A9DEF9D4FBD87BCBC4022C63641@SusanOne> <48832322E7E042879B147804661BF7D7@danwaters> Message-ID: The db1 file is the file your database was compacted to. Behind the scenes the process is compact to a temp name, delete the original and rename the temp file. When it can't delete the original, it can't rename the temp file and that gets left hanging out there. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 14, 2009 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Keeping your db in tiptop shape Yes - I've seen where compacting on close will leave behind a file called db1.mdb. But I've only seen that happen when my FE file closes, not the BE file which closes automatically. I'm guessing that the db1.mdb file serves some purpose. When I've seen it appear it will typically disappear a second or so after the closing FE.mdb file closes. But once in a while it will not disappear. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keeping your db in tiptop shape Dan, do you find that the compact on close leaves temporary files behind? This is supposed to be a problem, but not one I've experienced myself. Susan H. > > 1) Set your BE.mdb file to 'Compact on Close' in Options | General. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Apr 14 15:15:14 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 14 Apr 2009 16:15:14 -0400 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <5C08B5AFA35140E0B35F28719D279879@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <5C08B5AFA35140E0B35F28719D279879@SusanOne> Message-ID: <89FB691EC5D3418B810AD9AD38EF4DA6@XPS> Susan, Some R/DBMS systems have the ability to verify the database structure separately from anything else. Access/JET doesn't really have this. C&R does verify and will try to repair if it can, but it won't tell you anything about what didn't verify. The repair simply fails. C&R is not a verify utility in the typical sense. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, April 14, 2009 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keeping your db in tiptop shape > B. Verify your database on a regular basis. ====Jim, that's a good list, but what's this one? Susan H. -- 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 Apr 14 18:42:29 2009 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 15 Apr 2009 11:42:29 +1200 Subject: [AccessD] Multiple Users ADE and SQL In-Reply-To: References: <20090402212637.IXP15317.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20090414234226.IBNG28781.mta01.xtra.co.nz@Dalyn.dalyn.co.nz> Just updating on this issue. Anita's suggestion solved it. That was also a difference between the three clients which I hadn't picked up. The first was using a runtime version. Thanks heaps Anita. Regards David At 3/04/2009, you wrote: >David, >I'm wondering what would happen if you modified the shortcut that opens your >application to include the runtime option. > >PathToAccess PathToAccessFile /runtime > >I always use that to get rid of the message that Access will be opened in >read only mode. > >Anita Smith >On Fri, Apr 3, 2009 at 8:28 AM, David Emerson wrote: > > > Hi Team, > > > > I have received this information: > > "Citrix creates a new application instance per session. If an opened > > file creates a lock file then I don't believe there is any way around > > this short of creating multiple instances." > > > > It seems strange that the file should be locked if separate instances > > are created. I wonder if it is because the AccessXP application is > > being run through an Access 2003 runtime? The Client 1 below is > > using an Access XP runtime, the other two are using Access 2003. > > > > Regards > > > > David > > > > At 26/03/2009, you wrote: > > >This is more for clarification than anything else. > > > > > >I have a couple of clients: > > > > > >Client 1: Access XP ade using SQL2000 BE over terminal services. > > >Client 2: Access XP ade using SQL2005 BE over Citrix > > >Client 3: Access XP ade using SQL2005 BE over remote desktop. > > > > > > From Microsoft help > > >http://support.microsoft.com/default.aspx?scid=kb;en-us;322762 they say: > > > > > >When users in a multiuser environment try to open a Microsoft Access > > >project (.adp) file or a Microsoft Access project extension (.ade) > > >file, they may receive an error message similar to the following: > > >The database DatabaseName will be opened read-only because one of the > > >following occurred: The file is locked for editing by another user, > > >or the file (or the folder in which it is located) is marked as > > >read-only, or you specified that you wanted to open this file read-only. > > >This behavior is by design. An Access project is strictly a client > > >and has no multiuser capability. > > > > > > > > >In the situation of Client 1 there is no problem with multiple users > > >opening the same file, but in the other two cases the clients get the > > >error message. Is this because Terminal server actually opens > > >separate instances of the FE whereas the other two cases are trying > > >to open the same physical file? > > > > > > > > >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 Darryl.Collins at coles.com.au Tue Apr 14 23:40:44 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 15 Apr 2009 14:40:44 +1000 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <5C08B5AFA35140E0B35F28719D279879@SusanOne> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <5C08B5AFA35140E0B35F28719D279879@SusanOne> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13998@WPEXCH22.retail.ad.cmltd.net.au> I agree with this one. However my idea of verifying is to run audits on the tables first and verify that the data is what you expect. Once you have done this, audit the reports/queries etc. I try to do this once a year or so. Sometimes I just open up some of the tables and check that everything looks like it should. That is one advantage to having a neat, tidy and relational database. It is much easier to audit. just some thoughts. regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 15 April 2009 5:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keeping your db in tiptop shape > B. Verify your database on a regular basis. ====Jim, that's a good list, but what's this one? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From max.wanadoo at gmail.com Wed Apr 15 01:43:28 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 15 Apr 2009 07:43:28 +0100 Subject: [AccessD] Keeping your db in tiptop shape In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13998@WPEXCH22.retail.ad.cmltd.net.au> References: <50CAE3D8BD13414EB1A06100388F4F02@SusanOne> <5C08B5AFA35140E0B35F28719D279879@SusanOne> <57E6E6CA42105A48B977303A2CDC27200815F13998@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <49e58213.0e0f660a.7bcd.3adb@mx.google.com> Don't know if it helps at all, but below is a typical report that is emailed to me following the overnight rebuilds. You will see that it reports back the old size and the new size as well as some other stuff. This allows me to "verify" that the BE is "visually" the size expected. Not quite a "validation" in the true sense but instantly alerts me to problems. Max 15/04/2009 01:25:18 - pfGetEmailAddresses-OK 15/04/2009 01:25:18 - pfEmailByCDO-Start 15/04/2009 01:25:20 - pfEmailByCDO-OK 15/04/2009 01:25:20 - pfCompactRepairBE-Start 15/04/2009 01:30:09 - Wed - Repair and Compact of z:\Data\MCM_BEndA3K.mdb ran successfully Old Size 806,948kb New Size 799,668kb Reduction Of 7,280kb 15/04/2009 01:30:09 - pfCompactRepairBE-OK 15/04/2009 01:30:09 - pfRebuildWebPeopleTempTable-Start 15/04/2009 01:34:30 - pfRebuildWebPeopleTempTable-OK 15/04/2009 01:34:30 - pfPeopleWebPages-Start 15/04/2009 01:35:47 - pfPeopleWebPages-OK 15/04/2009 01:35:47 - pfOrgsWebPages-Start 15/04/2009 01:35:51 - pfOrgsWebPages-OK 15/04/2009 01:35:51 - pfBranchesWebPages-Start 15/04/2009 01:35:53 - pfBranchesWebPages-OK 15/04/2009 01:35:53 - pfRebuildWebBulbs2007TempTable-Start 15/04/2009 01:36:05 - pfRebuildWebBulbs2007TempTable-OK 15/04/2009 01:36:05 - pfBulbs2007WebPages-Start 15/04/2009 01:39:05 - pfBulbs2007WebPages-OK 15/04/2009 01:39:05 - pf_WWK_RebuildWorldWalkTempTable-Start 15/04/2009 01:39:05 - pf_WWK_RebuildWorldWalkTempTable-OK 15/04/2009 01:39:05 - pf_WWK_WebPages-Start 15/04/2009 01:39:05 - pf_WWK_WebPages-OK 15/04/2009 01:39:06 - pfRunUntilFinished - Run OK for C:\AbyssWebserver\\htdocs\MasterIndexCopy.bat 15/04/2009 03:03:14 - pfRunUntilFinished - Run OK for C:\AbyssWebserver\\htdocs\RunHTMLProtect.bat 15/04/2009 03:03:14 - pfGetEmailAddresses-OK 15/04/2009 03:03:14 - pfEmailByCDO-Start 15/04/2009 03:03:15 - pfEmailByCDO-OK From andy at minstersystems.co.uk Wed Apr 15 13:29:13 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 15 Apr 2009 19:29:13 +0100 Subject: [AccessD] test Message-ID: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> Just testing something that's happening to my incoming mail. Andy From Darryl.Collins at coles.com.au Wed Apr 15 22:14:27 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 16 Apr 2009 13:14:27 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Darryl.Collins at coles.com.au Wed Apr 15 22:21:26 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 16 Apr 2009 13:21:26 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139A9@WPEXCH22.retail.ad.cmltd.net.au> aaaah, I have found it now - typical, just as I email for help too. What a right PITA this Access 2007 is. Have to make form active > Form design tools > Arrange > Select all the fields and > choose 'remove' from the control layout group. I had to try this a few times before it actually did it. Not sure if it is buggy or I was just stuffing it up as I was not sure what I was doing. Using the default is awful. You move one field they all move, resize one field, they all resize - honestly!! grrrr. *sigh*... Access 2007 - designed for morons. cheers Darryl. -----Original Message----- From: Darryl Collins Sent: Thursday, 16 April 2009 1:14 PM To: 'Access Developers discussion and problem solving' Subject: Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From rockysmolin at bchacc.com Wed Apr 15 22:38:29 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 15 Apr 2009 20:38:29 -0700 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Apr 15 23:06:20 2009 From: marksimms at verizon.net (Mark Simms) Date: Thu, 16 Apr 2009 00:06:20 -0400 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <000f01c9be48$b3372c30$0501a8c0@MSIMMSWS> > it would take about 30% longer to design a > form or report in 2007 based on the application's response time alone. > Has that ever gotten back to MSFT or Cliff Covington ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin > Sent: Wednesday, April 15, 2009 11:38 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007: Keep bound text box - > delete label... > > In 2003 you select the label, hit delete and it goes away. > Just tied it in > 2007 and it worked. Am I misunderstanding what you're trying to do? > > One thing I did notice- you may be right about the grade > level 2007 was designed for - it goes...real...slow...ly. > I'd say that if I was as proficient with the 2007 IDE as I > was with the 2003, it would take about 30% longer to design a > form or report in 2007 based on the application's response time alone. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Wednesday, April 15, 2009 8:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access 2007: Keep bound text box - delete label... > > Hi folks, > > Building a form based on a table in A2007. Trying to delete > the label and keep the bound text box, but I cannot seem to > do it. There much be a way to break the link between the > text box and the label. > > Anyone got any pointers? > > cheers > Darryl. > > > > This email and any attachments may contain privileged and > confidential information and are intended for the named > addressee only. If you have received this e-mail in error, > please notify the sender and delete this e-mail immediately. > Any confidentiality, privilege or copyright is not waived or > lost because this e-mail has been sent to you in error. It is > your responsibility to check this e-mail and any attachments > for viruses. No warranty is made that this material is free > from computer virus or any other defect or error. Any > loss/damage incurred by using this material is not the > sender's responsibility. The sender's entire liability will > be limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Wed Apr 15 23:21:30 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 15 Apr 2009 21:21:30 -0700 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <000f01c9be48$b3372c30$0501a8c0@MSIMMSWS> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <000f01c9be48$b3372c30$0501a8c0@MSIMMSWS> Message-ID: <824AF9FB8F4442769D6ED77DB08DCFAC@HAL9005> Can't say. But the pace is 'leisurely' to be charitable. I think I've heard this as well from others on the list. I fire up 2007 only when absolutely necessary - to check out or solve a problem for a client that's using 2007. I still develop in 2003 and send them mdbs and mdes however. I've got one issue now that I'll have to resolve - getting rid of the 2007 navigation window and the ribbon - you can do it in an mdb developed in 2003. But an mde doesn't seem to work. I'm thinking that I'll have to convert the mdb to the 2007 format before compiling. Anyone know about that? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, April 15, 2009 9:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... > it would take about 30% longer to design a form or report in 2007 > based on the application's response time alone. > Has that ever gotten back to MSFT or Cliff Covington ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Wednesday, April 15, 2009 11:38 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007: Keep bound text box - delete > label... > > In 2003 you select the label, hit delete and it goes away. > Just tied it in > 2007 and it worked. Am I misunderstanding what you're trying to do? > > One thing I did notice- you may be right about the grade level 2007 > was designed for - it goes...real...slow...ly. > I'd say that if I was as proficient with the 2007 IDE as I was with > the 2003, it would take about 30% longer to design a form or report in > 2007 based on the application's response time alone. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Wednesday, April 15, 2009 8:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access 2007: Keep bound text box - delete label... > > Hi folks, > > Building a form based on a table in A2007. Trying to delete the label > and keep the bound text box, but I cannot seem to do it. There much > be a way to break the link between the text box and the label. > > Anyone got any pointers? > > cheers > Darryl. > > > > This email and any attachments may contain privileged and confidential > information and are intended for the named addressee only. If you have > received this e-mail in error, please notify the sender and delete > this e-mail immediately. > Any confidentiality, privilege or copyright is not waived or lost > because this e-mail has been sent to you in error. It is your > responsibility to check this e-mail and any attachments for viruses. > No warranty is made that this material is free from computer virus or > any other defect or error. Any loss/damage incurred by using this > material is not the sender's responsibility. The sender's entire > liability will be limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Wed Apr 15 23:22:26 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 16 Apr 2009 14:22:26 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From rockysmolin at bchacc.com Wed Apr 15 23:29:39 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 15 Apr 2009 21:29:39 -0700 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Wed Apr 15 23:43:38 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 16 Apr 2009 14:43:38 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> That is the exactly terminology I would use, but in the brave new world of the ribbon it is just called "remove", if you can manage to find it that is. :) I have been playing with this right now using much larger table. Boy is it pesky! you can 'remove' (ungroup) the fields fast enough once you know what you are looking for, but if you want to regroup them, there is no "select all' option (or even select some) that I can find (so far anyway). If you have 50 fields on your source table you need to select them one at a time it seems (that will be 100 selections, one for the label, one for the field). hmmmmmmm... :-/ You cannot (well at least *I* cannot) use the mouse to drag over the controls and select a few or group of controls at once anymore (?!!) This seems really odd. *sigh* regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 2:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From rockysmolin at bchacc.com Wed Apr 15 23:54:19 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 15 Apr 2009 21:54:19 -0700 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au><57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <8A657DB345084303A3AA90E14F0C127D@HAL9005> "This seems really odd." Say no more... :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... That is the exactly terminology I would use, but in the brave new world of the ribbon it is just called "remove", if you can manage to find it that is. :) I have been playing with this right now using much larger table. Boy is it pesky! you can 'remove' (ungroup) the fields fast enough once you know what you are looking for, but if you want to regroup them, there is no "select all' option (or even select some) that I can find (so far anyway). If you have 50 fields on your source table you need to select them one at a time it seems (that will be 100 selections, one for the label, one for the field). hmmmmmmm... :-/ You cannot (well at least *I* cannot) use the mouse to drag over the controls and select a few or group of controls at once anymore (?!!) This seems really odd. *sigh* regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 2:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From anitatiedemann at gmail.com Thu Apr 16 01:26:30 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Thu, 16 Apr 2009 16:26:30 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <824AF9FB8F4442769D6ED77DB08DCFAC@HAL9005> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER> <57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <000f01c9be48$b3372c30$0501a8c0@MSIMMSWS> <824AF9FB8F4442769D6ED77DB08DCFAC@HAL9005> Message-ID: Rocky, I also had the problem of getting rid of the navigation pane and ribbon menu for a client. I solved it like this: You can get rid of the ribbon if you have a custom menu for your application as follows: Open your database with Access 2003 and set the Startup Options: Menu Bar = "Name of your Menu" Allow full menus = FALSE Allow built in toolbars = FALSE Allow toolbar Menu Changes = TRUE This will hide the ribbon and show your toolbar when the database is opened in Access 2007. You can get rid of the navigation pane by unticking it in the Access Options - Current Database - Navigation. You find that by clicking on the office icon in the top left corner and selecting "Access Options'. Hope this helps. If you don't have a custom menu in your app it may be worth creating a little one with a couple of options. Anita Smith From rockysmolin at bchacc.com Thu Apr 16 07:13:06 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 16 Apr 2009 05:13:06 -0700 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au><000f01c9be48$b3372c30$0501a8c0@MSIMMSWS><824AF9FB8F4442769D6ED77DB08DCFAC@HAL9005> Message-ID: <6AC8F6C5F6A94CCBBF0FB44914559AB5@HAL9005> Anita: I think you're right about the custom toolbar. Since I don't use the toolbars in the mde, no loss. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Anita Smith Sent: Wednesday, April 15, 2009 11:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Rocky, I also had the problem of getting rid of the navigation pane and ribbon menu for a client. I solved it like this: You can get rid of the ribbon if you have a custom menu for your application as follows: Open your database with Access 2003 and set the Startup Options: Menu Bar = "Name of your Menu" Allow full menus = FALSE Allow built in toolbars = FALSE Allow toolbar Menu Changes = TRUE This will hide the ribbon and show your toolbar when the database is opened in Access 2007. You can get rid of the navigation pane by unticking it in the Access Options - Current Database - Navigation. You find that by clicking on the office icon in the top left corner and selecting "Access Options'. Hope this helps. If you don't have a custom menu in your app it may be worth creating a little one with a couple of options. Anita Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 16 07:55:23 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 16 Apr 2009 13:55:23 +0100 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <011801c9b81f$9ac77670$131b910a@denzilnote> References: <011801c9b81f$9ac77670$131b910a@denzilnote> Message-ID: Hi Darren, I have tried to strip all my stuff out of the mdb and leave behind a "blank" one that you can use. It relies on BLAT and local SMTP program - both free. You create your own htm email and it is then sent out via the mdb which needs the domain details etc setting up. Download the mdb from here:- www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip Let me know how you get on. This DOES work and very successfully. Regards Max From max.wanadoo at gmail.com Thu Apr 16 11:37:06 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 16 Apr 2009 17:37:06 +0100 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <49e75eb4.0702d00a.1137.ffffcdf1@mx.google.com> Darryl, In A2003 you can opt to have partial select of objects or full select of objects. Maybe there is a similar options in A2007? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 16 April 2009 05:44 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... That is the exactly terminology I would use, but in the brave new world of the ribbon it is just called "remove", if you can manage to find it that is. :) I have been playing with this right now using much larger table. Boy is it pesky! you can 'remove' (ungroup) the fields fast enough once you know what you are looking for, but if you want to regroup them, there is no "select all' option (or even select some) that I can find (so far anyway). If you have 50 fields on your source table you need to select them one at a time it seems (that will be 100 selections, one for the label, one for the field). hmmmmmmm... :-/ You cannot (well at least *I* cannot) use the mouse to drag over the controls and select a few or group of controls at once anymore (?!!) This seems really odd. *sigh* regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 2:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Apr 16 14:22:40 2009 From: marksimms at verizon.net (Mark Simms) Date: Thu, 16 Apr 2009 15:22:40 -0400 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: References: <011801c9b81f$9ac77670$131b910a@denzilnote> Message-ID: <000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> I was at a client site yesterday where myself and the business manager met with the IT "team". Well, it turns out, we were going to create a quick-and-dirty mini datamart for reporting purposes. However, IT said : "No more work in Access is permitted" Apparently in the recent past, some rogue Access apps were using ODBC connections to their live, REALTIME SQL Server databases, and performance really took a hit. The queries ran in a loop as they were poorly designed and constructed. So one stupid programmer ruined it all for everyone ! Nonetheless, we'll just use SQL Server Reporting Services to format and consolidate the data into a SQL Server table and then download it to Excel. Excel has not been banned (yet). However, in our neck of the woods in this economy, pay rates continue to drop to ridiculous levels as noted by this ad: http://philadelphia.craigslist.org/tch/1116061032.html I know, I know...the ever-so-awful craigslist. I hate it too. From stuart at lexacorp.com.pg Thu Apr 16 15:53:46 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 06:53:46 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: References: , <011801c9b81f$9ac77670$131b910a@denzilnote>, Message-ID: <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> Hi Max, You're quite right, Blat is a possible solution to Darren's problem. It takes care of all the nasty details which I frightened him with :-) I've never come across miniRelay before. I'm definitely adding that to my toolbox. A few of points on MyDummyEmailer: 1. I personally don't like using Blat -install. You can include the Server and Sender address parameters in the Blat string and then you don't leave any Registry settings floating around. 2. Your BlatInstall.bat uses a domain name as the Sender address. You need a valid address here, not just a domain name otherwise you will find many mail servers rejecting your message. So: don't bother with BlatInstall.bat. Just do something like this: Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ "C:\MyDummyBlatEmailer\Email.htm " & _ " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ " -server localhost " & _ " -f stuart at lexacorp.com.pg " & _ ....... 3. Now for the biggie :-( Look at the the Subject of this thread. The original request was how to embed images in HTML formatted emails. Your solution doesn't do that, it leaves the local directory links to the images in the email. For Blat to embed the files, you need to use the -embed switch, list the files and use cid tags in your HTML documents. So you need to: a. Add another line to conBatchText: " -embed C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummyBl atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ b. Edit your HTML document to add the "cid:" to your "img src" i.e. Note, don't include the image paths in the HTML document, just use the file name. Blat uses the paths in the -embed switch to find the data it needs. Once you do the above, your Access application works as required. Cheers, Stuart On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > Hi Darren, > I have tried to strip all my stuff out of the mdb and leave behind a "blank" > one that you can use. > > It relies on BLAT and local SMTP program - both free. > > You create your own htm email and it is then sent out via the mdb which > needs the domain details etc setting up. > > Download the mdb from here:- > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > Let me know how you get on. This DOES work and very successfully. > From Lambert.Heenan at aiuholdings.com Thu Apr 16 15:59:30 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 16 Apr 2009 16:59:30 -0400 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> References: , <011801c9b81f$9ac77670$131b910a@denzilnote>, <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> Message-ID: MiniRelay... A malware product? See http://www.sophos.com/security/analyses/adware-and-puas/minirelay.html?_log_from=rss Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 16, 2009 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML Hi Max, You're quite right, Blat is a possible solution to Darren's problem. It takes care of all the nasty details which I frightened him with :-) I've never come across miniRelay before. I'm definitely adding that to my toolbox. A few of points on MyDummyEmailer: 1. I personally don't like using Blat -install. You can include the Server and Sender address parameters in the Blat string and then you don't leave any Registry settings floating around. 2. Your BlatInstall.bat uses a domain name as the Sender address. You need a valid address here, not just a domain name otherwise you will find many mail servers rejecting your message. So: don't bother with BlatInstall.bat. Just do something like this: Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ "C:\MyDummyBlatEmailer\Email.htm " & _ " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ " -server localhost " & _ " -f stuart at lexacorp.com.pg " & _ ....... 3. Now for the biggie :-( Look at the the Subject of this thread. The original request was how to embed images in HTML formatted emails. Your solution doesn't do that, it leaves the local directory links to the images in the email. For Blat to embed the files, you need to use the -embed switch, list the files and use cid tags in your HTML documents. So you need to: a. Add another line to conBatchText: " -embed C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummyBl atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ b. Edit your HTML document to add the "cid:" to your "img src" i.e. Note, don't include the image paths in the HTML document, just use the file name. Blat uses the paths in the -embed switch to find the data it needs. Once you do the above, your Access application works as required. Cheers, Stuart On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > Hi Darren, > I have tried to strip all my stuff out of the mdb and leave behind a "blank" > one that you can use. > > It relies on BLAT and local SMTP program - both free. > > You create your own htm email and it is then sent out via the mdb > which needs the domain details etc setting up. > > Download the mdb from here:- > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > Let me know how you get on. This DOES work and very successfully. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 16 16:24:47 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 16 Apr 2009 22:24:47 +0100 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> References: , <011801c9b81f$9ac77670$131b910a@denzilnote>, <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> Message-ID: <49e7a221.0506d00a.44b0.ffff8408@mx.google.com> Hello Stu, Thanks for the input. I didn't mean to send this to the List as I was responding to an email direct from Darren, but Google in its infinite wisdom decided to do so! Anyway I am glad I did because you picked up on some great points. I wanted all the installation stuff to come via the Access program but obviously missed that bit - not a bad job though - eh? Any possibility of you making the changes and sending me them as a zipped mdb (without the extn of .zip so that Google lets it through). I have just read Lamberts posting about malware, but I have been using this for some months now and have had absolutely no problem with it and it has not been reported via SpyBot Search & Destroy, AVG Enterprise editi0n, Adware or others that I use from time to time. It may be reported as a false positive. I will continue to use it unless somebody can demonstrate it is actually malware - Lambert? Max Ps. You are quite a clever chap, you know. I will definately buy you a half-pint when I next visit PNG. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 16 April 2009 21:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML Hi Max, You're quite right, Blat is a possible solution to Darren's problem. It takes care of all the nasty details which I frightened him with :-) I've never come across miniRelay before. I'm definitely adding that to my toolbox. A few of points on MyDummyEmailer: 1. I personally don't like using Blat -install. You can include the Server and Sender address parameters in the Blat string and then you don't leave any Registry settings floating around. 2. Your BlatInstall.bat uses a domain name as the Sender address. You need a valid address here, not just a domain name otherwise you will find many mail servers rejecting your message. So: don't bother with BlatInstall.bat. Just do something like this: Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ "C:\MyDummyBlatEmailer\Email.htm " & _ " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ " -server localhost " & _ " -f stuart at lexacorp.com.pg " & _ ....... 3. Now for the biggie :-( Look at the the Subject of this thread. The original request was how to embed images in HTML formatted emails. Your solution doesn't do that, it leaves the local directory links to the images in the email. For Blat to embed the files, you need to use the -embed switch, list the files and use cid tags in your HTML documents. So you need to: a. Add another line to conBatchText: " -embed C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummy Bl atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ b. Edit your HTML document to add the "cid:" to your "img src" i.e. Note, don't include the image paths in the HTML document, just use the file name. Blat uses the paths in the -embed switch to find the data it needs. Once you do the above, your Access application works as required. Cheers, Stuart On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > Hi Darren, > I have tried to strip all my stuff out of the mdb and leave behind a "blank" > one that you can use. > > It relies on BLAT and local SMTP program - both free. > > You create your own htm email and it is then sent out via the mdb which > needs the domain details etc setting up. > > Download the mdb from here:- > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > Let me know how you get on. This DOES work and very successfully. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 16 16:27:33 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 16 Apr 2009 22:27:33 +0100 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: References: , <011801c9b81f$9ac77670$131b910a@denzilnote>, <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg> Message-ID: <49e7a2c8.1c07d00a.3774.ffff9896@mx.google.com> Lambert, Thanks for the feedback. I have been using this (miniRelay) for some months now and do not feel it is malware. To be honest, I would trust miniRelay before I would thrus Sophos or Norton. Each time I encounter them, I remove them! I think it is more likely to be a false positive. However, I do appreciate you taking the time to report this and as always with security matters it needs looking into. Cheers pal Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: 16 April 2009 22:00 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003:Embedded Image in HTML MiniRelay... A malware product? See http://www.sophos.com/security/analyses/adware-and-puas/minirelay.html?_log_ from=rss Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 16, 2009 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML Hi Max, You're quite right, Blat is a possible solution to Darren's problem. It takes care of all the nasty details which I frightened him with :-) I've never come across miniRelay before. I'm definitely adding that to my toolbox. A few of points on MyDummyEmailer: 1. I personally don't like using Blat -install. You can include the Server and Sender address parameters in the Blat string and then you don't leave any Registry settings floating around. 2. Your BlatInstall.bat uses a domain name as the Sender address. You need a valid address here, not just a domain name otherwise you will find many mail servers rejecting your message. So: don't bother with BlatInstall.bat. Just do something like this: Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ "C:\MyDummyBlatEmailer\Email.htm " & _ " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ " -server localhost " & _ " -f stuart at lexacorp.com.pg " & _ ....... 3. Now for the biggie :-( Look at the the Subject of this thread. The original request was how to embed images in HTML formatted emails. Your solution doesn't do that, it leaves the local directory links to the images in the email. For Blat to embed the files, you need to use the -embed switch, list the files and use cid tags in your HTML documents. So you need to: a. Add another line to conBatchText: " -embed C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummy Bl atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ b. Edit your HTML document to add the "cid:" to your "img src" i.e. Note, don't include the image paths in the HTML document, just use the file name. Blat uses the paths in the -embed switch to find the data it needs. Once you do the above, your Access application works as required. Cheers, Stuart On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > Hi Darren, > I have tried to strip all my stuff out of the mdb and leave behind a "blank" > one that you can use. > > It relies on BLAT and local SMTP program - both free. > > You create your own htm email and it is then sent out via the mdb > which needs the domain details etc setting up. > > Download the mdb from here:- > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > Let me know how you get on. This DOES work and very successfully. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Apr 16 16:31:40 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 07:31:40 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: References: , <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg>, Message-ID: <49E7A3BC.6492.F70AF04@stuart.lexacorp.com.pg> Not malware, just another item of "potentially unwanted software" as Sophos calls it. It's a small, tight SMTP Relay Server which *could* be used for spamming. If it suddenly turned up unannounced on your system, it would be a good indication that you've been "pwn'd" and are being used as part of a spammers network, but it's no more malicious that any other tool. I've got several small applications in my USB drive toolbox that keep getting flagged by various AV products the same way (hidden.exe, a port scanner, network monitor etc). -- Stuart On 16 Apr 2009 at 16:59, Heenan, Lambert wrote: > MiniRelay... A malware product? See > http://www.sophos.com/security/analyses/adware-and-puas/minirelay.html?_log_from=rss > From stuart at lexacorp.com.pg Thu Apr 16 16:34:07 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 07:34:07 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49e7a221.0506d00a.44b0.ffff8408@mx.google.com> References: , <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg>, <49e7a221.0506d00a.44b0.ffff8408@mx.google.com> Message-ID: <49E7A44F.17517.F72EC90@stuart.lexacorp.com.pg> Hi Max, Modified files will be on their way in a couple of minutes. I've already replied to Lamberts concerns. There's a big different between "potentially unwanted" and "malicious". Cheers, Stuart On 16 Apr 2009 at 22:24, Max Wanadoo wrote: > Hello Stu, > Thanks for the input. I didn't mean to send this to the List as I was > responding to an email direct from Darren, but Google in its infinite wisdom > decided to do so! Anyway I am glad I did because you picked up on some > great points. > > I wanted all the installation stuff to come via the Access program but > obviously missed that bit - not a bad job though - eh? > > Any possibility of you making the changes and sending me them as a zipped > mdb (without the extn of .zip so that Google lets it through). > > I have just read Lamberts posting about malware, but I have been using this > for some months now and have had absolutely no problem with it and it has > not been reported via SpyBot Search & Destroy, AVG Enterprise editi0n, > Adware or others that I use from time to time. It may be reported as a > false positive. > > I will continue to use it unless somebody can demonstrate it is actually > malware - Lambert? > > Max > Ps. You are quite a clever chap, you know. I will definately buy you a > half-pint when I next visit PNG. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: 16 April 2009 21:54 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003:Embedded Image in HTML > > Hi Max, > > You're quite right, Blat is a possible solution to Darren's problem. It > takes care of all the > nasty details which I frightened him with :-) > > I've never come across miniRelay before. I'm definitely adding that to my > toolbox. > > A few of points on MyDummyEmailer: > > 1. I personally don't like using Blat -install. You can include the > Server and Sender > address parameters in the Blat string and then you don't leave any Registry > settings floating > around. > > 2. Your BlatInstall.bat uses a domain name as the Sender address. You need > a valid > address here, not just a domain name otherwise you will find many mail > servers rejecting > your message. > > So: don't bother with BlatInstall.bat. Just do something like this: > > Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ > "C:\MyDummyBlatEmailer\Email.htm " & _ > " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ > " -server localhost " & _ > " -f stuart at lexacorp.com.pg " & _ > ....... > > 3. Now for the biggie :-( > Look at the the Subject of this thread. The original request was how to > embed images in > HTML formatted emails. > > Your solution doesn't do that, it leaves the local directory links to the > images in the email. > > For Blat to embed the files, you need to use the -embed switch, list the > files and use cid > tags in your HTML documents. > > So you need to: > > a. Add another line to conBatchText: > " -embed > C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummy > Bl > atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ > > b. Edit your HTML document to add the "cid:" to your "img src" i.e. > > > Note, don't include the image paths in the HTML document, just use the file > name. Blat > uses the paths in the -embed switch to find the data it needs. > > Once you do the above, your Access application works as required. > > > Cheers, > Stuart > > On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > > > Hi Darren, > > I have tried to strip all my stuff out of the mdb and leave behind a > "blank" > > one that you can use. > > > > It relies on BLAT and local SMTP program - both free. > > > > You create your own htm email and it is then sent out via the mdb which > > needs the domain details etc setting up. > > > > Download the mdb from here:- > > > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > > > Let me know how you get on. This DOES work and very successfully. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Apr 16 16:49:01 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 16 Apr 2009 22:49:01 +0100 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49E7A44F.17517.F72EC90@stuart.lexacorp.com.pg> References: , <49E79ADA.14706.F4DFAF1@stuart.lexacorp.com.pg>, <49e7a221.0506d00a.44b0.ffff8408@mx.google.com> <49E7A44F.17517.F72EC90@stuart.lexacorp.com.pg> Message-ID: <49e7a7ce.0707d00a.671f.ffff9fad@mx.google.com> Thanks Stu, Either you are bored stiff or you are after that half-pint. Probably the latter - ha! Will check it out tomorrow as I am about to have a wee drinky-poo and close down for the night. I would like to hear from Darren to see if any of this helped him. Thanks mucho, my friend. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 16 April 2009 22:34 To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Embedded Image in HTML Hi Max, Modified files will be on their way in a couple of minutes. I've already replied to Lamberts concerns. There's a big different between "potentially unwanted" and "malicious". Cheers, Stuart On 16 Apr 2009 at 22:24, Max Wanadoo wrote: > Hello Stu, > Thanks for the input. I didn't mean to send this to the List as I was > responding to an email direct from Darren, but Google in its infinite wisdom > decided to do so! Anyway I am glad I did because you picked up on some > great points. > > I wanted all the installation stuff to come via the Access program but > obviously missed that bit - not a bad job though - eh? > > Any possibility of you making the changes and sending me them as a zipped > mdb (without the extn of .zip so that Google lets it through). > > I have just read Lamberts posting about malware, but I have been using this > for some months now and have had absolutely no problem with it and it has > not been reported via SpyBot Search & Destroy, AVG Enterprise editi0n, > Adware or others that I use from time to time. It may be reported as a > false positive. > > I will continue to use it unless somebody can demonstrate it is actually > malware - Lambert? > > Max > Ps. You are quite a clever chap, you know. I will definately buy you a > half-pint when I next visit PNG. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: 16 April 2009 21:54 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003:Embedded Image in HTML > > Hi Max, > > You're quite right, Blat is a possible solution to Darren's problem. It > takes care of all the > nasty details which I frightened him with :-) > > I've never come across miniRelay before. I'm definitely adding that to my > toolbox. > > A few of points on MyDummyEmailer: > > 1. I personally don't like using Blat -install. You can include the > Server and Sender > address parameters in the Blat string and then you don't leave any Registry > settings floating > around. > > 2. Your BlatInstall.bat uses a domain name as the Sender address. You need > a valid > address here, not just a domain name otherwise you will find many mail > servers rejecting > your message. > > So: don't bother with BlatInstall.bat. Just do something like this: > > Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ > "C:\MyDummyBlatEmailer\Email.htm " & _ > " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ > " -server localhost " & _ > " -f stuart at lexacorp.com.pg " & _ > ....... > > 3. Now for the biggie :-( > Look at the the Subject of this thread. The original request was how to > embed images in > HTML formatted emails. > > Your solution doesn't do that, it leaves the local directory links to the > images in the email. > > For Blat to embed the files, you need to use the -embed switch, list the > files and use cid > tags in your HTML documents. > > So you need to: > > a. Add another line to conBatchText: > " -embed > C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummy > Bl > atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ > > b. Edit your HTML document to add the "cid:" to your "img src" i.e. > > > Note, don't include the image paths in the HTML document, just use the file > name. Blat > uses the paths in the -embed switch to find the data it needs. > > Once you do the above, your Access application works as required. > > > Cheers, > Stuart > > On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > > > Hi Darren, > > I have tried to strip all my stuff out of the mdb and leave behind a > "blank" > > one that you can use. > > > > It relies on BLAT and local SMTP program - both free. > > > > You create your own htm email and it is then sent out via the mdb which > > needs the domain details etc setting up. > > > > Download the mdb from here:- > > > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > > > Let me know how you get on. This DOES work and very successfully. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Apr 16 16:58:52 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 07:58:52 +1000 Subject: [AccessD] A2003:Embedded Image in HTML In-Reply-To: <49e7a7ce.0707d00a.671f.ffff9fad@mx.google.com> References: , <49E7A44F.17517.F72EC90@stuart.lexacorp.com.pg>, <49e7a7ce.0707d00a.671f.ffff9fad@mx.google.com> Message-ID: <49E7AA1C.27105.F899750@stuart.lexacorp.com.pg> It's almost 8:00am here. I woke up about 4:00am for some reason and couldn't get back to sleep so decided to have a look at your solution. But now... I Owe, I Owe, so off to work I go....... Cheers, Stuart On 16 Apr 2009 at 22:49, Max Wanadoo wrote: > Thanks Stu, > > Either you are bored stiff or you are after that half-pint. Probably the > latter - ha! > > Will check it out tomorrow as I am about to have a wee drinky-poo and close > down for the night. > > I would like to hear from Darren to see if any of this helped him. > > Thanks mucho, my friend. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: 16 April 2009 22:34 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003:Embedded Image in HTML > > Hi Max, > > Modified files will be on their way in a couple of minutes. > > I've already replied to Lamberts concerns. There's a big different between > "potentially > unwanted" and "malicious". > > Cheers, > Stuart > > On 16 Apr 2009 at 22:24, Max Wanadoo wrote: > > > Hello Stu, > > Thanks for the input. I didn't mean to send this to the List as I was > > responding to an email direct from Darren, but Google in its infinite > wisdom > > decided to do so! Anyway I am glad I did because you picked up on some > > great points. > > > > I wanted all the installation stuff to come via the Access program but > > obviously missed that bit - not a bad job though - eh? > > > > Any possibility of you making the changes and sending me them as a zipped > > mdb (without the extn of .zip so that Google lets it through). > > > > I have just read Lamberts posting about malware, but I have been using > this > > for some months now and have had absolutely no problem with it and it has > > not been reported via SpyBot Search & Destroy, AVG Enterprise editi0n, > > Adware or others that I use from time to time. It may be reported as a > > false positive. > > > > I will continue to use it unless somebody can demonstrate it is actually > > malware - Lambert? > > > > Max > > Ps. You are quite a clever chap, you know. I will definately buy you a > > half-pint when I next visit PNG. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > > Sent: 16 April 2009 21:54 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] A2003:Embedded Image in HTML > > > > Hi Max, > > > > You're quite right, Blat is a possible solution to Darren's problem. It > > takes care of all the > > nasty details which I frightened him with :-) > > > > I've never come across miniRelay before. I'm definitely adding that to my > > toolbox. > > > > A few of points on MyDummyEmailer: > > > > 1. I personally don't like using Blat -install. You can include the > > Server and Sender > > address parameters in the Blat string and then you don't leave any > Registry > > settings floating > > around. > > > > 2. Your BlatInstall.bat uses a domain name as the Sender address. You > need > > a valid > > address here, not just a domain name otherwise you will find many mail > > servers rejecting > > your message. > > > > So: don't bother with BlatInstall.bat. Just do something like this: > > > > Const conBatchText As String = "C:\MyDummyBlatEmailer\blat.exe " & _ > > "C:\MyDummyBlatEmailer\Email.htm " & _ > > " -bf C:\MyDummyBlatEmailer\sendlist.txt " & _ > > " -server localhost " & _ > > " -f stuart at lexacorp.com.pg " & _ > > ....... > > > > 3. Now for the biggie :-( > > Look at the the Subject of this thread. The original request was how to > > embed images in > > HTML formatted emails. > > > > Your solution doesn't do that, it leaves the local directory links to the > > images in the email. > > > > For Blat to embed the files, you need to use the -embed switch, list the > > files and use cid > > tags in your HTML documents. > > > > So you need to: > > > > a. Add another line to conBatchText: > > " -embed > > > C:\MyDummyBlatEmailer\Myjpg1.jpg,C:\MyDummyBlatEmailer\Myjpg2.jpg,C:\MyDummy > > Bl > > atEmailer\Myjpg3.jpg,C:\MyDummyBlatEmailer\Myjpg4.jpg " & _ > > > > b. Edit your HTML document to add the "cid:" to your "img src" i.e. > > > > > > Note, don't include the image paths in the HTML document, just use the > file > > name. Blat > > uses the paths in the -embed switch to find the data it needs. > > > > Once you do the above, your Access application works as required. > > > > > > Cheers, > > Stuart > > > > On 16 Apr 2009 at 13:55, Max Wanadoo wrote: > > > > > Hi Darren, > > > I have tried to strip all my stuff out of the mdb and leave behind a > > "blank" > > > one that you can use. > > > > > > It relies on BLAT and local SMTP program - both free. > > > > > > You create your own htm email and it is then sent out via the mdb which > > > needs the domain details etc setting up. > > > > > > Download the mdb from here:- > > > > > > www.peoplelinks.co.uk/msaccess/downloads/MyDummyBlatEmailer.zip > > > > > > Let me know how you get on. This DOES work and very successfully. > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Thu Apr 16 18:43:22 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 17 Apr 2009 09:43:22 +1000 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: <000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> References: <011801c9b81f$9ac77670$131b910a@denzilnote> <000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139B5@WPEXCH22.retail.ad.cmltd.net.au> $12 USD an hour?.... uh huh... is that typical now?? I am pretty shocked actually. You would get more sweeping streets or flipping burgers here. ... darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 17 April 2009 5:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access banned; VBA skills at new lows... I was at a client site yesterday where myself and the business manager met with the IT "team". Well, it turns out, we were going to create a quick-and-dirty mini datamart for reporting purposes. However, IT said : "No more work in Access is permitted" Apparently in the recent past, some rogue Access apps were using ODBC connections to their live, REALTIME SQL Server databases, and performance really took a hit. The queries ran in a loop as they were poorly designed and constructed. So one stupid programmer ruined it all for everyone ! Nonetheless, we'll just use SQL Server Reporting Services to format and consolidate the data into a SQL Server table and then download it to Excel. Excel has not been banned (yet). However, in our neck of the woods in this economy, pay rates continue to drop to ridiculous levels as noted by this ad: http://philadelphia.craigslist.org/tch/1116061032.html I know, I know...the ever-so-awful craigslist. I hate it too. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From cfoust at infostatsystems.com Thu Apr 16 18:47:50 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Apr 2009 16:47:50 -0700 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139B5@WPEXCH22.retail.ad.cmltd.net.au> References: <011801c9b81f$9ac77670$131b910a@denzilnote><000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> <57E6E6CA42105A48B977303A2CDC27200815F139B5@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: That represents how valuable they think skills in supporting MS Office are. Support personnel are typically underpaid, but this is ridiculous. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, April 16, 2009 4:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access banned; VBA skills at new lows... $12 USD an hour?.... uh huh... is that typical now?? I am pretty shocked actually. You would get more sweeping streets or flipping burgers here. ... darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 17 April 2009 5:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access banned; VBA skills at new lows... I was at a client site yesterday where myself and the business manager met with the IT "team". Well, it turns out, we were going to create a quick-and-dirty mini datamart for reporting purposes. However, IT said : "No more work in Access is permitted" Apparently in the recent past, some rogue Access apps were using ODBC connections to their live, REALTIME SQL Server databases, and performance really took a hit. The queries ran in a loop as they were poorly designed and constructed. So one stupid programmer ruined it all for everyone ! Nonetheless, we'll just use SQL Server Reporting Services to format and consolidate the data into a SQL Server table and then download it to Excel. Excel has not been banned (yet). However, in our neck of the woods in this economy, pay rates continue to drop to ridiculous levels as noted by this ad: http://philadelphia.craigslist.org/tch/1116061032.html I know, I know...the ever-so-awful craigslist. I hate it too. From Darryl.Collins at coles.com.au Thu Apr 16 19:06:25 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 17 Apr 2009 10:06:25 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <49e75eb4.0702d00a.1137.ffffcdf1@mx.google.com> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> <49e75eb4.0702d00a.1137.ffffcdf1@mx.google.com> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139B8@WPEXCH22.retail.ad.cmltd.net.au> Hi Max, You can so this, that is select a few items and them group them (although they use a different syntax, that is what you are doing). But what I hate is you cannot drag the mouse over a group of control to select them all at once and then apply a change to the group. It seems that you have to manually choose them all, one at a time. I am hoping I have just missed something here with this, otherwise it is a right PITA when building complex forms. bah humbug. Must say the transition to XL2007 hasn't been been anywhere near as painful. regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, 17 April 2009 2:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Darryl, In A2003 you can opt to have partial select of objects or full select of objects. Maybe there is a similar options in A2007? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 16 April 2009 05:44 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... That is the exactly terminology I would use, but in the brave new world of the ribbon it is just called "remove", if you can manage to find it that is. :) I have been playing with this right now using much larger table. Boy is it pesky! you can 'remove' (ungroup) the fields fast enough once you know what you are looking for, but if you want to regroup them, there is no "select all' option (or even select some) that I can find (so far anyway). If you have 50 fields on your source table you need to select them one at a time it seems (that will be 100 selections, one for the label, one for the field). hmmmmmmm... :-/ You cannot (well at least *I* cannot) use the mouse to drag over the controls and select a few or group of controls at once anymore (?!!) This seems really odd. *sigh* regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 2:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Darryl.Collins at coles.com.au Thu Apr 16 19:16:48 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 17 Apr 2009 10:16:48 +1000 Subject: [AccessD] Access 2007: Keep bound text box - delete label... In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139B8@WPEXCH22.retail.ad.cmltd.net.au> References: <439DAD812CA24ABD84F4D1A98D4E6705@MINSTER><57E6E6CA42105A48B977303A2CDC27200815F139A8@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AE@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC27200815F139AF@WPEXCH22.retail.ad.cmltd.net.au> <49e75eb4.0702d00a.1137.ffffcdf1@mx.google.com> <57E6E6CA42105A48B977303A2CDC27200815F139B8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139BA@WPEXCH22.retail.ad.cmltd.net.au> hah! alright, I have this sussed. I was having this issue when I was basing a form on an existing table. The default view is "Layout View" which seems to be a hybrid between design view and Form view. I am not sure if that view existed in other version of Access, never used it. If you swap to design view you can use the mouse as expect to select groups of controls, but in LayoutView you can move stuff around and changes stuff like design view, but with less functionality it seems. I feel like Alice in wonderland after the red pill. Curiouser and curiouser indeed... What a strange idea. It is not like you cannot see the layout in design view. hehehehehe. Too early for a vodka :-/ cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Friday, 17 April 2009 10:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Max, You can so this, that is select a few items and them group them (although they use a different syntax, that is what you are doing). But what I hate is you cannot drag the mouse over a group of control to select them all at once and then apply a change to the group. It seems that you have to manually choose them all, one at a time. I am hoping I have just missed something here with this, otherwise it is a right PITA when building complex forms. bah humbug. Must say the transition to XL2007 hasn't been been anywhere near as painful. regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, 17 April 2009 2:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Darryl, In A2003 you can opt to have partial select of objects or full select of objects. Maybe there is a similar options in A2007? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 16 April 2009 05:44 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... That is the exactly terminology I would use, but in the brave new world of the ribbon it is just called "remove", if you can manage to find it that is. :) I have been playing with this right now using much larger table. Boy is it pesky! you can 'remove' (ungroup) the fields fast enough once you know what you are looking for, but if you want to regroup them, there is no "select all' option (or even select some) that I can find (so far anyway). If you have 50 fields on your source table you need to select them one at a time it seems (that will be 100 selections, one for the label, one for the field). hmmmmmmm... :-/ You cannot (well at least *I* cannot) use the mouse to drag over the controls and select a few or group of controls at once anymore (?!!) This seems really odd. *sigh* regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 2:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Oh, so the autoform somehow 'grouped' the controls, and in effect, you 'ungrouped' them then? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... Hi Rocky, What I did was open the table and choose "Form" to create an 'auto-form' based on the table. This produce a 'stacked' type form with a label on the left and the bound text box on the right and the fields listed vertically (it is a very simple table with only 4 fields). Thus I have an auto form like Field1Lablel | Field1BoundTextBox Field2Lablel | Field2BoundTextBox Field3Lablel | Field3BoundTextBox Field4Lablel | Field4BoundTextBox If select any part of the label or text box both would selected. I tried the usual ctrl options when selecting. Oddly the orange border would only show up on one or the other as expected using the ctrl key method, however if I pressed delete then both the label and text box would delete - even if only one was selected, or worse, all four fields would delete. Regardless of what was selected if I changed the size of one of the field, all four fields would replicate the change - ditto for moving. For example I couldn't change them around to look like: Field1Lablel | Field1BoundTextBox Field3Lablel | Field3BoundTextBox Field2Lablel | Field2BoundTextBox Field4Lablel | Field4BoundTextBox Ugly stuff! However, if you select all the fields and then choose 'remove' from the "Arrange" "Control Layout" Group (under form options) it releases them all so they work as before. And yes - it is painfully slow and I have problems with coloured comboboxes not being rendered correctly. Actually, the whole darn product reeks of cheap and nasty. bah bah! regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, 16 April 2009 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007: Keep bound text box - delete label... In 2003 you select the label, hit delete and it goes away. Just tied it in 2007 and it worked. Am I misunderstanding what you're trying to do? One thing I did notice- you may be right about the grade level 2007 was designed for - it goes...real...slow...ly. I'd say that if I was as proficient with the 2007 IDE as I was with the 2003, it would take about 30% longer to design a form or report in 2007 based on the application's response time alone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, April 15, 2009 8:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007: Keep bound text box - delete label... Hi folks, Building a form based on a table in A2007. Trying to delete the label and keep the bound text box, but I cannot seem to do it. There much be a way to break the link between the text box and the label. Anyone got any pointers? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From marksimms at verizon.net Thu Apr 16 21:32:34 2009 From: marksimms at verizon.net (Mark Simms) Date: Thu, 16 Apr 2009 22:32:34 -0400 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: References: <011801c9b81f$9ac77670$131b910a@denzilnote><000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> <57E6E6CA42105A48B977303A2CDC27200815F139B5@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <007a01c9bf04$c5039310$0501a8c0@MSIMMSWS> Thanks for the responses. I just make a "visit" to this so-called "software firm" and give them some advice. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, April 16, 2009 7:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access banned; VBA skills at new lows... > > That represents how valuable they think skills in supporting > MS Office are. Support personnel are typically underpaid, > but this is ridiculous. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, April 16, 2009 4:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access banned; VBA skills at new lows... > > $12 USD an hour?.... > > uh huh... > > is that typical now?? I am pretty shocked actually. You > would get more sweeping streets or flipping burgers here. > > ... > > darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 17 April 2009 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access banned; VBA skills at new lows... > > I was at a client site yesterday where myself and the > business manager met with the IT "team". > Well, it turns out, we were going to create a quick-and-dirty > mini datamart for reporting purposes. > However, IT said : "No more work in Access is permitted" > Apparently in the recent past, some rogue Access apps were > using ODBC connections to their live, REALTIME SQL Server > databases, and performance really took a hit. The queries ran > in a loop as they were poorly designed and constructed. So > one stupid programmer ruined it all for everyone ! > Nonetheless, we'll just use SQL Server Reporting Services to > format and consolidate the data into a SQL Server table and > then download it to Excel. > Excel has not been banned (yet). > However, in our neck of the woods in this economy, pay rates > continue to drop to ridiculous levels as noted by this ad: > http://philadelphia.craigslist.org/tch/1116061032.html > I know, I know...the ever-so-awful craigslist. > I hate it too. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accma at sympatico.ca Thu Apr 16 22:02:58 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 16 Apr 2009 23:02:58 -0400 Subject: [AccessD] Text problem in runSQL Message-ID: Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie From fuller.artful at gmail.com Thu Apr 16 22:33:53 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 16 Apr 2009 23:33:53 -0400 Subject: [AccessD] Text problem in runSQL In-Reply-To: References: Message-ID: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> Wrap your strings in the following function: Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function IOW, instead of refering a string head-on, which may contain quotes, use q(FieldName) instead. Depending on circumstances, you may also need: Public Function qq(str As String) As String qq = Chr(34) & str & Chr(34) End Function Just wrap your column refs in a call to these functions instead of direct references and you're guaranteed safety (from these boogers at least). e.g. Debug.Print q("Patty O'Furniture") --> 'Patty O'Furniture' hth, Arthur From fuller.artful at gmail.com Thu Apr 16 22:34:10 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 16 Apr 2009 23:34:10 -0400 Subject: [AccessD] Text problem in runSQL In-Reply-To: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> References: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> Message-ID: <29f585dd0904162034y4fc4f000v1361296ef2b577b5@mail.gmail.com> On Thu, Apr 16, 2009 at 11:33 PM, Arthur Fuller wrote: > Wrap your strings in the following function: > > > Public Function q(str As String) As String > q = Chr(39) & str & Chr(39) > End Function > > > IOW, instead of refering a string head-on, which may contain quotes, use > q(FieldName) instead. Depending on circumstances, you may also need: > > > Public Function qq(str As String) As String > qq = Chr(34) & str & Chr(34) > End Function > > > Just wrap your column refs in a call to these functions instead of direct > references and you're guaranteed safety (from these boogers at least). > > e.g. > Debug.Print q("Patty O'Furniture") > --> 'Patty O'Furniture' > > hth, > Arthur > > > From mcp2004 at mail.ru Thu Apr 16 23:13:59 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Fri, 17 Apr 2009 08:13:59 +0400 Subject: [AccessD] =?koi8-r?b?QWNjZXNzIGJhbm5lZDsgVkJBIHNraWxscyBhdCBuZXcg?= =?koi8-r?b?bG93cy4uLg==?= In-Reply-To: References: Message-ID: Hi Charlotte and All, Are the following job proposals from the same Craiglist typical (average, lower/higher than average) there for Senior C# Developer position? Senior C# Agile/XP developer (Philadlphia region) http://philadelphia.craigslist.org/sof/1115870370.html Sr. .net Analyst/Programmer (Philadelphia, Pa.) http://philadelphia.craigslist.org/sof/1111783154.html Thank you. -- Shamil -----Original Message----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Date: Thu, 16 Apr 2009 16:47:50 -0700 Subject: Re: [AccessD] Access banned; VBA skills at new lows... > That represents how valuable they think skills in supporting MS Office > are. Support personnel are typically underpaid, but this is ridiculous. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Thursday, April 16, 2009 4:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access banned; VBA skills at new lows... > > $12 USD an hour?.... > > uh huh... > > is that typical now?? I am pretty shocked actually. You would get more > sweeping streets or flipping burgers here. > > ... > > darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 17 April 2009 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access banned; VBA skills at new lows... > > I was at a client site yesterday where myself and the business manager > met with the IT "team". > Well, it turns out, we were going to create a quick-and-dirty mini > datamart for reporting purposes. > However, IT said : "No more work in Access is permitted" > Apparently in the recent past, some rogue Access apps were using ODBC > connections to their live, REALTIME SQL Server databases, and > performance really took a hit. The queries ran in a loop as they were > poorly designed and constructed. So one stupid programmer ruined it all > for everyone ! > Nonetheless, we'll just use SQL Server Reporting Services to format and > consolidate the data into a SQL Server table and then download it to > Excel. > Excel has not been banned (yet). > However, in our neck of the woods in this economy, pay rates continue to > drop to ridiculous levels as noted by this ad: > http://philadelphia.craigslist.org/tch/1116061032.html > I know, I know...the ever-so-awful craigslist. > I hate it too. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Apr 16 23:18:26 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 04:18:26 +0000 Subject: [AccessD] Code timing??? In-Reply-To: <29f585dd0904162034y4fc4f000v1361296ef2b577b5@mail.gmail.com> References: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> <29f585dd0904162034y4fc4f000v1361296ef2b577b5@mail.gmail.com> Message-ID: Hello All, Have an app I converted from 2.0 to A03...1 form has an issue updating. When the save button is clicked...a number of things are done to the data/fields updated...data from multiple subforms, is used to update a number of fields on the main form. Then the 'totals' fields are calculated. Apparently the totals fields are being calculated prior to the initial updates being done??? Any thoughts/suggestions? Thanks, Mark A. Matte _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From stuart at lexacorp.com.pg Thu Apr 16 23:39:32 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 14:39:32 +1000 Subject: [AccessD] Text problem in runSQL In-Reply-To: References: Message-ID: <49E80804.22847.10F86C81@stuart.lexacorp.com.pg> As an alternative to Arthur's quoting functions, you can escape the single quotes by replacing a single quote with two single quotes before putting it into the SQL string i.e. txt = Replace(txt,"'","''") To make it a bit clearer, here it is again with a lot of extra spaces inserted: txt = Replace(txt, " ' " , " ' ' " ) -- Stuart On 16 Apr 2009 at 23:02, Annie Courchesne, CMA wrote: > Now here's the problem : If the text has a ' in it (exemple : Stone wall of > 20' x 10'), I try to run add "White" in front of the text, it does not > work. Here the code I use : > > > Dim txt as string > > Txt=me.word & " " & me.description > > SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & > txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & > "));" > > DoCmd.RunSQL SQL > From rockysmolin at bchacc.com Fri Apr 17 00:21:21 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 16 Apr 2009 22:21:21 -0700 Subject: [AccessD] Text problem in runSQL In-Reply-To: References: Message-ID: <2E297A9937894274977843EAE346CC6A@HAL9005> Annie" If you have apostrophes in your text then instead of using apostrophes to delimit the string use double quotes - "". So tblSoumissionDetail.Description = '" & txt & "' Becomes tblSoumissionDetail.Description = """ & txt & """ Of course, if you then encounter a string with quotes in it, like representing inches, you've got the opposite problem. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, April 16, 2009 8:03 PM To: Accessd Subject: [AccessD] Text problem in runSQL Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Fri Apr 17 04:01:32 2009 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 17 Apr 2009 21:01:32 +1200 Subject: [AccessD] Text problem in runSQL In-Reply-To: <2E297A9937894274977843EAE346CC6A@HAL9005> References: <2E297A9937894274977843EAE346CC6A@HAL9005> Message-ID: <42A3A9C7BB30454F9C25158EC7543107@stevePC> This takes care of apostrophes and quotes within the text: ... tblSoumissionDetail.Description = " & """" & txt & """" That's how I always do it. Regards Steve -------------------------------------------------- From: "Rocky Smolin" Sent: Friday, April 17, 2009 5:21 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Text problem in runSQL > Annie" > > If you have apostrophes in your text then instead of using apostrophes to > delimit the string use double quotes - "". > > So tblSoumissionDetail.Description = '" & txt & "' > > Becomes tblSoumissionDetail.Description = """ & txt & """ > > Of course, if you then encounter a string with quotes in it, like > representing inches, you've got the opposite problem. > From accma at sympatico.ca Fri Apr 17 05:25:21 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 17 Apr 2009 06:25:21 -0400 Subject: [AccessD] Text problem in runSQL In-Reply-To: <2E297A9937894274977843EAE346CC6A@HAL9005> References: <2E297A9937894274977843EAE346CC6A@HAL9005> Message-ID: Rocky, Thanks for the info... however, yes I can have " and ' because my customer can quote in inch an in feet. I'll try to see if it works if instead of using " my customer user '' to represent the inches. Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Rocky Smolin Envoy??: 17 avril 2009 01:21 ??: 'Access Developers discussion and problem solving' Objet?: Re: [AccessD] Text problem in runSQL Annie" If you have apostrophes in your text then instead of using apostrophes to delimit the string use double quotes - "". So tblSoumissionDetail.Description = '" & txt & "' Becomes tblSoumissionDetail.Description = """ & txt & """ Of course, if you then encounter a string with quotes in it, like representing inches, you've got the opposite problem. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, April 16, 2009 8:03 PM To: Accessd Subject: [AccessD] Text problem in runSQL Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Fri Apr 17 05:26:34 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 17 Apr 2009 06:26:34 -0400 Subject: [AccessD] Text problem in runSQL In-Reply-To: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> References: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> Message-ID: Arthur, I'll try that too! Thanks! Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Arthur Fuller Envoy??: 16 avril 2009 23:34 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] Text problem in runSQL Wrap your strings in the following function: Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function IOW, instead of refering a string head-on, which may contain quotes, use q(FieldName) instead. Depending on circumstances, you may also need: Public Function qq(str As String) As String qq = Chr(34) & str & Chr(34) End Function Just wrap your column refs in a call to these functions instead of direct references and you're guaranteed safety (from these boogers at least). e.g. Debug.Print q("Patty O'Furniture") --> 'Patty O'Furniture' hth, Arthur -- 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 Apr 17 05:46:11 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 Apr 2009 20:46:11 +1000 Subject: [AccessD] Text problem in runSQL In-Reply-To: References: , <2E297A9937894274977843EAE346CC6A@HAL9005>, Message-ID: <49E85DF3.481.12481DDC@stuart.lexacorp.com.pg> You can "escape" both single and double quotes. ..... txt = replace(txt,"'","''") txt = replace(txt,""","""") SQL = ........ & txt & ...... .... -- Stuart On 17 Apr 2009 at 6:25, Annie Courchesne, CMA wrote: > Rocky, > > Thanks for the info... however, yes I can have " and ' because my customer > can quote in inch an in feet. I'll try to see if it works if instead of > using " my customer user '' to represent the inches. > > > Annie > > -----Message d'origine----- > De?: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] De la part de Rocky Smolin > Envoy??: 17 avril 2009 01:21 > ??: 'Access Developers discussion and problem solving' > Objet?: Re: [AccessD] Text problem in runSQL > > Annie" > > If you have apostrophes in your text then instead of using apostrophes to > delimit the string use double quotes - "". > > So tblSoumissionDetail.Description = '" & txt & "' > > Becomes tblSoumissionDetail.Description = """ & txt & """ > > Of course, if you then encounter a string with quotes in it, like > representing inches, you've got the opposite problem. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, > CMA > Sent: Thursday, April 16, 2009 8:03 PM > To: Accessd > Subject: [AccessD] Text problem in runSQL > > Hi everyone, > > > > I'm having a problem with a function that a customer wants. It's for making > quotation. I have a subform that has the lines of the quote. On another > subform, I have a list of words. When I double click on the word, it adds > it wherever the pointer was in the lines of the quotes. So far, no problem > with that. > > > > Now here's the problem : If the text has a ' in it (exemple : Stone wall of > 20' x 10'), I try to run add "White" in front of the text, it does not > work. Here the code I use : > > > > > > Dim txt as string > > > > Txt=me.word & " " & me.description > > > > SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & > txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & > "));" > > DoCmd.RunSQL SQL > > > > > > > > Me.word : White > > Me.description : Stone wall of 20' x 10' > > > > In an exemple as this one, I get a runtime error 3075. I know it's because > of the ' . but I have no idea how to solve this! > > > > Anyone can help? > > > > Thanks! > > > > > > Annie > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accma at sympatico.ca Fri Apr 17 05:46:49 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 17 Apr 2009 06:46:49 -0400 Subject: [AccessD] Text problem in runSQL SOLVED In-Reply-To: References: Message-ID: It works! Thanks you all for your help! Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Annie Courchesne, CMA Envoy??: 16 avril 2009 23:03 ??: Accessd Objet?: [AccessD] Text problem in runSQL Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri Apr 17 06:56:37 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 17 Apr 2009 07:56:37 -0400 Subject: [AccessD] Text problem in runSQL SOLVED.. In-Reply-To: References: Message-ID: Annie, Two questions. 1. What actually worked to resolve the quote issue? 2. Did you get you French spell check dialog working? Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Friday, April 17, 2009 6:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Text problem in runSQL SOLVED It works! Thanks you all for your help! Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Annie Courchesne, CMA Envoy??: 16 avril 2009 23:03 ??: Accessd Objet?: [AccessD] Text problem in runSQL Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Fri Apr 17 07:18:39 2009 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 17 Apr 2009 08:18:39 -0400 Subject: [AccessD] Text problem in runSQL SOLVED.. In-Reply-To: References: Message-ID: Hi Jack, The solution to modify my code so it becomes Becomes tblSoumissionDetail.Description = """ & txt & """ Worked. As for the french spell check, it does the French spell check, but the dialog box is still in English... I'm still looking for something to solve this. Thanks! Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Jack and Pat Envoy??: 17 avril 2009 07:57 ??: 'Access Developers discussion and problem solving' Objet?: Re: [AccessD] Text problem in runSQL SOLVED.. Annie, Two questions. 1. What actually worked to resolve the quote issue? 2. Did you get you French spell check dialog working? Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Friday, April 17, 2009 6:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Text problem in runSQL SOLVED It works! Thanks you all for your help! Annie -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Annie Courchesne, CMA Envoy??: 16 avril 2009 23:03 ??: Accessd Objet?: [AccessD] Text problem in runSQL Hi everyone, I'm having a problem with a function that a customer wants. It's for making quotation. I have a subform that has the lines of the quote. On another subform, I have a list of words. When I double click on the word, it adds it wherever the pointer was in the lines of the quotes. So far, no problem with that. Now here's the problem : If the text has a ' in it (exemple : Stone wall of 20' x 10'), I try to run add "White" in front of the text, it does not work. Here the code I use : Dim txt as string Txt=me.word & " " & me.description SQL = "UPDATE tblSoumissionDetail SET tblSoumissionDetail.Description = '" & txt & "' WHERE (((tblSoumissionDetail.SoumDetailID)=" & Me.Parent.LigneID & "));" DoCmd.RunSQL SQL Me.word : White Me.description : Stone wall of 20' x 10' In an exemple as this one, I get a runtime error 3075. I know it's because of the ' . but I have no idea how to solve this! Anyone can help? Thanks! Annie -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Apr 17 07:46:42 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 17 Apr 2009 08:46:42 -0400 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: References: <011801c9b81f$9ac77670$131b910a@denzilnote><000501c9bec8$b60494e0$0501a8c0@MSIMMSWS> <57E6E6CA42105A48B977303A2CDC27200815F139B5@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: Just shows that we live in a changing world and it is a sign of how old we all are; basic computer skills are not something just a few have any more, but something everyone has. Obviously this is considered an entry level job. Note the "Students with appropriate backgrounds and skills are welcome to apply. The position is long-term so not appropriate for internship." Their not looking for a seasoned professional, but someone with basic skills. Slightly better then burger flipping, but not much and a lot of young people would fill the bill on this one. My 17 year old would jump at this job. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 16, 2009 7:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access banned; VBA skills at new lows... That represents how valuable they think skills in supporting MS Office are. Support personnel are typically underpaid, but this is ridiculous. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, April 16, 2009 4:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access banned; VBA skills at new lows... $12 USD an hour?.... uh huh... is that typical now?? I am pretty shocked actually. You would get more sweeping streets or flipping burgers here. ... darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 17 April 2009 5:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access banned; VBA skills at new lows... I was at a client site yesterday where myself and the business manager met with the IT "team". Well, it turns out, we were going to create a quick-and-dirty mini datamart for reporting purposes. However, IT said : "No more work in Access is permitted" Apparently in the recent past, some rogue Access apps were using ODBC connections to their live, REALTIME SQL Server databases, and performance really took a hit. The queries ran in a loop as they were poorly designed and constructed. So one stupid programmer ruined it all for everyone ! Nonetheless, we'll just use SQL Server Reporting Services to format and consolidate the data into a SQL Server table and then download it to Excel. Excel has not been banned (yet). However, in our neck of the woods in this economy, pay rates continue to drop to ridiculous levels as noted by this ad: http://philadelphia.craigslist.org/tch/1116061032.html I know, I know...the ever-so-awful craigslist. I hate it too. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Apr 17 10:35:52 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 15:35:52 +0000 Subject: [AccessD] ISLOADED fails? In-Reply-To: <00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com> <00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: Hello All, Using Access'03 the function isloaded does not always return the correct value? Function IsLoaded(strName As String, _ Optional intType As Integer = acForm) As Boolean IsLoaded = SysCmd(acSysCmdGetObjectState, _ intType, _ strName) = acObjStateOpen End Function Any thoughts? Thanks, Mark _________________________________________________________________ Rediscover Hotmail?: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009 From cfoust at infostatsystems.com Fri Apr 17 10:43:20 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 17 Apr 2009 08:43:20 -0700 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: What object are you testing or trying to test? Subreports and subforms don't return a true, IIRC, only their parent. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 17, 2009 8:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] ISLOADED fails? Hello All, Using Access'03 the function isloaded does not always return the correct value? Function IsLoaded(strName As String, _ Optional intType As Integer = acForm) As Boolean IsLoaded = SysCmd(acSysCmdGetObjectState, _ intType, _ strName) = acObjStateOpen End Function Any thoughts? Thanks, Mark _________________________________________________________________ Rediscover Hotmail(r): Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover _Mobile2_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Apr 17 12:35:01 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 17:35:01 +0000 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: Just forms??? > Date: Fri, 17 Apr 2009 08:43:20 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ISLOADED fails? > > What object are you testing or trying to test? Subreports and subforms > don't return a true, IIRC, only their parent. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Friday, April 17, 2009 8:36 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] ISLOADED fails? > > > Hello All, > > > > Using Access'03 the function isloaded does not always return the correct > value? > > > > Function IsLoaded(strName As String, _ > Optional intType As Integer = acForm) As Boolean IsLoaded = > SysCmd(acSysCmdGetObjectState, _ intType, _ > strName) = acObjStateOpen > > End Function > > > > Any thoughts? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > Rediscover Hotmail(r): Now available on your iPhone or BlackBerry > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover > _Mobile2_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From cfoust at infostatsystems.com Fri Apr 17 12:54:27 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 17 Apr 2009 10:54:27 -0700 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: OK, under what conditions? If you're trying to test whether the form has finished loading, like from within the form, that won't work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 17, 2009 10:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ISLOADED fails? Just forms??? > Date: Fri, 17 Apr 2009 08:43:20 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ISLOADED fails? > > What object are you testing or trying to test? Subreports and subforms > don't return a true, IIRC, only their parent. > > Charlotte Foust > From markamatte at hotmail.com Fri Apr 17 13:03:15 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 18:03:15 +0000 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: Ok...example: form1 and form2 form1 is open...when it closes I want form2 to close, if it is open. I use isloaded("form2")...this is returing false...whether form2 is open or not? Thanks, Mark > > OK, under what conditions? If you're trying to test whether the form > has finished loading, like from within the form, that won't work. > > Charlotte Foust > > > > > What object are you testing or trying to test? Subreports and subforms > > > don't return a true, IIRC, only their parent. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 From Lambert.Heenan at aiuholdings.com Fri Apr 17 13:16:32 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Fri, 17 Apr 2009 14:16:32 -0400 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: I wonder if the original, mark 1 version of "IsLoaded" would work any better. I've been using this since for ever and never had a problem... Function IsLoaded(FrmName As String) As Boolean Dim i As Integer IsLoaded = False For i = 0 To Forms.Count - 1 If Forms(i).Name = FrmName Then IsLoaded = True Exit Function End If Next i End Function HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 17, 2009 2:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ISLOADED fails? Ok...example: form1 and form2 form1 is open...when it closes I want form2 to close, if it is open. I use isloaded("form2")...this is returing false...whether form2 is open or not? Thanks, Mark > > OK, under what conditions? If you're trying to test whether the form > has finished loading, like from within the form, that won't work. > > Charlotte Foust > > > > > What object are you testing or trying to test? Subreports and > > subforms > > > don't return a true, IIRC, only their parent. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live(tm): Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Apr 17 13:22:52 2009 From: marksimms at verizon.net (Mark Simms) Date: Fri, 17 Apr 2009 14:22:52 -0400 Subject: [AccessD] Access banned; VBA skills at new lows... In-Reply-To: References: Message-ID: <009501c9bf89$89e41220$0501a8c0@MSIMMSWS> That posting would tend to indicate it's not the LOCATION But the SKILLSET making the big difference. I brought-up the issue of VBA vs. Dot-net and VISTO with John Walkenbach, the famous Excel developer.... 2 years ago...And he said he said he'd rather starve than move to dot-net. I wonder if he's changed his tune now ? And this says it all: http://seeker.dice.com/jobsearch/servlet/JobSearch?op=302&dockey=xml/1/7/17f fe60eb0a2c6945bfb66cf177dc90e at endecaindex&source=19&FREE_TEXT=excel&rating=9 9 I tried to convince them this could be done easily in VBA. Nope - they didn't go for it. Nothing but dot-net. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov Shamil > Sent: Friday, April 17, 2009 12:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD]Access banned; VBA skills at new lows... > > > Hi Charlotte and All, > > Are the following job proposals from the same Craiglist > typical (average, lower/higher than average) there for Senior > C# Developer position? > > Senior C# Agile/XP developer (Philadlphia region) > http://philadelphia.craigslist.org/sof/1115870370.html > > Sr. .net Analyst/Programmer (Philadelphia, Pa.) > http://philadelphia.craigslist.org/sof/1111783154.html > > Thank you. > > -- > Shamil > > -----Original Message----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem > solving" > Date: Thu, 16 Apr 2009 16:47:50 -0700 > Subject: Re: [AccessD] Access banned; VBA skills at new lows... > > > That represents how valuable they think skills in > supporting MS Office > > are. Support personnel are typically underpaid, but this > is ridiculous. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > > Collins > > Sent: Thursday, April 16, 2009 4:43 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Access banned; VBA skills at new lows... > > > > $12 USD an hour?.... > > > > uh huh... > > > > is that typical now?? I am pretty shocked actually. You would get > > more sweeping streets or flipping burgers here. > > > > ... > > > > darryl. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark Simms > > Sent: Friday, 17 April 2009 5:23 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Access banned; VBA skills at new lows... > > > > I was at a client site yesterday where myself and the > business manager > > met with the IT "team". > > Well, it turns out, we were going to create a quick-and-dirty mini > > datamart for reporting purposes. > > However, IT said : "No more work in Access is permitted" > > Apparently in the recent past, some rogue Access apps were > using ODBC > > connections to their live, REALTIME SQL Server databases, and > > performance really took a hit. The queries ran in a loop as > they were > > poorly designed and constructed. So one stupid programmer ruined it > > all for everyone ! > > Nonetheless, we'll just use SQL Server Reporting Services to format > > and consolidate the data into a SQL Server table and then > download it > > to Excel. > > Excel has not been banned (yet). > > However, in our neck of the woods in this economy, pay > rates continue > > to drop to ridiculous levels as noted by this ad: > > http://philadelphia.craigslist.org/tch/1116061032.html > > I know, I know...the ever-so-awful craigslist. > > I hate it too. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From miscellany at mvps.org Fri Apr 17 14:24:01 2009 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 18 Apr 2009 07:24:01 +1200 Subject: [AccessD] ISLOADED fails? In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> Message-ID: <3977E22F18B34C7094D006D65CD1C438@stevePC> Mark, Why not use the built-in IsLoaded property, rather than trying to roll your own? You could try this, probably easier: If CurrentProject.AllForms("Form2").IsLoaded Then ... Regards Steve -------------------------------------------------- From: "Mark A Matte" Sent: Saturday, April 18, 2009 6:03 AM To: Subject: Re: [AccessD] ISLOADED fails? > > Ok...example: > > form1 and form2 > > form1 is open...when it closes I want form2 to close, if it is open. I > use isloaded("form2")...this is returing false...whether form2 is open or > not? From markamatte at hotmail.com Fri Apr 17 16:21:47 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 21:21:47 +0000 Subject: [AccessD] ISLOADED fails? In-Reply-To: <3977E22F18B34C7094D006D65CD1C438@stevePC> References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> <3977E22F18B34C7094D006D65CD1C438@stevePC> Message-ID: Its coming back to me...wasn't that new to 03? This database was converted from 2.0 Thanks, Mark > From: miscellany at mvps.org > To: accessd at databaseadvisors.com > Date: Sat, 18 Apr 2009 07:24:01 +1200 > Subject: Re: [AccessD] ISLOADED fails? > > Mark, > > Why not use the built-in IsLoaded property, rather than trying to roll your > own? You could try this, probably easier: > > If CurrentProject.AllForms("Form2").IsLoaded Then > ... > > Regards > Steve > > > -------------------------------------------------- > From: "Mark A Matte" > Sent: Saturday, April 18, 2009 6:03 AM > To: > Subject: Re: [AccessD] ISLOADED fails? > > > > > Ok...example: > > > > form1 and form2 > > > > form1 is open...when it closes I want form2 to close, if it is open. I > > use isloaded("form2")...this is returing false...whether form2 is open or > > not? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From markamatte at hotmail.com Fri Apr 17 16:23:04 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 21:23:04 +0000 Subject: [AccessD] 2003 runtime right click In-Reply-To: <3977E22F18B34C7094D006D65CD1C438@stevePC> References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> <3977E22F18B34C7094D006D65CD1C438@stevePC> Message-ID: Hello All, Users are not able to right click...anything(to copy or paste records) Any thoughts? Thanks, Mark _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 From bill_patten at embarqmail.com Fri Apr 17 17:06:41 2009 From: bill_patten at embarqmail.com (Bill Patten) Date: Fri, 17 Apr 2009 15:06:41 -0700 Subject: [AccessD] 2003 runtime right click In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> <3977E22F18B34C7094D006D65CD1C438@stevePC> Message-ID: <75878B70021A41CEA8DCD2BA64253178@BPCS> Mark Perhaps the "allow Default Shortcut Menu" in the startup menu is not enabled. Bill ----- Original Message ----- From: "Mark A Matte" To: Sent: Friday, April 17, 2009 2:23 PM Subject: [AccessD] 2003 runtime right click Hello All, Users are not able to right click...anything(to copy or paste records) Any thoughts? Thanks, Mark _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Apr 17 17:18:12 2009 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Apr 2009 22:18:12 +0000 Subject: [AccessD] 2003 runtime right click In-Reply-To: <75878B70021A41CEA8DCD2BA64253178@BPCS> References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> <3977E22F18B34C7094D006D65CD1C438@stevePC> <75878B70021A41CEA8DCD2BA64253178@BPCS> Message-ID: It is enabled...thanks. > From: bill_patten at embarqmail.com > To: accessd at databaseadvisors.com > Date: Fri, 17 Apr 2009 15:06:41 -0700 > Subject: Re: [AccessD] 2003 runtime right click > > Mark > > Perhaps the "allow Default Shortcut Menu" in the startup menu is not > enabled. > > Bill > > ----- Original Message ----- > From: "Mark A Matte" > To: > Sent: Friday, April 17, 2009 2:23 PM > Subject: [AccessD] 2003 runtime right click > > > > > Hello All, > > > > Users are not able to right click...anything(to copy or paste records) > > > > Any thoughts? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > Windows Live?: Life without walls. > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 From rockysmolin at bchacc.com Fri Apr 17 19:20:27 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 17 Apr 2009 17:20:27 -0700 Subject: [AccessD] Convert mdb to accdb Problem Message-ID: Dear List: I converted an mdb to 2007 format - accdb. When I start the accdb I get an error in code in the Open event of the opening form - 'type mismatch'. It's on the line For each prp in db.Properties prp is Dimmed as Property db is Dimmed as CurrentDb References are set to VBA, Access 12.0 Object Library, OLE Automation, CDO for Windows 2000 Library (legacy app, you understand) , Calendar Control for 2007, Visual Basic for Applications Extensibility, Word 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran off the side of the References Dialog box). Am I missing a reference? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From adtp at airtelmail.in Fri Apr 17 23:52:29 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sat, 18 Apr 2009 10:22:29 +0530 Subject: [AccessD] Convert mdb to accdb Problem References: Message-ID: <00f701c9bfe1$a5a9b840$6685a37a@personald6374f> Rocky, Even in Access 2003, you need reference to DAO 3.6 in order to use a variable dimmed as property. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Saturday, April 18, 2009 05:50 Subject: [AccessD] Convert mdb to accdb Problem Dear List: I converted an mdb to 2007 format - accdb. When I start the accdb I get an error in code in the Open event of the opening form - 'type mismatch'. It's on the line For each prp in db.Properties prp is Dimmed as Property db is Dimmed as CurrentDb References are set to VBA, Access 12.0 Object Library, OLE Automation, CDO for Windows 2000 Library (legacy app, you understand) , Calendar Control for 2007, Visual Basic for Applications Extensibility, Word 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran off the side of the References Dialog box). Am I missing a reference? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From rockysmolin at bchacc.com Sat Apr 18 00:10:43 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 17 Apr 2009 22:10:43 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <00f701c9bfe1$a5a9b840$6685a37a@personald6374f> References: <00f701c9bfe1$a5a9b840$6685a37a@personald6374f> Message-ID: <8509CB818E7846589962A25E17AA0DD5@HAL9005> A.D.: Thanks for your reply. At first I thought it odd that the reference would disappear in the conversion to an accdb. But when I try to select it in the references in A2007, I get 'Name conflicts with existing module, project, or object library'. Any idea why? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, April 17, 2009 9:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem Rocky, Even in Access 2003, you need reference to DAO 3.6 in order to use a variable dimmed as property. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Saturday, April 18, 2009 05:50 Subject: [AccessD] Convert mdb to accdb Problem Dear List: I converted an mdb to 2007 format - accdb. When I start the accdb I get an error in code in the Open event of the opening form - 'type mismatch'. It's on the line For each prp in db.Properties prp is Dimmed as Property db is Dimmed as CurrentDb References are set to VBA, Access 12.0 Object Library, OLE Automation, CDO for Windows 2000 Library (legacy app, you understand) , Calendar Control for 2007, Visual Basic for Applications Extensibility, Word 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran off the side of the References Dialog box). Am I missing a reference? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Apr 18 02:18:50 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 18 Apr 2009 08:18:50 +0100 Subject: [AccessD] 2003 runtime right click In-Reply-To: References: <7c7841600904080702q63e42aa5yd761aa0e6583872f@mail.gmail.com><00c101c9b876$f0837ad0$0601a8c0@MSIMMSWS> <3977E22F18B34C7094D006D65CD1C438@stevePC> <75878B70021A41CEA8DCD2BA64253178@BPCS> Message-ID: <49e97edd.0707d00a.7c0b.579e@mx.google.com> Shot in the dark, but Have you got IE open and has it recently gone to a web site where right-click has been disable? I have a site where I do this and if the page is open, it affects Office functionality on the PC. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: 17 April 2009 23:18 To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2003 runtime right click It is enabled...thanks. > From: bill_patten at embarqmail.com > To: accessd at databaseadvisors.com > Date: Fri, 17 Apr 2009 15:06:41 -0700 > Subject: Re: [AccessD] 2003 runtime right click > > Mark > > Perhaps the "allow Default Shortcut Menu" in the startup menu is not > enabled. > > Bill > > ----- Original Message ----- > From: "Mark A Matte" > To: > Sent: Friday, April 17, 2009 2:23 PM > Subject: [AccessD] 2003 runtime right click > > > > > Hello All, > > > > Users are not able to right click...anything(to copy or paste records) > > > > Any thoughts? > > > > Thanks, > > > > Mark > > _________________________________________________________________ > Windows LiveT: Life without walls. > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows LiveT: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Sat Apr 18 03:26:37 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sat, 18 Apr 2009 13:56:37 +0530 Subject: [AccessD] Convert mdb to accdb Problem References: <00f701c9bfe1$a5a9b840$6685a37a@personald6374f> <8509CB818E7846589962A25E17AA0DD5@HAL9005> Message-ID: <003801c9bfff$9026fe10$1d84a37a@personald6374f> Rocky, You can experiment with a blank new accdb file, set reference to DAO 3.6, create a simple test procedure using a variable dimmed as property, compile and then add other references one at a time, compile in each case and try to pinpoint the source of conflict. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Saturday, April 18, 2009 10:40 Subject: Re: [AccessD] Convert mdb to accdb Problem A.D.: Thanks for your reply. At first I thought it odd that the reference would disappear in the conversion to an accdb. But when I try to select it in the references in A2007, I get 'Name conflicts with existing module, project, or object library'. Any idea why? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, April 17, 2009 9:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem Rocky, Even in Access 2003, you need reference to DAO 3.6 in order to use a variable dimmed as property. Best wishes, A.D. Tejpal ------------ From mcp2004 at mail.ru Sat Apr 18 07:49:56 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Sat, 18 Apr 2009 16:49:56 +0400 Subject: [AccessD] SCRUM/Northwind.NET Prerelease Published Message-ID: Hi All, As committed here I'm reporting our dba-VB SCRUM/Northwind.NET project status - Northwind.NET Prerelease is temporarily published here: http://smsconsulting.spb.ru/scrum/Northwind.NET.0.9.99.zip (~1.5 MB) This is a prerelease version for public testing. When testing complete v.1.- Release with all sources will be published on http://northwind.codeplex.com . To run the application download and unzip the above archive onto your disk, and start Northwind.NET.FE.exe . This Northwind.NET application uses user instance of MS SQL 2005/2008 Express with attached database located in \Databases subfolder. Here is a connection string: You can also use MS SQL 2005/2008 Standard/Prof/Enterprise editions - in that case attach NorthwindNET.mdf file to your target MS SQL Server instance and change the above connection string. Northwind.NET 0.9.99 files & folders ==================================== 18.04.2009 15:44 1,522,688 Northwind.NET.FE.exe 18.04.2009 16:08 1,191 Northwind.NET.FE.exe.config 18.04.2009 15:44 7,680 Northwind.NET.Utilities.dll 18.04.2009 16:14 Database 18.04.2009 16:14 Logs 18.04.2009 16:15 Pictures .\Database 18.04.2009 16:17 4,194,304 NorthwindNET.mdf 18.04.2009 16:17 1,048,576 NorthwindNET_log.ldf .\Logs 18.04.2009 16:17 107 NorthWind.NET.log .\0.9.99\Pictures 28.03.2009 21:11 41,112 EMPID1.BMP 28.03.2009 21:11 41,112 EMPID2.BMP 28.03.2009 21:11 41,112 EMPID3.BMP 28.03.2009 21:11 41,368 EMPID4.BMP 28.03.2009 21:11 41,112 EMPID5.BMP 28.03.2009 21:11 41,368 EMPID6.BMP 28.03.2009 21:11 41,112 EMPID7.BMP 28.03.2009 21:11 41,112 EMPID8.BMP 28.03.2009 21:11 41,112 EMPID9.BMP Thank you. -- Shamil From fuller.artful at gmail.com Sat Apr 18 08:12:26 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 18 Apr 2009 09:12:26 -0400 Subject: [AccessD] SCRUM/Northwind.NET Prerelease Published In-Reply-To: References: Message-ID: <29f585dd0904180612j4c36dc83r41b675c20923f6e5@mail.gmail.com> Hi Shamil, Question: where does the connection string live? Also, upon loading the EXE I immediately get a message that says there are known compatibility issues with this version of Windows (Vista). I guess that this means I should re-download the source code and rebuild it. I'm using VS 2008, SQL 2008 Standard. Finally, I have not heard from Mark regarding a user name and password so I can connect to his server. Thanks, Arthur From mcp2004 at mail.ru Sat Apr 18 08:43:54 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Sat, 18 Apr 2009 17:43:54 +0400 Subject: [AccessD] =?koi8-r?b?U0NSVU0vTm9ydGh3aW5kLk5FVCBQcmVyZWxlYXNlIFB1?= =?koi8-r?b?Ymxpc2hlZA==?= In-Reply-To: <29f585dd0904180612j4c36dc83r41b675c20923f6e5@mail.gmail.com> References: <29f585dd0904180612j4c36dc83r41b675c20923f6e5@mail.gmail.com> Message-ID: Hi Arthur, I have sent you the sources by private mail: Andy asked to not discuss Northwind.NET project here - I'm just announcing here major milestones we're getting through.... Thank you. -- Shamil P.S. Connection string "lives" in Northwind.NET.FE.exe.config file: .... ... -----Original Message----- From: Arthur Fuller To: Access Developers discussion and problem solving Date: Sat, 18 Apr 2009 09:12:26 -0400 Subject: Re: [AccessD] SCRUM/Northwind.NET Prerelease Published > Hi Shamil, > > Question: where does the connection string live? > Also, upon loading the EXE I immediately get a message that says there are > known compatibility issues with this version of Windows (Vista). I guess > that this means I should re-download the source code and rebuild it. I'm > using VS 2008, SQL 2008 Standard. > Finally, I have not heard from Mark regarding a user name and password so I > can connect to his server. > > Thanks, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Sat Apr 18 09:06:13 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 18 Apr 2009 07:06:13 -0700 Subject: [AccessD] Code timing??? In-Reply-To: References: <29f585dd0904162033v6d9144cdh758213b2ec6fee59@mail.gmail.com> <29f585dd0904162034y4fc4f000v1361296ef2b577b5@mail.gmail.com> Message-ID: <4dd71a0c0904180706y3bb22b74l989aaaad920afb6@mail.gmail.com> I've had so many problems with auto calculated totals on forms with multiple subforms that now I tend to do complex totalling in code. Like you, I've found that either the sequence of calculation is not what I expect. Sometimes doing a Recalc will cause #Error# to show in some subform total fields, but not consistently. I generally work in Access 2003. Doug Steele On Thu, Apr 16, 2009 at 9:18 PM, Mark A Matte wrote: > > > Hello All, > > > > Have an app I converted from 2.0 to A03...1 form has an issue updating. > When the save button is clicked...a number of things are done to the > data/fields updated...data from multiple subforms, is used to update a > number of fields on the main form. Then the 'totals' fields are calculated. > Apparently the totals fields are being calculated prior to the initial > updates being done??? > > From dbdoug at gmail.com Sat Apr 18 09:26:40 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 18 Apr 2009 07:26:40 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: References: Message-ID: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I get an > error in code in the Open event of the opening form - 'type mismatch'. It's > on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, CDO > for Windows 2000 Library (legacy app, you understand) , Calendar Control > for > 2007, Visual Basic for Applications Extensibility, Word 12.0 Object > Library, > and 12.0 Access database engine Objec (oops, ran off the side of the > References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From dbdoug at gmail.com Sat Apr 18 09:35:48 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 18 Apr 2009 07:35:48 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> Message-ID: <4dd71a0c0904180735v53faf820v4f6ea247dbff8657@mail.gmail.com> I just realized that when you open a 2003 database in 2007, you will get the DAO library if you were using it in 2003. If you then convert the 2003 database to 2007, Access replaces the DAO library with the Office database engine library. Doug Steele On Sat, Apr 18, 2009 at 7:26 AM, Doug Steele wrote: > I tried this in Access 2007, and found that it works with the following > references, in order: > VBA > MS Access 12.0 Object Library > OLE Automation > MS DAO 3.6 Object Library. > > If I try to add the MS Office 12.0 Access database engine... reference, I > get the same message as you, and the message goes away if I remove the DAO > library. So they conflict. > > However, if I replace the DAO library with the Office 12.0 Access database > engine library, the code starts working again. > > Doug > > > On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > >> Dear List: >> >> I converted an mdb to 2007 format - accdb. When I start the accdb I get an >> error in code in the Open event of the opening form - 'type mismatch'. >> It's >> on the line >> >> For each prp in db.Properties >> >> >> >> prp is Dimmed as Property >> >> db is Dimmed as CurrentDb >> >> References are set to VBA, Access 12.0 Object Library, OLE Automation, CDO >> for Windows 2000 Library (legacy app, you understand) , Calendar Control >> for >> 2007, Visual Basic for Applications Extensibility, Word 12.0 Object >> Library, >> and 12.0 Access database engine Objec (oops, ran off the side of the >> References Dialog box). >> >> Am I missing a reference? >> >> MTIA >> >> Rocky Smolin >> >> Beach Access Software >> >> 858-259-4334 >> >> www.e-z-mrp.com >> >> www.bchacc.com >> >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > From rockysmolin at bchacc.com Sat Apr 18 09:48:53 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Apr 2009 07:48:53 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> Message-ID: <38559DA9A33B44A1A69BACA5F06A0528@HAL9005> Doug: I made the switch but got the same error on the prp. SO I'm going to try A.D.'s suggestion and start with a clean accdb, add the libraries one at a time and see where the conflict is. Will update shortly. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 18, 2009 7:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I > get an error in code in the Open event of the opening form - 'type > mismatch'. It's on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > Control for 2007, Visual Basic for Applications Extensibility, Word > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > off the side of the References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Apr 18 10:35:10 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Apr 2009 08:35:10 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> Message-ID: So here's what I found: it was the Microsoft Visual Basic for Applications Extensibility 5.3 that was causing the problem. The app opens fine with that reference removed even with the Microsoft Office 12.0 Access Database Engine Object Library referenced. This is a massive application and so I'm going to let the client know what's up and let him test all the functions. But in general in 2007 what is lost when you remove the VBAE 5.3 library? And does anyone know if the DAO library is now part of the 12.0 Access Database Engine Object? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 18, 2009 7:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I > get an error in code in the Open event of the opening form - 'type > mismatch'. It's on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > Control for 2007, Visual Basic for Applications Extensibility, Word > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > off the side of the References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Apr 18 10:43:03 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Apr 2009 08:43:03 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> Message-ID: <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> Another oddity. With fld Dimmed as Field, the Access 2007 compiler barfs on fld.Name with "Method or data member not found" when compiling the accdb. But it will compile the mdb. Removing the reference to Word 12.0 library eliminates the compile problem in the accdb. Can anyone shed any light on this one? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 18, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem So here's what I found: it was the Microsoft Visual Basic for Applications Extensibility 5.3 that was causing the problem. The app opens fine with that reference removed even with the Microsoft Office 12.0 Access Database Engine Object Library referenced. This is a massive application and so I'm going to let the client know what's up and let him test all the functions. But in general in 2007 what is lost when you remove the VBAE 5.3 library? And does anyone know if the DAO library is now part of the 12.0 Access Database Engine Object? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 18, 2009 7:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I > get an error in code in the Open event of the opening form - 'type > mismatch'. It's on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > Control for 2007, Visual Basic for Applications Extensibility, Word > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > off the side of the References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Apr 18 11:39:10 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 18 Apr 2009 17:39:10 +0100 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> Message-ID: <49ea0233.0a04d00a.61ed.ffff8966@mx.google.com> Rocky, With all the problems you are having, here is what I would do. 1. Check that you have Versions 12 and not a mixture. 2. If 1. Is ok, then remove all the references and then compile. As each one chocks, look at what is hightlighted and the restore the reference for that and then keep repeating this. If at any time you add a new reference and it chocks on the same code as the previous time, remove the last reference added as that didn't cure the "current compile" problem (even if you know you will be adding it later). Slow and painstaking but may overcome a lot of frustration now and maybe further down the line. Once it compiles ok, make a note of all the references and then go back to the 03 version and compare. It sounds as though you have incompatibility with reference clashing. FWIW Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 18 April 2009 16:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem Another oddity. With fld Dimmed as Field, the Access 2007 compiler barfs on fld.Name with "Method or data member not found" when compiling the accdb. But it will compile the mdb. Removing the reference to Word 12.0 library eliminates the compile problem in the accdb. Can anyone shed any light on this one? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 18, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem So here's what I found: it was the Microsoft Visual Basic for Applications Extensibility 5.3 that was causing the problem. The app opens fine with that reference removed even with the Microsoft Office 12.0 Access Database Engine Object Library referenced. This is a massive application and so I'm going to let the client know what's up and let him test all the functions. But in general in 2007 what is lost when you remove the VBAE 5.3 library? And does anyone know if the DAO library is now part of the 12.0 Access Database Engine Object? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 18, 2009 7:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I > get an error in code in the Open event of the opening form - 'type > mismatch'. It's on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > Control for 2007, Visual Basic for Applications Extensibility, Word > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > off the side of the References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Apr 18 11:56:33 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Apr 2009 09:56:33 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <49ea0233.0a04d00a.61ed.ffff8966@mx.google.com> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> <49ea0233.0a04d00a.61ed.ffff8966@mx.google.com> Message-ID: <4A2E346CD88F4785AE76069521AFB2EB@HAL9005> Same way I found the 5.3 incompatibility problem then. Poop. Ok I'll do it and let you know. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Saturday, April 18, 2009 9:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem Rocky, With all the problems you are having, here is what I would do. 1. Check that you have Versions 12 and not a mixture. 2. If 1. Is ok, then remove all the references and then compile. As each one chocks, look at what is hightlighted and the restore the reference for that and then keep repeating this. If at any time you add a new reference and it chocks on the same code as the previous time, remove the last reference added as that didn't cure the "current compile" problem (even if you know you will be adding it later). Slow and painstaking but may overcome a lot of frustration now and maybe further down the line. Once it compiles ok, make a note of all the references and then go back to the 03 version and compare. It sounds as though you have incompatibility with reference clashing. FWIW Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 18 April 2009 16:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem Another oddity. With fld Dimmed as Field, the Access 2007 compiler barfs on fld.Name with "Method or data member not found" when compiling the accdb. But it will compile the mdb. Removing the reference to Word 12.0 library eliminates the compile problem in the accdb. Can anyone shed any light on this one? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 18, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Convert mdb to accdb Problem So here's what I found: it was the Microsoft Visual Basic for Applications Extensibility 5.3 that was causing the problem. The app opens fine with that reference removed even with the Microsoft Office 12.0 Access Database Engine Object Library referenced. This is a massive application and so I'm going to let the client know what's up and let him test all the functions. But in general in 2007 what is lost when you remove the VBAE 5.3 library? And does anyone know if the DAO library is now part of the 12.0 Access Database Engine Object? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 18, 2009 7:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem I tried this in Access 2007, and found that it works with the following references, in order: VBA MS Access 12.0 Object Library OLE Automation MS DAO 3.6 Object Library. If I try to add the MS Office 12.0 Access database engine... reference, I get the same message as you, and the message goes away if I remove the DAO library. So they conflict. However, if I replace the DAO library with the Office 12.0 Access database engine library, the code starts working again. Doug On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin wrote: > Dear List: > > I converted an mdb to 2007 format - accdb. When I start the accdb I > get an error in code in the Open event of the opening form - 'type > mismatch'. It's on the line > > For each prp in db.Properties > > > > prp is Dimmed as Property > > db is Dimmed as CurrentDb > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > Control for 2007, Visual Basic for Applications Extensibility, Word > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > off the side of the References Dialog box). > > Am I missing a reference? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Sat Apr 18 12:17:22 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 18 Apr 2009 10:17:22 -0700 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> Message-ID: <4dd71a0c0904181017p1cbc3076o967b9c622bea477b@mail.gmail.com> If you look at the object browser, there is a 'Field' object for DAO, Excel, and Word. The 'Field' object for Word doesn't have the member 'Name'. If your Word library reference is ABOVE the DAO/database library reference in your reference list, then when you define a Field, it will be a Word field, not a DAO field. Try dimming field as DAO.Field and see if this fixes it. Doug Steele On Sat, Apr 18, 2009 at 8:43 AM, Rocky Smolin wrote: > Another oddity. With fld Dimmed as Field, the Access 2007 compiler barfs > on > fld.Name with "Method or data member not found" when compiling the accdb. > But it will compile the mdb. Removing the reference to Word 12.0 library > eliminates the compile problem in the accdb. > > Can anyone shed any light on this one? > > MTIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Saturday, April 18, 2009 8:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Convert mdb to accdb Problem > > So here's what I found: it was the Microsoft Visual Basic for Applications > Extensibility 5.3 that was causing the problem. The app opens fine with > that reference removed even with the Microsoft Office 12.0 Access Database > Engine Object Library referenced. > > This is a massive application and so I'm going to let the client know > what's > up and let him test all the functions. But in general in 2007 what is lost > when you remove the VBAE 5.3 library? > > And does anyone know if the DAO library is now part of the 12.0 Access > Database Engine Object? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Saturday, April 18, 2009 7:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Convert mdb to accdb Problem > > I tried this in Access 2007, and found that it works with the following > references, in order: > VBA > MS Access 12.0 Object Library > OLE Automation > MS DAO 3.6 Object Library. > > If I try to add the MS Office 12.0 Access database engine... reference, I > get the same message as you, and the message goes away if I remove the DAO > library. So they conflict. > > However, if I replace the DAO library with the Office 12.0 Access database > engine library, the code starts working again. > > Doug > > > On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin >wrote: > > > Dear List: > > > > I converted an mdb to 2007 format - accdb. When I start the accdb I > > get an error in code in the Open event of the opening form - 'type > > mismatch'. It's on the line > > > > For each prp in db.Properties > > > > > > > > prp is Dimmed as Property > > > > db is Dimmed as CurrentDb > > > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > > Control for 2007, Visual Basic for Applications Extensibility, Word > > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > > off the side of the References Dialog box). > > > > Am I missing a reference? > > > > MTIA > > > > Rocky Smolin > > > > Beach Access Software > > > > 858-259-4334 > > > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Sat Apr 18 12:49:35 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 18 Apr 2009 18:49:35 +0100 Subject: [AccessD] Convert mdb to accdb Problem In-Reply-To: <4dd71a0c0904181017p1cbc3076o967b9c622bea477b@mail.gmail.com> References: <4dd71a0c0904180726j45ae86a3h3b67de296c7d63ef@mail.gmail.com> <7F7D39BC45FC4FC8BF7F5FAE8B9B363C@HAL9005> <4dd71a0c0904181017p1cbc3076o967b9c622bea477b@mail.gmail.com> Message-ID: <49ea12b2.1701d00a.7aae.ffffd13e@mx.google.com> Doug, that is very good and may well be the answer. It come back to good practices which is to fully define the parent of the object member. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 18 April 2009 18:17 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Convert mdb to accdb Problem If you look at the object browser, there is a 'Field' object for DAO, Excel, and Word. The 'Field' object for Word doesn't have the member 'Name'. If your Word library reference is ABOVE the DAO/database library reference in your reference list, then when you define a Field, it will be a Word field, not a DAO field. Try dimming field as DAO.Field and see if this fixes it. Doug Steele On Sat, Apr 18, 2009 at 8:43 AM, Rocky Smolin wrote: > Another oddity. With fld Dimmed as Field, the Access 2007 compiler barfs > on > fld.Name with "Method or data member not found" when compiling the accdb. > But it will compile the mdb. Removing the reference to Word 12.0 library > eliminates the compile problem in the accdb. > > Can anyone shed any light on this one? > > MTIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Saturday, April 18, 2009 8:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Convert mdb to accdb Problem > > So here's what I found: it was the Microsoft Visual Basic for Applications > Extensibility 5.3 that was causing the problem. The app opens fine with > that reference removed even with the Microsoft Office 12.0 Access Database > Engine Object Library referenced. > > This is a massive application and so I'm going to let the client know > what's > up and let him test all the functions. But in general in 2007 what is lost > when you remove the VBAE 5.3 library? > > And does anyone know if the DAO library is now part of the 12.0 Access > Database Engine Object? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Saturday, April 18, 2009 7:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Convert mdb to accdb Problem > > I tried this in Access 2007, and found that it works with the following > references, in order: > VBA > MS Access 12.0 Object Library > OLE Automation > MS DAO 3.6 Object Library. > > If I try to add the MS Office 12.0 Access database engine... reference, I > get the same message as you, and the message goes away if I remove the DAO > library. So they conflict. > > However, if I replace the DAO library with the Office 12.0 Access database > engine library, the code starts working again. > > Doug > > > On Fri, Apr 17, 2009 at 5:20 PM, Rocky Smolin >wrote: > > > Dear List: > > > > I converted an mdb to 2007 format - accdb. When I start the accdb I > > get an error in code in the Open event of the opening form - 'type > > mismatch'. It's on the line > > > > For each prp in db.Properties > > > > > > > > prp is Dimmed as Property > > > > db is Dimmed as CurrentDb > > > > References are set to VBA, Access 12.0 Object Library, OLE Automation, > > CDO for Windows 2000 Library (legacy app, you understand) , Calendar > > Control for 2007, Visual Basic for Applications Extensibility, Word > > 12.0 Object Library, and 12.0 Access database engine Objec (oops, ran > > off the side of the References Dialog box). > > > > Am I missing a reference? > > > > MTIA > > > > Rocky Smolin > > > > Beach Access Software > > > > 858-259-4334 > > > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From anitatiedemann at gmail.com Sun Apr 19 02:39:18 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Sun, 19 Apr 2009 17:39:18 +1000 Subject: [AccessD] Calculate first day of financial year Message-ID: Hi All, The financial year starts on the 1st of July in Australia. Does anyone out there have a nifty formula that I can use to calculate the first day of the current financial year based on todays date? Anita Smith From miscellany at mvps.org Sun Apr 19 03:10:13 2009 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 19 Apr 2009 20:10:13 +1200 Subject: [AccessD] Calculate first day of financial year In-Reply-To: References: Message-ID: Anita, Don't know if anyone will come up with one more elegant than: DateSerial(Year(Date())+(Month(Date())<7),7,1) Regards Steve -------------------------------------------------- From: "Anita Smith" Sent: Sunday, April 19, 2009 7:39 PM To: Subject: [AccessD] Calculate first day of financial year > Hi All, > The financial year starts on the 1st of July in Australia. > > Does anyone out there have a nifty formula that I can use to calculate the > first day of the current financial year based on todays date? > From anitatiedemann at gmail.com Sun Apr 19 03:20:08 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Sun, 19 Apr 2009 18:20:08 +1000 Subject: [AccessD] Calculate first day of financial year In-Reply-To: References: Message-ID: Thanks a ton Steve - that's pretty elegant - it goes straight to my toolbox. Anita On Sun, Apr 19, 2009 at 6:10 PM, Steve Schapel wrote: > Anita, > > Don't know if anyone will come up with one more elegant than: > DateSerial(Year(Date())+(Month(Date())<7),7,1) > > Regards > Steve > > > -------------------------------------------------- > From: "Anita Smith" > Sent: Sunday, April 19, 2009 7:39 PM > To: > Subject: [AccessD] Calculate first day of financial year > > > Hi All, > > The financial year starts on the 1st of July in Australia. > > > > Does anyone out there have a nifty formula that I can use to calculate > the > > first day of the current financial year based on todays date? > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sun Apr 19 04:57:15 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Apr 2009 11:57:15 +0200 Subject: [AccessD] Calculate first day of financial year Message-ID: Hi Anita I have used another (generic) method which is slightly different: Public Function DateFinancialFirst() As Date Dim datFin As Date Dim datNow As Date Dim datFirst As Date datNow = Date datFin = DateFinancial(datNow) datFirst = DateSerial(Year(datFin), 1 - DateDiff("m", datNow, datFin), 1) DateFinancialFirst = datFirst End Function Public Function DateFinancial( _ ByVal datDate As Date) _ As Date ' Number of months from start of calendar year to start of financial year. Const clngMonthOffset As Long = 3 Dim datFinancial As Date datFinancial = DateAdd("m", -clngMonthOffset, datDate) DateFinancial = datFinancial End Function You would need to adjust clngMonthOffset to 6 for your case. /gustav >>> miscellany at mvps.org 19-04-2009 10:10:13 >>> Anita, Don't know if anyone will come up with one more elegant than: DateSerial(Year(Date())+(Month(Date())<7),7,1) Regards Steve -------------------------------------------------- From: "Anita Smith" Sent: Sunday, April 19, 2009 7:39 PM To: Subject: [AccessD] Calculate first day of financial year > Hi All, > The financial year starts on the 1st of July in Australia. > > Does anyone out there have a nifty formula that I can use to calculate the > first day of the current financial year based on todays date? From mcp2004 at mail.ru Sun Apr 19 11:37:50 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Sun, 19 Apr 2009 20:37:50 +0400 Subject: [AccessD] Northwind.NET v.1.0 Released Message-ID: Hi All, Northwind.NET v.1.0 Sample Application's sources and executables are released today on CodePlex as planned. Here is the link: http://northwind.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26348 (watch line wraps) Please try to use this sample application and post your comments, remarks, proposals and reviews on CodePlex or on dba-VB. Thank you everybody who participated in this project and who supported it - in alphabetical order of first names: Arthur Fuller Doug Murphy Gustav Brock John Colby Mark Breen Mike Mattys as well as a few interested "lurkers" whom I do not mention here as I do not have their permission to do that - if you wanted please announce yourself here, and we will mention you within every new release notes as support group "pushing" us to keep going forward with this project. I do hope there will be more releases of this sample application coming in the future. Thank you. -- Shamil Salakhetdinov From rockysmolin at bchacc.com Tue Apr 21 11:22:59 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Apr 2009 09:22:59 -0700 Subject: [AccessD] msado15.dll Message-ID: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> Dear List: In the further adventures of the cockeyed references: In our last episode, the legacy 2003 app I'm working on could be converted from mdb to accdb but not compiled because of a references problem. Well, we got that straightened out. It had to do with the order of the references. We can apparently live without the DAO reference because (I'm guessing) the Microsoft Office 12.0 Access database engine Object takes care of all that. FYI here are the references and the order in which they allowed the compile to complete successfully: Visual Basic for Applications MS Access 12.0 Object Library MS Office 12.0 Access Database Engine Object OLE Automation MS Calendar Control 2007 MS Word 12.0 Object Library MS Visual Basic for Applications Extensibility 5.3 This order also resolved the compile problem of fld.Name where fld was Dimmed as Field. Now client has a problem creating an accde from this accdb. When he creates the accde he gets a rather elaborate message from Access with this "Your Microsoft Office Access database or project contains a missing or broken reference to the file 'msado15.dll' version 6.0. However he clicks OK,the accde is created, and it appears to run OK although not all functions in the accde have been tested. The client writes to me:"I Googled 'msado15.dll' like you suggest, and find I have it and so I register it like Microsoft says and the registration is successful. So I try to create accde and still get msg, but note it says 'msado15.dll' version 6. I have v. 2.81.1132.0 and cannot find a v.6 anywhere online. What version do you have? If you have v.6, would you email it to me?" So I did mail my version 6 to him. And he overwrote the old one and registered it. Now it gets even weirder. He writes :" I deleted the msado15.dll altogether and after a few seconds, it magically re-appeared, in the old version 2.81.1132.0. This is getting too weird for me.". Does anyone have a theory about why he's getting this reference message and why he can't get version 6 to stay put?. BTW, in the references dialog box no references are tagged as Missing, and the application compiles without an error. MTIA Rocky From cfoust at infostatsystems.com Tue Apr 21 12:41:52 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 21 Apr 2009 10:41:52 -0700 Subject: [AccessD] msado15.dll In-Reply-To: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> References: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> Message-ID: Just a guess, but did he unregister the old one first? When Microsoft decided to stop changing the name of that dll with each version change they seem to have created a bear trap. It's possible that trying to register a newer version only works if you unregister the old version first. HOWEVER, do you know if he has any apps that rely on the earlier version and hold onto it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 21, 2009 9:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] msado15.dll Dear List: In the further adventures of the cockeyed references: In our last episode, the legacy 2003 app I'm working on could be converted from mdb to accdb but not compiled because of a references problem. Well, we got that straightened out. It had to do with the order of the references. We can apparently live without the DAO reference because (I'm guessing) the Microsoft Office 12.0 Access database engine Object takes care of all that. FYI here are the references and the order in which they allowed the compile to complete successfully: Visual Basic for Applications MS Access 12.0 Object Library MS Office 12.0 Access Database Engine Object OLE Automation MS Calendar Control 2007 MS Word 12.0 Object Library MS Visual Basic for Applications Extensibility 5.3 This order also resolved the compile problem of fld.Name where fld was Dimmed as Field. Now client has a problem creating an accde from this accdb. When he creates the accde he gets a rather elaborate message from Access with this "Your Microsoft Office Access database or project contains a missing or broken reference to the file 'msado15.dll' version 6.0. However he clicks OK,the accde is created, and it appears to run OK although not all functions in the accde have been tested. The client writes to me:"I Googled 'msado15.dll' like you suggest, and find I have it and so I register it like Microsoft says and the registration is successful. So I try to create accde and still get msg, but note it says 'msado15.dll' version 6. I have v. 2.81.1132.0 and cannot find a v.6 anywhere online. What version do you have? If you have v.6, would you email it to me?" So I did mail my version 6 to him. And he overwrote the old one and registered it. Now it gets even weirder. He writes :" I deleted the msado15.dll altogether and after a few seconds, it magically re-appeared, in the old version 2.81.1132.0. This is getting too weird for me.". Does anyone have a theory about why he's getting this reference message and why he can't get version 6 to stay put?. BTW, in the references dialog box no references are tagged as Missing, and the application compiles without an error. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Apr 21 12:49:45 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 21 Apr 2009 13:49:45 -0400 Subject: [AccessD] msado15.dll References: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> Message-ID: <998DE3175C574ABD912C06ACE1E79DB2@jislaptopdev> Rocky ...the right question may be why you have a version 6 of the file? ...afaik the current version is 2.81.1132.0 ...a current win system repair will probably automatically replace any attempt to install an older version of it ...which is what it sounds like is happening to your client ...that version should be found in your windows/servicepackfiles directory assuming you are keeping your win updates/service packs current. ...I'd check your system first for current updates and then think about repackaging your app with the current version to see if that fixes your client's problem William -------------------------------------------------- From: "Rocky Smolin" Sent: Tuesday, April 21, 2009 12:22 PM To: "'Access Developers discussion and problem solving'" Subject: [AccessD] msado15.dll > Dear List: > > In the further adventures of the cockeyed references: > > In our last episode, the legacy 2003 app I'm working on could be converted > from mdb to accdb but not compiled because of a references problem. Well, > we got that straightened out. It had to do with the order of the > references. We can apparently live without the DAO reference because (I'm > guessing) the Microsoft Office 12.0 Access database engine Object takes > care > of all that. > > FYI here are the references and the order in which they allowed the > compile > to complete successfully: > > Visual Basic for Applications > MS Access 12.0 Object Library > MS Office 12.0 Access Database Engine Object > OLE Automation > MS Calendar Control 2007 > MS Word 12.0 Object Library > MS Visual Basic for Applications Extensibility 5.3 > > This order also resolved the compile problem of fld.Name where fld was > Dimmed as Field. > > Now client has a problem creating an accde from this accdb. When he > creates > the accde he gets a rather elaborate message from Access with this "Your > Microsoft Office Access database or project contains a missing or broken > reference to the file 'msado15.dll' version 6.0. However he clicks OK,the > accde is created, and it appears to run OK although not all functions in > the > accde have been tested. > > The client writes to me:"I Googled 'msado15.dll' like you suggest, and > find > I have it and so I register it like Microsoft says and the registration is > successful. So I try to create accde and still get msg, but note it says > 'msado15.dll' version 6. I have v. 2.81.1132.0 and cannot find a v.6 > anywhere online. What version do you have? If you have v.6, would you > email it to me?" > > So I did mail my version 6 to him. And he overwrote the old one and > registered it. Now it gets even weirder. He writes :" I deleted the > msado15.dll altogether and after a few seconds, it magically re-appeared, > in > the old version 2.81.1132.0. This is getting too weird for me.". > > Does anyone have a theory about why he's getting this reference message > and > why he can't get version 6 to stay put?. > > BTW, in the references dialog box no references are tagged as Missing, and > the application compiles without an error. > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Tue Apr 21 13:11:08 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Apr 2009 11:11:08 -0700 Subject: [AccessD] msado15.dll In-Reply-To: References: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> Message-ID: <0F979705E7DF4B7F9536A1B19817374C@HAL9005> Charlotte: Thanks for your response. I'll forward to the client. I don't know if he unregistered the old one first. Sounds like not, huh? I also told him to search for other copies of the dll and get rid of them. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 21, 2009 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] msado15.dll Just a guess, but did he unregister the old one first? When Microsoft decided to stop changing the name of that dll with each version change they seem to have created a bear trap. It's possible that trying to register a newer version only works if you unregister the old version first. HOWEVER, do you know if he has any apps that rely on the earlier version and hold onto it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 21, 2009 9:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] msado15.dll Dear List: In the further adventures of the cockeyed references: In our last episode, the legacy 2003 app I'm working on could be converted from mdb to accdb but not compiled because of a references problem. Well, we got that straightened out. It had to do with the order of the references. We can apparently live without the DAO reference because (I'm guessing) the Microsoft Office 12.0 Access database engine Object takes care of all that. FYI here are the references and the order in which they allowed the compile to complete successfully: Visual Basic for Applications MS Access 12.0 Object Library MS Office 12.0 Access Database Engine Object OLE Automation MS Calendar Control 2007 MS Word 12.0 Object Library MS Visual Basic for Applications Extensibility 5.3 This order also resolved the compile problem of fld.Name where fld was Dimmed as Field. Now client has a problem creating an accde from this accdb. When he creates the accde he gets a rather elaborate message from Access with this "Your Microsoft Office Access database or project contains a missing or broken reference to the file 'msado15.dll' version 6.0. However he clicks OK,the accde is created, and it appears to run OK although not all functions in the accde have been tested. The client writes to me:"I Googled 'msado15.dll' like you suggest, and find I have it and so I register it like Microsoft says and the registration is successful. So I try to create accde and still get msg, but note it says 'msado15.dll' version 6. I have v. 2.81.1132.0 and cannot find a v.6 anywhere online. What version do you have? If you have v.6, would you email it to me?" So I did mail my version 6 to him. And he overwrote the old one and registered it. Now it gets even weirder. He writes :" I deleted the msado15.dll altogether and after a few seconds, it magically re-appeared, in the old version 2.81.1132.0. This is getting too weird for me.". Does anyone have a theory about why he's getting this reference message and why he can't get version 6 to stay put?. BTW, in the references dialog box no references are tagged as Missing, and the application compiles without an error. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Apr 21 13:14:17 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Apr 2009 11:14:17 -0700 Subject: [AccessD] msado15.dll In-Reply-To: <998DE3175C574ABD912C06ACE1E79DB2@jislaptopdev> References: <7B4018E5D2CA4285A0132BE499351E65@HAL9005> <998DE3175C574ABD912C06ACE1E79DB2@jislaptopdev> Message-ID: <67A8C39CE08E4F3EA4C4DE13D97964A9@HAL9005> I have office pro plus. Don't know if he's running that or not. But I'll forward your response to him and see if that sheds any light. Apparently though, the solution to his problem is to get Version 6. I don't know why, or why I have version 6 and not version 2. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, April 21, 2009 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] msado15.dll Rocky ...the right question may be why you have a version 6 of the file? ...afaik the current version is 2.81.1132.0 ...a current win system repair will probably automatically replace any attempt to install an older version of it ...which is what it sounds like is happening to your client ...that version should be found in your windows/servicepackfiles directory assuming you are keeping your win updates/service packs current. ...I'd check your system first for current updates and then think about repackaging your app with the current version to see if that fixes your client's problem William -------------------------------------------------- From: "Rocky Smolin" Sent: Tuesday, April 21, 2009 12:22 PM To: "'Access Developers discussion and problem solving'" Subject: [AccessD] msado15.dll > Dear List: > > In the further adventures of the cockeyed references: > > In our last episode, the legacy 2003 app I'm working on could be > converted from mdb to accdb but not compiled because of a references > problem. Well, we got that straightened out. It had to do with the > order of the references. We can apparently live without the DAO > reference because (I'm > guessing) the Microsoft Office 12.0 Access database engine Object > takes care of all that. > > FYI here are the references and the order in which they allowed the > compile to complete successfully: > > Visual Basic for Applications > MS Access 12.0 Object Library > MS Office 12.0 Access Database Engine Object OLE Automation MS > Calendar Control 2007 MS Word 12.0 Object Library MS Visual Basic for > Applications Extensibility 5.3 > > This order also resolved the compile problem of fld.Name where fld was > Dimmed as Field. > > Now client has a problem creating an accde from this accdb. When he > creates the accde he gets a rather elaborate message from Access with > this "Your Microsoft Office Access database or project contains a > missing or broken reference to the file 'msado15.dll' version 6.0. > However he clicks OK,the accde is created, and it appears to run OK > although not all functions in the accde have been tested. > > The client writes to me:"I Googled 'msado15.dll' like you suggest, and > find I have it and so I register it like Microsoft says and the > registration is successful. So I try to create accde and still get > msg, but note it says 'msado15.dll' version 6. I have v. 2.81.1132.0 > and cannot find a v.6 anywhere online. What version do you have? If > you have v.6, would you email it to me?" > > So I did mail my version 6 to him. And he overwrote the old one and > registered it. Now it gets even weirder. He writes :" I deleted the > msado15.dll altogether and after a few seconds, it magically > re-appeared, in the old version 2.81.1132.0. This is getting too > weird for me.". > > Does anyone have a theory about why he's getting this reference > message and why he can't get version 6 to stay put?. > > BTW, in the references dialog box no references are tagged as Missing, > and the application compiles without an error. > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 21 16:45:33 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Apr 2009 17:45:33 -0400 Subject: [AccessD] Second wireless at other end of house Message-ID: <49EE3E7D.9030805@colbyconsulting.com> I have a cable modem, hooked to a wireless router with 4 ports. One of those ports goes to an 8 port switch which is the network in my office. The wireless is turned on and broadcasting on channel 11. I have a cable running to the other end of the house which currently plugs directly into my Media Center machine which feeds my TV. I have a second wireless router. I want to place that router at the other end of the cable downstairs and use it for two things. 1) To feed the cable to the Media Center PC. 2) To broadcast another wireless signal allowing stronger signal wireless at the far end of the house. I would then set the wireless in this router to channel 1 so that the signals are far away from each other in the spectrum. I can do #1 by simply plugging in the cable from my office to one of the four LAN ports and plugging my Media Center into another LAN port, i.e. use the router as a simple switch. I haven't a clue how to get #2 to work. I have tried everything I can think of but it simply doesn't work. Does anyone have a similar setup functioning? -- John W. Colby www.ColbyConsulting.com From DWUTKA at Marlow.com Tue Apr 21 16:58:02 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 21 Apr 2009 16:58:02 -0500 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EE3E7D.9030805@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> Message-ID: What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? We used to use DLink wireless access points for wireless access here at Marlow. It worked fine, as long as they were plugged into our network. The only real issue is that in one building we had two, and windows wouldn't automatically switch to the stronger signal. This is because Windows sees two separate APs. And it is deferring to your wireless settings, so it connects to the first one, and if you move, it doesn't drop to a stronger signal unless you tell it too. We now have Cisco wireless access points, which work off of a centralized controller. All of the access points are seen as the same WLAN, so the strongest signal is picked up. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 21, 2009 4:46 PM To: Access Developers discussion and problem solving Subject: [AccessD] Second wireless at other end of house I have a cable modem, hooked to a wireless router with 4 ports. One of those ports goes to an 8 port switch which is the network in my office. The wireless is turned on and broadcasting on channel 11. I have a cable running to the other end of the house which currently plugs directly into my Media Center machine which feeds my TV. I have a second wireless router. I want to place that router at the other end of the cable downstairs and use it for two things. 1) To feed the cable to the Media Center PC. 2) To broadcast another wireless signal allowing stronger signal wireless at the far end of the house. I would then set the wireless in this router to channel 1 so that the signals are far away from each other in the spectrum. I can do #1 by simply plugging in the cable from my office to one of the four LAN ports and plugging my Media Center into another LAN port, i.e. use the router as a simple switch. I haven't a clue how to get #2 to work. I have tried everything I can think of but it simply doesn't work. Does anyone have a similar setup functioning? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Tue Apr 21 17:27:00 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Apr 2009 18:27:00 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: References: <49EE3E7D.9030805@colbyconsulting.com> Message-ID: <49EE4834.1020109@colbyconsulting.com> > What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? A cat 5. It runs a gigabit signal from the gigabit switch down from my upstairs office through the basement to the other end of the house, and up behind my TV, and then into the WMC computer. I occasionally have guests come and want to connect down at the other end of the house, even downstairs directly below the living room. I figured if I could get this thing to just broadcast the messages coming off that cable (act as an access point) then there would be a second signal, complete with its own channel and its own AP name. I can't seem to do it, but I am not a network guy so I may be missing something simple. Do I need to feed the cable into the WAN of the second router? My network uses the IP range 192.168.122.X, with the DHCP Server in the first router being 192.168.122.1. and the AP name C2Db2. I assume that I need to turn off the second router DHCP Server. It was serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning that "widget" (the piece of the second router that has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I did so it gave me a warning that I was now on a different subnet and my computer wouldn't be able to see it. Which was true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I would just have to log back on to the latter address and be able to see the router there. No dice. I have tried running the cable from the switch into the WAN and into one of the 4 LAN ports but in no case can my laptop see the second wireless AP. I am baffled. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > What kind of 'cable' is running to the other end of the house? Another > coax, or a Cat-5? > > We used to use DLink wireless access points for wireless access here at > Marlow. It worked fine, as long as they were plugged into our network. > The only real issue is that in one building we had two, and windows > wouldn't automatically switch to the stronger signal. > > This is because Windows sees two separate APs. And it is deferring to > your wireless settings, so it connects to the first one, and if you > move, it doesn't drop to a stronger signal unless you tell it too. > > We now have Cisco wireless access points, which work off of a > centralized controller. All of the access points are seen as the same > WLAN, so the strongest signal is picked up. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 4:46 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Second wireless at other end of house > > I have a cable modem, hooked to a wireless router with 4 ports. One of > those ports goes to an 8 > port switch which is the network in my office. The wireless is turned > on and broadcasting on > channel 11. > > I have a cable running to the other end of the house which currently > plugs directly into my Media > Center machine which feeds my TV. > > I have a second wireless router. I want to place that router at the > other end of the cable > downstairs and use it for two things. > > 1) To feed the cable to the Media Center PC. > 2) To broadcast another wireless signal allowing stronger signal > wireless at the far end of the > house. I would then set the wireless in this router to channel 1 so > that the signals are far away > from each other in the spectrum. > > I can do #1 by simply plugging in the cable from my office to one of the > four LAN ports and plugging > my Media Center into another LAN port, i.e. use the router as a simple > switch. > > I haven't a clue how to get #2 to work. I have tried everything I can > think of but it simply > doesn't work. > > Does anyone have a similar setup functioning? > From rockysmolin at bchacc.com Tue Apr 21 17:58:47 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 21 Apr 2009 15:58:47 -0700 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EE4834.1020109@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> Message-ID: <6FB1024C1F8149DBA14D1AC3C4C62D66@HAL9005> John: I know this is not as sexy as daisy chained routers but I wired up the whole house with these: http://www.netgear.com/Products/PowerlineNetworking/PowerlineEthernetAdapter s/XE102.aspx And now I have no more problems with wireless. They're flawless, fast, plug and go. Just like having a hard wire. Want to carry around your laptop and you're out of wireless range? Take one of these and plug it into the wall wherever you go. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 21, 2009 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Second wireless at other end of house > What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? A cat 5. It runs a gigabit signal from the gigabit switch down from my upstairs office through the basement to the other end of the house, and up behind my TV, and then into the WMC computer. I occasionally have guests come and want to connect down at the other end of the house, even downstairs directly below the living room. I figured if I could get this thing to just broadcast the messages coming off that cable (act as an access point) then there would be a second signal, complete with its own channel and its own AP name. I can't seem to do it, but I am not a network guy so I may be missing something simple. Do I need to feed the cable into the WAN of the second router? My network uses the IP range 192.168.122.X, with the DHCP Server in the first router being 192.168.122.1. and the AP name C2Db2. I assume that I need to turn off the second router DHCP Server. It was serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning that "widget" (the piece of the second router that has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I did so it gave me a warning that I was now on a different subnet and my computer wouldn't be able to see it. Which was true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I would just have to log back on to the latter address and be able to see the router there. No dice. I have tried running the cable from the switch into the WAN and into one of the 4 LAN ports but in no case can my laptop see the second wireless AP. I am baffled. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > What kind of 'cable' is running to the other end of the house? > Another coax, or a Cat-5? > > We used to use DLink wireless access points for wireless access here > at Marlow. It worked fine, as long as they were plugged into our network. > The only real issue is that in one building we had two, and windows > wouldn't automatically switch to the stronger signal. > > This is because Windows sees two separate APs. And it is deferring to > your wireless settings, so it connects to the first one, and if you > move, it doesn't drop to a stronger signal unless you tell it too. > > We now have Cisco wireless access points, which work off of a > centralized controller. All of the access points are seen as the same > WLAN, so the strongest signal is picked up. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 4:46 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Second wireless at other end of house > > I have a cable modem, hooked to a wireless router with 4 ports. One > of those ports goes to an 8 port switch which is the network in my > office. The wireless is turned on and broadcasting on channel 11. > > I have a cable running to the other end of the house which currently > plugs directly into my Media Center machine which feeds my TV. > > I have a second wireless router. I want to place that router at the > other end of the cable downstairs and use it for two things. > > 1) To feed the cable to the Media Center PC. > 2) To broadcast another wireless signal allowing stronger signal > wireless at the far end of the house. I would then set the wireless > in this router to channel 1 so that the signals are far away from each > other in the spectrum. > > I can do #1 by simply plugging in the cable from my office to one of > the four LAN ports and plugging my Media Center into another LAN port, > i.e. use the router as a simple switch. > > I haven't a clue how to get #2 to work. I have tried everything I can > think of but it simply doesn't work. > > Does anyone have a similar setup functioning? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Tue Apr 21 23:58:24 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 22 Apr 2009 14:58:24 +1000 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <6FB1024C1F8149DBA14D1AC3C4C62D66@HAL9005> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <6FB1024C1F8149DBA14D1AC3C4C62D66@HAL9005> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139E7@WPEXCH22.retail.ad.cmltd.net.au> John, These are good, but be aware that they only work if both the source and target units are on the same internal circuit. In don't know about US domestic properties, but in AussieLand we usually have 2 or even 3 separate power circuits within the property so these things don't always work as you want. Just check that out before purchase if you choose to go down that path. regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 22 April 2009 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Second wireless at other end of house John: I know this is not as sexy as daisy chained routers but I wired up the whole house with these: http://www.netgear.com/Products/PowerlineNetworking/PowerlineEthernetAdapter s/XE102.aspx And now I have no more problems with wireless. They're flawless, fast, plug and go. Just like having a hard wire. Want to carry around your laptop and you're out of wireless range? Take one of these and plug it into the wall wherever you go. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 21, 2009 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Second wireless at other end of house > What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? A cat 5. It runs a gigabit signal from the gigabit switch down from my upstairs office through the basement to the other end of the house, and up behind my TV, and then into the WMC computer. I occasionally have guests come and want to connect down at the other end of the house, even downstairs directly below the living room. I figured if I could get this thing to just broadcast the messages coming off that cable (act as an access point) then there would be a second signal, complete with its own channel and its own AP name. I can't seem to do it, but I am not a network guy so I may be missing something simple. Do I need to feed the cable into the WAN of the second router? My network uses the IP range 192.168.122.X, with the DHCP Server in the first router being 192.168.122.1. and the AP name C2Db2. I assume that I need to turn off the second router DHCP Server. It was serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning that "widget" (the piece of the second router that has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I did so it gave me a warning that I was now on a different subnet and my computer wouldn't be able to see it. Which was true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I would just have to log back on to the latter address and be able to see the router there. No dice. I have tried running the cable from the switch into the WAN and into one of the 4 LAN ports but in no case can my laptop see the second wireless AP. I am baffled. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > What kind of 'cable' is running to the other end of the house? > Another coax, or a Cat-5? > > We used to use DLink wireless access points for wireless access here > at Marlow. It worked fine, as long as they were plugged into our network. > The only real issue is that in one building we had two, and windows > wouldn't automatically switch to the stronger signal. > > This is because Windows sees two separate APs. And it is deferring to > your wireless settings, so it connects to the first one, and if you > move, it doesn't drop to a stronger signal unless you tell it too. > > We now have Cisco wireless access points, which work off of a > centralized controller. All of the access points are seen as the same > WLAN, so the strongest signal is picked up. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 4:46 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Second wireless at other end of house > > I have a cable modem, hooked to a wireless router with 4 ports. One > of those ports goes to an 8 port switch which is the network in my > office. The wireless is turned on and broadcasting on channel 11. > > I have a cable running to the other end of the house which currently > plugs directly into my Media Center machine which feeds my TV. > > I have a second wireless router. I want to place that router at the > other end of the cable downstairs and use it for two things. > > 1) To feed the cable to the Media Center PC. > 2) To broadcast another wireless signal allowing stronger signal > wireless at the far end of the house. I would then set the wireless > in this router to channel 1 so that the signals are far away from each > other in the spectrum. > > I can do #1 by simply plugging in the cable from my office to one of > the four LAN ports and plugging my Media Center into another LAN port, > i.e. use the router as a simple switch. > > I haven't a clue how to get #2 to work. I have tried everything I can > think of but it simply doesn't work. > > Does anyone have a similar setup functioning? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From jwcolby at colbyconsulting.com Wed Apr 22 07:05:53 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Apr 2009 08:05:53 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F139E7@WPEXCH22.retail.ad.cmltd.net.au> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <6FB1024C1F8149DBA14D1AC3C4C62D66@HAL9005> <57E6E6CA42105A48B977303A2CDC27200815F139E7@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <49EF0821.7030908@colbyconsulting.com> Darryl, > These are good, but be aware that they only work if both the source and target units are on the same internal circuit. I have this very issue, which also prevents an intercom I bought from working. The house was built in two parts, the main house and an add-on years later. The add-on has its own circuits. Beyond all of that, every laptop has a built-in network card these days. Those LAN over AC work (sometimes) but they are not cheap and the cost is on a "per PC" basis to replace something already built in to the laptop. I could see it (if it worked) to get to one hard to reach spot but not as a general solution for the entire house. John W. Colby www.ColbyConsulting.com Darryl Collins wrote: > John, > > These are good, but be aware that they only work if both the source and target units are on the same internal circuit. In don't know about US domestic properties, but in AussieLand we usually have 2 or even 3 separate power circuits within the property so these things don't always work as you want. > > Just check that out before purchase if you choose to go down that path. > > regards > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, 22 April 2009 8:59 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Second wireless at other end of house > > John: > > I know this is not as sexy as daisy chained routers but I wired up the whole > house with these: > > http://www.netgear.com/Products/PowerlineNetworking/PowerlineEthernetAdapter > s/XE102.aspx > > And now I have no more problems with wireless. They're flawless, fast, plug > and go. Just like having a hard wire. > > Want to carry around your laptop and you're out of wireless range? Take one > of these and plug it into the wall wherever you go. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 3:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Second wireless at other end of house > > > What kind of 'cable' is running to the other end of the house? Another > coax, or a Cat-5? > > A cat 5. It runs a gigabit signal from the gigabit switch down from my > upstairs office through the basement to the other end of the house, and up > behind my TV, and then into the WMC computer. > > I occasionally have guests come and want to connect down at the other end of > the house, even downstairs directly below the living room. I figured if I > could get this thing to just broadcast the messages coming off that cable > (act as an access point) then there would be a second signal, complete with > its own channel and its own AP name. > > I can't seem to do it, but I am not a network guy so I may be missing > something simple. > > > Do I need to feed the cable into the WAN of the second router? > > My network uses the IP range 192.168.122.X, with the DHCP Server in the > first router being 192.168.122.1. and the AP name C2Db2. > > I assume that I need to turn off the second router DHCP Server. It was > serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning > that "widget" (the piece of the second router that has an IP address to AP > name C2Db3 and the address 192.168.122.99 but when I did so it gave me a > warning that I was now on a different subnet and my computer wouldn't be > able to see it. Which was true, suddenly I couldn't "see it" via the web > address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I > would just have to log back on to the latter address and be able to see the > router there. No dice. > > I have tried running the cable from the switch into the WAN and into one of > the 4 LAN ports but in no case can my laptop see the second wireless AP. > > I am baffled. > > John W. Colby > www.ColbyConsulting.com > > > Drew Wutka wrote: >> What kind of 'cable' is running to the other end of the house? >> Another coax, or a Cat-5? >> >> We used to use DLink wireless access points for wireless access here >> at Marlow. It worked fine, as long as they were plugged into our network. >> The only real issue is that in one building we had two, and windows >> wouldn't automatically switch to the stronger signal. >> >> This is because Windows sees two separate APs. And it is deferring to >> your wireless settings, so it connects to the first one, and if you >> move, it doesn't drop to a stronger signal unless you tell it too. >> >> We now have Cisco wireless access points, which work off of a >> centralized controller. All of the access points are seen as the same >> WLAN, so the strongest signal is picked up. >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, April 21, 2009 4:46 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Second wireless at other end of house >> >> I have a cable modem, hooked to a wireless router with 4 ports. One >> of those ports goes to an 8 port switch which is the network in my >> office. The wireless is turned on and broadcasting on channel 11. >> >> I have a cable running to the other end of the house which currently >> plugs directly into my Media Center machine which feeds my TV. >> >> I have a second wireless router. I want to place that router at the >> other end of the cable downstairs and use it for two things. >> >> 1) To feed the cable to the Media Center PC. >> 2) To broadcast another wireless signal allowing stronger signal >> wireless at the far end of the house. I would then set the wireless >> in this router to channel 1 so that the signals are far away from each >> other in the spectrum. >> >> I can do #1 by simply plugging in the cable from my office to one of >> the four LAN ports and plugging my Media Center into another LAN port, >> i.e. use the router as a simple switch. >> >> I haven't a clue how to get #2 to work. I have tried everything I can >> think of but it simply doesn't work. >> >> Does anyone have a similar setup functioning? >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Wed Apr 22 08:26:08 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Apr 2009 09:26:08 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EE4834.1020109@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> Message-ID: <7D22259373B8431D9E70BB6E39A4CF31@XPS> John, No, you definitely don't want the cable on the WAN port. If you do that, you'll have another router in affect. Right now, with everything in a LAN port, your 2nd wireless router is simply acting as a repeater. The channel setup is somewhere in the router's configuration. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 21, 2009 6:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Second wireless at other end of house > What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? A cat 5. It runs a gigabit signal from the gigabit switch down from my upstairs office through the basement to the other end of the house, and up behind my TV, and then into the WMC computer. I occasionally have guests come and want to connect down at the other end of the house, even downstairs directly below the living room. I figured if I could get this thing to just broadcast the messages coming off that cable (act as an access point) then there would be a second signal, complete with its own channel and its own AP name. I can't seem to do it, but I am not a network guy so I may be missing something simple. Do I need to feed the cable into the WAN of the second router? My network uses the IP range 192.168.122.X, with the DHCP Server in the first router being 192.168.122.1. and the AP name C2Db2. I assume that I need to turn off the second router DHCP Server. It was serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning that "widget" (the piece of the second router that has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I did so it gave me a warning that I was now on a different subnet and my computer wouldn't be able to see it. Which was true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I would just have to log back on to the latter address and be able to see the router there. No dice. I have tried running the cable from the switch into the WAN and into one of the 4 LAN ports but in no case can my laptop see the second wireless AP. I am baffled. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > What kind of 'cable' is running to the other end of the house? Another > coax, or a Cat-5? > > We used to use DLink wireless access points for wireless access here at > Marlow. It worked fine, as long as they were plugged into our network. > The only real issue is that in one building we had two, and windows > wouldn't automatically switch to the stronger signal. > > This is because Windows sees two separate APs. And it is deferring to > your wireless settings, so it connects to the first one, and if you > move, it doesn't drop to a stronger signal unless you tell it too. > > We now have Cisco wireless access points, which work off of a > centralized controller. All of the access points are seen as the same > WLAN, so the strongest signal is picked up. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 4:46 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Second wireless at other end of house > > I have a cable modem, hooked to a wireless router with 4 ports. One of > those ports goes to an 8 > port switch which is the network in my office. The wireless is turned > on and broadcasting on > channel 11. > > I have a cable running to the other end of the house which currently > plugs directly into my Media > Center machine which feeds my TV. > > I have a second wireless router. I want to place that router at the > other end of the cable > downstairs and use it for two things. > > 1) To feed the cable to the Media Center PC. > 2) To broadcast another wireless signal allowing stronger signal > wireless at the far end of the > house. I would then set the wireless in this router to channel 1 so > that the signals are far away > from each other in the spectrum. > > I can do #1 by simply plugging in the cable from my office to one of the > four LAN ports and plugging > my Media Center into another LAN port, i.e. use the router as a simple > switch. > > I haven't a clue how to get #2 to work. I have tried everything I can > think of but it simply > doesn't work. > > Does anyone have a similar setup functioning? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Apr 22 08:27:13 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Apr 2009 09:27:13 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQL Server on the Web Message-ID: I received this from a reader. Any thoughts? Susan H. are feeling wonderfully benevolent, here goes. I volunteer for a charity which uses Access for the membership system and we want to make it multi-user over the web. I believe I can achieve it by: 1.. Migrating the data to SQL server 2.. Installing the Access Runtime on the remote users' PCs 3.. Serving the database over Citrix Do you think this is: 1.. a good idea 2.. insane From jwcolby at colbyconsulting.com Wed Apr 22 09:48:19 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Apr 2009 10:48:19 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQL Server on the Web In-Reply-To: References: Message-ID: <49EF2E33.1020601@colbyconsulting.com> My understanding is that this is not how it is done. Having the runtime installed on the local machine implies running the FE on the local machine. The connections to the database, whether MDB or SQL Server would then be happening over the internet and the internet (all by itself) does not guarantee packet delivery. Then on top of that you have connectivity issues as well as packet timing issues, delays etc. Access (JET / FE) does NOT LIKE the internet, and using it in this manner can corrupt MDBs. Connecting to a SQL Server might make that problem go away (SQL Server would not corrupt per se) however you still have the issue of dropped packets Using Citrix means that the FE is run on a server at the other end, one copy of the FE per user. Citrix is a "thin client" kind of thing where mouse / keyboard are sent to the server, and video (screen data) is returned to the local workstation. This works just fine AFAIK. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > I received this from a reader. Any thoughts? > > Susan H. > > are feeling wonderfully benevolent, here goes. > > > I volunteer for a charity which uses Access for the membership system and we > want to make it multi-user over the web. I believe I can achieve it by: > > 1.. Migrating the data to SQL server > 2.. Installing the Access Runtime on the remote users' PCs > 3.. Serving the database over Citrix > > > Do you think this is: > > 1.. a good idea > 2.. insane > > From Lambert.Heenan at aiuholdings.com Wed Apr 22 09:50:13 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 22 Apr 2009 10:50:13 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EF0821.7030908@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <6FB1024C1F8149DBA14D1AC3C4C62D66@HAL9005> <57E6E6CA42105A48B977303A2CDC27200815F139E7@WPEXCH22.retail.ad.cmltd.net.au> <49EF0821.7030908@colbyconsulting.com> Message-ID: Well with one of these (A Mac Airport Express)... http://store.apple.com/us/product/MB321?afid=p202|GOUSE104936891&cid=OAS-US-KWG-WiFi-US I have very easily extended the range of my WiFi router. The Airport is normally used as a very simple Wireless Access point, where you hook your (non-WiFi) router to the Ethernet port on the box, but it can also be configures as a repeater (or is 'bridge' the right term?) when it is just plugged into the power outlet on the wall, and it connects to and retransmits the existing WiFi signal. As an added bonus, using Apple's Bonjour software, you can plug a USB printer into the USB port on the device and that printer can them be used by any computer on the LAN. In effect the Airport Express is acting as a print server too. Another thing you might be able to try is to update the firmware on your wireless router. I use a LynkSys WRT54G and after flashing the firmware with 3rd party software (DD-WRT) amongst other things I was able to considerably boot the power of transmission. That combined with the Airport gives me full coverage at home, including the garden. Take a look here... http://lifehacker.com/software/router/hack-attack-turn-your-60-router-into-a-600-router-178132.php Lambert From jwcolby at colbyconsulting.com Wed Apr 22 09:56:53 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Apr 2009 10:56:53 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <7D22259373B8431D9E70BB6E39A4CF31@XPS> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <7D22259373B8431D9E70BB6E39A4CF31@XPS> Message-ID: <49EF3035.8010800@colbyconsulting.com> Well, I thought I had it running. The laptops downstairs could see the second AP but could not communicate over it. Even the Windows Media Center plugged directly into the second router could not see the internet. BTW it did not matter whether I plugged the cable from upstairs into the WAN or the switch (LAN ports) the WMC computer could not get to the internet. I had set up fixed IP addresses for both MACS in the second router. It turns out that the WAN has a MAC address and the WAN has a MAC address. I gave each of them individual IP addresses (.122.98 and .122.99), and was able to get at the second router setup stuff through the WAN IP address when the cable was plugged into the WAN port. I turned off the firewall in the second router. I turned off the DHCP server in the second router. I turned on broadcasting the router tables, both ways, in both routers. Everything APPEARED to be working when I had it plugged in up in my office but when I moved it downstairs... no joy. Sigh. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > John, > > No, you definitely don't want the cable on the WAN port. If you do that, > you'll have another router in affect. Right now, with everything in a LAN > port, your 2nd wireless router is simply acting as a repeater. > > The channel setup is somewhere in the router's configuration. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 6:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Second wireless at other end of house > > > What kind of 'cable' is running to the other end of the house? Another > coax, or a Cat-5? > > A cat 5. It runs a gigabit signal from the gigabit switch down from my > upstairs office through the > basement to the other end of the house, and up behind my TV, and then into > the WMC computer. > > I occasionally have guests come and want to connect down at the other end of > the house, even > downstairs directly below the living room. I figured if I could get this > thing to just broadcast > the messages coming off that cable (act as an access point) then there would > be a second signal, > complete with its own channel and its own AP name. > > I can't seem to do it, but I am not a network guy so I may be missing > something simple. > > > Do I need to feed the cable into the WAN of the second router? > > My network uses the IP range 192.168.122.X, with the DHCP Server in the > first router being > 192.168.122.1. and the AP name C2Db2. > > I assume that I need to turn off the second router DHCP Server. It was > serving up 192.168.0.X and > its address was 192.168.0.1. I tried assigning that "widget" (the piece of > the second router that > has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I > did so it gave me a > warning that I was now on a different subnet and my computer wouldn't be > able to see it. Which was > true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the > address 192.168.122.99. I > kind of figured I would just have to log back on to the latter address and > be able to see the router > there. No dice. > > I have tried running the cable from the switch into the WAN and into one of > the 4 LAN ports but in > no case can my laptop see the second wireless AP. > > I am baffled. > > John W. Colby > www.ColbyConsulting.com From ssharkins at gmail.com Wed Apr 22 09:58:08 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Apr 2009 10:58:08 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQL Server on the Web References: <49EF2E33.1020601@colbyconsulting.com> Message-ID: <5FE4ECCA627A4AEA8FE4486C9F0FB5BA@SusanOne> John, it isn't how I would go about it either, but thought I'd ask around. Susan H. > My understanding is that this is not how it is done. From DWUTKA at Marlow.com Wed Apr 22 11:28:10 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 22 Apr 2009 11:28:10 -0500 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EE4834.1020109@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> Message-ID: Ok, you need to setup your second AP to receive it's IP address through DHCP, plug it into the LAN ports of your original wireless router, and you need to give it a different name. So when you are in the other section of your house you will have to manually connect to the other AP. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 21, 2009 5:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Second wireless at other end of house > What kind of 'cable' is running to the other end of the house? Another coax, or a Cat-5? A cat 5. It runs a gigabit signal from the gigabit switch down from my upstairs office through the basement to the other end of the house, and up behind my TV, and then into the WMC computer. I occasionally have guests come and want to connect down at the other end of the house, even downstairs directly below the living room. I figured if I could get this thing to just broadcast the messages coming off that cable (act as an access point) then there would be a second signal, complete with its own channel and its own AP name. I can't seem to do it, but I am not a network guy so I may be missing something simple. Do I need to feed the cable into the WAN of the second router? My network uses the IP range 192.168.122.X, with the DHCP Server in the first router being 192.168.122.1. and the AP name C2Db2. I assume that I need to turn off the second router DHCP Server. It was serving up 192.168.0.X and its address was 192.168.0.1. I tried assigning that "widget" (the piece of the second router that has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I did so it gave me a warning that I was now on a different subnet and my computer wouldn't be able to see it. Which was true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the address 192.168.122.99. I kind of figured I would just have to log back on to the latter address and be able to see the router there. No dice. I have tried running the cable from the switch into the WAN and into one of the 4 LAN ports but in no case can my laptop see the second wireless AP. I am baffled. John W. Colby www.ColbyConsulting.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Wed Apr 22 11:37:48 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 22 Apr 2009 11:37:48 -0500 Subject: [AccessD] Office 2007 and .Net Message-ID: Since I was promoted to being the Network Systems Admin here, I have done very little development, so I feel a little out of the loop. The other day, someone asked me when we are planning on moving our company to Office 2007. Right now, we have no real plans to do so. We are currently using Office 2003. The people that were asking are using Visual Studio 2005, to work on a custom project. They want to be able to use Excel to test their code. More specifically, they want to take the code from Visual Studio (I believe they are coding in VB.NET), and paste it into an Excel macro to test it...... Now, from my understanding, that won't work, because Excel uses VBA, not .NET, so the code won't work like that. I was being told that they though Office 2007 would work like that, but as far as I know, Office 2007 still uses VBA. Now, I know that you can interact (with any version of Excel or another Office application) from .NET (or almost any programming language). But they specifically want to be able to take .NET functions/classes and use them in a macro in Excel (without compiling as a .dll). Am I correct in my assumption that 2007 still uses VBA, and not .NET for it's macro language? And does anyone know if/when Office will be moving to the new language structure? Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Wed Apr 22 11:51:23 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Apr 2009 12:51:23 -0400 Subject: [AccessD] Office 2007 and .Net In-Reply-To: References: Message-ID: <49EF4B0B.10208@colbyconsulting.com> I will say that I do not use 2007 however AFAIK it still uses VBA. Obviously going to .Net would instantly break any office objects from previous versions so my guess is that it will not happen any time soon. It would require a clean break on the part of the users and obviously recoding any "macros" as they are called for existing Excel apps using vba (or any other office apps). It sure would be cool though to have .net executed natively inside of Office. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > Since I was promoted to being the Network Systems Admin here, I have > done very little development, so I feel a little out of the loop. > > > > The other day, someone asked me when we are planning on moving our > company to Office 2007. Right now, we have no real plans to do so. We > are currently using Office 2003. The people that were asking are using > Visual Studio 2005, to work on a custom project. They want to be able > to use Excel to test their code. More specifically, they want to take > the code from Visual Studio (I believe they are coding in VB.NET), and > paste it into an Excel macro to test it...... > > > > Now, from my understanding, that won't work, because Excel uses VBA, not > .NET, so the code won't work like that. I was being told that they > though Office 2007 would work like that, but as far as I know, Office > 2007 still uses VBA. Now, I know that you can interact (with any > version of Excel or another Office application) from .NET (or almost any > programming language). But they specifically want to be able to take > .NET functions/classes and use them in a macro in Excel (without > compiling as a .dll). > > > > Am I correct in my assumption that 2007 still uses VBA, and not .NET for > it's macro language? And does anyone know if/when Office will be moving > to the new language structure? > > > > Drew > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > From mmattys at rochester.rr.com Wed Apr 22 11:55:30 2009 From: mmattys at rochester.rr.com (Mike Mattys) Date: Wed, 22 Apr 2009 12:55:30 -0400 Subject: [AccessD] Office 2007 and .Net References: Message-ID: You're correct, Drew. Interesting problem for Microsoft, too. No incentive to learn .Net for us "old folks" if it backward compatible to VBA. I suppose they'll just have to cut us off at some point ... - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Wednesday, April 22, 2009 12:37 PM Subject: [AccessD] Office 2007 and .Net > Since I was promoted to being the Network Systems Admin here, I have > done very little development, so I feel a little out of the loop. > > > > The other day, someone asked me when we are planning on moving our > company to Office 2007. Right now, we have no real plans to do so. We > are currently using Office 2003. The people that were asking are using > Visual Studio 2005, to work on a custom project. They want to be able > to use Excel to test their code. More specifically, they want to take > the code from Visual Studio (I believe they are coding in VB.NET), and > paste it into an Excel macro to test it...... > > > > Now, from my understanding, that won't work, because Excel uses VBA, not > .NET, so the code won't work like that. I was being told that they > though Office 2007 would work like that, but as far as I know, Office > 2007 still uses VBA. Now, I know that you can interact (with any > version of Excel or another Office application) from .NET (or almost any > programming language). But they specifically want to be able to take > .NET functions/classes and use them in a macro in Excel (without > compiling as a .dll). > > > > Am I correct in my assumption that 2007 still uses VBA, and not .NET for > it's macro language? And does anyone know if/when Office will be moving > to the new language structure? > > > > Drew > > > The information contained in this transmission is intended only for the > person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI > Business > Sensitive material. If you are not the intended recipient, please contact > the sender > immediately and destroy the material in its entirety, whether electronic > or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, > or other use of, or taking of any action in reliance upon this information > by persons > or entities other than the intended recipient is prohibited. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Apr 22 12:06:25 2009 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 22 Apr 2009 10:06:25 -0700 Subject: [AccessD] Office 2007 and .Net In-Reply-To: References: Message-ID: <009AF5BCB46D4E58B0B43AC9382DF9AD@murphy3234aaf1> I believe that there is a package called Visual Studio Tools for Office 2007 that makes it easier to integrate VS apps with Office. Look at the Office web site. I am not sure you even need that as it is easy to build dlls in VS and hook them into Office apps if you want to add some functionality VBA can't provide. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, April 22, 2009 9:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2007 and .Net Since I was promoted to being the Network Systems Admin here, I have done very little development, so I feel a little out of the loop. The other day, someone asked me when we are planning on moving our company to Office 2007. Right now, we have no real plans to do so. We are currently using Office 2003. The people that were asking are using Visual Studio 2005, to work on a custom project. They want to be able to use Excel to test their code. More specifically, they want to take the code from Visual Studio (I believe they are coding in VB.NET), and paste it into an Excel macro to test it...... Now, from my understanding, that won't work, because Excel uses VBA, not .NET, so the code won't work like that. I was being told that they though Office 2007 would work like that, but as far as I know, Office 2007 still uses VBA. Now, I know that you can interact (with any version of Excel or another Office application) from .NET (or almost any programming language). But they specifically want to be able to take .NET functions/classes and use them in a macro in Excel (without compiling as a .dll). Am I correct in my assumption that 2007 still uses VBA, and not .NET for it's macro language? And does anyone know if/when Office will be moving to the new language structure? Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Apr 22 12:16:06 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Apr 2009 13:16:06 -0400 Subject: [AccessD] Office 2007 and .Net References: Message-ID: <556C032A230D46B3B9573F60CC9AB0BE@SusanOne> > The other day, someone asked me when we are planning on moving our > company to Office 2007. Right now, we have no real plans to do so. We > are currently using Office 2003. The people that were asking are using > Visual Studio 2005, to work on a custom project. They want to be able > to use Excel to test their code. More specifically, they want to take > the code from Visual Studio (I believe they are coding in VB.NET), and > paste it into an Excel macro to test it...... =====I can't help but ask why? If they're developing a custom project, why can't they test their code in its own .exe file? Susan H. From DWUTKA at Marlow.com Wed Apr 22 12:51:41 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 22 Apr 2009 12:51:41 -0500 Subject: [AccessD] Office 2007 and .Net In-Reply-To: <49EF4B0B.10208@colbyconsulting.com> References: <49EF4B0B.10208@colbyconsulting.com> Message-ID: Ok, so I'm not as out of the loop as I feared...LOL! Thanks, Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 22, 2009 11:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 and .Net I will say that I do not use 2007 however AFAIK it still uses VBA. Obviously going to .Net would instantly break any office objects from previous versions so my guess is that it will not happen any time soon. It would require a clean break on the part of the users and obviously recoding any "macros" as they are called for existing Excel apps using vba (or any other office apps). It sure would be cool though to have .net executed natively inside of Office. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > Since I was promoted to being the Network Systems Admin here, I have > done very little development, so I feel a little out of the loop. > > > > The other day, someone asked me when we are planning on moving our > company to Office 2007. Right now, we have no real plans to do so. We > are currently using Office 2003. The people that were asking are using > Visual Studio 2005, to work on a custom project. They want to be able > to use Excel to test their code. More specifically, they want to take > the code from Visual Studio (I believe they are coding in VB.NET), and > paste it into an Excel macro to test it...... > > > > Now, from my understanding, that won't work, because Excel uses VBA, not > .NET, so the code won't work like that. I was being told that they > though Office 2007 would work like that, but as far as I know, Office > 2007 still uses VBA. Now, I know that you can interact (with any > version of Excel or another Office application) from .NET (or almost any > programming language). But they specifically want to be able to take > .NET functions/classes and use them in a macro in Excel (without > compiling as a .dll). > > > > Am I correct in my assumption that 2007 still uses VBA, and not .NET for > it's macro language? And does anyone know if/when Office will be moving > to the new language structure? > > > > Drew > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Wed Apr 22 12:53:51 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 22 Apr 2009 12:53:51 -0500 Subject: [AccessD] Office 2007 and .Net In-Reply-To: <009AF5BCB46D4E58B0B43AC9382DF9AD@murphy3234aaf1> References: <009AF5BCB46D4E58B0B43AC9382DF9AD@murphy3234aaf1> Message-ID: Ok, I think this is what they were thinking. But what they really are asking for is that they don't want to have to build an interface, they just want to plop a .NET object/function into an Excel macro (not as a .dll, but just pasting the code (so they can tweak it as they use it)) and use the spreadsheet as the interface. >From what I saw, it doesn't look like VSTO actually does that, just provides a nice platform to interact between the two. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 22, 2009 12:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 and .Net I believe that there is a package called Visual Studio Tools for Office 2007 that makes it easier to integrate VS apps with Office. Look at the Office web site. I am not sure you even need that as it is easy to build dlls in VS and hook them into Office apps if you want to add some functionality VBA can't provide. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, April 22, 2009 9:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2007 and .Net Since I was promoted to being the Network Systems Admin here, I have done very little development, so I feel a little out of the loop. The other day, someone asked me when we are planning on moving our company to Office 2007. Right now, we have no real plans to do so. We are currently using Office 2003. The people that were asking are using Visual Studio 2005, to work on a custom project. They want to be able to use Excel to test their code. More specifically, they want to take the code from Visual Studio (I believe they are coding in VB.NET), and paste it into an Excel macro to test it...... Now, from my understanding, that won't work, because Excel uses VBA, not .NET, so the code won't work like that. I was being told that they though Office 2007 would work like that, but as far as I know, Office 2007 still uses VBA. Now, I know that you can interact (with any version of Excel or another Office application) from .NET (or almost any programming language). But they specifically want to be able to take .NET functions/classes and use them in a macro in Excel (without compiling as a .dll). Am I correct in my assumption that 2007 still uses VBA, and not .NET for it's macro language? And does anyone know if/when Office will be moving to the new language structure? Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Wed Apr 22 12:55:42 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 22 Apr 2009 12:55:42 -0500 Subject: [AccessD] Office 2007 and .Net In-Reply-To: <556C032A230D46B3B9573F60CC9AB0BE@SusanOne> References: <556C032A230D46B3B9573F60CC9AB0BE@SusanOne> Message-ID: LOL. There is a good reason for that.... they aren't programmers. They are engineers who are fiddling with programming. So while they are more then able to use the programming tools, they are relative newbies, and hopelessly addicted to excel...LOL. I talked with someone that is somewhat involved with this, and he is going to look into having the group meet with me to discuss OOP a bit, and see if I can steer them away from a train wreck. What they are doing could be a really awesome system, but it could very easily end up being a total wreck! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 22, 2009 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 and .Net > The other day, someone asked me when we are planning on moving our > company to Office 2007. Right now, we have no real plans to do so. We > are currently using Office 2003. The people that were asking are using > Visual Studio 2005, to work on a custom project. They want to be able > to use Excel to test their code. More specifically, they want to take > the code from Visual Studio (I believe they are coding in VB.NET), and > paste it into an Excel macro to test it...... =====I can't help but ask why? If they're developing a custom project, why can't they test their code in its own .exe file? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jimdettman at verizon.net Wed Apr 22 13:21:27 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Apr 2009 14:21:27 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EF3035.8010800@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <7D22259373B8431D9E70BB6E39A4CF31@XPS> <49EF3035.8010800@colbyconsulting.com> Message-ID: <595513E7D1AC45E58192E312C7136111@XPS> John, Here's what you do: 1. Disconnect all cables from the 2nd router. 2. Power off, hold the rest switch and power on. You should be back to factory defaults at this point. Make sure you know what the username and password is to access the router before doing this. 3. Cable a laptop to the LAN port of the 2nd router that is set to autoconfig for the network settings and boot. Make sure the wireless card is disabled if it has one. 4. Login to the router via web page. 5. Turn off DHCP. 6. Assign a static LAN IP address that is not in the first routers pool. For example, if you first router has an address of: 192.168.122.1 and a pool of 10 address from 192.168.122.10 - 192.168.122.19, assign the 2nd router an address of 192.168.122.2 Doesn't matter what the address is, just that it is fixed and not in the first routers DHCP pool of address that might get handed out. For this 2nd router, nothing on the WAN side matters as nothing will be connected to that port. Because everything is connected on the LAN side, it's simply acting as a switch. 7. Shutdown the laptop and turn off the 2nd router. 8. Connect a cable from the 1st routers LAN port to the 2nd routers LAN port. 9. Power on the 2nd router. Make sure you have a link light on the cable from the first router. 10. Wait a minute or so and turn on the laptop. After boot, you should now be able to access the Internet. 11. Now connect your media center to a LAN port on the 2nd router. Check Internet connectivity. 12. Access the 2nd routers config via a web page and set the wireless communication parameters (ie. Chanel). 13. Set the wireless security (method and key). 14. Using the same laptop as you did before, re-enable the wireless card and reboot. 15. After boot, use the laptops wireless config utility to see the 2nd router. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 22, 2009 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Second wireless at other end of house Well, I thought I had it running. The laptops downstairs could see the second AP but could not communicate over it. Even the Windows Media Center plugged directly into the second router could not see the internet. BTW it did not matter whether I plugged the cable from upstairs into the WAN or the switch (LAN ports) the WMC computer could not get to the internet. I had set up fixed IP addresses for both MACS in the second router. It turns out that the WAN has a MAC address and the WAN has a MAC address. I gave each of them individual IP addresses (.122.98 and .122.99), and was able to get at the second router setup stuff through the WAN IP address when the cable was plugged into the WAN port. I turned off the firewall in the second router. I turned off the DHCP server in the second router. I turned on broadcasting the router tables, both ways, in both routers. Everything APPEARED to be working when I had it plugged in up in my office but when I moved it downstairs... no joy. Sigh. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > John, > > No, you definitely don't want the cable on the WAN port. If you do that, > you'll have another router in affect. Right now, with everything in a LAN > port, your 2nd wireless router is simply acting as a repeater. > > The channel setup is somewhere in the router's configuration. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 21, 2009 6:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Second wireless at other end of house > > > What kind of 'cable' is running to the other end of the house? Another > coax, or a Cat-5? > > A cat 5. It runs a gigabit signal from the gigabit switch down from my > upstairs office through the > basement to the other end of the house, and up behind my TV, and then into > the WMC computer. > > I occasionally have guests come and want to connect down at the other end of > the house, even > downstairs directly below the living room. I figured if I could get this > thing to just broadcast > the messages coming off that cable (act as an access point) then there would > be a second signal, > complete with its own channel and its own AP name. > > I can't seem to do it, but I am not a network guy so I may be missing > something simple. > > > Do I need to feed the cable into the WAN of the second router? > > My network uses the IP range 192.168.122.X, with the DHCP Server in the > first router being > 192.168.122.1. and the AP name C2Db2. > > I assume that I need to turn off the second router DHCP Server. It was > serving up 192.168.0.X and > its address was 192.168.0.1. I tried assigning that "widget" (the piece of > the second router that > has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I > did so it gave me a > warning that I was now on a different subnet and my computer wouldn't be > able to see it. Which was > true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the > address 192.168.122.99. I > kind of figured I would just have to log back on to the latter address and > be able to see the router > there. No dice. > > I have tried running the cable from the switch into the WAN and into one of > the 4 LAN ports but in > no case can my laptop see the second wireless AP. > > I am baffled. > > John W. Colby > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Apr 22 14:48:18 2009 From: marksimms at verizon.net (Mark Simms) Date: Wed, 22 Apr 2009 15:48:18 -0400 Subject: [AccessD] Office 2007 and .Net In-Reply-To: References: <556C032A230D46B3B9573F60CC9AB0BE@SusanOne> Message-ID: <001d01c9c383$48c54630$0501a8c0@MSIMMSWS> For engineering apps, it's best to go with pure C/C++ and interface to Excel via DLL. The DLL effectively replaces slower VBA code. I believe the DLL could be built using Visual Studio and the dot-net platform, but of course the CLR will be required. Here is a nice product that may just be the ticket: http://www.calc4web.com/ Code in Excel, execute native DLLs. What they are asking for is a pipedream IMHO. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Wednesday, April 22, 2009 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Office 2007 and .Net > > LOL. > > There is a good reason for that.... they aren't programmers. > They are engineers who are fiddling with programming. > > So while they are more then able to use the programming > tools, they are relative newbies, and hopelessly addicted to > excel...LOL. I talked with someone that is somewhat involved > with this, and he is going to look into having the group meet > with me to discuss OOP a bit, and see if I can steer them > away from a train wreck. What they are doing could be a > really awesome system, but it could very easily end up being > a total wreck! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, April 22, 2009 12:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Office 2007 and .Net > > > The other day, someone asked me when we are planning on moving our > > company to Office 2007. Right now, we have no real plans to > do so. We > > are currently using Office 2003. The people that were asking are > using > > Visual Studio 2005, to work on a custom project. They want > to be able > > to use Excel to test their code. More specifically, they > want to take > > the code from Visual Studio (I believe they are coding in > VB.NET), and > > paste it into an Excel macro to test it...... > > =====I can't help but ask why? If they're developing a custom > project, why can't they test their code in its own .exe file? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information > contained in this transmission is intended only for the > person or entity to which it is addressed and may contain > II-VI Proprietary and/or II-VI Business Sensitive material. > If you are not the intended recipient, please contact the > sender immediately and destroy the material in its entirety, > whether electronic or hard copy. > You are notified that any review, retransmission, copying, > disclosure, dissemination, or other use of, or taking of any > action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Apr 22 15:25:24 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Apr 2009 16:25:24 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <595513E7D1AC45E58192E312C7136111@XPS> References: <49EE3E7D.9030805@colbyconsulting.com> <49EE4834.1020109@colbyconsulting.com> <7D22259373B8431D9E70BB6E39A4CF31@XPS> <49EF3035.8010800@colbyconsulting.com> <595513E7D1AC45E58192E312C7136111@XPS> Message-ID: <49EF7D34.5060805@colbyconsulting.com> Wow, thanks for that. I may try that eventually. What I just finished doing is to move the cable modem down into the basement on the wall where the cable comes into the house. The cable phone modem is already there, and I had previously placed a un-interruptible power supply there to feed that phone modem. So I just placed the cable modem and wireless modem right next to that. So the wireless is now in the basement, but it is directly in the middle of the house (on an outside wall actually), and directly under my wife's office. She now has a wireless signal to noise of about 56, where she used to have about a 36-40. Quite an improvement of course and to be expected since she is literally about 8 feet directly above the wireless transmitter. Unfortunately now I have to do some cable cutting and install new connectors in the middle. I had a long cable running from my office down a 1" PVC pipe directly down into the basement, then from there down the length of the house to the living room. When I moved in to the house, the upstairs end was just thrown out into the attic next to my office (next to the PVC pipe), and the downstairs end was just hanging in a loop. I pulled the upstairs end into my office and connected it to the gigabit switch, and then pulled the downstairs end down the house to the living room wall and up behind my media center PC. Now I have to cut that cable in half, put connectors on the cut ends and plug it into the wireless router's switch which is now downstairs. In the end it makes sense to do this, but I had resisted because I had to do the cutting and crimping of connectors on the cable, and also because everyone said that the wireless should be above, not below the laptops. Oh well. Mary has a very strong signal and keeping the wife happy is of paramount importance. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > John, > > Here's what you do: > > 1. Disconnect all cables from the 2nd router. > > 2. Power off, hold the rest switch and power on. You should be back to > factory defaults at this point. Make sure you know what the username and > password is to access the router before doing this. > > 3. Cable a laptop to the LAN port of the 2nd router that is set to > autoconfig for the network settings and boot. Make sure the wireless card > is disabled if it has one. > > 4. Login to the router via web page. > > 5. Turn off DHCP. > > 6. Assign a static LAN IP address that is not in the first routers pool. > For example, if you first router has an address of: > > 192.168.122.1 and a pool of 10 address from 192.168.122.10 - > 192.168.122.19, assign the 2nd router an address of 192.168.122.2 > > Doesn't matter what the address is, just that it is fixed and not in the > first routers DHCP pool of address that might get handed out. > > For this 2nd router, nothing on the WAN side matters as nothing will be > connected to that port. Because everything is connected on the LAN side, > it's simply acting as a switch. > > 7. Shutdown the laptop and turn off the 2nd router. > > 8. Connect a cable from the 1st routers LAN port to the 2nd routers LAN > port. > > 9. Power on the 2nd router. Make sure you have a link light on the cable > from the first router. > > 10. Wait a minute or so and turn on the laptop. After boot, you should now > be able to access the Internet. > > 11. Now connect your media center to a LAN port on the 2nd router. Check > Internet connectivity. > > 12. Access the 2nd routers config via a web page and set the wireless > communication parameters (ie. Chanel). > > 13. Set the wireless security (method and key). > > 14. Using the same laptop as you did before, re-enable the wireless card and > reboot. > > 15. After boot, use the laptops wireless config utility to see the 2nd > router. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, April 22, 2009 10:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Second wireless at other end of house > > Well, I thought I had it running. The laptops downstairs could see the > second AP but could not > communicate over it. Even the Windows Media Center plugged directly into > the second router could > not see the internet. BTW it did not matter whether I plugged the cable > from upstairs into the WAN > or the switch (LAN ports) the WMC computer could not get to the internet. > > I had set up fixed IP addresses for both MACS in the second router. It > turns out that the WAN has a > MAC address and the WAN has a MAC address. I gave each of them individual > IP addresses (.122.98 and > .122.99), and was able to get at the second router setup stuff through the > WAN IP address when the > cable was plugged into the WAN port. I turned off the firewall in the > second router. I turned off > the DHCP server in the second router. I turned on broadcasting the router > tables, both ways, in > both routers. > > Everything APPEARED to be working when I had it plugged in up in my office > but when I moved it > downstairs... no joy. > > Sigh. > > John W. Colby > www.ColbyConsulting.com > > > Jim Dettman wrote: >> John, >> >> No, you definitely don't want the cable on the WAN port. If you do > that, >> you'll have another router in affect. Right now, with everything in a LAN >> port, your 2nd wireless router is simply acting as a repeater. >> >> The channel setup is somewhere in the router's configuration. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, April 21, 2009 6:27 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Second wireless at other end of house >> >> > What kind of 'cable' is running to the other end of the house? Another >> coax, or a Cat-5? >> >> A cat 5. It runs a gigabit signal from the gigabit switch down from my >> upstairs office through the >> basement to the other end of the house, and up behind my TV, and then into >> the WMC computer. >> >> I occasionally have guests come and want to connect down at the other end > of >> the house, even >> downstairs directly below the living room. I figured if I could get this >> thing to just broadcast >> the messages coming off that cable (act as an access point) then there > would >> be a second signal, >> complete with its own channel and its own AP name. >> >> I can't seem to do it, but I am not a network guy so I may be missing >> something simple. >> >> >> Do I need to feed the cable into the WAN of the second router? >> >> My network uses the IP range 192.168.122.X, with the DHCP Server in the >> first router being >> 192.168.122.1. and the AP name C2Db2. >> >> I assume that I need to turn off the second router DHCP Server. It was >> serving up 192.168.0.X and >> its address was 192.168.0.1. I tried assigning that "widget" (the piece > of >> the second router that >> has an IP address to AP name C2Db3 and the address 192.168.122.99 but when > I >> did so it gave me a >> warning that I was now on a different subnet and my computer wouldn't be >> able to see it. Which was >> true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the >> address 192.168.122.99. I >> kind of figured I would just have to log back on to the latter address and >> be able to see the router >> there. No dice. >> >> I have tried running the cable from the switch into the WAN and into one > of >> the 4 LAN ports but in >> no case can my laptop see the second wireless AP. >> >> I am baffled. >> >> John W. Colby >> www.ColbyConsulting.com > From Darryl.Collins at coles.com.au Wed Apr 22 18:28:40 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 23 Apr 2009 09:28:40 +1000 Subject: [AccessD] From a reader -- about migrating Access data to SQL Server on the Web In-Reply-To: References: Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139EF@WPEXCH22.retail.ad.cmltd.net.au> 1: Using DTS or similar this should be pretty painless for just the data tables. The work will be in writing the sprocs and views you need I would think 2: I would be very tempted to build something browser based rather than using Access 3: out of my league.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 22 April 2009 11:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] From a reader -- about migrating Access data to SQL Server on the Web I received this from a reader. Any thoughts? Susan H. are feeling wonderfully benevolent, here goes. I volunteer for a charity which uses Access for the membership system and we want to make it multi-user over the web. I believe I can achieve it by: 1.. Migrating the data to SQL server 2.. Installing the Access Runtime on the remote users' PCs 3.. Serving the database over Citrix Do you think this is: 1.. a good idea 2.. insane -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Darryl.Collins at coles.com.au Wed Apr 22 18:33:36 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 23 Apr 2009 09:33:36 +1000 Subject: [AccessD] Office 2007 and .Net In-Reply-To: References: <009AF5BCB46D4E58B0B43AC9382DF9AD@murphy3234aaf1> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F139F0@WPEXCH22.retail.ad.cmltd.net.au> Not going to happen. Excel 2007 uses VBA just like the other version, the VBE is *exactly* the same as it was back in Office97 (no surprises there I guess). Actually moving from earlier versions of XL to XL2007 has been pretty painless and all the VBA code has worked without error so far. Wish I could same the same of MS Access, which has been a real pig to use. oh well... So, no - dropping in .Net into an XL2007 Code module is not going to work. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, 23 April 2009 3:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 and .Net Ok, I think this is what they were thinking. But what they really are asking for is that they don't want to have to build an interface, they just want to plop a .NET object/function into an Excel macro (not as a .dll, but just pasting the code (so they can tweak it as they use it)) and use the spreadsheet as the interface. >From what I saw, it doesn't look like VSTO actually does that, just provides a nice platform to interact between the two. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 22, 2009 12:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 and .Net I believe that there is a package called Visual Studio Tools for Office 2007 that makes it easier to integrate VS apps with Office. Look at the Office web site. I am not sure you even need that as it is easy to build dlls in VS and hook them into Office apps if you want to add some functionality VBA can't provide. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, April 22, 2009 9:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2007 and .Net Since I was promoted to being the Network Systems Admin here, I have done very little development, so I feel a little out of the loop. The other day, someone asked me when we are planning on moving our company to Office 2007. Right now, we have no real plans to do so. We are currently using Office 2003. The people that were asking are using Visual Studio 2005, to work on a custom project. They want to be able to use Excel to test their code. More specifically, they want to take the code from Visual Studio (I believe they are coding in VB.NET), and paste it into an Excel macro to test it...... Now, from my understanding, that won't work, because Excel uses VBA, not .NET, so the code won't work like that. I was being told that they though Office 2007 would work like that, but as far as I know, Office 2007 still uses VBA. Now, I know that you can interact (with any version of Excel or another Office application) from .NET (or almost any programming language). But they specifically want to be able to take .NET functions/classes and use them in a macro in Excel (without compiling as a .dll). Am I correct in my assumption that 2007 still uses VBA, and not .NET for it's macro language? And does anyone know if/when Office will be moving to the new language structure? Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From ssharkins at gmail.com Wed Apr 22 18:51:29 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Apr 2009 19:51:29 -0400 Subject: [AccessD] From a reader -- about migrating Access data toSQL Server on the Web References: <57E6E6CA42105A48B977303A2CDC27200815F139EF@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <87A9FBF0C6B445ADA94D840348ADEA25@SusanOne> > 3: out of my league.... =======Yeah, me too. ;) Susan h. From rockysmolin at bchacc.com Wed Apr 22 19:11:25 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Apr 2009 17:11:25 -0700 Subject: [AccessD] Variable line height Message-ID: Dear List: Client has a report with two Can Grow text boxes side by side. He wants a vertical line down the middle of the report separating the two boxes. The two text boxes will vary in height, of course, depending on the data. How can the height of the line be set to run vertically down the full length of the detail section of the report where these two boxes are. You can't change the height of the line in the Print event, and the height of the box is apparently not yet set (per a MsgBox I inserted) in the Format event? MTIA Rocky From erbachs at gmail.com Wed Apr 22 20:00:05 2009 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 22 Apr 2009 20:00:05 -0500 Subject: [AccessD] Variable line height In-Reply-To: References: Message-ID: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> Rocky, Well, you could print the report on a pre-printed form that has a line down the middle!! Just kidding! I've done something similar with columnar reports to provide both vertical and horizontal lines in a grid. I CHEATED! That is, I set the detail area background color to gray and then I made sure that all the text boxes are wide and high enough to leave just a smidgin of space between rows and columns. The background color then shows through in between text boxes and gives the effect of grid lines. Of course, if you've got text boxes that grow, then there will be large areas of gray where one box isn't as tall as the one next to it. For what it's worth, I've never cared for the inability of Access to make grids in the report designer. Are you saying that there's just two side-by-side text boxes per page? Or might there be several pairs of boxes, one pair in each detail row? I'm temporizing...I've never run across anything that did what you want in a simple fashion. I suppose that there are Report events one could rely on to change the height of a dividing line...but I'll bet very few people use them. Steve Erbach Neenah, WI On Wed, Apr 22, 2009 at 7:11 PM, Rocky Smolin wrote: > Dear List: > > Client has a report with two Can Grow text boxes side by side. ?He wants a > vertical line down the middle of the report separating the two boxes. The > two text boxes will vary in height, of course, depending on the data. How > can the height of the line be set to run vertically down the full length of > the detail section of the report where these two boxes are. ?You can't > change the height of the line in the Print event, and the height of the box > is apparently not yet set (per a MsgBox I inserted) in the Format event? > > MTIA > > Rocky From bheid at sc.rr.com Wed Apr 22 21:00:21 2009 From: bheid at sc.rr.com (Bobby Heid) Date: Wed, 22 Apr 2009 22:00:21 -0400 Subject: [AccessD] Variable line height In-Reply-To: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> References: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> Message-ID: <000a01c9c3b7$42463a60$c6d2af20$@rr.com> I once did something with some of the events at a former job, but I cannot remember any of the details, sorry. But I did want to state that it did work pretty good. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, April 22, 2009 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Variable line height Rocky, Well, you could print the report on a pre-printed form that has a line down the middle!! Just kidding! I've done something similar with columnar reports to provide both vertical and horizontal lines in a grid. I CHEATED! That is, I set the detail area background color to gray and then I made sure that all the text boxes are wide and high enough to leave just a smidgin of space between rows and columns. The background color then shows through in between text boxes and gives the effect of grid lines. Of course, if you've got text boxes that grow, then there will be large areas of gray where one box isn't as tall as the one next to it. For what it's worth, I've never cared for the inability of Access to make grids in the report designer. Are you saying that there's just two side-by-side text boxes per page? Or might there be several pairs of boxes, one pair in each detail row? I'm temporizing...I've never run across anything that did what you want in a simple fashion. I suppose that there are Report events one could rely on to change the height of a dividing line...but I'll bet very few people use them. Steve Erbach Neenah, WI On Wed, Apr 22, 2009 at 7:11 PM, Rocky Smolin wrote: > Dear List: > > Client has a report with two Can Grow text boxes side by side. ?He wants a > vertical line down the middle of the report separating the two boxes. The > two text boxes will vary in height, of course, depending on the data. How > can the height of the line be set to run vertically down the full length of > the detail section of the report where these two boxes are. ?You can't > change the height of the line in the Print event, and the height of the box > is apparently not yet set (per a MsgBox I inserted) in the Format event? > > MTIA > > Rocky From stuart at lexacorp.com.pg Wed Apr 22 15:58:43 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Apr 2009 06:58:43 +1000 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EF3035.8010800@colbyconsulting.com> References: <49EE3E7D.9030805@colbyconsulting.com>, <7D22259373B8431D9E70BB6E39A4CF31@XPS>, <49EF3035.8010800@colbyconsulting.com> Message-ID: <49EF8503.9508.2E38BE80@stuart.lexacorp.com.pg> Are the LAN Ports on the second router autosensing X-over? If not, they may need to be connected to the first switch with a crossover cable (not straight through). What is the make/Model of the second router? On 22 Apr 2009 at 10:56, jwcolby wrote: > Well, I thought I had it running. The laptops downstairs could see the second AP but could not > communicate over it. Even the Windows Media Center plugged directly into the second router could > not see the internet. BTW it did not matter whether I plugged the cable from upstairs into the WAN > or the switch (LAN ports) the WMC computer could not get to the internet. > > I had set up fixed IP addresses for both MACS in the second router. It turns out that the WAN has a > MAC address and the WAN has a MAC address. I gave each of them individual IP addresses (.122.98 and > .122.99), and was able to get at the second router setup stuff through the WAN IP address when the > cable was plugged into the WAN port. I turned off the firewall in the second router. I turned off > the DHCP server in the second router. I turned on broadcasting the router tables, both ways, in > both routers. > > Everything APPEARED to be working when I had it plugged in up in my office but when I moved it > downstairs... no joy. > > Sigh. > > John W. Colby > www.ColbyConsulting.com > > > Jim Dettman wrote: > > John, > > > > No, you definitely don't want the cable on the WAN port. If you do that, > > you'll have another router in affect. Right now, with everything in a LAN > > port, your 2nd wireless router is simply acting as a repeater. > > > > The channel setup is somewhere in the router's configuration. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Tuesday, April 21, 2009 6:27 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Second wireless at other end of house > > > > > What kind of 'cable' is running to the other end of the house? Another > > coax, or a Cat-5? > > > > A cat 5. It runs a gigabit signal from the gigabit switch down from my > > upstairs office through the > > basement to the other end of the house, and up behind my TV, and then into > > the WMC computer. > > > > I occasionally have guests come and want to connect down at the other end of > > the house, even > > downstairs directly below the living room. I figured if I could get this > > thing to just broadcast > > the messages coming off that cable (act as an access point) then there would > > be a second signal, > > complete with its own channel and its own AP name. > > > > I can't seem to do it, but I am not a network guy so I may be missing > > something simple. > > > > > > Do I need to feed the cable into the WAN of the second router? > > > > My network uses the IP range 192.168.122.X, with the DHCP Server in the > > first router being > > 192.168.122.1. and the AP name C2Db2. > > > > I assume that I need to turn off the second router DHCP Server. It was > > serving up 192.168.0.X and > > its address was 192.168.0.1. I tried assigning that "widget" (the piece of > > the second router that > > has an IP address to AP name C2Db3 and the address 192.168.122.99 but when I > > did so it gave me a > > warning that I was now on a different subnet and my computer wouldn't be > > able to see it. Which was > > true, suddenly I couldn't "see it" via the web address 192.168.0.1 OR the > > address 192.168.122.99. I > > kind of figured I would just have to log back on to the latter address and > > be able to see the router > > there. No dice. > > > > I have tried running the cable from the switch into the WAN and into one of > > the 4 LAN ports but in > > no case can my laptop see the second wireless AP. > > > > I am baffled. > > > > John W. Colby > > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 22 21:54:03 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Apr 2009 19:54:03 -0700 Subject: [AccessD] Variable line height In-Reply-To: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> References: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> Message-ID: <32420F3B4E3F4938A4FCC571A182A93A@HAL9005> ?Are you saying that there's just two side-by-side text boxes per page?? Yep. ?Are you saying that there's just two side-by-side text boxes per page?? Ne neither. ?I suppose that there are Report events one could rely on ? Not that I know of. Your solution would work if the two boxes were the same height. But the one on the right will always be shorter. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, April 22, 2009 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Variable line height Rocky, Well, you could print the report on a pre-printed form that has a line down the middle!! Just kidding! I've done something similar with columnar reports to provide both vertical and horizontal lines in a grid. I CHEATED! That is, I set the detail area background color to gray and then I made sure that all the text boxes are wide and high enough to leave just a smidgin of space between rows and columns. The background color then shows through in between text boxes and gives the effect of grid lines. Of course, if you've got text boxes that grow, then there will be large areas of gray where one box isn't as tall as the one next to it. For what it's worth, I've never cared for the inability of Access to make grids in the report designer. Are you saying that there's just two side-by-side text boxes per page? Or might there be several pairs of boxes, one pair in each detail row? I'm temporizing...Are you saying that there's just two side-by-side text boxes per page? I suppose that there are Report events one could rely on to change the height of a dividing line...but I'll bet very few people use them. Steve Erbach Neenah, WI On Wed, Apr 22, 2009 at 7:11 PM, Rocky Smolin wrote: > Dear List: > > Client has a report with two Can Grow text boxes side by side. ?He > wants a vertical line down the middle of the report separating the two > boxes. The two text boxes will vary in height, of course, depending on > the data. How can the height of the line be set to run vertically down > the full length of the detail section of the report where these two > boxes are. ?You can't change the height of the line in the Print > event, and the height of the box is apparently not yet set (per a MsgBox I inserted) in the Format event? > > MTIA > > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 22 23:10:28 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Apr 2009 21:10:28 -0700 Subject: [AccessD] Variable line height In-Reply-To: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> References: <39cb22f30904221800u2085ba2fg67003e7d81d12519@mail.gmail.com> Message-ID: My client sez: A07 has gridlines that can be controllably applied around text boxes, and by modifying your code (below) to make the left and right text boxes the same height, I am able to add gridlines. Me.Differences.Height = Me.Claim.Height Who knew? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, April 22, 2009 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Variable line height Rocky, Well, you could print the report on a pre-printed form that has a line down the middle!! Just kidding! I've done something similar with columnar reports to provide both vertical and horizontal lines in a grid. I CHEATED! That is, I set the detail area background color to gray and then I made sure that all the text boxes are wide and high enough to leave just a smidgin of space between rows and columns. The background color then shows through in between text boxes and gives the effect of grid lines. Of course, if you've got text boxes that grow, then there will be large areas of gray where one box isn't as tall as the one next to it. For what it's worth, I've never cared for the inability of Access to make grids in the report designer. Are you saying that there's just two side-by-side text boxes per page? Or might there be several pairs of boxes, one pair in each detail row? I'm temporizing...I've never run across anything that did what you want in a simple fashion. I suppose that there are Report events one could rely on to change the height of a dividing line...but I'll bet very few people use them. Steve Erbach Neenah, WI On Wed, Apr 22, 2009 at 7:11 PM, Rocky Smolin wrote: > Dear List: > > Client has a report with two Can Grow text boxes side by side. ?He > wants a vertical line down the middle of the report separating the two > boxes. The two text boxes will vary in height, of course, depending on > the data. How can the height of the line be set to run vertically down > the full length of the detail section of the report where these two > boxes are. ?You can't change the height of the line in the Print > event, and the height of the box is apparently not yet set (per a MsgBox I inserted) in the Format event? > > MTIA > > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeo at appoli.com Wed Apr 22 23:39:52 2009 From: joeo at appoli.com (Joe O'Connell) Date: Thu, 23 Apr 2009 00:39:52 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web In-Reply-To: References: Message-ID: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> Susan, Access and Citrix work great together. I have an Access 2000 application that has been running for 10 years on a Server 2000/Citrix server. It runs with no problems and has supported as many as 40 simultaneous users. Citrix was originally developed to add capabilities to Windows NT. Windows Server 2000 was a huge step forward, but still needed Citrix for full support of many remote devices. Windows Server 2003 incorporated most of the functionality of Citrix. The main reason to continue using Citrix was the ability to publish an application for anonymous users. Windows Server 2008 now includes the ability to publish an application, so I am not sure if there is still a need to use Citrix. I also have 3 servers running Server 2003 that support many Access 2003 applications. None of these boxes use Citrix. To answer your questions 1. If there are performance issues, data can be migrated to SQL server, but it is not necessary to support an Access application in a Terminal Server mode. A normal Access FE/BE configuration works fine. I usually copy a fresh copy of the front end to a personal folder for each user when they logon. 2. Only a Citrix client needs to be installed on the remote user's PC. The entire application runs on the server. 3. If the server is running Terminal Server 2003, and there is a requirement to support anonymous users, then Citrix is required. If support of anonymous users is not required, then there may be no need for Citrix. If the server is running Terminal Server 2008, then there should be no need for Citrix. Without Citrix all each remote user needs to do is configure a Remote Desktop Connection. Terminal server is a very efficient and easy way to provide remote access to an Access application. An Access FE puts a very light load on the server, so a "beefy" box is not required. Tell the reader to go for it. Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 22, 2009 9:27 AM To: AccessD at databaseadvisors.com Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web I received this from a reader. Any thoughts? Susan H. are feeling wonderfully benevolent, here goes. I volunteer for a charity which uses Access for the membership system and we want to make it multi-user over the web. I believe I can achieve it by: 1.. Migrating the data to SQL server 2.. Installing the Access Runtime on the remote users' PCs 3.. Serving the database over Citrix Do you think this is: 1.. a good idea 2.. insane -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Thu Apr 23 00:35:59 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 23 Apr 2009 11:05:59 +0530 Subject: [AccessD] Variable line height References: Message-ID: <002301c9c3d5$98808660$b35ea27a@personald6374f> Rocky, You can draw a vertical line spanning entire detail section by using the Line() method. Sample code in detail section's print event, as given below, will draw the desired vertical line between text boxes named Txt_1 & Txt_2. As long as the Y coordinate is set greater than dynamic height of detail section, the line will automatically fit into the available space, eliminating the scope for any possible breaks. For further refinements in drawing vertical and horizontal lines on a report in various styles, my sample db named ReportBorders might be of interest to you. It is available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D. Tejpal ------------ ' Code in report's module ' (Txt_1 & Txt_2 are the names of text boxes ' between which a vertical line is to be drawn) '================================== Private Sub Detail_Print(Cancel As Integer, _ PrintCount As Integer) Dim X As Long, Y As Long Dim GapLeft As Long, GapWidth As Long Me.ScaleMode = 1 ' Scale in Twips Me.DrawWidth = 3 ' Thickness in pixels ' Set the X value midway between the two ' text boxes (Txt_1 & Txt_2) GapLeft = Me.Txt_1.Left + Me.Txt_1.Width GapWidth = Me.Txt_2.Left - GapLeft X = GapLeft + GapWidth \ 2 ' Set Y value larger than the dynamic height of ' Detail section. (Even if Y is set much larger ' than actual dynamic height of Detail section. ' This is to prevent any possible breaks in overall ' vertical line. Only the portion that can actually ' fit in Detail section, will get drawn) Y = Me.Height + 20 ' Note: ' Me.Height gives the dynamic height of current ' section (in this case: detail section) at print time. ' Me.Detail.Height merely gives the static height ' of Detail section as per design setting. ' Draw vertical line between Txt_1 & Txt_2, so as ' to fully cover the dynamic height of Detail section. Me.Line (X, 0)-(X, Y) End Sub '=================================== ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Thursday, April 23, 2009 05:41 Subject: [AccessD] Variable line height Dear List: Client has a report with two Can Grow text boxes side by side. He wants a vertical line down the middle of the report separating the two boxes. The two text boxes will vary in height, of course, depending on the data. How can the height of the line be set to run vertically down the full length of the detail section of the report where these two boxes are. You can't change the height of the line in the Print event, and the height of the box is apparently not yet set (per a MsgBox I inserted) in the Format event? MTIA Rocky From rockysmolin at bchacc.com Thu Apr 23 00:44:56 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 22 Apr 2009 22:44:56 -0700 Subject: [AccessD] Variable line height In-Reply-To: <002301c9c3d5$98808660$b35ea27a@personald6374f> References: <002301c9c3d5$98808660$b35ea27a@personald6374f> Message-ID: A.D.: You know, after a couple responses I was going to write "Let's wait for A.D. To respond. He'll know how to do this." But I didn't want to be presumptuous. And here you are. With the solution. As always. I actually used this approach once to make some very elaborate charts and graphs in a report for a business I started with a guy about 10 years ago - drawing lines to make bar graphs. I will forward to my client. Thank you as always for your expertise and generosity. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Wednesday, April 22, 2009 10:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Variable line height Rocky, You can draw a vertical line spanning entire detail section by using the Line() method. Sample code in detail section's print event, as given below, will draw the desired vertical line between text boxes named Txt_1 & Txt_2. As long as the Y coordinate is set greater than dynamic height of detail section, the line will automatically fit into the available space, eliminating the scope for any possible breaks. For further refinements in drawing vertical and horizontal lines on a report in various styles, my sample db named ReportBorders might be of interest to you. It is available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D. Tejpal ------------ ' Code in report's module ' (Txt_1 & Txt_2 are the names of text boxes ' between which a vertical line is to be drawn) '================================== Private Sub Detail_Print(Cancel As Integer, _ PrintCount As Integer) Dim X As Long, Y As Long Dim GapLeft As Long, GapWidth As Long Me.ScaleMode = 1 ' Scale in Twips Me.DrawWidth = 3 ' Thickness in pixels ' Set the X value midway between the two ' text boxes (Txt_1 & Txt_2) GapLeft = Me.Txt_1.Left + Me.Txt_1.Width GapWidth = Me.Txt_2.Left - GapLeft X = GapLeft + GapWidth \ 2 ' Set Y value larger than the dynamic height of ' Detail section. (Even if Y is set much larger ' than actual dynamic height of Detail section. ' This is to prevent any possible breaks in overall ' vertical line. Only the portion that can actually ' fit in Detail section, will get drawn) Y = Me.Height + 20 ' Note: ' Me.Height gives the dynamic height of current ' section (in this case: detail section) at print time. ' Me.Detail.Height merely gives the static height ' of Detail section as per design setting. ' Draw vertical line between Txt_1 & Txt_2, so as ' to fully cover the dynamic height of Detail section. Me.Line (X, 0)-(X, Y) End Sub '=================================== ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Thursday, April 23, 2009 05:41 Subject: [AccessD] Variable line height Dear List: Client has a report with two Can Grow text boxes side by side. He wants a vertical line down the middle of the report separating the two boxes. The two text boxes will vary in height, of course, depending on the data. How can the height of the line be set to run vertically down the full length of the detail section of the report where these two boxes are. You can't change the height of the line in the Print event, and the height of the box is apparently not yet set (per a MsgBox I inserted) in the Format event? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Thu Apr 23 00:59:56 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 23 Apr 2009 11:29:56 +0530 Subject: [AccessD] Variable line height References: <002301c9c3d5$98808660$b35ea27a@personald6374f> Message-ID: <00a701c9c3d8$ce3ebc60$b35ea27a@personald6374f> You are most welcome Rocky! And thanks for your kind observations and generous vote of confidence. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Thursday, April 23, 2009 11:14 Subject: Re: [AccessD] Variable line height A.D.: You know, after a couple responses I was going to write "Let's wait for A.D. To respond. He'll know how to do this." But I didn't want to be presumptuous. And here you are. With the solution. As always. I actually used this approach once to make some very elaborate charts and graphs in a report for a business I started with a guy about 10 years ago - drawing lines to make bar graphs. I will forward to my client. Thank you as always for your expertise and generosity. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Wednesday, April 22, 2009 10:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Variable line height Rocky, You can draw a vertical line spanning entire detail section by using the Line() method. Sample code in detail section's print event, as given below, will draw the desired vertical line between text boxes named Txt_1 & Txt_2. As long as the Y coordinate is set greater than dynamic height of detail section, the line will automatically fit into the available space, eliminating the scope for any possible breaks. For further refinements in drawing vertical and horizontal lines on a report in various styles, my sample db named ReportBorders might be of interest to you. It is available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D. Tejpal ------------ ' Code in report's module ' (Txt_1 & Txt_2 are the names of text boxes ' between which a vertical line is to be drawn) '================================== Private Sub Detail_Print(Cancel As Integer, _ PrintCount As Integer) Dim X As Long, Y As Long Dim GapLeft As Long, GapWidth As Long Me.ScaleMode = 1 ' Scale in Twips Me.DrawWidth = 3 ' Thickness in pixels ' Set the X value midway between the two ' text boxes (Txt_1 & Txt_2) GapLeft = Me.Txt_1.Left + Me.Txt_1.Width GapWidth = Me.Txt_2.Left - GapLeft X = GapLeft + GapWidth \ 2 ' Set Y value larger than the dynamic height of ' Detail section. (Even if Y is set much larger ' than actual dynamic height of Detail section. ' This is to prevent any possible breaks in overall ' vertical line. Only the portion that can actually ' fit in Detail section, will get drawn) Y = Me.Height + 20 ' Note: ' Me.Height gives the dynamic height of current ' section (in this case: detail section) at print time. ' Me.Detail.Height merely gives the static height ' of Detail section as per design setting. ' Draw vertical line between Txt_1 & Txt_2, so as ' to fully cover the dynamic height of Detail section. Me.Line (X, 0)-(X, Y) End Sub '=================================== From jwcolby at colbyconsulting.com Thu Apr 23 07:03:10 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Apr 2009 08:03:10 -0400 Subject: [AccessD] Second wireless at other end of house In-Reply-To: <49EF8503.9508.2E38BE80@stuart.lexacorp.com.pg> References: <49EE3E7D.9030805@colbyconsulting.com>, <7D22259373B8431D9E70BB6E39A4CF31@XPS>, <49EF3035.8010800@colbyconsulting.com> <49EF8503.9508.2E38BE80@stuart.lexacorp.com.pg> Message-ID: <49F058FE.7060105@colbyconsulting.com> Well, I moved everything around and am back up (mostly). Cable modem and wireless down to the basement next to the phone modem. Cable cut and new connectors crimped on, and routed to that wireless router to get the internet up to my office. It took much of the day because I didn't have the right stuff. But... it is working now. Thanks for all the tips. John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > Are the LAN Ports on the second router autosensing X-over? > > If not, they may need to be connected to the first switch with a crossover cable (not straight > through). > > What is the make/Model of the second router? > > On 22 Apr 2009 at 10:56, jwcolby wrote: > >> Well, I thought I had it running. The laptops downstairs could see the second AP but could not >> communicate over it. Even the Windows Media Center plugged directly into the second router could >> not see the internet. BTW it did not matter whether I plugged the cable from upstairs into the WAN >> or the switch (LAN ports) the WMC computer could not get to the internet. >> >> I had set up fixed IP addresses for both MACS in the second router. It turns out that the WAN has a >> MAC address and the WAN has a MAC address. I gave each of them individual IP addresses (.122.98 and >> .122.99), and was able to get at the second router setup stuff through the WAN IP address when the >> cable was plugged into the WAN port. I turned off the firewall in the second router. I turned off >> the DHCP server in the second router. I turned on broadcasting the router tables, both ways, in >> both routers. >> >> Everything APPEARED to be working when I had it plugged in up in my office but when I moved it >> downstairs... no joy. >> >> Sigh. >> >> John W. Colby >> www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Apr 23 07:15:14 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Apr 2009 08:15:14 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web In-Reply-To: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> Message-ID: <49F05BD2.2030107@colbyconsulting.com> Joe, I run Windows Server 2003 Standard on my servers at the home office. I have a network of two 2003 servers running SQL Server and virtual machines. One other server runs Windows Home Server which is a shell on top of 2003 (small business edition I think). All the other computers on the network run XP - laptops for my wife, my son, a "workstation" for my digital piano and so forth. Very occasionally I have the need to "remote in" from the road. I usually do so via Hamachi to establish a VPN and then use either remote desktop or VNC. My reasons to remote in have to do with running administrative tasks, run SQL Server jobs etc. Is there any reason to setup / learn and move to Terminal Server over a simple remote desktop in my situation? Is terminal server incorporated in 2003 Standard Edition? John W. Colby www.ColbyConsulting.com Joe O'Connell wrote: > Susan, > > > > Access and Citrix work great together. I have an Access 2000 > application that has been running for 10 years on a Server 2000/Citrix > server. It runs with no problems and has supported as many as 40 > simultaneous users. > > > > Citrix was originally developed to add capabilities to Windows NT. > Windows Server 2000 was a huge step forward, but still needed Citrix for > full support of many remote devices. Windows Server 2003 incorporated > most of the functionality of Citrix. The main reason to continue using > Citrix was the ability to publish an application for anonymous users. > Windows Server 2008 now includes the ability to publish an application, > so I am not sure if there is still a need to use Citrix. > > > > I also have 3 servers running Server 2003 that support many Access 2003 > applications. None of these boxes use Citrix. > > > > To answer your questions > > 1. If there are performance issues, data can be migrated to SQL > server, but it is not necessary to support an Access application in a > Terminal Server mode. A normal Access FE/BE configuration works fine. > I usually copy a fresh copy of the front end to a personal folder for > each user when they logon. > > 2. Only a Citrix client needs to be installed on the remote user's > PC. The entire application runs on the server. > > 3. If the server is running Terminal Server 2003, and there is a > requirement to support anonymous users, then Citrix is required. If > support of anonymous users is not required, then there may be no need > for Citrix. If the server is running Terminal Server 2008, then there > should be no need for Citrix. Without Citrix all each remote user needs > to do is configure a Remote Desktop Connection. > > > > Terminal server is a very efficient and easy way to provide remote > access to an Access application. An Access FE puts a very light load on > the server, so a "beefy" box is not required. Tell the reader to go for > it. > > > > Joe O'Connell From joeo at appoli.com Thu Apr 23 07:57:28 2009 From: joeo at appoli.com (Joe O'Connell) Date: Thu, 23 Apr 2009 08:57:28 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web In-Reply-To: <49F05BD2.2030107@colbyconsulting.com> References: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> <49F05BD2.2030107@colbyconsulting.com> Message-ID: <1CF20DB644BE124083B31638E5D5C023200D76@exch2.Onappsad.net> John, My understanding is that none of your servers are open to the "outside" world, and the only users are those on your own internal network. At home I have a similar small network that incorporates both wired and wireless PCs. This is also a closed network that is not open to the outside world. At the other end of the spectrum, my company provides hosting services, so all of our servers must be open to the "outside" world. These servers are located in a data center that has been designed for this purpose and that has all of the "normal" security features such as climate control, power backup, multiple fiber connections from multiple vendors, redundant hardware, fire walls, etc. Your setup works for you, so I would not change it just for the sake of change. AFAIK Terminal Services are a standard service of Windows Server 2003. Susan's question concerned giving access to an Access application remotely. In my answer to her, I should have included a caveat that I was assuming that the server sits behind a firewall and is already available to outside users. You have raised another question that I would like to see discussed more fully. My forte is application development, not system or network management which I leave to others, so my knowledge of these areas is limited. Under what configuration is a VPN necessary? What are the advantages/disadvantages of using a VPN? Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 23, 2009 8:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web Joe, I run Windows Server 2003 Standard on my servers at the home office. I have a network of two 2003 servers running SQL Server and virtual machines. One other server runs Windows Home Server which is a shell on top of 2003 (small business edition I think). All the other computers on the network run XP - laptops for my wife, my son, a "workstation" for my digital piano and so forth. Very occasionally I have the need to "remote in" from the road. I usually do so via Hamachi to establish a VPN and then use either remote desktop or VNC. My reasons to remote in have to do with running administrative tasks, run SQL Server jobs etc. Is there any reason to setup / learn and move to Terminal Server over a simple remote desktop in my situation? Is terminal server incorporated in 2003 Standard Edition? John W. Colby www.ColbyConsulting.com Joe O'Connell wrote: > Susan, > > > > Access and Citrix work great together. I have an Access 2000 > application that has been running for 10 years on a Server 2000/Citrix > server. It runs with no problems and has supported as many as 40 > simultaneous users. > > > > Citrix was originally developed to add capabilities to Windows NT. > Windows Server 2000 was a huge step forward, but still needed Citrix for > full support of many remote devices. Windows Server 2003 incorporated > most of the functionality of Citrix. The main reason to continue using > Citrix was the ability to publish an application for anonymous users. > Windows Server 2008 now includes the ability to publish an application, > so I am not sure if there is still a need to use Citrix. > > > > I also have 3 servers running Server 2003 that support many Access 2003 > applications. None of these boxes use Citrix. > > > > To answer your questions > > 1. If there are performance issues, data can be migrated to SQL > server, but it is not necessary to support an Access application in a > Terminal Server mode. A normal Access FE/BE configuration works fine. > I usually copy a fresh copy of the front end to a personal folder for > each user when they logon. > > 2. Only a Citrix client needs to be installed on the remote user's > PC. The entire application runs on the server. > > 3. If the server is running Terminal Server 2003, and there is a > requirement to support anonymous users, then Citrix is required. If > support of anonymous users is not required, then there may be no need > for Citrix. If the server is running Terminal Server 2008, then there > should be no need for Citrix. Without Citrix all each remote user needs > to do is configure a Remote Desktop Connection. > > > > Terminal server is a very efficient and easy way to provide remote > access to an Access application. An Access FE puts a very light load on > the server, so a "beefy" box is not required. Tell the reader to go for > it. > > > > Joe O'Connell -- 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 Apr 23 08:03:09 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 23 Apr 2009 08:03:09 -0500 Subject: [AccessD] Formula in Report not Calculating Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0648F659A1@houex1.kindermorgan.com> I have a report that is based on a parameter query. The query returns from a table a week number, department number, department description and 5 fields that have an aggregate domain function of sum. When I try to put in the detail section of the report on summation filed divided by another summation field all I get in print preview is #Error. I also notice that I get 4 records for each week because there are 4 descriptions for each week even though the report does not display this field. Can I not put the formula in the detail section? Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From rockysmolin at bchacc.com Thu Apr 23 08:34:56 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 06:34:56 -0700 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Message-ID: <9764185C57AD4E69B7E784EAC949E812@HAL9005> Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L From jwcolby at colbyconsulting.com Thu Apr 23 08:41:22 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Apr 2009 09:41:22 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web In-Reply-To: <1CF20DB644BE124083B31638E5D5C023200D76@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> <49F05BD2.2030107@colbyconsulting.com> <1CF20DB644BE124083B31638E5D5C023200D76@exch2.Onappsad.net> Message-ID: <49F07002.7040408@colbyconsulting.com> Joe, > My understanding is that none of your servers are open to the "outside" world, and the only users are those on your own internal network. That is correct. My network is as secure as I can make it given my limited knowledge of network security. I have a router with a built-in firewall, I run software firewalls on each and every computer, I have anti-virus software running on every machine etc. Furthermore, at this point in time I have no one other than myself authorized to get in to the network. I have had a couple of times when I had people remote in to help me. I set up a user for them and then turn that user off (or remove the user entirely) when they are done. > You have raised another question that I would like to see discussed more fully. Under what configuration is a VPN necessary? What are the advantages/disadvantages of using a VPN? I am not a Notwork guy so I am not the best person to answer the VPN question but I will volunteer what I think I know. A VPN is simply a secure communication channel, often referred to as a "tunnel", usually over the internet, which allows communications between a remote computer and a server or network. These communications are encrypted and secured so that they cannot be snooped on. So... a VPN is a "Virtual" "private" network. It is virtual because it is set up on demand instead of being a set of NICS and cables permanently in place. It is private because it is encrypted and only creates a network for those invited to join. The VPN can be all hardware based, the router at the remote computer establishes a VPN "tunnel" to the router at the server end. In this case the VPN literally extends the network at the server side to be visible at the remote side. Essentially the remote computer just becomes another computer on the LAN. The VPN can also be software based, which is what Hamachi does. In this case the VPN is established between two specific computers - the remote and a single specific server. In this case the remote computer is not directly on the LAN but rather can communicate securely with the server running the VPN software (Hamachi in this case), but can ONLY communicate with the server running the VPN software. I use Hamachi because it usually works well, is free, and is easy to set up. I have Hamachi running on every machine that I want to directly access. Hamachi assigns a unique IP address in the 5.x.x.x range to each computer in the world running Hamachi. Thus if I have a set of machines, each running Hamachi, I can see each machine as a specific 5.x.x.x IP. Hamachi then allows me to set up one or several "networks" of any machines running Hamachi that I "own", i.e. that I have the Hamachi password and IP address for. Thus I can build a "Hamachi VPN" of just one machine and my laptop, or a dozen or more machines and my laptop. Or I can create many different networks with different machines. Inside of the Hamachi application, the "network" displays all of the computers in that "LAN" and I can do anything I would on a normal LAN. I can run remote desktop IF the remote machine has the RD service running. I can run VNC IF the remote machine has the VNC service running. I can view shared directories on the remote machine. I can print to shared printers on the remote machine. Etc. One thing that I use my Hamachi VPN for is browsing the internet when I am at a hotel, and in particular if I need to buy something or view my banking etc. By setting up the VPN, I can "remote desktop" into one of my machines at home. The VPN channel is encrypted and secure directly from my laptop to a specific machine at my home office. Now I can use RD to open a browser on the server at home. I can browse, order stuff on a credit card, view my bank accounts etc. and not have to worry about my browsing being snooped by someone sitting in the parking lot of the hotel recording the guests, looking for account numbers or passwords etc. The VPN does have overhead involved, i.e. it does slow down the process of whatever you are doing relative to a physical LAN but in cases where you need these capabilities you are usually willing to give up the speed in order to gain security. And that is what I think I know. John W. Colby www.ColbyConsulting.com Joe O'Connell wrote: > John, > > My understanding is that none of your servers are open to the "outside" > world, and the only users are those on your own internal network. At > home I have a similar small network that incorporates both wired and > wireless PCs. This is also a closed network that is not open to the > outside world. > > At the other end of the spectrum, my company provides hosting services, > so all of our servers must be open to the "outside" world. These servers > are located in a data center that has been designed for this purpose and > that has all of the "normal" security features such as climate control, > power backup, multiple fiber connections from multiple vendors, > redundant hardware, fire walls, etc. > > Your setup works for you, so I would not change it just for the sake of > change. AFAIK Terminal Services are a standard service of Windows > Server 2003. > > Susan's question concerned giving access to an Access application > remotely. In my answer to her, I should have included a caveat that I > was assuming that the server sits behind a firewall and is already > available to outside users. > > You have raised another question that I would like to see discussed more > fully. My forte is application development, not system or network > management which I leave to others, so my knowledge of these areas is > limited. Under what configuration is a VPN necessary? What are the > advantages/disadvantages of using a VPN? > > Joe O'Connell From JHewson at nciinc.com Thu Apr 23 08:47:53 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Thu, 23 Apr 2009 08:47:53 -0500 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: <9764185C57AD4E69B7E784EAC949E812@HAL9005> References: <9764185C57AD4E69B7E784EAC949E812@HAL9005> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com> I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From rockysmolin at bchacc.com Thu Apr 23 09:06:45 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 07:06:45 -0700 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com> References: <9764185C57AD4E69B7E784EAC949E812@HAL9005> <7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com> Message-ID: Thanks Jim. This is an area I know nothing about so I'm pretty much unable to help the client. But I think a sale may hang in the balance. Will forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 23, 2009 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Apr 23 09:17:45 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 23 Apr 2009 15:17:45 +0100 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: References: <9764185C57AD4E69B7E784EAC949E812@HAL9005> <7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, Message-ID: Rocky http://www.orafaq.com/node/60 martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 15:06 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Thanks Jim. This is an area I know nothing about so I'm pretty much unable to help the client. But I think a sale may hang in the balance. Will forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 23, 2009 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeo at appoli.com Thu Apr 23 10:09:47 2009 From: joeo at appoli.com (Joe O'Connell) Date: Thu, 23 Apr 2009 11:09:47 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web In-Reply-To: <49F07002.7040408@colbyconsulting.com> References: <1CF20DB644BE124083B31638E5D5C023200D73@exch2.Onappsad.net> <49F05BD2.2030107@colbyconsulting.com><1CF20DB644BE124083B31638E5D5C023200D76@exch2.Onappsad.net> <49F07002.7040408@colbyconsulting.com> Message-ID: <1CF20DB644BE124083B31638E5D5C023200D81@exch2.Onappsad.net> John, Thank you for the response, as usual your explanation is detailed, informative and easy to understand. Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 23, 2009 9:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web Joe, > My understanding is that none of your servers are open to the "outside" world, and the only users are those on your own internal network. That is correct. My network is as secure as I can make it given my limited knowledge of network security. I have a router with a built-in firewall, I run software firewalls on each and every computer, I have anti-virus software running on every machine etc. Furthermore, at this point in time I have no one other than myself authorized to get in to the network. I have had a couple of times when I had people remote in to help me. I set up a user for them and then turn that user off (or remove the user entirely) when they are done. > You have raised another question that I would like to see discussed more fully. Under what configuration is a VPN necessary? What are the advantages/disadvantages of using a VPN? I am not a Notwork guy so I am not the best person to answer the VPN question but I will volunteer what I think I know. A VPN is simply a secure communication channel, often referred to as a "tunnel", usually over the internet, which allows communications between a remote computer and a server or network. These communications are encrypted and secured so that they cannot be snooped on. So... a VPN is a "Virtual" "private" network. It is virtual because it is set up on demand instead of being a set of NICS and cables permanently in place. It is private because it is encrypted and only creates a network for those invited to join. The VPN can be all hardware based, the router at the remote computer establishes a VPN "tunnel" to the router at the server end. In this case the VPN literally extends the network at the server side to be visible at the remote side. Essentially the remote computer just becomes another computer on the LAN. The VPN can also be software based, which is what Hamachi does. In this case the VPN is established between two specific computers - the remote and a single specific server. In this case the remote computer is not directly on the LAN but rather can communicate securely with the server running the VPN software (Hamachi in this case), but can ONLY communicate with the server running the VPN software. I use Hamachi because it usually works well, is free, and is easy to set up. I have Hamachi running on every machine that I want to directly access. Hamachi assigns a unique IP address in the 5.x.x.x range to each computer in the world running Hamachi. Thus if I have a set of machines, each running Hamachi, I can see each machine as a specific 5.x.x.x IP. Hamachi then allows me to set up one or several "networks" of any machines running Hamachi that I "own", i.e. that I have the Hamachi password and IP address for. Thus I can build a "Hamachi VPN" of just one machine and my laptop, or a dozen or more machines and my laptop. Or I can create many different networks with different machines. Inside of the Hamachi application, the "network" displays all of the computers in that "LAN" and I can do anything I would on a normal LAN. I can run remote desktop IF the remote machine has the RD service running. I can run VNC IF the remote machine has the VNC service running. I can view shared directories on the remote machine. I can print to shared printers on the remote machine. Etc. One thing that I use my Hamachi VPN for is browsing the internet when I am at a hotel, and in particular if I need to buy something or view my banking etc. By setting up the VPN, I can "remote desktop" into one of my machines at home. The VPN channel is encrypted and secure directly from my laptop to a specific machine at my home office. Now I can use RD to open a browser on the server at home. I can browse, order stuff on a credit card, view my bank accounts etc. and not have to worry about my browsing being snooped by someone sitting in the parking lot of the hotel recording the guests, looking for account numbers or passwords etc. The VPN does have overhead involved, i.e. it does slow down the process of whatever you are doing relative to a physical LAN but in cases where you need these capabilities you are usually willing to give up the speed in order to gain security. And that is what I think I know. John W. Colby www.ColbyConsulting.com Joe O'Connell wrote: > John, > > My understanding is that none of your servers are open to the "outside" > world, and the only users are those on your own internal network. At > home I have a similar small network that incorporates both wired and > wireless PCs. This is also a closed network that is not open to the > outside world. > > At the other end of the spectrum, my company provides hosting services, > so all of our servers must be open to the "outside" world. These servers > are located in a data center that has been designed for this purpose and > that has all of the "normal" security features such as climate control, > power backup, multiple fiber connections from multiple vendors, > redundant hardware, fire walls, etc. > > Your setup works for you, so I would not change it just for the sake of > change. AFAIK Terminal Services are a standard service of Windows > Server 2003. > > Susan's question concerned giving access to an Access application > remotely. In my answer to her, I should have included a caveat that I > was assuming that the server sits behind a firewall and is already > available to outside users. > > You have raised another question that I would like to see discussed more > fully. My forte is application development, not system or network > management which I leave to others, so my knowledge of these areas is > limited. Under what configuration is a VPN necessary? What are the > advantages/disadvantages of using a VPN? > > Joe O'Connell -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Apr 23 10:43:53 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 23 Apr 2009 11:43:53 -0400 Subject: [AccessD] Drew - TreeView help again, please Message-ID: <49F08CB9.8090809@torchlake.com> Hi Drew, First of all, thank you very much for getting me started using the TreeView control. I can see that this will be very useful - but, I am still struggling to get my brain around it. I have very carefully worked through your code and made the name adjustments I have to make to match up to my existing tables and fields. There are still a couple of places where I scratch my head and say "huh?" but for the most part I am finally understanding what you have shared with me. Thanks. Now, I have run into a runtime error that I don't understand and I don't know how to handle. When I select a volunteer from my combo (cboVolunteers), I get this error message: --------------------------------------- Run-time error '-2147217904(80040e10)': No value given for one or more required parameters. ---------------------------------------- When I click the Debug button, the line of code that is highlighted is: ------------------------------------------------------------------------------- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly ------------------------------------------------------------------------------- I have no idea at this point what is wrong. Can you help me figure it out? Thanks, Tina From Gustav at cactus.dk Thu Apr 23 10:56:46 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Apr 2009 17:56:46 +0200 Subject: [AccessD] Drew - TreeView help again, please Message-ID: Hi Tina Make a debug.print of strSQL and you will probably see a field spelled wrongly or some other nasty thing. /gustav >>> tinanfields at torchlake.com 23-04-2009 17:43 >>> Hi Drew, First of all, thank you very much for getting me started using the TreeView control. I can see that this will be very useful - but, I am still struggling to get my brain around it. I have very carefully worked through your code and made the name adjustments I have to make to match up to my existing tables and fields. There are still a couple of places where I scratch my head and say "huh?" but for the most part I am finally understanding what you have shared with me. Thanks. Now, I have run into a runtime error that I don't understand and I don't know how to handle. When I select a volunteer from my combo (cboVolunteers), I get this error message: --------------------------------------- Run-time error '-2147217904(80040e10)': No value given for one or more required parameters. ---------------------------------------- When I click the Debug button, the line of code that is highlighted is: ------------------------------------------------------------------------------- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly ------------------------------------------------------------------------------- I have no idea at this point what is wrong. Can you help me figure it out? Thanks, Tina From DWUTKA at Marlow.com Thu Apr 23 11:41:17 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 23 Apr 2009 11:41:17 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <49F08CB9.8090809@torchlake.com> References: <49F08CB9.8090809@torchlake.com> Message-ID: Do you have the ADO reference selected? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, April 23, 2009 10:44 AM To: Access Developers discussion and problem solving Subject: [AccessD] Drew - TreeView help again, please Hi Drew, First of all, thank you very much for getting me started using the TreeView control. I can see that this will be very useful - but, I am still struggling to get my brain around it. I have very carefully worked through your code and made the name adjustments I have to make to match up to my existing tables and fields. There are still a couple of places where I scratch my head and say "huh?" but for the most part I am finally understanding what you have shared with me. Thanks. Now, I have run into a runtime error that I don't understand and I don't know how to handle. When I select a volunteer from my combo (cboVolunteers), I get this error message: --------------------------------------- Run-time error '-2147217904(80040e10)': No value given for one or more required parameters. ---------------------------------------- When I click the Debug button, the line of code that is highlighted is: ------------------------------------------------------------------------ ------- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly ------------------------------------------------------------------------ ------- I have no idea at this point what is wrong. Can you help me figure it out? Thanks, Tina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at gfconsultants.com Thu Apr 23 12:54:03 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Apr 2009 13:54:03 -0400 Subject: [AccessD] FW: Unsubscribe From Mail Distribution List Message-ID: <8BEE3B5B6ED24EBA95B2FB7A33CF5B71@reubennx9500> Could someone look into the email below from Marvin? I received it at the VP account, which should not come to me anymore. Thanks. Reuben Cummings GFC, LLC 812.523.1017 -----Original Message----- From: Bergeleen, Marvin [mailto:Marvin.Bergeleen at avistacorp.com] Sent: Thursday, April 23, 2009 12:44 PM To: vice-president at databaseadvisors.com Subject: Unsubscribe From Mail Distribution List I unsubscribed from the AccessD mailing list a couple of days ago, but I am still getting messages. I do not want to receive then anymore. Thanks. Marvin Bergeleen Information Analyst EDS, an HP company Avista Corp Account MSC: 28 1411 East Mission Ave Spokane, WA 99220 Tel: +1 509 495-4199 Fax: +1 509 777-6031 E-mail: marvin.bergeleen at avistacorp.com We deliver on our commitments so you can deliver on yours. This message and any attached files or documents may contain information that is confidential and considered proprietary to Avista Corporation. Any unauthorized use, transfer, or disclosure of the information contained herein is strictly forbidden. If you believe that this message has been sent to you in error, please reply to the sender that you have received the message in error and delete the message. From rockysmolin at bchacc.com Thu Apr 23 15:16:14 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 13:16:14 -0700 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: References: <9764185C57AD4E69B7E784EAC949E812@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, Message-ID: <26BFAAF30554415298B33F720076ECA7@HAL9005> Martin: That's the document the programmer was working from. Any ideas why she ran into a snag? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 23, 2009 7:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Rocky http://www.orafaq.com/node/60 martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 15:06 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Thanks Jim. This is an area I know nothing about so I'm pretty much unable to help the client. But I think a sale may hang in the balance. Will forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 23, 2009 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lizd1 at charter.net Thu Apr 23 15:46:47 2009 From: lizd1 at charter.net (lizd1 at charter.net) Date: Thu, 23 Apr 2009 15:46:47 -0500 Subject: [AccessD] Error Message while Connecting Access to Oracle In-Reply-To: Message-ID: <20090423164647.VNHPW.1455085.root@mp06> I connect an Access front end via ODBC to Oracle painfully and infrequently to validate a few tables. I can only get connected if the dsn is physically located in the same folder as tnsnames.ora. And I must recreate it each time. I learned this much by dreary trial and error; I wish I knew more! Thanks, Liz From rockysmolin at bchacc.com Thu Apr 23 15:56:32 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 13:56:32 -0700 Subject: [AccessD] Error Message while Connecting Access to Oracle In-Reply-To: <20090423164647.VNHPW.1455085.root@mp06> References: <20090423164647.VNHPW.1455085.root@mp06> Message-ID: Thanks Liz. I'm going to recommend that they export from my app to a csv file and import into their Oracle app that way. Much easier. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of lizd1 at charter.net Sent: Thursday, April 23, 2009 1:47 PM To: accessd at databaseadvisors.com Cc: accessd-request at databaseadvisors.com Subject: Re: [AccessD] Error Message while Connecting Access to Oracle I connect an Access front end via ODBC to Oracle painfully and infrequently to validate a few tables. I can only get connected if the dsn is physically located in the same folder as tnsnames.ora. And I must recreate it each time. I learned this much by dreary trial and error; I wish I knew more! Thanks, Liz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Apr 23 16:01:49 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 23 Apr 2009 22:01:49 +0100 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: <26BFAAF30554415298B33F720076ECA7@HAL9005> References: <9764185C57AD4E69B7E784EAC949E812@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, , <26BFAAF30554415298B33F720076ECA7@HAL9005> Message-ID: Rocky Long time from I used Oracle but i do remember we had to install Oracle Net something or other to enable communication. I also know I did NOT have a full install of oracle on my machine. (Oracle 7/8 shows how long a go this was) I think you do however need the Oracle client software installed on your machine before creating the DSN for the link. Ask them if they have installed Oracle client on the PC they are trying to connect from. Also ask them if they are using the Oracle DSN Driver not the Microsoft one. Have a look at this one as this is more or less how we used to do it. This was also in the days of Access 2!! http://www.databasejournal.com/features/oracle/article.php/3358411/Connecting-with-Oracle-Accessing-Oracle-via-Access-and-Excel.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 21:16 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Martin: That's the document the programmer was working from. Any ideas why she ran into a snag? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 23, 2009 7:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Rocky http://www.orafaq.com/node/60 martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 15:06 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Thanks Jim. This is an area I know nothing about so I'm pretty much unable to help the client. But I think a sale may hang in the balance. Will forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 23, 2009 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Apr 23 16:11:03 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 14:11:03 -0700 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: References: <9764185C57AD4E69B7E784EAC949E812@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, , <26BFAAF30554415298B33F720076ECA7@HAL9005> Message-ID: <1FA8C785F2434102A68057EDF6565CBE@HAL9005> Thanks Martin. Will forward. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 23, 2009 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Rocky Long time from I used Oracle but i do remember we had to install Oracle Net something or other to enable communication. I also know I did NOT have a full install of oracle on my machine. (Oracle 7/8 shows how long a go this was) I think you do however need the Oracle client software installed on your machine before creating the DSN for the link. Ask them if they have installed Oracle client on the PC they are trying to connect from. Also ask them if they are using the Oracle DSN Driver not the Microsoft one. Have a look at this one as this is more or less how we used to do it. This was also in the days of Access 2!! http://www.databasejournal.com/features/oracle/article.php/3358411/Connectin g-with-Oracle-Accessing-Oracle-via-Access-and-Excel.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 21:16 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Martin: That's the document the programmer was working from. Any ideas why she ran into a snag? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 23, 2009 7:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Rocky http://www.orafaq.com/node/60 martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin [rockysmolin at bchacc.com] Sent: 23 April 2009 15:06 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Thanks Jim. This is an area I know nothing about so I'm pretty much unable to help the client. But I think a sale may hang in the balance. Will forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Thursday, April 23, 2009 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle I'm not sure if this will be much help. But, when I had to connect to Oracle the only way I could get Access to connect through ODBC was to have a full install of Oracle on my machine. Otherwise, I got messages that they didn't play friendly as your client experiences. Another thing, I learned was that if there was any remnant of the failed ODBC connection it would try and use it instead of creating a new one. HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 23, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Error Message while Connecting Access to Oracle Dear List: Does anyone have experience connecting Access to Oracle? This client is in Bahrain so it's a bit awkward. My client's email and the programmers email with the error she got are below. Is there something obvious that they're doing wrong? Or any ideas what they might try to make the connection. The back end that they're trying to connect to is an Access 2000 mdb. MMTIA Rocky Minus the diagrams, here's the steps through step 7 from the document the programmer's using to make the connection: This article shows how Oracle's Heterogeneous Services can be configured to allow a database to connect to a Microsoft Access database using standard databases links. The method described can be used to connect to MS-Access from about any platform - Unix/ Linux or Windows. MS-Access 2003 and Oracle 10g Release 1 are used to illustrate the concepts. However, this procedure should work with Oracle 8i, 9i and 10g databases, as well as various versions of MS-Access. Step 1: Prepare the MS-Access environment If you do not have a MS-Access environment, start by installing the required software and create a test table. Step 2: Define ODBC connectivity Use the ODBC Administrator Utility to define a local System DSN that can be used to connect to the Access database (same machine). Ensure that the correct *.MDB database file is selected. Step 3: Prepare the Oracle Environment Install the Oracle Database Server software on the same machine where MS-Access is installed. NOTE: It is not sufficient to only install Client Software, as we require an Oracle Net Listener and the Heterogeneous Services (ORACLE_HOME\hs directory) software to be installed as well. Step 4: Configure and Start the Oracle Listener Configure the Oracle Listener on the Windows machine. Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = my_windows_machine_name)(PORT = 1521)) ) ) ) SID_LIST_LISTENER= (SID_LIST = (SID_DESC = (SID_NAME = hsodbc) (ORACLE_HOME = c:\Oracle\Ora101) (PROGRAM = hsodbc) ) Stop and start the listener service or from the command line: C:\> lsnrctl stop C:\> lsnrctl start Step 5: Configure Oracle HS: Edit the ORACLE_HOME\hs\admin\inithsodbc.ora file and add your ODBC System DSN Name (ODBC1 in our case as defined in step 3). HS_FDS_CONNECT_INFO = odbc1 HS_FDS_TRACE_LEVEL = off Note: If you used a custom SID_NAME in step 4, name the file accordingly - INIT.ORA. Step 6: Configure Oracle connectivity to Windows Machine >From now on we are going to work on the Oracle Server (Unix or whatever you run) add the following TNSNAMES.ORA entry: access_db.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.31) (PORT = 1521) ) (CONNECT_DATA = (SID = hsodbc) ) (HS=OK) ) Ensure you can tnsping the new entry before continuing. Step 7: Create a database link Create a database link using the entry defined in step 6. SQL> CREATE DATABASE LINK access_db USING 'access_db.world'; Database link created. The tables in the access database can now be queried from the Oracle environment. SQL> SELECT * FROM my_access_tab at access_db; ID Field1 Field2 ---------- -------------------- -------------------- 1 row1col1 row1col2 2 row2col1 row2col2 3 row3col1 row3col2 SQL> CREATE TABLE my_oracle_tab AS SELECT * FROM my_access_tab at access_db; Table created. From: steve at bfginternational.com [mailto:steve at bfginternational.com] Sent: Wednesday, April 22, 2009 11:45 PM To: 'Rocky Smolin' Subject: FW: Error Message while Connecting Access to Oracle Hello Rocky, We've had no luck connecting Oracle8i to Access 2003. Sudha, the programmer, has followed the attached guide but received the error message below once step 7 is reached. She's defined the Access ODBC connection as a User DSN to the ezmrpwdg-V22.mdb. She's also updated 2 separate TNS names files. Perhaps you've had previous customers perform this task? Thoughts appreciated. Regards, Steve ________________________________ From: sudha at bfginternational.com [mailto:sudha at bfginternational.com] Sent: Thursday, April 23, 2009 8:05 AM To: steve at bfginternational.com Subject: Error Message while Connecting Access to Oracle ORA-28500: Connection from ORACLE to a non-Oracle System returned this message; [Generic Connectivity Using ODBS][Microsoft][ODBC Driver Manager] Data Source Name not found and no default driver specified (SQL State: IM002; SQL Code: 0) ORA-02063: Preceding 2 lines from ACCESS_DB Regards, Sudha Teki Software Engineer MIS Department BFG International W.L.L -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Apr 23 17:13:52 2009 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 23 Apr 2009 17:13:52 -0500 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: <1FA8C785F2434102A68057EDF6565CBE@HAL9005> References: <9764185C57AD4E69B7E784EAC949E812@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, , <26BFAAF30554415298B33F720076ECA7@HAL9005> <1FA8C785F2434102A68057EDF6565CBE@HAL9005> Message-ID: <59F4C79E0A20B74990A3775EF2388A89423208565B@PDAWM03C.ad.sprint.com> Rocky, I passed your post (up to and including Martin's last post) along to a colleague who has some Oracle experience. Here's his response: I would agree with what has been said. I would install an Oracle Client and not use the MS version of the ODBC. Once the Client is installed it should come with SQL Plus that can be used to test connectivity. The syntax of the tnsnames.ora file looks correct below. MRDF = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)) ) (CONNECT_DATA = (SID = MRDF)) ) Although it has been some time since I used Oracle 8i, I do recall that I had an issue once that gave the same error and it was because I updated the wrong tnsnames.ora file. I recall that there were tnsnames.ora file under the install folder somewhere and another under the \NETWORK\Admin subfolder. I do not recall which one was the correct one. Also, if it is a local install of Oracle on a MS Server then the Oracle Services may not be set to auto start. Hope this may help. Don McGillivray This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. From rockysmolin at bchacc.com Thu Apr 23 17:16:17 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 23 Apr 2009 15:16:17 -0700 Subject: [AccessD] FW: Error Message while Connecting Access to Oracle In-Reply-To: <59F4C79E0A20B74990A3775EF2388A89423208565B@PDAWM03C.ad.sprint.com> References: <9764185C57AD4E69B7E784EAC949E812@HAL9005><7E02B06E41E5404589EDDDA2BAA1C5A86BDB8B@sanex101.nciinc.com>, , <26BFAAF30554415298B33F720076ECA7@HAL9005><1FA8C785F2434102A68057EDF6565CBE@HAL9005> <59F4C79E0A20B74990A3775EF2388A89423208565B@PDAWM03C.ad.sprint.com> Message-ID: <9A91339D02E94FE1A43F4D8FDF4481AE@HAL9005> Thanks. I'll pass it along. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Thursday, April 23, 2009 3:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Error Message while Connecting Access to Oracle Rocky, I passed your post (up to and including Martin's last post) along to a colleague who has some Oracle experience. Here's his response: I would agree with what has been said. I would install an Oracle Client and not use the MS version of the ODBC. Once the Client is installed it should come with SQL Plus that can be used to test connectivity. The syntax of the tnsnames.ora file looks correct below. MRDF = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)) ) (CONNECT_DATA = (SID = MRDF)) ) Although it has been some time since I used Oracle 8i, I do recall that I had an issue once that gave the same error and it was because I updated the wrong tnsnames.ora file. I recall that there were tnsnames.ora file under the install folder somewhere and another under the \NETWORK\Admin subfolder. I do not recall which one was the correct one. Also, if it is a local install of Oracle on a MS Server then the Oracle Services may not be set to auto start. Hope this may help. Don McGillivray This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Apr 24 08:36:08 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Apr 2009 09:36:08 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: References: Message-ID: <49F1C048.8090602@torchlake.com> Thanks, Gustav, I will check. T Gustav Brock wrote: > Hi Tina > > Make a debug.print of strSQL and you will probably see a field spelled wrongly or some other nasty thing. > > /gustav > > > >>>> tinanfields at torchlake.com 23-04-2009 17:43 >>> >>>> > Hi Drew, > > First of all, thank you very much for getting me started using the > TreeView control. I can see that this will be very useful - but, I am > still struggling to get my brain around it. > > I have very carefully worked through your code and made the name > adjustments I have to make to match up to my existing tables and > fields. There are still a couple of places where I scratch my head and > say "huh?" but for the most part I am finally understanding what you > have shared with me. Thanks. > > Now, I have run into a runtime error that I don't understand and I don't > know how to handle. When I select a volunteer from my combo > (cboVolunteers), I get this error message: > --------------------------------------- > Run-time error '-2147217904(80040e10)': > No value given for one or more required parameters. > ---------------------------------------- > > When I click the Debug button, the line of code that is highlighted is: > ------------------------------------------------------------------------------- > rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly > ------------------------------------------------------------------------------- > > I have no idea at this point what is wrong. Can you help me figure it out? > > Thanks, > Tina > > > From tinanfields at torchlake.com Fri Apr 24 08:39:48 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Apr 2009 09:39:48 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: References: <49F08CB9.8090809@torchlake.com> Message-ID: <49F1C124.8090400@torchlake.com> Hi Drew, I have these references checked, in this order : Visual Basic For Applications Microsoft Access 11.0 Object Library OLE Automation Microsoft DAO 3.6 Object Library Microsoft ActiveX Data Objects 2.1 Library Microsoft Windows Common Controls 6.0 (SP4) Microsoft Visual Basic for Applications Extensibility 5.3 Microsoft ADO Ext. 2.8 for DDL and Security Am I missing something here? Thanks, T Drew Wutka wrote: > Do you have the ADO reference selected? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Thursday, April 23, 2009 10:44 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Drew - TreeView help again, please > > Hi Drew, > > First of all, thank you very much for getting me started using the > TreeView control. I can see that this will be very useful - but, I am > still struggling to get my brain around it. > > I have very carefully worked through your code and made the name > adjustments I have to make to match up to my existing tables and > fields. There are still a couple of places where I scratch my head and > say "huh?" but for the most part I am finally understanding what you > have shared with me. Thanks. > > Now, I have run into a runtime error that I don't understand and I don't > > know how to handle. When I select a volunteer from my combo > (cboVolunteers), I get this error message: > --------------------------------------- > Run-time error '-2147217904(80040e10)': > No value given for one or more required parameters. > ---------------------------------------- > > When I click the Debug button, the line of code that is highlighted is: > ------------------------------------------------------------------------ > ------- > rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly > ------------------------------------------------------------------------ > ------- > > I have no idea at this point what is wrong. Can you help me figure it > out? > > Thanks, > Tina > From DWUTKA at Marlow.com Fri Apr 24 09:36:15 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 24 Apr 2009 09:36:15 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <49F1C124.8090400@torchlake.com> References: <49F08CB9.8090809@torchlake.com> <49F1C124.8090400@torchlake.com> Message-ID: Hmmm, is Microsoft ActiveX Data Objects 2.5 available? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, April 24, 2009 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drew - TreeView help again, please Hi Drew, I have these references checked, in this order : Visual Basic For Applications Microsoft Access 11.0 Object Library OLE Automation Microsoft DAO 3.6 Object Library Microsoft ActiveX Data Objects 2.1 Library Microsoft Windows Common Controls 6.0 (SP4) Microsoft Visual Basic for Applications Extensibility 5.3 Microsoft ADO Ext. 2.8 for DDL and Security Am I missing something here? Thanks, T Drew Wutka wrote: > Do you have the ADO reference selected? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Thursday, April 23, 2009 10:44 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Drew - TreeView help again, please > > Hi Drew, > > First of all, thank you very much for getting me started using the > TreeView control. I can see that this will be very useful - but, I am > still struggling to get my brain around it. > > I have very carefully worked through your code and made the name > adjustments I have to make to match up to my existing tables and > fields. There are still a couple of places where I scratch my head and > say "huh?" but for the most part I am finally understanding what you > have shared with me. Thanks. > > Now, I have run into a runtime error that I don't understand and I don't > > know how to handle. When I select a volunteer from my combo > (cboVolunteers), I get this error message: > --------------------------------------- > Run-time error '-2147217904(80040e10)': > No value given for one or more required parameters. > ---------------------------------------- > > When I click the Debug button, the line of code that is highlighted is: > ------------------------------------------------------------------------ > ------- > rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly > ------------------------------------------------------------------------ > ------- > > I have no idea at this point what is wrong. Can you help me figure it > out? > > Thanks, > Tina > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From gcantu at wylehou.com Fri Apr 24 10:13:50 2009 From: gcantu at wylehou.com (Cantu, Gilberto) Date: Fri, 24 Apr 2009 10:13:50 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com> Message-ID: <1F1465552F4C37418DBE90604D5FD7E6016E2915@bac-exc-01.wylehou.com> Where do I go to post a question about access? Do I just reply to Access Developers discussion and problem solving accessd at databaseadvisors.com Or do I go to the website? I tried but had no luck. Thanks, Gil From DWUTKA at Marlow.com Fri Apr 24 10:21:08 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 24 Apr 2009 10:21:08 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <1F1465552F4C37418DBE90604D5FD7E6016E2915@bac-exc-01.wylehou.com> References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com> <1F1465552F4C37418DBE90604D5FD7E6016E2915@bac-exc-01.wylehou.com> Message-ID: Send the email, just like this, and it goes through to everyone on the list. Though change the subject line to match your question. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Cantu, Gilberto Sent: Friday, April 24, 2009 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drew - TreeView help again, please Where do I go to post a question about access? Do I just reply to Access Developers discussion and problem solving accessd at databaseadvisors.com Or do I go to the website? I tried but had no luck. Thanks, Gil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Donald.A.McGillivray at sprint.com Fri Apr 24 10:30:35 2009 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 24 Apr 2009 10:30:35 -0500 Subject: [AccessD] Reply to Gilberto Cantu - How to post a question Message-ID: <59F4C79E0A20B74990A3775EF2388A8942321D228E@PDAWM03C.ad.sprint.com> Gilberto, Use "accessd at databaseadvisors.com" as the send to, and use a subject line appropriate to your question. Don This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. From Chester_Kaup at kindermorgan.com Fri Apr 24 10:55:08 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 24 Apr 2009 10:55:08 -0500 Subject: [AccessD] Formula fails in report Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0648F65B8B@houex1.kindermorgan.com> I have a report that is based on a parameter query. The query returns from a table a week number, department number, department description and 5 fields that have an aggregate domain function of sum. When I try to put in the detail section of the report on summation filed divided by another summation field all I get in print preview is #Error. I also notice that I get 4 records for each week because there are 4 descriptions for each week even though the report does not display this field. Can I not put the formula in the detail section? Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From wdhindman at dejpolsystems.com Fri Apr 24 13:15:51 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 24 Apr 2009 14:15:51 -0400 Subject: [AccessD] Export tables References: <0B2BF8524B73A248A2F1B81BA751ED3C0648F65B8B@houex1.kindermorgan.com> Message-ID: Group ...I have an existing A2k3 mdb (dao) with three tables that I need to export to a new mdb and set relationships in ...this needs to happen auto magically from a button click in the originating mdb ...googling hasn't turned up anything along that line ...any ideas or samples would be most appreciated. William From Lambert.Heenan at aiuholdings.com Fri Apr 24 13:47:57 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Fri, 24 Apr 2009 14:47:57 -0400 Subject: [AccessD] Export tables In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C0648F65B8B@houex1.kindermorgan.com> Message-ID: Allen Brown to the to rescue!!! I'm sure you know all about exporting the tables, here you will find the code to create the relationships... http://allenbrowne.com/FuncIndex.html Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 24, 2009 2:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Export tables Group ...I have an existing A2k3 mdb (dao) with three tables that I need to export to a new mdb and set relationships in ...this needs to happen auto magically from a button click in the originating mdb ...googling hasn't turned up anything along that line ...any ideas or samples would be most appreciated. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Apr 24 14:03:33 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 24 Apr 2009 15:03:33 -0400 Subject: [AccessD] Export tables References: <0B2BF8524B73A248A2F1B81BA751ED3C0648F65B8B@houex1.kindermorgan.com> Message-ID: <45CE7EA82BC14CF29C99EF69B8249D9B@jislaptopdev> ...as many times as I've used Brown's site over the years, I've never seen that particular page ...tks. William -------------------------------------------------- From: "Heenan, Lambert" Sent: Friday, April 24, 2009 2:47 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Export tables > Allen Brown to the to rescue!!! > > I'm sure you know all about exporting the tables, here you will find the > code to create the relationships... > > http://allenbrowne.com/FuncIndex.html > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, April 24, 2009 2:16 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Export tables > > Group > > ...I have an existing A2k3 mdb (dao) with three tables that I need to > export to a new mdb and set relationships in ...this needs to happen auto > magically from a button click in the originating mdb ...googling hasn't > turned up anything along that line ...any ideas or samples would be most > appreciated. > > William > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Apr 24 15:25:54 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Sat, 25 Apr 2009 00:25:54 +0400 Subject: [AccessD] =?koi8-r?b?U0NSVU06IE5vcnRod2luZC5ORVQgdi4xLjEgKEFscGhh?= =?koi8-r?b?KSB3aXRoIE1TIEFjY2VzcyBCYWNrZW5kIHB1Ymxpc2hlZA==?= Message-ID: Hi All, I have just published executables of Northwind.NET v.1.1 (Alpha) having MS Access Backend: http://northwind.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26600 Please test and post in dba-VB your feedback on issues to have them fixed ASAP, and to get v.1.1 released together with sources. Having v.1.0 with MS SQL 2005/2008 backend and v.1.1 with MS Access backend you can see what are the differences in SQL and in C# coding - and you'll find that those differences are surprisingly(?) small... Based on v.1.0 and v.1.1 we can try to make a dual back-end version switching MS SQL 2005/Access backends on start-up/on-the-fly: is that dual backend/backend switching technique interesting to you from practical point of view? If yes, in what practical use case scenarious do you suppose it can be used? Thank you. -- Shamil From wdhindman at dejpolsystems.com Fri Apr 24 15:59:26 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 24 Apr 2009 16:59:26 -0400 Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web References: Message-ID: <11BC23E3AD9E4B9D9B3294BF5B0CD817@jislaptopdev> Susan ...why the conversion to SQLServer in this particular situation? Citrix can serve an Access BE just as fast as it can a SQLServer BE ...the key thing to understand is that in thin-client setups ALL or the processing is done on the Citrix server ...only the desktop video, keyboard commands, and mouse moves are transferred from the server to the user's terminal ...a PC is not even required ...certainly not an Access Runtime on the user's PC ...the Access RT would be located in the user's folder on the server, not his PC ...and he should be thinking Windows Terminal Server, not Citrix, unless he has a specific need for the advanced functionality Citrix offers which is not addressed in his question. ...if he can do basic Asp.Net development AND the users have broadband access, the better solution might be to convert his Access FE to Asp.Net, put his Access or SQLServer BE on the server and let the user interface the data through his browser. ...if the users don't have at least a dsl level connection to the server, they're not going to be happy with the performance in either case. William -------------------------------------------------- From: "Susan Harkins" Sent: Wednesday, April 22, 2009 9:27 AM To: Subject: [AccessD] From a reader -- about migrating Access data to SQLServer on the Web > I received this from a reader. Any thoughts? > > Susan H. > > are feeling wonderfully benevolent, here goes. > > > I volunteer for a charity which uses Access for the membership system and > we > want to make it multi-user over the web. I believe I can achieve it by: > > 1.. Migrating the data to SQL server > 2.. Installing the Access Runtime on the remote users' PCs > 3.. Serving the database over Citrix > > > Do you think this is: > > 1.. a good idea > 2.. insane > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Fri Apr 24 17:16:38 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Apr 2009 18:16:38 -0400 Subject: [AccessD] From a reader -- about migrating Access data toSQLServer on the Web References: <11BC23E3AD9E4B9D9B3294BF5B0CD817@jislaptopdev> Message-ID: <743102FFBAA9487092B3276274A9BA15@SusanOne> > > ...why the conversion to SQLServer in this particular situation? ======I don't know, other than I guess he worries about corruption. > ...if he can do basic Asp.Net development AND the users have broadband > access, the better solution might be to convert his Access FE to Asp.Net, > put his Access or SQLServer BE on the server and let the user interface > the > data through his browser. ======That's doubtful, almost all of the readers who contact me on this particular issue have little to no experience outside of Access. What you're suggesting is certainly over his head. Susan H. From tinanfields at torchlake.com Sat Apr 25 08:42:33 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 25 Apr 2009 09:42:33 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: References: <49F08CB9.8090809@torchlake.com> <49F1C124.8090400@torchlake.com> Message-ID: <49F31349.8010705@torchlake.com> Drew and Gustav, Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have now referenced it. Gustav - I did have a misspelling, which I have now fixed. Both - now the error I receive is much farther down the code. It is in the section for clicking any nodes - using my field and table names, it looks like this (line numbers added for ease in discussing): ----------------------------------- 1- Set rs = New ADODB.Recordset 2- ' Click the nodes to be selected 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory WHERE MEMID=" & intMemID 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockReadOnly 5- If rs.EOF = False Then rs.MoveFirst 6- Do Until rs.EOF = True 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & rs.Fields(1).Value).Checked = True 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True 9- ' Expand the node to see the level 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True 11- rs.MoveNext 12- Loop ---------------------------------- The line that gives the error is line 7. The run-time error is 35601 Element not found. The tool-tip shows tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields... I'm wondering what to do next. Thanks for all your help. T Drew Wutka wrote: > Hmmm, is Microsoft ActiveX Data Objects 2.5 available? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, April 24, 2009 8:40 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Drew - TreeView help again, please > > Hi Drew, > > I have these references checked, in this order > : > Visual Basic For Applications > Microsoft Access 11.0 Object Library > OLE Automation > Microsoft DAO 3.6 Object Library > Microsoft ActiveX Data Objects 2.1 Library > Microsoft Windows Common Controls 6.0 (SP4) > Microsoft Visual Basic for Applications Extensibility 5.3 > Microsoft ADO Ext. 2.8 for DDL and Security > > Am I missing something here? Thanks, > T > > > Drew Wutka wrote: > >> Do you have the ADO reference selected? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Thursday, April 23, 2009 10:44 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Drew - TreeView help again, please >> >> Hi Drew, >> >> First of all, thank you very much for getting me started using the >> TreeView control. I can see that this will be very useful - but, I am >> > > >> still struggling to get my brain around it. >> >> I have very carefully worked through your code and made the name >> adjustments I have to make to match up to my existing tables and >> fields. There are still a couple of places where I scratch my head >> > and > >> say "huh?" but for the most part I am finally understanding what you >> have shared with me. Thanks. >> >> Now, I have run into a runtime error that I don't understand and I >> > don't > >> know how to handle. When I select a volunteer from my combo >> (cboVolunteers), I get this error message: >> --------------------------------------- >> Run-time error '-2147217904(80040e10)': >> No value given for one or more required parameters. >> ---------------------------------------- >> >> When I click the Debug button, the line of code that is highlighted >> > is: > > ------------------------------------------------------------------------ > >> ------- >> rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, >> > adLockReadOnly > > ------------------------------------------------------------------------ > >> ------- >> >> I have no idea at this point what is wrong. Can you help me figure it >> out? >> >> Thanks, >> Tina >> >> From iggy at nanaimo.ark.com Sat Apr 25 10:27:15 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 25 Apr 2009 08:27:15 -0700 Subject: [AccessD] Form Locked Message-ID: <49F32BD3.60006@nanaimo.ark.com> Hey All This has got me baffled and I figure there has to be an easy answer that I am missing. I have a program where I prevent the user from shutting down the program by closing the app. window. I use the On Unload to check to see if a variable has been set to true, if not all actions are cancelled and a MsgBox appears. This works fine in most cases. On one form I have a button that pops up a modal form so that the user can enter in project notes. Now when the user tries to shut down the app. by clicking the close button a message appears and close is cancelled. The problem I am having is the notes form is then locked (basically everything is locked) and I have to use the Windows Task Master to close the program. If I make the underlying form visible False (which I usually do and turn in back on On Close) no problem. I have tried a myriad of things API calls, other code etc. to no avail. Any suggestions???? Thanks From rockysmolin at bchacc.com Sat Apr 25 10:59:57 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 08:59:57 -0700 Subject: [AccessD] Copy Protection Needed Message-ID: Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From bill_patten at embarqmail.com Sat Apr 25 11:45:21 2009 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 25 Apr 2009 09:45:21 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <73CF0C445B5246B18089E6995579D019@BPCS> Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -------------------------------------------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Apr 25 13:01:30 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 11:01:30 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <73CF0C445B5246B18089E6995579D019@BPCS> References: <73CF0C445B5246B18089E6995579D019@BPCS> Message-ID: <53F55C1866DE430DA216A870828B8C0A@HAL9005> OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Sat Apr 25 13:18:06 2009 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sat, 25 Apr 2009 11:18:06 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <53F55C1866DE430DA216A870828B8C0A@HAL9005> References: <73CF0C445B5246B18089E6995579D019@BPCS> <53F55C1866DE430DA216A870828B8C0A@HAL9005> Message-ID: <62C4742DBE9A452C84304FD255E1640D@bigmama> Not sure what an SN is, but how about the same routine with the computer's MAC. There's probably already a ton of routines to find that available. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Apr 25 13:24:49 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 11:24:49 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <62C4742DBE9A452C84304FD255E1640D@bigmama> References: <73CF0C445B5246B18089E6995579D019@BPCS><53F55C1866DE430DA216A870828B8C0A@HAL9005> <62C4742DBE9A452C84304FD255E1640D@bigmama> Message-ID: <5FFDF3F5E1234852888A6DCC312838E2@HAL9005> SN is serial number. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Saturday, April 25, 2009 11:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed Not sure what an SN is, but how about the same routine with the computer's MAC. There's probably already a ton of routines to find that available. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 25 14:17:47 2009 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 25 Apr 2009 12:17:47 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <53F55C1866DE430DA216A870828B8C0A@HAL9005> References: <73CF0C445B5246B18089E6995579D019@BPCS> <53F55C1866DE430DA216A870828B8C0A@HAL9005> Message-ID: <4B6E65C2C5164058A803C162F34ABA12@BPCS> Rocky, You stated why you could not use the clients HD serial number so I thought you knew how. I really don't but perhaps the following will help http://bytes.com/groups/ms-access/465109-programmatically-obtain-hard-disks-serial-number-vba http://discussions.virtualdr.com/showthread.php?t=123896 If I were to do it I would probably use an API call like this one from API-Guide 3.7 Private Declare Function GetVolumeInformation Lib "Kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long Private Sub Form_Load() 'KPD-Team 1998 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Serial As Long, VName As String, FSName As String 'Create buffers VName = String$(255, Chr$(0)) FSName = String$(255, Chr$(0)) 'Get the volume information GetVolumeInformation "C:\", VName, 255, Serial, 0, 0, FSName, 255 'Strip the extra chr$(0)'s VName = Left$(VName, InStr(1, VName, Chr$(0)) - 1) FSName = Left$(FSName, InStr(1, FSName, Chr$(0)) - 1) MsgBox "The Volume name of C:\ is '" + VName + "', the File system name of C:\ is '" + FSName + "' and the serial number of C:\ is '" + Trim(Str$(Serial)) + "'", vbInformation + vbOKOnly, App.Title End Sub Lots of discussion in the two URL's about changing SN's etc but it would probably be more involved then most PC users are capable of. Some MAC addresses can be changed fairly easily though. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 11:01 AM Subject: Re: [AccessD] Copy Protection Needed OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 25 16:10:04 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Apr 2009 07:10:04 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg> Apart from Registration keys etc, the first thing that I do to discourage piracy with this sort of is application put the organisation's name on all menus and reports. If the Tennessee branch has "Michigan Branch" appearing on their form letters etc they will be encouraged to get their own copy. With an MDE FE, it's a simple matter to embed the name in a Function which is used as the source of a text box on all forms/reports etc. -- Stuart On 25 Apr 2009 at 8:59, Rocky Smolin wrote: > Dear List: > > Susan Harkins and I are working on a project together It is a relatively > small application and database for the Toys for Tots organization - tracking > parents, children, donors, and volunteers. We were contacted by the head of > a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > custom database - well out of his budget range. So we decided to put > together an application for him, speculating that perhaps other Toys for > Tots chapters around the country would find the application valuable. He's > up and running and very happy, has provided us with a nice endorsement, and > will post a notice to the TFT bulletin board for us when we get a web page > up. Which should be in a couple weeks. We have priced the product at $400. > > We think, given the tight budgets and the fact that they're a charitable, > volunteer organization, that there is a risk that copies of the application, > which we have named Toy Track, will get passed around to other chapters even > at a relatively low cost of $400. > > So we would like to find a way to implement some copy protection but don't > want it to be a burden on either us or the user. Some approaches would be > > 1. have the app 'phone home' to be activated, sending the hard drive serial > or somehow tying it to a machine. Problem here is that the license will be > for the chapter - front end would go on each client - so they could > legitimately run multiple copies of the app. And we'd have the expense of > creating and maintaining the web site. > > 2. Date bomb - this would require re-registration from time to time. Like > #1, it would involve an interactive web site - more effort and expense that > we think we want to put into copy protection - or a phone or email response > with a 'key' that would extend the license. Or we send each user a fresh > copy before their copy expires. Still doesn't stop them from forwarding the > new mde to someone else. > > 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think > we'd get any protection there. Plus we'd have the whole product and shipping > hassle, and software delivered electronically versus on a hard copy medium > is free of sales tax in California. > > 4???? > > Any ideas will be welcome. Hopefully the discussion will benefit others on > the list who are facing similar problems. > > MTIA, > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > From stuart at lexacorp.com.pg Sat Apr 25 16:18:53 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Apr 2009 07:18:53 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <49F37E3D.25323.E469170@stuart.lexacorp.com.pg> I see from a quick google that Toys For Tots is a US Marine Reserve foundation. "Over its 14 year life span, the Marine Toys for Tots Foundation has supplemented local toy collections with more than 55.5 million toys valued at more than $284 million; plus has provided promotion and support materials valued at over $3.2 million" How about approaching them with a bulk licencing deal - that way you can provide a copy to every chapter and not have to worry about copy protection. -- Stuart On 25 Apr 2009 at 8:59, Rocky Smolin wrote: > Dear List: > > Susan Harkins and I are working on a project together It is a relatively > small application and database for the Toys for Tots organization - tracking > parents, children, donors, and volunteers. We were contacted by the head of > a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > custom database - well out of his budget range. So we decided to put > together an application for him, speculating that perhaps other Toys for > Tots chapters around the country would find the application valuable. He's > up and running and very happy, has provided us with a nice endorsement, and > will post a notice to the TFT bulletin board for us when we get a web page > up. Which should be in a couple weeks. We have priced the product at $400. > > We think, given the tight budgets and the fact that they're a charitable, > volunteer organization, that there is a risk that copies of the application, > which we have named Toy Track, will get passed around to other chapters even > at a relatively low cost of $400. > > So we would like to find a way to implement some copy protection but don't > want it to be a burden on either us or the user. Some approaches would be > > 1. have the app 'phone home' to be activated, sending the hard drive serial > or somehow tying it to a machine. Problem here is that the license will be > for the chapter - front end would go on each client - so they could > legitimately run multiple copies of the app. And we'd have the expense of > creating and maintaining the web site. > > 2. Date bomb - this would require re-registration from time to time. Like > #1, it would involve an interactive web site - more effort and expense that > we think we want to put into copy protection - or a phone or email response > with a 'key' that would extend the license. Or we send each user a fresh > copy before their copy expires. Still doesn't stop them from forwarding the > new mde to someone else. > > 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think > we'd get any protection there. Plus we'd have the whole product and shipping > hassle, and software delivered electronically versus on a hard copy medium > is free of sales tax in California. > > 4???? > > Any ideas will be welcome. Hopefully the discussion will benefit others on > the list who are facing similar problems. > > MTIA, > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > From rockysmolin at bchacc.com Sat Apr 25 16:54:10 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 14:54:10 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49F37E3D.25323.E469170@stuart.lexacorp.com.pg> References: <49F37E3D.25323.E469170@stuart.lexacorp.com.pg> Message-ID: <28867A7C1AAE4F1A85A0D21603A6F773@HAL9005> That's a possibility. I'd like to get a few users as enthusiastic about it as our first guy. And then approach them. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 25, 2009 2:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I see from a quick google that Toys For Tots is a US Marine Reserve foundation. "Over its 14 year life span, the Marine Toys for Tots Foundation has supplemented local toy collections with more than 55.5 million toys valued at more than $284 million; plus has provided promotion and support materials valued at over $3.2 million" How about approaching them with a bulk licencing deal - that way you can provide a copy to every chapter and not have to worry about copy protection. -- Stuart On 25 Apr 2009 at 8:59, Rocky Smolin wrote: > Dear List: > > Susan Harkins and I are working on a project together It is a relatively > small application and database for the Toys for Tots organization - tracking > parents, children, donors, and volunteers. We were contacted by the head of > a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > custom database - well out of his budget range. So we decided to put > together an application for him, speculating that perhaps other Toys for > Tots chapters around the country would find the application valuable. He's > up and running and very happy, has provided us with a nice endorsement, and > will post a notice to the TFT bulletin board for us when we get a web page > up. Which should be in a couple weeks. We have priced the product at $400. > > We think, given the tight budgets and the fact that they're a charitable, > volunteer organization, that there is a risk that copies of the application, > which we have named Toy Track, will get passed around to other chapters even > at a relatively low cost of $400. > > So we would like to find a way to implement some copy protection but don't > want it to be a burden on either us or the user. Some approaches would be > > 1. have the app 'phone home' to be activated, sending the hard drive serial > or somehow tying it to a machine. Problem here is that the license will be > for the chapter - front end would go on each client - so they could > legitimately run multiple copies of the app. And we'd have the expense of > creating and maintaining the web site. > > 2. Date bomb - this would require re-registration from time to time. Like > #1, it would involve an interactive web site - more effort and expense that > we think we want to put into copy protection - or a phone or email response > with a 'key' that would extend the license. Or we send each user a fresh > copy before their copy expires. Still doesn't stop them from forwarding the > new mde to someone else. > > 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think > we'd get any protection there. Plus we'd have the whole product and shipping > hassle, and software delivered electronically versus on a hard copy medium > is free of sales tax in California. > > 4???? > > Any ideas will be welcome. Hopefully the discussion will benefit others on > the list who are facing similar problems. > > MTIA, > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Apr 25 18:11:24 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 16:11:24 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg> References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg> Message-ID: <398048AC74724B1DA55CF16178F9F242@HAL9005> That sounds like a good idea. What do you think Susan? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 25, 2009 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Apart from Registration keys etc, the first thing that I do to discourage piracy with this sort of is application put the organisation's name on all menus and reports. If the Tennessee branch has "Michigan Branch" appearing on their form letters etc they will be encouraged to get their own copy. With an MDE FE, it's a simple matter to embed the name in a Function which is used as the source of a text box on all forms/reports etc. -- Stuart On 25 Apr 2009 at 8:59, Rocky Smolin wrote: > Dear List: > > Susan Harkins and I are working on a project together It is a > relatively small application and database for the Toys for Tots > organization - tracking parents, children, donors, and volunteers. We > were contacted by the head of a Michigan chapter after he had gotten > bids from $2500 to $10,000 for a custom database - well out of his > budget range. So we decided to put together an application for him, > speculating that perhaps other Toys for Tots chapters around the > country would find the application valuable. He's up and running and > very happy, has provided us with a nice endorsement, and will post a > notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. > > We think, given the tight budgets and the fact that they're a > charitable, volunteer organization, that there is a risk that copies > of the application, which we have named Toy Track, will get passed > around to other chapters even at a relatively low cost of $400. > > So we would like to find a way to implement some copy protection but > don't want it to be a burden on either us or the user. Some approaches > would be > > 1. have the app 'phone home' to be activated, sending the hard drive > serial or somehow tying it to a machine. Problem here is that the > license will be for the chapter - front end would go on each client - > so they could legitimately run multiple copies of the app. And we'd > have the expense of creating and maintaining the web site. > > 2. Date bomb - this would require re-registration from time to time. > Like #1, it would involve an interactive web site - more effort and > expense that we think we want to put into copy protection - or a phone > or email response with a 'key' that would extend the license. Or we > send each user a fresh copy before their copy expires. Still doesn't > stop them from forwarding the new mde to someone else. > > 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't > think we'd get any protection there. Plus we'd have the whole product > and shipping hassle, and software delivered electronically versus on > a hard copy medium is free of sales tax in California. > > 4???? > > Any ideas will be welcome. Hopefully the discussion will benefit > others on the list who are facing similar problems. > > MTIA, > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.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 Apr 25 19:16:33 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 25 Apr 2009 20:16:33 -0400 Subject: [AccessD] Copy Protection Needed References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg> <398048AC74724B1DA55CF16178F9F242@HAL9005> Message-ID: <23D52185FF2A446FB91BDE8F61875F9C@SusanOne> > That sounds like a good idea. What do you think Susan? =======Sure, can't hurt, but it won't keep anyone who wants to copy it from doing so. They won't care what branch name shows. They'll just white it out and make a copy on their own letterhead, or something else uniquely clever. When it comes to stealing software, people aren't going to be put off much by an inconvenience, but it certainly can't hurt and would be easy enough to implement as a global constant. Susan H. > If the Tennessee branch has "Michigan Branch" appearing on their form > letters etc they will be encouraged to get their own copy. > > With an MDE FE, it's a simple matter to embed the name in a Function which > is used as the source of a text box on all forms/reports etc. From rockysmolin at bchacc.com Sat Apr 25 19:51:21 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 17:51:21 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <23D52185FF2A446FB91BDE8F61875F9C@SusanOne> References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg><398048AC74724B1DA55CF16178F9F242@HAL9005> <23D52185FF2A446FB91BDE8F61875F9C@SusanOne> Message-ID: Well, I went through this process a long, long time ago - mid 80s - my first big product. How to stop the pirating? In the end, we concluded there was no foolproof way. The answer? Sell it faster than they can steal it and don't look back. There's no percentage in it. Some people will steal money out of our pockets. You get used to it. Living well, as they say, is the best revenge. We'll do what we can to stop 90% - that include the 80% who are honest. Well, convert 10% of the crooks, and the other 10% we'll just have to let them go. Remember, some of the illegal copies are not lost sales. They go to people who wouldn't buy it anyway. There's my rationalization for the weekend. How do you like it? :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, April 25, 2009 5:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed > That sounds like a good idea. What do you think Susan? =======Sure, can't hurt, but it won't keep anyone who wants to copy it from doing so. They won't care what branch name shows. They'll just white it out and make a copy on their own letterhead, or something else uniquely clever. When it comes to stealing software, people aren't going to be put off much by an inconvenience, but it certainly can't hurt and would be easy enough to implement as a global constant. Susan H. > If the Tennessee branch has "Michigan Branch" appearing on their form > letters etc they will be encouraged to get their own copy. > > With an MDE FE, it's a simple matter to embed the name in a Function > which is used as the source of a text box on all forms/reports etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Apr 25 20:30:13 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 25 Apr 2009 21:30:13 -0400 Subject: [AccessD] Copy Protection Needed References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg><398048AC74724B1DA55CF16178F9F242@HAL9005><23D52185FF2A446FB91BDE8F61875F9C@SusanOne> Message-ID: <57E4CA983AAD43A286F16D4BBF6DED55@SusanOne> > There's my rationalization for the weekend. How do you like it? :) =====I don't. I want an alarm that hauls out the pirate police! ;) Susan H. From stuart at lexacorp.com.pg Sat Apr 25 20:32:10 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Apr 2009 11:32:10 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: , <23D52185FF2A446FB91BDE8F61875F9C@SusanOne>, Message-ID: <49F3B99A.5817.F2E7750@stuart.lexacorp.com.pg> In the world of software, a VERY high percentage of illegal copies are not list sales. That's one of the things that p*sses me off about the claims of the RIAA and BSA with their calculations about the cost of music and software piracy. -- Stuart On 25 Apr 2009 at 17:51, Rocky Smolin wrote: > them go. Remember, some of the illegal copies are not lost sales. They go > to people who wouldn't buy it anyway. From rockysmolin at bchacc.com Sat Apr 25 20:47:00 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 18:47:00 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49F3B99A.5817.F2E7750@stuart.lexacorp.com.pg> References: , <23D52185FF2A446FB91BDE8F61875F9C@SusanOne>, <49F3B99A.5817.F2E7750@stuart.lexacorp.com.pg> Message-ID: <1D9DEA1C21B842C797098EECBAE4E14A@HAL9005> I'm clinging to this belief. Are you going to help me or be Mr. Buzzkill? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 25, 2009 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed In the world of software, a VERY high percentage of illegal copies are not list sales. That's one of the things that p*sses me off about the claims of the RIAA and BSA with their calculations about the cost of music and software piracy. -- Stuart On 25 Apr 2009 at 17:51, Rocky Smolin wrote: > them go. Remember, some of the illegal copies are not lost sales. > They go to people who wouldn't buy it anyway. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeff.developer at gmail.com Sat Apr 25 21:55:02 2009 From: jeff.developer at gmail.com (Jeff B) Date: Sat, 25 Apr 2009 21:55:02 -0500 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <49f3ccbe.1a015a0a.36b7.1245@mx.google.com> How about using Sentinel keys or some similar type of hardware key? http://www.safenet-inc.com/products/sentinel/hardware_keys.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 From stuart at lexacorp.com.pg Sat Apr 25 22:22:18 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Apr 2009 13:22:18 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: <28867A7C1AAE4F1A85A0D21603A6F773@HAL9005> References: , <49F37E3D.25323.E469170@stuart.lexacorp.com.pg>, <28867A7C1AAE4F1A85A0D21603A6F773@HAL9005> Message-ID: <49F3D36A.11049.F934A88@stuart.lexacorp.com.pg> According to http://www.toysfortots.org/about_toys_for_tots/toys_for_tots_foundation/default.asp there are currently about 550 local coordinators. At that rate, you should be able to offer a *very* good bulk licencing price to the parent Foundation :-) If I were you, I'd start that approach straight away with just the support of your current contact. On 25 Apr 2009 at 14:54, Rocky Smolin wrote: > That's a possibility. I'd like to get a few users as enthusiastic about it > as our first guy. And then approach them. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 25, 2009 2:19 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy Protection Needed > > I see from a quick google that Toys For Tots is a US Marine Reserve > foundation. > > "Over its 14 year life span, the Marine Toys for Tots Foundation has > supplemented local toy collections with more than 55.5 million toys valued > at more than $284 million; plus has provided promotion and support materials > valued at over $3.2 million" > > How about approaching them with a bulk licencing deal - that way you can > provide a copy to every chapter and not have to worry about copy protection. > > > -- > Stuart > > On 25 Apr 2009 at 8:59, Rocky Smolin wrote: > > > Dear List: > > > > Susan Harkins and I are working on a project together It is a relatively > > small application and database for the Toys for Tots organization - > tracking > > parents, children, donors, and volunteers. We were contacted by the head > of > > a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > > custom database - well out of his budget range. So we decided to put > > together an application for him, speculating that perhaps other Toys for > > Tots chapters around the country would find the application valuable. He's > > up and running and very happy, has provided us with a nice endorsement, > and > > will post a notice to the TFT bulletin board for us when we get a web page > > up. Which should be in a couple weeks. We have priced the product at > $400. > > > > We think, given the tight budgets and the fact that they're a charitable, > > volunteer organization, that there is a risk that copies of the > application, > > which we have named Toy Track, will get passed around to other chapters > even > > at a relatively low cost of $400. > > > > So we would like to find a way to implement some copy protection but don't > > want it to be a burden on either us or the user. Some approaches would be > > > > 1. have the app 'phone home' to be activated, sending the hard drive > serial > > or somehow tying it to a machine. Problem here is that the license will > be > > for the chapter - front end would go on each client - so they could > > legitimately run multiple copies of the app. And we'd have the expense of > > creating and maintaining the web site. > > > > 2. Date bomb - this would require re-registration from time to time. Like > > #1, it would involve an interactive web site - more effort and expense > that > > we think we want to put into copy protection - or a phone or email > response > > with a 'key' that would extend the license. Or we send each user a fresh > > copy before their copy expires. Still doesn't stop them from forwarding > the > > new mde to someone else. > > > > 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think > > we'd get any protection there. Plus we'd have the whole product and > shipping > > hassle, and software delivered electronically versus on a hard copy > medium > > is free of sales tax in California. > > > > 4???? > > > > Any ideas will be welcome. Hopefully the discussion will benefit others > on > > the list who are facing similar problems. > > > > MTIA, > > > > Rocky Smolin > > > > Beach Access Software > > > > 858-259-4334 > > > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From miscellany at mvps.org Sat Apr 25 22:27:33 2009 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 26 Apr 2009 15:27:33 +1200 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: Ricky, For several years I have been using Sagekey Security http://www.sagekey.com/security.aspx Of course, you have the expense of a licence from Sagekey. But in my opinion it's well worth it. There is a web component, but I don't bother with that. The consequence of which is that the customer has to contact direct by email or phone with a hardware-related 'Fingerprint number' on first installation, and you have to run a utility and email back their unlock key. Which obviously would be a drag if you are talking high volume sales. But for a moderate number of end users, it's not too burdensome, and always works like a charm. Regards Steve From: Rocky Smolin Sent: Sunday, April 26, 2009 3:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. From rockysmolin at bchacc.com Sat Apr 25 22:58:50 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 20:58:50 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49f3ccbe.1a015a0a.36b7.1245@mx.google.com> References: <49f3ccbe.1a015a0a.36b7.1245@mx.google.com> Message-ID: <2E612CA13A414ECA818172C75852E11D@HAL9005> I used sentinel many years ago when they first came out. People hated them. So I dropped them. It was a pass-through on a parallel port then. I see it's USB now. Probably they've improved a lot - easier to program. Probably less expensive too - it was pricey then - about $40 per key, IIRC - although here's no pricing on their web page which always raises a flag in my mind. It can't be a $5-10 item - I don't think they could stay in business with a price that low. I wonder if it would be appropriate for a $400 product? We'd have to charge by the seat then since it's a multi-user app. I'll contact them Monday, see what's what. But I think it may be more appropriate for a higher priced product. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff B Sent: Saturday, April 25, 2009 7:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed How about using Sentinel keys or some similar type of hardware key? http://www.safenet-inc.com/products/sentinel/hardware_keys.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Sun Apr 26 00:09:59 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sun, 26 Apr 2009 10:39:59 +0530 Subject: [AccessD] Copy Protection Needed References: Message-ID: <00d601c9c62d$5714f8f0$a960a27a@personald6374f> Rocky, For some additional working ideas, two of my sample db's mentioned below, might be of interest to you: (a) LicenseLock (b) TrialSet These are available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Saturday, April 25, 2009 21:29 Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin From rockysmolin at bchacc.com Sun Apr 26 00:23:33 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 22:23:33 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <00d601c9c62d$5714f8f0$a960a27a@personald6374f> References: <00d601c9c62d$5714f8f0$a960a27a@personald6374f> Message-ID: Thanks A.D. I'll check it out in the morning. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Saturday, April 25, 2009 10:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, For some additional working ideas, two of my sample db's mentioned below, might be of interest to you: (a) LicenseLock (b) TrialSet These are available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Saturday, April 25, 2009 21:29 Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, 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 Sun Apr 26 00:44:34 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Apr 2009 22:44:34 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <7535A325F34B4E7AB6ED0BDDDCBD1606@HAL9005> That might work. I'll check it. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, April 25, 2009 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Ricky, For several years I have been using Sagekey Security http://www.sagekey.com/security.aspx Of course, you have the expense of a licence from Sagekey. But in my opinion it's well worth it. There is a web component, but I don't bother with that. The consequence of which is that the customer has to contact direct by email or phone with a hardware-related 'Fingerprint number' on first installation, and you have to run a utility and email back their unlock key. Which obviously would be a drag if you are talking high volume sales. But for a moderate number of end users, it's not too burdensome, and always works like a charm. Regards Steve From: Rocky Smolin Sent: Sunday, April 26, 2009 3:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Apr 26 08:09:52 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 26 Apr 2009 09:09:52 -0400 Subject: [AccessD] Form Locked References: <49F32BD3.60006@nanaimo.ark.com> Message-ID: ...in the parent OnUnload, can you check first to see if the modal form is open ...and if it is, close it. William -------------------------------------------------- From: "Tony Septav" Sent: Saturday, April 25, 2009 11:27 AM To: "Access Developers discussion and problem solving" Subject: [AccessD] Form Locked > Hey All > This has got me baffled and I figure there has to be an easy answer that > I am missing. > I have a program where I prevent the user from shutting down the program > by closing the app. window. I use the On Unload to check to see if a > variable has been set to true, if not all actions are cancelled and a > MsgBox appears. This works fine in most cases. On one form I have a > button that pops up a modal form so that the user can enter in project > notes. Now when the user tries to shut down the app. by clicking the > close button a message appears and close is cancelled. The problem I am > having is the notes form is then locked (basically everything is locked) > and I have to use the Windows Task Master to close the program. If I > make the underlying form visible False (which I usually do and turn in > back on On Close) no problem. I have tried a myriad of things API calls, > other code etc. to no avail. Any suggestions???? > Thanks > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From iggy at nanaimo.ark.com Sun Apr 26 13:18:36 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 26 Apr 2009 11:18:36 -0700 Subject: [AccessD] Form Locked In-Reply-To: References: <49F32BD3.60006@nanaimo.ark.com> Message-ID: <49F4A57C.8060205@nanaimo.ark.com> Hey William Thank you very much for your response. I entered DoCmd.Close ACForm, "Form1" in the OnUnload in the parent form and received an error message "Close Action cancelled". William Hindman wrote: >...in the parent OnUnload, can you check first to see if the modal form is >open ...and if it is, close it. > >William > >-------------------------------------------------- >From: "Tony Septav" >Sent: Saturday, April 25, 2009 11:27 AM >To: "Access Developers discussion and problem solving" > >Subject: [AccessD] Form Locked > > > >>Hey All >>This has got me baffled and I figure there has to be an easy answer that >>I am missing. >>I have a program where I prevent the user from shutting down the program >>by closing the app. window. I use the On Unload to check to see if a >>variable has been set to true, if not all actions are cancelled and a >>MsgBox appears. This works fine in most cases. On one form I have a >>button that pops up a modal form so that the user can enter in project >>notes. Now when the user tries to shut down the app. by clicking the >>close button a message appears and close is cancelled. The problem I am >>having is the notes form is then locked (basically everything is locked) >>and I have to use the Windows Task Master to close the program. If I >>make the underlying form visible False (which I usually do and turn in >>back on On Close) no problem. I have tried a myriad of things API calls, >>other code etc. to no avail. Any suggestions???? >>Thanks >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > From wdhindman at dejpolsystems.com Sun Apr 26 13:37:05 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 26 Apr 2009 14:37:05 -0400 Subject: [AccessD] Form Locked References: <49F32BD3.60006@nanaimo.ark.com> <49F4A57C.8060205@nanaimo.ark.com> Message-ID: ...you may have to change the form to design mode first before you can close it that way ...since its modal, you may have to call its own close event from the parent William -------------------------------------------------- From: "Tony Septav" Sent: Sunday, April 26, 2009 2:18 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Form Locked > Hey William > Thank you very much for your response. > I entered DoCmd.Close ACForm, "Form1" in the OnUnload in the parent form > and received an error message "Close Action cancelled". > > > > William Hindman wrote: > >>...in the parent OnUnload, can you check first to see if the modal form is >>open ...and if it is, close it. >> >>William >> >>-------------------------------------------------- >>From: "Tony Septav" >>Sent: Saturday, April 25, 2009 11:27 AM >>To: "Access Developers discussion and problem solving" >> >>Subject: [AccessD] Form Locked >> >> >> >>>Hey All >>>This has got me baffled and I figure there has to be an easy answer that >>>I am missing. >>>I have a program where I prevent the user from shutting down the program >>>by closing the app. window. I use the On Unload to check to see if a >>>variable has been set to true, if not all actions are cancelled and a >>>MsgBox appears. This works fine in most cases. On one form I have a >>>button that pops up a modal form so that the user can enter in project >>>notes. Now when the user tries to shut down the app. by clicking the >>>close button a message appears and close is cancelled. The problem I am >>>having is the notes form is then locked (basically everything is locked) >>>and I have to use the Windows Task Master to close the program. If I >>>make the underlying form visible False (which I usually do and turn in >>>back on On Close) no problem. I have tried a myriad of things API calls, >>>other code etc. to no avail. Any suggestions???? >>>Thanks >>> >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >> >> >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sun Apr 26 15:43:36 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 26 Apr 2009 16:43:36 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: <62C4742DBE9A452C84304FD255E1640D@bigmama> References: <73CF0C445B5246B18089E6995579D019@BPCS> <53F55C1866DE430DA216A870828B8C0A@HAL9005> <62C4742DBE9A452C84304FD255E1640D@bigmama> Message-ID: <68704293F145402ABDDCA9D60B75086B@XPS> Karen, Actually, trying to find a default MAC address on a PC is a bit difficult because it can have so many. ie. if you create a VPN connection, it gets assigned a MAC address and many laptops have a wireless card and a hard port and may switch between the two. Trying to figure out what's what is difficult at best. I don't think I'd use it for copy protection. The hard drive serial number or CPU ID would be a better choice. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Saturday, April 25, 2009 2:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed Not sure what an SN is, but how about the same routine with the computer's MAC. There's probably already a ton of routines to find that available. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Sun Apr 26 16:31:52 2009 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Sun, 26 Apr 2009 21:31:52 +0000 (UTC) Subject: [AccessD] Copy Protection Needed In-Reply-To: <68704293F145402ABDDCA9D60B75086B@XPS> Message-ID: <1179689417.1452591240781512059.JavaMail.root@sz0037a.emeryville.ca.mail.comcast.net> Oh. OK, you are correct. I didn't think it through. Also, the MAC can be spoofed. Karen Rosenstiel Seattle WA USA ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Sunday, April 26, 2009 1:43:36 PM GMT -08:00 US/Canada Pacific Subject: Re: [AccessD] Copy Protection Needed Karen, Actually, trying to find a default MAC address on a PC is a bit difficult because it can have so many. ie. if you create a VPN connection, it gets assigned a MAC address and many laptops have a wireless card and a hard port and may switch between the two. Trying to figure out what's what is difficult at best. I don't think I'd use it for copy protection. The hard drive serial number or CPU ID would be a better choice. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Saturday, April 25, 2009 2:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed Not sure what an SN is, but how about the same routine with the computer's MAC. There's probably already a ton of routines to find that available. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, April 25, 2009 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed OK, Bill. I'll check into that. How do you retrieve the HD SN? Is there an API for that? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 25, 2009 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed Rocky, Just to add fuel to your thought process. If you have the ability to determining the HD SN, put a routine in the BE that can be called to get the backend HD SN. I believe I have seen you state that you usually send MDE's for the front end so create an encryption routine that will encrypt the BE HD SN and use that plus what ever method you were going to use to authorize use. For example add a number or some such to the unencrypted SN and use that for the authorization. If they move the backend to a new server, a message pops having them contact you for a new authorization code. This shouldn't be a big deal as not too many volunteer orgs get a new server (or PC with the BE in it) every year. Obviously I haven't thought this all the way through, but figured it might give you and idea or two to work with. HTH Bill ----- Original Message ----- From: "Rocky Smolin" To: "'Access Developers discussion and problem solving'" Sent: Saturday, April 25, 2009 8:59 AM Subject: [AccessD] Copy Protection Needed Dear List: Susan Harkins and I are working on a project together It is a relatively small application and database for the Toys for Tots organization - tracking parents, children, donors, and volunteers. We were contacted by the head of a Michigan chapter after he had gotten bids from $2500 to $10,000 for a custom database - well out of his budget range. So we decided to put together an application for him, speculating that perhaps other Toys for Tots chapters around the country would find the application valuable. He's up and running and very happy, has provided us with a nice endorsement, and will post a notice to the TFT bulletin board for us when we get a web page up. Which should be in a couple weeks. We have priced the product at $400. We think, given the tight budgets and the fact that they're a charitable, volunteer organization, that there is a risk that copies of the application, which we have named Toy Track, will get passed around to other chapters even at a relatively low cost of $400. So we would like to find a way to implement some copy protection but don't want it to be a burden on either us or the user. Some approaches would be 1. have the app 'phone home' to be activated, sending the hard drive serial or somehow tying it to a machine. Problem here is that the license will be for the chapter - front end would go on each client - so they could legitimately run multiple copies of the app. And we'd have the expense of creating and maintaining the web site. 2. Date bomb - this would require re-registration from time to time. Like #1, it would involve an interactive web site - more effort and expense that we think we want to put into copy protection - or a phone or email response with a 'key' that would extend the license. Or we send each user a fresh copy before their copy expires. Still doesn't stop them from forwarding the new mde to someone else. 3. Run with the CD in the drive. Nah. Too easy to rip a CD. Don't think we'd get any protection there. Plus we'd have the whole product and shipping hassle, and software delivered electronically versus on a hard copy medium is free of sales tax in California. 4???? Any ideas will be welcome. Hopefully the discussion will benefit others on the list who are facing similar problems. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com ---------------------------------------------------------------------------- ---- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Apr 26 19:05:31 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 26 Apr 2009 20:05:31 -0400 Subject: [AccessD] SPAM-LOW: Re: Copy Protection Needed In-Reply-To: <57E4CA983AAD43A286F16D4BBF6DED55@SusanOne> References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg><398048AC74724B1DA55CF16178F9F242@HAL9005><23D52185FF2A446FB91BDE8F61875F9C@SusanOne> <57E4CA983AAD43A286F16D4BBF6DED55@SusanOne> Message-ID: <49F4F6CB.4000503@colbyconsulting.com> Oh c'mon Susan, Seal Snipers all the way. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: >> There's my rationalization for the weekend. How do you like it? :) > > =====I don't. I want an alarm that hauls out the pirate police! ;) > > Susan H. From jwcolby at colbyconsulting.com Sun Apr 26 19:08:34 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 26 Apr 2009 20:08:34 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <49F4F782.40004@colbyconsulting.com> >The consequence of which is that the customer has to contact direct by email or phone with a hardware-related 'Fingerprint number' on first installation, and you have to run a utility and email back their unlock key. Which obviously would be a drag if you are talking high volume sales. ROTFL. Answering an email to provide a key to obtain a $400 sale is a PITA? Hmmm... I'll do it for 50%. John W. Colby www.ColbyConsulting.com Steve Schapel wrote: > Ricky, > > For several years I have been using Sagekey Security http://www.sagekey.com/security.aspx > > Of course, you have the expense of a licence from Sagekey. But in my opinion it's well worth it. > > There is a web component, but I don't bother with that. The consequence of which is that the customer has to contact direct by email or phone with a hardware-related 'Fingerprint number' on first installation, and you have to run a utility and email back their unlock key. Which obviously would be a drag if you are talking high volume sales. But for a moderate number of end users, it's not too burdensome, and always works like a charm. > > Regards > Steve > > From: Rocky Smolin > Sent: Sunday, April 26, 2009 3:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Copy Protection Needed > > > Dear List: > > Susan Harkins and I are working on a project together It is a relatively > small application and database for the Toys for Tots organization - tracking > parents, children, donors, and volunteers. We were contacted by the head of > a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > custom database - well out of his budget range. So we decided to put > together an application for him, speculating that perhaps other Toys for > Tots chapters around the country would find the application valuable. He's > up and running and very happy, has provided us with a nice endorsement, and > will post a notice to the TFT bulletin board for us when we get a web page > up. Which should be in a couple weeks. We have priced the product at $400. > From ssharkins at gmail.com Sun Apr 26 19:11:26 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 26 Apr 2009 20:11:26 -0400 Subject: [AccessD] SPAM-LOW: Re: Copy Protection Needed References: <49F37C2C.5261.E3E7E8C@stuart.lexacorp.com.pg><398048AC74724B1DA55CF16178F9F242@HAL9005><23D52185FF2A446FB91BDE8F61875F9C@SusanOne> <57E4CA983AAD43A286F16D4BBF6DED55@SusanOne> <49F4F6CB.4000503@colbyconsulting.com> Message-ID: Yeah, I like that idea better! ;) Susan H. > Oh c'mon Susan, Seal Snipers all the way. > Susan Harkins wrote: >>> There's my rationalization for the weekend. How do you like it? :) >> >> =====I don't. I want an alarm that hauls out the pirate police! ;) From marksimms at verizon.net Sun Apr 26 19:40:41 2009 From: marksimms at verizon.net (Mark Simms) Date: Sun, 26 Apr 2009 20:40:41 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: Message-ID: <004701c9c6d0$cb54f690$0701a8c0@MSIMMSWS> > We were contacted by the head of a Michigan > chapter after he had gotten bids from $2500 to $10,000 for a > custom database - well out of his budget range. One might ask why someone in that organization at the top was not made aware of the need for this solution... The "gorilla marketing" strategy might work however. From iggy at nanaimo.ark.com Mon Apr 27 07:41:04 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 27 Apr 2009 05:41:04 -0700 Subject: [AccessD] Form Locked - Solved Message-ID: <49F5A7E0.7090202@nanaimo.ark.com> Hey William I went back to ground zero. Created 3 forms Form1, Form2 and Form3. Pretended Form1 - Main Menu Form2 - Data entry form Form3 - Pop up data form for Notes Form1, Form2 and Form3 are all modal and Form1 & 2 have the Can Close code in their OnUnLoad property. Form1 has a button to open Form2. Form2 has a button to open Form3. Form2 and Form3 have Canclose=True in their buttons. Ran into my original problem, complete lock up. Added Form2 button - Me.Modal=False Form3 button - Set Frm = Forms!Form2!Form, Frm.Modal=True Works like a beauty (no lock up of Form3), and checked to determine that Form2 was back in its' modal state. Oh yeah if I did not make Form1 invisible (could have used Modal True/False) ran into the same lockup problem. Thanks again for all your help. Tony From tinanfields at torchlake.com Mon Apr 27 07:44:43 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 27 Apr 2009 08:44:43 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <49F31349.8010705@torchlake.com> References: <49F08CB9.8090809@torchlake.com> <49F1C124.8090400@torchlake.com> <49F31349.8010705@torchlake.com> Message-ID: <49F5A8BB.8030804@torchlake.com> By chance, I was in the treeview control object properties dialog box and found the 'checkboxes' option not enabled. I clicked to enable it and the 'Element not found' error message has disappeared. However, I attempted to use the Help facility from that dialog box and got the message 'The MSDN collection does not exist. Please reinstall MSDN,' which I would gladly do, but I don't know where to find it. The discussions I have found on this topic refer mainly to Visual Studio, which I am not using (to the best of my knowledge). Do you know where I can find MSDN? Until this message, I considered that the acronym for Microsoft Developers Network. I did some frustrating searching yesterday online and did not find what I need. Any thoughts? Thanks. T Tina Norris Fields wrote: > Drew and Gustav, > > Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have now > referenced it. > Gustav - I did have a misspelling, which I have now fixed. > > Both - now the error I receive is much farther down the code. It is in > the section for clicking any nodes - using my field and table names, it > looks like this (line numbers added for ease in discussing): > ----------------------------------- > 1- Set rs = New ADODB.Recordset > 2- ' Click the nodes to be selected > 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, > tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory WHERE > MEMID=" & intMemID > 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, > adLockReadOnly > 5- If rs.EOF = False Then rs.MoveFirst > 6- Do Until rs.EOF = True > 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & > rs.Fields(1).Value).Checked = True > 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True > 9- ' Expand the node to see the level > 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True > 11- rs.MoveNext > 12- Loop > ---------------------------------- > > The line that gives the error is line 7. The run-time error is 35601 > Element not found. The tool-tip shows > tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields... > > I'm wondering what to do next. Thanks for all your help. > > T > > Drew Wutka wrote: > >> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Friday, April 24, 2009 8:40 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Drew - TreeView help again, please >> >> Hi Drew, >> >> I have these references checked, in this order >> : >> Visual Basic For Applications >> Microsoft Access 11.0 Object Library >> OLE Automation >> Microsoft DAO 3.6 Object Library >> Microsoft ActiveX Data Objects 2.1 Library >> Microsoft Windows Common Controls 6.0 (SP4) >> Microsoft Visual Basic for Applications Extensibility 5.3 >> Microsoft ADO Ext. 2.8 for DDL and Security >> >> Am I missing something here? Thanks, >> T >> >> From ssharkins at gmail.com Mon Apr 27 10:12:42 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 27 Apr 2009 11:12:42 -0400 Subject: [AccessD] Windows 7 experts? Message-ID: I'm looking for someone with Windows 7 expertise for a writing job -- not with me, just putting someone with a publisher. Susan H. From DWUTKA at Marlow.com Mon Apr 27 12:50:44 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 27 Apr 2009 12:50:44 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <49F5A8BB.8030804@torchlake.com> References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com><49F31349.8010705@torchlake.com> <49F5A8BB.8030804@torchlake.com> Message-ID: I got the MSDN installation CD's with VB 6 and the Developers version of Office. I use the 3 CD's that came with the dev edition of Office 2000. I can put them up somewhere for you to download if you'd like.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Monday, April 27, 2009 7:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drew - TreeView help again, please By chance, I was in the treeview control object properties dialog box and found the 'checkboxes' option not enabled. I clicked to enable it and the 'Element not found' error message has disappeared. However, I attempted to use the Help facility from that dialog box and got the message 'The MSDN collection does not exist. Please reinstall MSDN,' which I would gladly do, but I don't know where to find it. The discussions I have found on this topic refer mainly to Visual Studio, which I am not using (to the best of my knowledge). Do you know where I can find MSDN? Until this message, I considered that the acronym for Microsoft Developers Network. I did some frustrating searching yesterday online and did not find what I need. Any thoughts? Thanks. T Tina Norris Fields wrote: > Drew and Gustav, > > Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have now > referenced it. > Gustav - I did have a misspelling, which I have now fixed. > > Both - now the error I receive is much farther down the code. It is in > the section for clicking any nodes - using my field and table names, it > looks like this (line numbers added for ease in discussing): > ----------------------------------- > 1- Set rs = New ADODB.Recordset > 2- ' Click the nodes to be selected > 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, > tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory WHERE > MEMID=" & intMemID > 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, > adLockReadOnly > 5- If rs.EOF = False Then rs.MoveFirst > 6- Do Until rs.EOF = True > 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & > rs.Fields(1).Value).Checked = True > 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True > 9- ' Expand the node to see the level > 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True > 11- rs.MoveNext > 12- Loop > ---------------------------------- > > The line that gives the error is line 7. The run-time error is 35601 > Element not found. The tool-tip shows > tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields... > > I'm wondering what to do next. Thanks for all your help. > > T > > Drew Wutka wrote: > >> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Friday, April 24, 2009 8:40 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Drew - TreeView help again, please >> >> Hi Drew, >> >> I have these references checked, in this order >> : >> Visual Basic For Applications >> Microsoft Access 11.0 Object Library >> OLE Automation >> Microsoft DAO 3.6 Object Library >> Microsoft ActiveX Data Objects 2.1 Library >> Microsoft Windows Common Controls 6.0 (SP4) >> Microsoft Visual Basic for Applications Extensibility 5.3 >> Microsoft ADO Ext. 2.8 for DDL and Security >> >> Am I missing something here? Thanks, >> T >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From mcp2004 at mail.ru Mon Apr 27 14:57:13 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Mon, 27 Apr 2009 23:57:13 +0400 Subject: [AccessD] ASP.NET 2.0/3.5 MS ReportViewer Reporting sample using MS Access database... Message-ID: Hi All, I have got published today a sample ASP.NET 2.0/3.5 application using MS Reportviewer Reports from our SCRUM Team's Northwind.NET project. This application is developed as "quick and dirty": - 1) downgrading .NET WinForms + MS SQL backed application to .NET WinForm + MS Access backend application; - 2) using MS Access backend and MS ReportViewer Reports from downgraded (1) app to make the following ASP.NET 2.0/3.5 sample: http://shamils-4.hosting.parking.ru/nw/ The sources of the above ASP.NET sample are planned to be released on http://northwind.codeplex.com during this week. Thank you. -- Shamil From wdhindman at dejpolsystems.com Mon Apr 27 17:00:41 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 27 Apr 2009 18:00:41 -0400 Subject: [AccessD] Drew - TreeView help again, please References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com><49F31349.8010705@torchlake.com> <49F5A8BB.8030804@torchlake.com> Message-ID: <916DA700DE5646F1BF081B778EB461B1@jislaptopdev> Tina ...if you are referring to the help file for the MSComCtl.ocx (which contains the treeview) I can e you a copy ...but you are going to be disappointed in its contents ...not much more than what you see in the object properties. William -------------------------------------------------- From: "Tina Norris Fields" Sent: Monday, April 27, 2009 8:44 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Drew - TreeView help again, please > By chance, I was in the treeview control object properties dialog box > and found the 'checkboxes' option not enabled. I clicked to enable it > and the 'Element not found' error message has disappeared. However, I > attempted to use the Help facility from that dialog box and got the > message 'The MSDN collection does not exist. Please reinstall MSDN,' > which I would gladly do, but I don't know where to find it. The > discussions I have found on this topic refer mainly to Visual Studio, > which I am not using (to the best of my knowledge). Do you know where I > can find MSDN? Until this message, I considered that the acronym for > Microsoft Developers Network. I did some frustrating searching > yesterday online and did not find what I need. Any thoughts? Thanks. > T > > Tina Norris Fields wrote: >> Drew and Gustav, >> >> Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have now >> referenced it. >> Gustav - I did have a misspelling, which I have now fixed. >> >> Both - now the error I receive is much farther down the code. It is in >> the section for clicking any nodes - using my field and table names, it >> looks like this (line numbers added for ease in discussing): >> ----------------------------------- >> 1- Set rs = New ADODB.Recordset >> 2- ' Click the nodes to be selected >> 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, >> tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory WHERE >> MEMID=" & intMemID >> 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, >> adLockReadOnly >> 5- If rs.EOF = False Then rs.MoveFirst >> 6- Do Until rs.EOF = True >> 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & >> rs.Fields(1).Value).Checked = True >> 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True >> 9- ' Expand the node to see the level >> 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True >> 11- rs.MoveNext >> 12- Loop >> ---------------------------------- >> >> The line that gives the error is line 7. The run-time error is 35601 >> Element not found. The tool-tip shows >> tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields...> found> >> >> I'm wondering what to do next. Thanks for all your help. >> >> T >> >> Drew Wutka wrote: >> >>> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >>> Fields >>> Sent: Friday, April 24, 2009 8:40 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Drew - TreeView help again, please >>> >>> Hi Drew, >>> >>> I have these references checked, in this order >>> : >>> Visual Basic For Applications >>> Microsoft Access 11.0 Object Library >>> OLE Automation >>> Microsoft DAO 3.6 Object Library >>> Microsoft ActiveX Data Objects 2.1 Library >>> Microsoft Windows Common Controls 6.0 (SP4) >>> Microsoft Visual Basic for Applications Extensibility 5.3 >>> Microsoft ADO Ext. 2.8 for DDL and Security >>> >>> Am I missing something here? Thanks, >>> T >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Mon Apr 27 17:48:27 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 27 Apr 2009 18:48:27 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com><49F31349.8010705@torchlake.com> <49F5A8BB.8030804@torchlake.com> Message-ID: <49F6363B.6010107@torchlake.com> I would appreciate that, Drew. T Drew Wutka wrote: > I got the MSDN installation CD's with VB 6 and the Developers version of > Office. I use the 3 CD's that came with the dev edition of Office 2000. > I can put them up somewhere for you to download if you'd like.... > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Monday, April 27, 2009 7:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Drew - TreeView help again, please > > By chance, I was in the treeview control object properties dialog box > and found the 'checkboxes' option not enabled. I clicked to enable it > and the 'Element not found' error message has disappeared. However, I > attempted to use the Help facility from that dialog box and got the > message 'The MSDN collection does not exist. Please reinstall MSDN,' > which I would gladly do, but I don't know where to find it. The > discussions I have found on this topic refer mainly to Visual Studio, > which I am not using (to the best of my knowledge). Do you know where I > > can find MSDN? Until this message, I considered that the acronym for > Microsoft Developers Network. I did some frustrating searching > yesterday online and did not find what I need. Any thoughts? Thanks. > T > > Tina Norris Fields wrote: > >> Drew and Gustav, >> >> Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have >> > now > >> referenced it. >> Gustav - I did have a misspelling, which I have now fixed. >> >> Both - now the error I receive is much farther down the code. It is >> > in > >> the section for clicking any nodes - using my field and table names, >> > it > >> looks like this (line numbers added for ease in discussing): >> ----------------------------------- >> 1- Set rs = New ADODB.Recordset >> 2- ' Click the nodes to be selected >> 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, >> tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory >> > WHERE > >> MEMID=" & intMemID >> 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, >> adLockReadOnly >> 5- If rs.EOF = False Then rs.MoveFirst >> 6- Do Until rs.EOF = True >> 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & >> rs.Fields(1).Value).Checked = True >> 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True >> 9- ' Expand the node to see the level >> 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True >> 11- rs.MoveNext >> 12- Loop >> ---------------------------------- >> >> The line that gives the error is line 7. The run-time error is 35601 >> Element not found. The tool-tip shows >> tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields...> > found> > >> I'm wondering what to do next. Thanks for all your help. >> >> T >> >> Drew Wutka wrote: >> >> >>> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina >>> > Norris > >>> Fields >>> Sent: Friday, April 24, 2009 8:40 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Drew - TreeView help again, please >>> >>> Hi Drew, >>> >>> I have these references checked, in this order >>> : >>> Visual Basic For Applications >>> Microsoft Access 11.0 Object Library >>> OLE Automation >>> Microsoft DAO 3.6 Object Library >>> Microsoft ActiveX Data Objects 2.1 Library >>> Microsoft Windows Common Controls 6.0 (SP4) >>> Microsoft Visual Basic for Applications Extensibility 5.3 >>> Microsoft ADO Ext. 2.8 for DDL and Security >>> >>> Am I missing something here? Thanks, >>> T >>> >>> >>> From tinanfields at torchlake.com Mon Apr 27 17:50:14 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 27 Apr 2009 18:50:14 -0400 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <916DA700DE5646F1BF081B778EB461B1@jislaptopdev> References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@t orchlake.com><49F31349.8010705@torchlake.com><49F5A8BB.803080 4@torchlake.com> <916DA700DE5646F1BF081B778EB461B1@jislaptopdev> Message-ID: <49F636A6.70501@torchlake.com> Hi William, Hmm, that's too bad, because the properties dialog box certainly left me wondering. Clicking Help only has made me wonder more. Still, if you're willing to send me a copy, I will appreciate it. Thanks. Tina William Hindman wrote: > Tina > > ...if you are referring to the help file for the MSComCtl.ocx (which > contains the treeview) I can e you a copy ...but you are going to be > disappointed in its contents ...not much more than what you see in the > object properties. > > William > > -------------------------------------------------- > From: "Tina Norris Fields" > Sent: Monday, April 27, 2009 8:44 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Drew - TreeView help again, please > > >> By chance, I was in the treeview control object properties dialog box >> and found the 'checkboxes' option not enabled. I clicked to enable it >> and the 'Element not found' error message has disappeared. However, I >> attempted to use the Help facility from that dialog box and got the >> message 'The MSDN collection does not exist. Please reinstall MSDN,' >> which I would gladly do, but I don't know where to find it. The >> discussions I have found on this topic refer mainly to Visual Studio, >> which I am not using (to the best of my knowledge). Do you know where I >> can find MSDN? Until this message, I considered that the acronym for >> Microsoft Developers Network. I did some frustrating searching >> yesterday online and did not find what I need. Any thoughts? Thanks. >> T >> >> Tina Norris Fields wrote: >> >>> Drew and Gustav, >>> >>> Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have now >>> referenced it. >>> Gustav - I did have a misspelling, which I have now fixed. >>> >>> Both - now the error I receive is much farther down the code. It is in >>> the section for clicking any nodes - using my field and table names, it >>> looks like this (line numbers added for ease in discussing): >>> ----------------------------------- >>> 1- Set rs = New ADODB.Recordset >>> 2- ' Click the nodes to be selected >>> 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, >>> tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory WHERE >>> MEMID=" & intMemID >>> 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, >>> adLockReadOnly >>> 5- If rs.EOF = False Then rs.MoveFirst >>> 6- Do Until rs.EOF = True >>> 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & >>> rs.Fields(1).Value).Checked = True >>> 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True >>> 9- ' Expand the node to see the level >>> 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True >>> 11- rs.MoveNext >>> 12- Loop >>> ---------------------------------- >>> >>> The line that gives the error is line 7. The run-time error is 35601 >>> Element not found. The tool-tip shows >>> tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields...>> found> >>> >>> I'm wondering what to do next. Thanks for all your help. >>> >>> T >>> >>> Drew Wutka wrote: >>> >>> >>>> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >>>> >>>> Drew >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >>>> Fields >>>> Sent: Friday, April 24, 2009 8:40 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Drew - TreeView help again, please >>>> >>>> Hi Drew, >>>> >>>> I have these references checked, in this order >>>> : >>>> Visual Basic For Applications >>>> Microsoft Access 11.0 Object Library >>>> OLE Automation >>>> Microsoft DAO 3.6 Object Library >>>> Microsoft ActiveX Data Objects 2.1 Library >>>> Microsoft Windows Common Controls 6.0 (SP4) >>>> Microsoft Visual Basic for Applications Extensibility 5.3 >>>> Microsoft ADO Ext. 2.8 for DDL and Security >>>> >>>> Am I missing something here? Thanks, >>>> T >>>> >>>> >>>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > From Johncliviger at aol.com Tue Apr 28 04:50:03 2009 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Tue, 28 Apr 2009 05:50:03 EDT Subject: [AccessD] Copy Protection Needed Message-ID: Hi Rocky VB.Net WMI (Windows Management Interface) does all sort of stuff like look at disks, motherboards and the like. I got a vb app that does that. Whether it will Add-in to Access I don't know. HTH john cliviger From DWUTKA at Marlow.com Tue Apr 28 11:07:56 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 28 Apr 2009 11:07:56 -0500 Subject: [AccessD] Drew - TreeView help again, please In-Reply-To: <49F6363B.6010107@torchlake.com> References: <49F08CB9.8090809@torchlake.com><49F1C124.8090400@torchlake.com><49F31349.8010705@torchlake.com> <49F5A8BB.8030804@torchlake.com> <49F6363B.6010107@torchlake.com> Message-ID: Okay, here are the links. Please let me know when you are done downloading them, the server they are on is going offline soon. (Also 6 pm EST we are going to have an interruption in our T1, so download them as soon as you can). http://70.253.148.163/MSDNDisc1.iso http://70.253.148.163/MSDNDisc2.iso http://70.253.148.163/MSDNDisc3.iso These are .iso images (CD-Rom images), you can either burn them to a CD, or personally, I use MagicIso (a freeware program) that lets you 'mount' an .iso image as a 'virtual' CD-Rom. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Monday, April 27, 2009 5:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drew - TreeView help again, please I would appreciate that, Drew. T Drew Wutka wrote: > I got the MSDN installation CD's with VB 6 and the Developers version of > Office. I use the 3 CD's that came with the dev edition of Office 2000. > I can put them up somewhere for you to download if you'd like.... > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Monday, April 27, 2009 7:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Drew - TreeView help again, please > > By chance, I was in the treeview control object properties dialog box > and found the 'checkboxes' option not enabled. I clicked to enable it > and the 'Element not found' error message has disappeared. However, I > attempted to use the Help facility from that dialog box and got the > message 'The MSDN collection does not exist. Please reinstall MSDN,' > which I would gladly do, but I don't know where to find it. The > discussions I have found on this topic refer mainly to Visual Studio, > which I am not using (to the best of my knowledge). Do you know where I > > can find MSDN? Until this message, I considered that the acronym for > Microsoft Developers Network. I did some frustrating searching > yesterday online and did not find what I need. Any thoughts? Thanks. > T > > Tina Norris Fields wrote: > >> Drew and Gustav, >> >> Drew - yes Mirosoft ActiveX Data Objects 2.5 is available and I have >> > now > >> referenced it. >> Gustav - I did have a misspelling, which I have now fixed. >> >> Both - now the error I receive is much farther down the code. It is >> > in > >> the section for clicking any nodes - using my field and table names, >> > it > >> looks like this (line numbers added for ease in discussing): >> ----------------------------------- >> 1- Set rs = New ADODB.Recordset >> 2- ' Click the nodes to be selected >> 3- strSQL = "SELECT tblAffiliateSkillsInventory.SkillsCode, >> tblAffiliateSkillsInventory.Level FROM tblAffiliateSkillsInventory >> > WHERE > >> MEMID=" & intMemID >> 4- rs.Open strSQL, CurrentProject.Connection, adOpenKeyset, >> adLockReadOnly >> 5- If rs.EOF = False Then rs.MoveFirst >> 6- Do Until rs.EOF = True >> 7- tvw.Nodes("ID:" & rs.Fields(0).Value & ":" & >> rs.Fields(1).Value).Checked = True >> 8- tvw.Nodes("ID:" & rs.Fields(0).Value).Checked = True >> 9- ' Expand the node to see the level >> 10- tvw.Nodes("ID:" & rs.Fields(0).Value).Expanded = True >> 11- rs.MoveNext >> 12- Loop >> ---------------------------------- >> >> The line that gives the error is line 7. The run-time error is 35601 >> Element not found. The tool-tip shows >> tvw.Nodes(ID:" & rs.Fields(0).Value & ":" & rs.Fields...> > found> > >> I'm wondering what to do next. Thanks for all your help. >> >> T >> >> Drew Wutka wrote: >> >> >>> Hmmm, is Microsoft ActiveX Data Objects 2.5 available? >>> >>> Drew >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina >>> > Norris > >>> Fields >>> Sent: Friday, April 24, 2009 8:40 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Drew - TreeView help again, please >>> >>> Hi Drew, >>> >>> I have these references checked, in this order >>> : >>> Visual Basic For Applications >>> Microsoft Access 11.0 Object Library >>> OLE Automation >>> Microsoft DAO 3.6 Object Library >>> Microsoft ActiveX Data Objects 2.1 Library >>> Microsoft Windows Common Controls 6.0 (SP4) >>> Microsoft Visual Basic for Applications Extensibility 5.3 >>> Microsoft ADO Ext. 2.8 for DDL and Security >>> >>> Am I missing something here? Thanks, >>> T >>> >>> >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From mcp2004 at mail.ru Tue Apr 28 14:34:13 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Tue, 28 Apr 2009 23:34:13 +0400 Subject: [AccessD] =?koi8-r?b?U0NSVU06IE5vcnRod2luZC5ORVQgdi4xLjIgUmVsZWFz?= =?koi8-r?b?ZWQ=?= Message-ID: Hi All, Northwind.NET v.1.2 (sources and executables) released on http://northwind.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26600 This version has: 1) WinForms sample application with MS SQL 2005/2008 BE; 2) WinForms sample application with MS Access BE; 3) ASP.NET sample reporting website with MS Access BE. Thank you. -- Shamil From rockysmolin at bchacc.com Tue Apr 28 19:16:38 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Apr 2009 17:16:38 -0700 Subject: [AccessD] Debug Stopped Message-ID: <1F69BC240DC64953B9288DFD8715028A@HAL9005> Dear List: This is a new one on me. I have a database that does not respond to breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get a message box with !. But at the point if I hit Ctrl-Break, it should break into the code. But it doesn't. It's obviously in the code of that module but it doesn't do anything that the module is supposed to do - like add stuff to a table. If I Dim X as variant and put x=1/0 in the code it should generate an error. but it doesn't. What could be going on here? (Already tried decompile.) MTIA Rocky From rockysmolin at bchacc.com Tue Apr 28 19:20:01 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Apr 2009 17:20:01 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: <1F69BC240DC64953B9288DFD8715028A@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005> Message-ID: <3089B93BBD5447129A5B721E1E67545F@HAL9005> BTW I did put breakpoints in the code and it didn't stop so that was my first clue that something was going wrong. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Debug Stopped Dear List: This is a new one on me. I have a database that does not respond to breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get a message box with !. But at the point if I hit Ctrl-Break, it should break into the code. But it doesn't. It's obviously in the code of that module but it doesn't do anything that the module is supposed to do - like add stuff to a table. If I Dim X as variant and put x=1/0 in the code it should generate an error. but it doesn't. What could be going on here? (Already tried decompile.) MTIA Rocky From jwcolby at colbyconsulting.com Tue Apr 28 19:35:14 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Apr 2009 20:35:14 -0400 Subject: [AccessD] SPAM-LOW: Re: Debug Stopped In-Reply-To: <3089B93BBD5447129A5B721E1E67545F@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005> <3089B93BBD5447129A5B721E1E67545F@HAL9005> Message-ID: <49F7A0C2.6020806@colbyconsulting.com> Put debug.print to see if the code is even running. It sounds like it isn't. John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > BTW I did put breakpoints in the code and it didn't stop so that was my > first clue that something was going wrong. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, April 28, 2009 5:17 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Debug Stopped > > Dear List: > > This is a new one on me. I have a database that does not respond to > breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get > a message box with !. But at the point if I hit Ctrl-Break, it should break > into the code. But it doesn't. It's obviously in the code of that module > but it doesn't do anything that the module is supposed to do - like add > stuff to a table. > > If I Dim X as variant and put x=1/0 in the code it should generate an error. > but it doesn't. > > What could be going on here? (Already tried decompile.) > > MTIA > > Rocky > > > > From rockysmolin at bchacc.com Wed Apr 29 00:14:18 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Apr 2009 22:14:18 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: <3089B93BBD5447129A5B721E1E67545F@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005> <3089B93BBD5447129A5B721E1E67545F@HAL9005> Message-ID: I just tried putting a breakpoint in on another mdb to see if it was my installation of access or that particular mdb. Happy to report breakpoints are working normally on everything except this mdb. There's something peculiar about it. Legacy app so I suppose I have to dig in a little. No macros, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 5:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped BTW I did put breakpoints in the code and it didn't stop so that was my first clue that something was going wrong. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Debug Stopped Dear List: This is a new one on me. I have a database that does not respond to breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get a message box with !. But at the point if I hit Ctrl-Break, it should break into the code. But it doesn't. It's obviously in the code of that module but it doesn't do anything that the module is supposed to do - like add stuff to a table. If I Dim X as variant and put x=1/0 in the code it should generate an error. but it doesn't. What could be going on here? (Already tried decompile.) MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 29 00:51:08 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Apr 2009 22:51:08 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: References: <1F69BC240DC64953B9288DFD8715028A@HAL9005><3089B93BBD5447129A5B721E1E67545F@HAL9005> Message-ID: <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005> Well, now I'll never know. I didn't fix the problem but I imported all the objects into a new mdb and left the problem behind. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 10:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped I just tried putting a breakpoint in on another mdb to see if it was my installation of access or that particular mdb. Happy to report breakpoints are working normally on everything except this mdb. There's something peculiar about it. Legacy app so I suppose I have to dig in a little. No macros, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 5:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped BTW I did put breakpoints in the code and it didn't stop so that was my first clue that something was going wrong. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, April 28, 2009 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Debug Stopped Dear List: This is a new one on me. I have a database that does not respond to breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get a message box with !. But at the point if I hit Ctrl-Break, it should break into the code. But it doesn't. It's obviously in the code of that module but it doesn't do anything that the module is supposed to do - like add stuff to a table. If I Dim X as variant and put x=1/0 in the code it should generate an error. but it doesn't. What could be going on here? (Already tried decompile.) MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Apr 29 01:27:29 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Apr 2009 16:27:29 +1000 Subject: [AccessD] Debug Stopped In-Reply-To: <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, , <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005> Message-ID: <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg> This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the startup options of the mdb (or if you have "unset" that option in code.) You should only uncheck this option when you have finished working with your application and are ready to distribute it!! -- Stuart On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > Well, now I'll never know. I didn't fix the problem but I imported all the > objects into a new mdb and left the problem behind. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, April 28, 2009 10:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > I just tried putting a breakpoint in on another mdb to see if it was my > installation of access or that particular mdb. Happy to report breakpoints > are working normally on everything except this mdb. There's something > peculiar about it. Legacy app so I suppose I have to dig in a little. No > macros, though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, April 28, 2009 5:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > BTW I did put breakpoints in the code and it didn't stop so that was my > first clue that something was going wrong. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, April 28, 2009 5:17 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Debug Stopped > > Dear List: > > This is a new one on me. I have a database that does not respond to > breakpoints. If I put a message box in the code - MsgBox "!" - I indeed get > a message box with !. But at the point if I hit Ctrl-Break, it should break > into the code. But it doesn't. It's obviously in the code of that module > but it doesn't do anything that the module is supposed to do - like add > stuff to a table. > > If I Dim X as variant and put x=1/0 in the code it should generate an error. > but it doesn't. > > What could be going on here? (Already tried decompile.) > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 29 08:09:59 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 29 Apr 2009 06:09:59 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, , <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005> <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg> Message-ID: <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> Well, the box was unchecked. But when I check it the breakpoints still don't work. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, April 28, 2009 11:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Debug Stopped This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the startup options of the mdb (or if you have "unset" that option in code.) You should only uncheck this option when you have finished working with your application and are ready to distribute it!! -- Stuart On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > Well, now I'll never know. I didn't fix the problem but I imported all > the objects into a new mdb and left the problem behind. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 10:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > I just tried putting a breakpoint in on another mdb to see if it was > my installation of access or that particular mdb. Happy to report > breakpoints are working normally on everything except this mdb. > There's something peculiar about it. Legacy app so I suppose I have > to dig in a little. No macros, though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > BTW I did put breakpoints in the code and it didn't stop so that was > my first clue that something was going wrong. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:17 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Debug Stopped > > Dear List: > > This is a new one on me. I have a database that does not respond to > breakpoints. If I put a message box in the code - MsgBox "!" - I > indeed get a message box with !. But at the point if I hit > Ctrl-Break, it should break into the code. But it doesn't. It's > obviously in the code of that module but it doesn't do anything that > the module is supposed to do - like add stuff to a table. > > If I Dim X as variant and put x=1/0 in the code it should generate an error. > but it doesn't. > > What could be going on here? (Already tried decompile.) > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aiuholdings.com Wed Apr 29 08:31:30 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 29 Apr 2009 09:31:30 -0400 Subject: [AccessD] Debug Stopped In-Reply-To: <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, , <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005> <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg> <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> Message-ID: "When Access gets weird it's time to decompile" is my rule of thumb. The fact that you cured the problem by importing all objects into a new database suggests that a decompile would probably have fixed it too. When you import "everything" the compiled code is left behind, so it has the effect of decompiling. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, April 29, 2009 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped Well, the box was unchecked. But when I check it the breakpoints still don't work. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, April 28, 2009 11:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Debug Stopped This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the startup options of the mdb (or if you have "unset" that option in code.) You should only uncheck this option when you have finished working with your application and are ready to distribute it!! -- Stuart On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > Well, now I'll never know. I didn't fix the problem but I imported all > the objects into a new mdb and left the problem behind. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 10:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > I just tried putting a breakpoint in on another mdb to see if it was > my installation of access or that particular mdb. Happy to report > breakpoints are working normally on everything except this mdb. > There's something peculiar about it. Legacy app so I suppose I have > to dig in a little. No macros, though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > BTW I did put breakpoints in the code and it didn't stop so that was > my first clue that something was going wrong. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:17 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Debug Stopped > > Dear List: > > This is a new one on me. I have a database that does not respond to > breakpoints. If I put a message box in the code - MsgBox "!" - I > indeed get a message box with !. But at the point if I hit > Ctrl-Break, it should break into the code. But it doesn't. It's > obviously in the code of that module but it doesn't do anything that > the module is supposed to do - like add stuff to a table. > > If I Dim X as variant and put x=1/0 in the code it should generate an error. > but it doesn't. > > What could be going on here? (Already tried decompile.) > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Apr 29 08:38:13 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Apr 2009 23:38:13 +1000 Subject: [AccessD] Debug Stopped In-Reply-To: <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg>, <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> Message-ID: <49F85845.19156.213A422C@stuart.lexacorp.com.pg> Did you close the mdb and re-open it after checking it. It is a *startup* option. On 29 Apr 2009 at 6:09, Rocky Smolin wrote: > Well, the box was unchecked. But when I check it the breakpoints still > don't work. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, April 28, 2009 11:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Debug Stopped > > This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the > startup options of the mdb (or if you have "unset" that option in code.) > > You should only uncheck this option when you have finished working with your > application and are ready to distribute it!! > > -- > Stuart > > On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > > > Well, now I'll never know. I didn't fix the problem but I imported all > > the objects into a new mdb and left the problem behind. > > > > Rocky > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 10:14 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Debug Stopped > > > > I just tried putting a breakpoint in on another mdb to see if it was > > my installation of access or that particular mdb. Happy to report > > breakpoints are working normally on everything except this mdb. > > There's something peculiar about it. Legacy app so I suppose I have > > to dig in a little. No macros, though. > > > > Rocky > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 5:20 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Debug Stopped > > > > BTW I did put breakpoints in the code and it didn't stop so that was > > my first clue that something was going wrong. > > > > Rocky > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 5:17 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Debug Stopped > > > > Dear List: > > > > This is a new one on me. I have a database that does not respond to > > breakpoints. If I put a message box in the code - MsgBox "!" - I > > indeed get a message box with !. But at the point if I hit > > Ctrl-Break, it should break into the code. But it doesn't. It's > > obviously in the code of that module but it doesn't do anything that > > the module is supposed to do - like add stuff to a table. > > > > If I Dim X as variant and put x=1/0 in the code it should generate an > error. > > but it doesn't. > > > > What could be going on here? (Already tried decompile.) > > > > MTIA > > > > Rocky > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 29 10:15:00 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 29 Apr 2009 08:15:00 -0700 Subject: [AccessD] Down It Comes! Message-ID: 1.5TB Seagate external HDD - $117 today at FRY's. Don't forget to get an extra one. Rocky From rockysmolin at bchacc.com Wed Apr 29 10:32:31 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 29 Apr 2009 08:32:31 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, , <0CFBA315FAA746D3A846AC6D47B8669B@HAL9005><49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg><1E831570BBE04D5CAB2B39186C04E72F@HAL9005> Message-ID: Lambert: Actually tried the decompile without success. Must be a setting somewheres in the mdb. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, April 29, 2009 6:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped "When Access gets weird it's time to decompile" is my rule of thumb. The fact that you cured the problem by importing all objects into a new database suggests that a decompile would probably have fixed it too. When you import "everything" the compiled code is left behind, so it has the effect of decompiling. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, April 29, 2009 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Debug Stopped Well, the box was unchecked. But when I check it the breakpoints still don't work. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, April 28, 2009 11:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Debug Stopped This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the startup options of the mdb (or if you have "unset" that option in code.) You should only uncheck this option when you have finished working with your application and are ready to distribute it!! -- Stuart On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > Well, now I'll never know. I didn't fix the problem but I imported all > the objects into a new mdb and left the problem behind. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 10:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > I just tried putting a breakpoint in on another mdb to see if it was > my installation of access or that particular mdb. Happy to report > breakpoints are working normally on everything except this mdb. > There's something peculiar about it. Legacy app so I suppose I have > to dig in a little. No macros, though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Debug Stopped > > BTW I did put breakpoints in the code and it didn't stop so that was > my first clue that something was going wrong. > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Tuesday, April 28, 2009 5:17 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Debug Stopped > > Dear List: > > This is a new one on me. I have a database that does not respond to > breakpoints. If I put a message box in the code - MsgBox "!" - I > indeed get a message box with !. But at the point if I hit > Ctrl-Break, it should break into the code. But it doesn't. It's > obviously in the code of that module but it doesn't do anything that > the module is supposed to do - like add stuff to a table. > > If I Dim X as variant and put x=1/0 in the code it should generate an error. > but it doesn't. > > What could be going on here? (Already tried decompile.) > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 29 10:32:46 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 29 Apr 2009 08:32:46 -0700 Subject: [AccessD] Debug Stopped In-Reply-To: <49F85845.19156.213A422C@stuart.lexacorp.com.pg> References: <1F69BC240DC64953B9288DFD8715028A@HAL9005>, <49F7F351.7787.1FAFE8FD@stuart.lexacorp.com.pg>, <1E831570BBE04D5CAB2B39186C04E72F@HAL9005> <49F85845.19156.213A422C@stuart.lexacorp.com.pg> Message-ID: Yeah. No cigar. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, April 29, 2009 6:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Debug Stopped Did you close the mdb and re-open it after checking it. It is a *startup* option. On 29 Apr 2009 at 6:09, Rocky Smolin wrote: > Well, the box was unchecked. But when I check it the breakpoints > still don't work. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, April 28, 2009 11:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Debug Stopped > > This will happen if you have USE ACCESS SPECIAL KEYS unchecked in the > startup options of the mdb (or if you have "unset" that option in > code.) > > You should only uncheck this option when you have finished working > with your application and are ready to distribute it!! > > -- > Stuart > > On 28 Apr 2009 at 22:51, Rocky Smolin wrote: > > > Well, now I'll never know. I didn't fix the problem but I imported > > all the objects into a new mdb and left the problem behind. > > > > Rocky > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 10:14 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Debug Stopped > > > > I just tried putting a breakpoint in on another mdb to see if it was > > my installation of access or that particular mdb. Happy to report > > breakpoints are working normally on everything except this mdb. > > There's something peculiar about it. Legacy app so I suppose I have > > to dig in a little. No macros, though. > > > > Rocky > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 5:20 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Debug Stopped > > > > BTW I did put breakpoints in the code and it didn't stop so that was > > my first clue that something was going wrong. > > > > Rocky > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > Sent: Tuesday, April 28, 2009 5:17 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Debug Stopped > > > > Dear List: > > > > This is a new one on me. I have a database that does not respond to > > breakpoints. If I put a message box in the code - MsgBox "!" - I > > indeed get a message box with !. But at the point if I hit > > Ctrl-Break, it should break into the code. But it doesn't. It's > > obviously in the code of that module but it doesn't do anything that > > the module is supposed to do - like add stuff to a table. > > > > If I Dim X as variant and put x=1/0 in the code it should generate > > an > error. > > but it doesn't. > > > > What could be going on here? (Already tried decompile.) > > > > MTIA > > > > Rocky > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 29 10:44:52 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 29 Apr 2009 11:44:52 -0400 Subject: [AccessD] Down It Comes! In-Reply-To: References: Message-ID: <49F875F4.4080102@colbyconsulting.com> Yea... only there are TONS of problems with those drives. Almost 26% rate them as 1 star. http://www.newegg.com/Product/ProductReview.aspx?Item=N82E16822148337 I have two and have not experienced the problem but they are lightly used, mostly read only, as storage for my ripped DVDs. John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > 1.5TB Seagate external HDD - $117 today at FRY's. Don't forget to get an > extra one. > > Rocky > > > > From newsgrps at dalyn.co.nz Wed Apr 29 19:32:20 2009 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 30 Apr 2009 12:32:20 +1200 Subject: [AccessD] Multiple Shortcuts not working Message-ID: <20090430003120.MDEM12375.mta03.xtra.co.nz@Dalyn.dalyn.co.nz> I have a runtime application that installs 2 programs and creates shortcuts on the desktop to open them. The programs are ADE's which connect to 2 separate SQL2000 data bases. The programs are run through terminal server. When I click on the shortcuts with full administer rights each shortcut works fine and opens the correct program. If a user tries who doesn't have write/modify rights to the folder where the access runtime files are stored (eg C:\Program Files\Microsoft Access Runtime\Office10) then the first shortcut works ok, but if they then click on the second shortcut the same program opens as for the first one they clicked. It doesn't matter which shortcut they click on first when they log on, the other shortcut opens the same program as the first shortcut clicked. The same program then opens no matter which shortcut they use until they log off. Then when they log on again the first shortcut clicked determines which program will be opened by both shortcuts. If the users are given rights to modify / write to the Microsoft Access Runtime folder, then the shortcuts access the correct programs. We would prefer not to have to give users full access to the runtime folders. Has anyone heard of this before? Does anyone know which specific file/s need to have modify/write permissions so we can only provide the rights for those files? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From pcs.accessd at gmail.com Wed Apr 29 22:49:19 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Thu, 30 Apr 2009 13:49:19 +1000 Subject: [AccessD] MSADO28.tlb and MDAC Message-ID: Hi all! Statement : MDAC (Microsoft Data Access Components) is just dll hell incorporated! Question: How do I install MSADO28.tlb on a Windows XP SP3 ?? Background information: The MDAC components appear to all be sitting in C:\Program Files\Common Files\System\ado On my Vista Ultimate machine the file called msado15.dll is referenced as "Microsoft Active Data Objects Recordset 6.0 Library" when I examine it in the VBA Code Window - Tools>>References The file version information - when you hover the mouse over the file in the windows explorer window - corresponds with that On a Windows XP SP3 machine the same file - msado15.dll - has the version property set to version 2.81 something and is referenced as Active Data Object 2.8 in the VBA Code Reference window. However, I need a completely different file to act as the ADO2.8 reference, namely the file called MSADO28.tlb In VBA Code Tools>>References I need to reference MSADO28.tlb as the Active Data Objects Version 2.8 - I can do that with no problem from my Vista machine. Because the MSADO28.tlb file exists in the C:\Program Files\Common Files\System\ado folder !! On a Windows XP SP3 the MSADO28.tlb file simply does not exist! Instead the msado15.dll acts as the ADO 2.8 version If try and install a redistributable MDAC - supposedly containing the MSADO28.tlb file - on the Windows XP SP3 I get the response that that is not possible as the MDAC is considered part of the windows operating system on a Windows XP SP3 machine. ???? So why do I need ADO 2.8 and - as it appears - specifically the file called MSADO28.tlb ? Many moons ago someone on the list pointed to the fact that using ADO2.8 you can from VBA execute a parameterized Stored Procedure (SP) in SQL 2005 - and have the SP return an output parameter that comes right back to you in the VBA code environment. Sadly, that does not happen on a Windows XP SP3 machine where msado15.dll is set up to be ADO 2.8 . It definitely does not enable the return of an output parameter to the calling VBA code. So how do I get the MSADO28.tlb file (that on Vista and probably other windows machines gives the ADO 2.8 "functionality") onboard a Windows XP SP3 machine ???? Can anyone help out here?? Regards Borge PS / Note: I find it quite handy to be able to return an output parameter from a SP back into the VBA Code, for example: You get immediate confirmation that the SP executed and executed without errror. On an Insert SP I can return the AutoNumber ID On an Update SP I can use the Version / TimeStamp column to prevent User A update a record that has been updated by User B (timestamp value has now changed) after User A retrieved the record in order to do an update From mcp2004 at mail.ru Thu Apr 30 10:04:23 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Thu, 30 Apr 2009 19:04:23 +0400 Subject: [AccessD] =?koi8-r?b?TVNBRE8yOC50bGIgYW5kIE1EQUM=?= In-Reply-To: References: Message-ID: Hi Borge, Have a look: http://help.wugnet.com/windows/MDAC-SP1-Windows-XP-SP3-ftopict625961.html BTW, .tlb files are just Type Libraries - IOW they do not have executable code - only description of COM objects and interfaces, and reference to .DLLs implementing those objects and interfaces... MDAC setup packages usually get installed well when installed in sequence of versions, if not - one gets DLL-hell... I hope you'll find a way to solve your issue using the above URL... -- Shamil -----Original Message----- From: Borge Hansen To: Access Developers discussion and problem solving Date: Thu, 30 Apr 2009 13:49:19 +1000 Subject: [AccessD] MSADO28.tlb and MDAC > Hi all! > > Statement : MDAC (Microsoft Data Access Components) is just dll hell > incorporated! > > Question: > How do I install MSADO28.tlb on a Windows XP SP3 ?? > > Background information: > > The MDAC components appear to all be sitting in > > C:\Program Files\Common Files\System\ado > > On my Vista Ultimate machine the file called > > msado15.dll is referenced as "Microsoft Active Data Objects Recordset 6.0 > Library" when I examine it in the VBA Code Window - Tools>>References > The file version information - when you hover the mouse over the file in the > windows explorer window - corresponds with that > > On a Windows XP SP3 machine the same file - msado15.dll - has the version > property set to version 2.81 something and is referenced as Active Data > Object 2.8 in the VBA Code Reference window. > > However, I need a completely different file to act as the ADO2.8 reference, > namely the file called MSADO28.tlb > > > In VBA Code Tools>>References I need to reference MSADO28.tlb as the Active > Data Objects Version 2.8 - > I can do that with no problem from my Vista machine. > > Because the MSADO28.tlb file exists in the C:\Program Files\Common > Files\System\ado folder !! > > On a Windows XP SP3 the MSADO28.tlb file simply does not exist! > > Instead the msado15.dll acts as the ADO 2.8 version > > If try and install a redistributable MDAC - supposedly containing the > MSADO28.tlb file - on the Windows XP SP3 I get the response that that is not > possible as the MDAC is considered part of the windows operating system on a > Windows XP SP3 machine. > > ???? > > So why do I need ADO 2.8 and - as it appears - specifically the file called > MSADO28.tlb ? > > Many moons ago someone on the list pointed to the fact that using ADO2.8 you > can from VBA execute a parameterized Stored Procedure (SP) in SQL 2005 - and > have the SP return an output parameter that comes right back to you in the > VBA code environment. > > Sadly, that does not happen on a Windows XP SP3 machine where msado15.dll > is set up to be ADO 2.8 . > It definitely does not enable the return of an output parameter to the > calling VBA code. > > So how do I get the MSADO28.tlb file (that on Vista and probably other > windows machines gives the ADO 2.8 "functionality") onboard a Windows XP > SP3 machine ???? > > Can anyone help out here?? > > Regards > Borge > > PS / Note: > I find it quite handy to be able to return an output parameter from a SP > back into the VBA Code, for example: > You get immediate confirmation that the SP executed and executed without > errror. > On an Insert SP I can return the AutoNumber ID > On an Update SP I can use the Version / TimeStamp column to prevent User > A update a record that has been updated by User B (timestamp value has now > changed) after User A retrieved the record in order to do an update > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Apr 30 11:24:50 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 30 Apr 2009 11:24:50 -0500 Subject: [AccessD] Attn Tina: MSDN CD's Message-ID: Tina, did you download those .iso images? I've put them on our new site, I'll post a link if you haven't downloaded them, but I'm going to be shutting down the server they were on sometime today I think. Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Apr 30 16:30:15 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 30 Apr 2009 16:30:15 -0500 Subject: [AccessD] Custom Excel Import. Message-ID: Hey folks. I've got a 'form' in a VB project, it's used a LOT. Especially by me. It's our company phone list (with all sorts of bells and whistles). When I built the system it's in, I included an import routine so that HR could update the data in the table behind that form (the employee data at least, there's other info like computer information that HR can't touch, in other tables). The import was an excel dump (using Crystal Reports) from a Foxpro based system (Abra). They've since moved to a new system, and the reporting/excel dumping capability is different. I've been planning for a month or two to change the import process. It's still working right now, but it's kind of a pain for the HR person to crunch the Excel file into the right format. So, I've got a little 'free' time to do some development. I'm planning on building a 'custom Excel import' process. It'll let the user 'select' an excel file, and then it will go check the file (using ADO), to get the sheet names, let the user select the sheet, to get the field names, then it will allow the user to match up fields for the import. It'll then 'save' that import process (like an import/export spec), and when the user goes to run it, it will actually do a comparison BEFORE anything gets done. Allowing the user to tweak any changes before they are actually applied. For example: Import 'Main'. Most of the fields would be matched, along with a key field. Delete 'missing data' would be set (ie, if an employee isn't listed in the 'import', it's removed from the table (because the employee doesn't exist anymore...would be an option in the import/update setup). When run, the user would get a display of what fields in what records need to be updated. They would get a list of new records to be created, and a list of records 'marked' for deletion. Any one of these items would be available to 'change/remove' before implementing the import/update. Import 'Minor' Just a few fields to check. Delete 'missing data' wouldn't be set. Same thing. New Records would be displayed, changes would be displayed, and the user would be able to change/remove any of these items before the changes are recorded. So, here's my question. I am planning on doing this in VB 6. The initial project is in VB 6, but it's huge, so I'm going to build it on the side, then just 'merge' it into the current system. I would REALLY like to keep it in VB 6, for two reasons. One, the open file dialog box is much easier to do in VB, it's just an object to add to the form. More importantly, this is going to use treeviews...with custom right click menus, which just don't work the same in Access (you can't get a popup window on a treeview in Access the way you do in VB, unless you got the API route to make the popup menu....COMPLETE pain, and I've never tried it). Would anyone be interested in this? And if so, would VB 6 be ok, or should I try (can't promise) to make it Access importable. (I can make this a .exe that can be used on any system....). Another 'additional' feature is that I'm going to be putting some user security in it, so I can designate who can 'update' what tables, based on NT name, but that would be pretty simple to change to a custom username/password system. Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Kwilliamson at RTKL.com Thu Apr 30 17:09:06 2009 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Apr 2009 18:09:06 -0400 Subject: [AccessD] Prompt for Proper Union Join Table References: Message-ID: <3E0C208232FA104198335BC3FEA3CCE90302CA@snidely.rtkl.rtkl.net> Hey guys....below I have my Union Join Query: __________________________ select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as [Inv#], [FirstofTransDate] as [Date], 0 as [Balance], 0 as [Retainage], [Amount] as [NewInvAmt] from [qryARInvoices] UNION select "Orig Bals" as [Type], [Project#], [Invoice#] as [Inv#], [Date], [sumofbalance] as [Balance], [sumofretainage] as [Retainage], 0 as [NewInvAmt] from [qryAR200812] UNION select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as [Inv#], "" as [Date], 0 as [Balance], 0 as [Retainage], 0 as [NewInvAmt] from [qryARUnappliedPmts]; _______________________ One of the issues I have is that I run this query for two different reports. It is the same query, except that I change the [qryAR200812] to a different query [qryArcadisARBilling] for the second report. Additionally, two other of the sub-queries need to have this reference changed. {essentially, this is a rollforward query of AR from either 12/31/08 or 05/31/07 to current....depending on the user} My question is....is there a way to prompt for which reference I want to use [qryAR200812] or [qryArcadisARBilling], and have this query reference the appropriate sub-queries? Thanks, Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com -------------------------------------------------------------------------- The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. From jwcolby at colbyconsulting.com Thu Apr 30 17:40:34 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Apr 2009 18:40:34 -0400 Subject: [AccessD] Prompt for Proper Union Join Table In-Reply-To: <3E0C208232FA104198335BC3FEA3CCE90302CA@snidely.rtkl.rtkl.net> References: <3E0C208232FA104198335BC3FEA3CCE90302CA@snidely.rtkl.rtkl.net> Message-ID: <49FA28E2.1080606@colbyconsulting.com> Not to my knowledge. You could build it dynamically though (in code). John W. Colby www.ColbyConsulting.com Keith Williamson wrote: > Hey guys....below I have my Union Join Query: > __________________________ > select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as [Inv#], > [FirstofTransDate] as [Date], 0 as [Balance], 0 as [Retainage], > [Amount] as [NewInvAmt] from [qryARInvoices] > > UNION select "Orig Bals" as [Type], [Project#], [Invoice#] as [Inv#], > [Date], [sumofbalance] as [Balance], [sumofretainage] as [Retainage], 0 > as [NewInvAmt] from [qryAR200812] > > UNION select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as > [Inv#], "" as [Date], 0 as [Balance], 0 as [Retainage], 0 as > [NewInvAmt] from [qryARUnappliedPmts]; > _______________________ > > One of the issues I have is that I run this query for two different > reports. It is the same query, except that I change the [qryAR200812] > to a different query [qryArcadisARBilling] for the second report. > Additionally, two other of the sub-queries need to have this reference > changed. {essentially, this is a rollforward query of AR from either > 12/31/08 or 05/31/07 to current....depending on the user} > > My question is....is there a way to prompt for which reference I want to > use [qryAR200812] or [qryArcadisARBilling], and have this query > reference the appropriate sub-queries? > > Thanks, > > Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 > > 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com > > -------------------------------------------------------------------------- > The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. > From kathryn at bassett.net Thu Apr 30 17:40:40 2009 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 30 Apr 2009 15:40:40 -0700 Subject: [AccessD] Envelope "report", custom size Message-ID: <6E536A8BFFC045FA810F6C3C8320B73D@KathrynVista> I'm going nuts. Gwen has an .mdb called Friends. The envelope that is already designed (years ago) is a standard #10 envelope. I've been trying to figure out how to make another envelope design for an envelope that is 8.75 wide and 5.75 high. I tried making a copy of the #10 envelope report, then changing the size, but I'm obviously missing someplace that something has to be changed, because it still shows up as a #10 envelope size. Complicating things is that 2007 (just upgraded) has things in different places than 2003. I tried doing it via a custom "label" but that didn't work either. Please take pity on me and tell me step by step what I need to do to make a custom sized envelope in 2007. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From ssharkins at gmail.com Thu Apr 30 18:12:31 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Apr 2009 19:12:31 -0400 Subject: [AccessD] Office 2007 Service Pack 2 Message-ID: <7CC61F975B72453D87D1CAC537F5F84D@SusanOne> Has anybody downloaded and installed Office 2007's new Service Pack (released Wednesday I think). I've read about its release, but I haven't read any individual reactions to it yet. Susan H. From erbachs at gmail.com Thu Apr 30 18:21:13 2009 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 30 Apr 2009 18:21:13 -0500 Subject: [AccessD] ASP.NET 2.0/3.5 MS ReportViewer Reporting sample using MS Access database... In-Reply-To: References: Message-ID: <39cb22f30904301621y1ab88d54xcd73bab8925cffce@mail.gmail.com> Shamil, Very interesting. I look forward to seeing the source! Steve Erbach Neenah, WI On Mon, Apr 27, 2009 at 2:57 PM, Salakhetdinov Shamil wrote: > Hi All, > > I have got published today a sample ASP.NET 2.0/3.5 application using MS Reportviewer Reports from our SCRUM Team's Northwind.NET project. This application is developed as "quick and dirty": > > - 1) downgrading .NET WinForms + MS SQL backed application to .NET WinForm + MS Access backend application; > > - 2) using MS Access backend and MS ReportViewer Reports from downgraded (1) app to make the following ASP.NET 2.0/3.5 sample: > > http://shamils-4.hosting.parking.ru/nw/ > > The sources of the above ASP.NET sample are planned to be released on http://northwind.codeplex.com during this week. > > Thank you. > > -- > Shamil > From jason at purplecone.com Thu Apr 30 19:14:23 2009 From: jason at purplecone.com (Jason Strickland) Date: Thu, 30 Apr 2009 20:14:23 -0400 Subject: [AccessD] Office 2007 Service Pack 2 In-Reply-To: <7CC61F975B72453D87D1CAC537F5F84D@SusanOne> References: <7CC61F975B72453D87D1CAC537F5F84D@SusanOne> Message-ID: <509be5d70904301714w63bccac6g807b0ec2b3eb911d@mail.gmail.com> I installed it on my PC at work Wednesday and have not experienced any side effects from it. On Thu, Apr 30, 2009 at 7:12 PM, Susan Harkins wrote: > Has anybody downloaded and installed Office 2007's new Service Pack > (released Wednesday I think). I've read about its release, but I haven't > read any individual reactions to it yet. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- "One reason a dog has so many friends: he wags his tail instead of his tongue." From wdhindman at dejpolsystems.com Thu Apr 30 19:38:11 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 30 Apr 2009 20:38:11 -0400 Subject: [AccessD] Envelope "report", custom size References: <6E536A8BFFC045FA810F6C3C8320B73D@KathrynVista> Message-ID: <66862EA409D14281A7D8DA0A1F95ACA4@jislaptopdev> ...can't speak to A2k7 Kati but have you set your default printer up for that envelope size first? William -------------------------------------------------- From: "Kathryn Bassett" Sent: Thursday, April 30, 2009 6:40 PM To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Envelope "report", custom size > I'm going nuts. Gwen has an .mdb called Friends. The envelope that is > already designed (years ago) is a standard #10 envelope. I've been trying > to > figure out how to make another envelope design for an envelope that is > 8.75 > wide and 5.75 high. I tried making a copy of the #10 envelope report, then > changing the size, but I'm obviously missing someplace that something has > to > be changed, because it still shows up as a #10 envelope size. Complicating > things is that 2007 (just upgraded) has things in different places than > 2003. I tried doing it via a custom "label" but that didn't work either. > Please take pity on me and tell me step by step what I need to do to make > a > custom sized envelope in 2007. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kathryn at bassett.net Thu Apr 30 22:15:44 2009 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 30 Apr 2009 20:15:44 -0700 Subject: [AccessD] Envelope "report", custom size In-Reply-To: <66862EA409D14281A7D8DA0A1F95ACA4@jislaptopdev> References: <6E536A8BFFC045FA810F6C3C8320B73D@KathrynVista> <66862EA409D14281A7D8DA0A1F95ACA4@jislaptopdev> Message-ID: <8DB98AE184C34912B04BE2EEA0474929@KathrynVista> I tried but since it's a custom size, that didn't work. I tried setting the "custom" page but it still thinks it's 8.5x11. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Thursday, April 30, 2009 5:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Envelope "report", custom size > > ...can't speak to A2k7 Kati but have you set your default > printer up for > that envelope size first? > > William > > -------------------------------------------------- > From: "Kathryn Bassett" > Sent: Thursday, April 30, 2009 6:40 PM > To: "'Access Developers discussion and problem solving'" > > Subject: [AccessD] Envelope "report", custom size > > > I'm going nuts. Gwen has an .mdb called Friends. The > envelope that is > > already designed (years ago) is a standard #10 envelope. > I've been trying > > to > > figure out how to make another envelope design for an > envelope that is > > 8.75 > > wide and 5.75 high. I tried making a copy of the #10 > envelope report, then > > changing the size, but I'm obviously missing someplace that > something has > > to > > be changed, because it still shows up as a #10 envelope > size. Complicating > > things is that 2007 (just upgraded) has things in different > places than > > 2003. I tried doing it via a custom "label" but that didn't > work either. > > Please take pity on me and tell me step by step what I need > to do to make > > a > > custom sized envelope in 2007. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com