From mcp2004 at mail.ru Wed Feb 1 02:20:47 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 01 Feb 2012 12:20:47 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: Hi Jim -- Thank you for your reference to the new JavaScript standard extensions brief description. As for your "pseudo ASP.NET" it would be interesting to know a bit more how you do it - maybe you can find time to write about this technique in dba-VB, just briefly, without excessive details but more than you outlined here?... JavaScript and WinPhone 7: yes, it could happen that the first (sample) application/web site I will develop for WinPhone7 will be a jQuery Mobile one (http://jquerymobile.com/) - at least I have already read all the jQuery manuals using WinPhone 7, and it was a rather comfortable reading. Now, I have to find how to handle jQuery Mobile forms, fill them with data, store edited data to the backend db (via web service?) etc... Thank you. -- Shamil 01 ??????? 2012, 07:22 ?? "Jim Lawrence" : > Hi Shamil: > > You are right but JavaScript is a strange bird...somewhere in-between. > > You can make objects and assign properties and you can make class as > attributes...but in the truest sense of the book description of what a class > and object is, it would be a fairly liberal interpretation. In the future, > looking at some of the development work in the latest ECMAScript 5 (New JS > industry standard) Here is a article describing the objects and properties: > > http://ejohn.org/blog/ecmascript-5-objects-and-properties/ > > ECMAScript 5 is even starting to address techniques for accessing local > hardware that will yet again speed the processes. > > When I describe basic JavaScript, I think of sizing windows, translating > input, doing simple math, creating substring etc....from then on there is no > real limits; graphic editing like you have showing, calling for data, > replacing sections of your screens, new forms or images, creating invoice > forms (being populated and being updated, in real-time), charts, managing > inline data...this can all get really complex really fast. > > Fortunately, there is JQuery and hundreds of small apps, forums and a very > active community that is keeping the momentum up. > > Presently, most of my development uses what I call pseudo ASP.Net. I tend to > use .Net to the basic design windows, forms, build the BE data connections. > After I remove much of the extra code and resource directory and strip > everything down to the layout and JQuery calls. Then all the AJAX management > and user interface is up to me. > > One day I will be able to write everything from top to bottom or have enough > "field-tested" code to just cut and paste and patch...but not today. Right > now it is this vertical learning wall. > > I suspect before you are an expert with you Windows Phone, you will know a > lot more about JS than you ever wanted to know. :-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Tuesday, January 31, 2012 2:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Burn-out > > Hi Jim -- > > > It is object oriented > It's "object based" not "object oriented" isn't it? Just like VBA or VB6 > are? :) > And it even doesn't have a notion of a class... > Well, is it "object oriented" or not - opinions vary: > http://stackoverflow.com/questions/107464/is-javascript-object-oriented ... > > > JavaScript is easy to learn > Are you kidding? :) Just learning how to use "object based" language with > "prototypical inheritance" to make so flexible and powerful coding - just > that makes learning JavaScript not an easy exercise, isn't? > > > but it takes a lifetime to master. > True. > > This is JavaScript - > > http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html > > I wonder how soon it will replace Photoshop or something like that... > > Thank you. > > -- Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Wed Feb 1 08:11:53 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 01 Feb 2012 09:11:53 -0500 Subject: [AccessD] Make Access real again In-Reply-To: <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> Message-ID: <005501cce0eb$7337b9b0$59a72d10$@net> No Jim, much more than that. They've got to improve the IDE; purchase MzTools and SmartIndenter addins and integrate them, Improved cross referencing, etc. Build-in sort functionality into VBA. Remove form limitations. The list goes on and on.... > > Hi Mark: > > All Microsoft would have to do to make Access a real application again > is to > bundle and integrate Express SQL and the VS express, with it and create > a > migration path/product from VB to .Net and from MDB to SQL...and maybe > do > the same for Excel. > > Jim From marksimms at verizon.net Wed Feb 1 08:13:21 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 01 Feb 2012 09:13:21 -0500 Subject: [AccessD] Javascript In-Reply-To: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: <005601cce0eb$a83ce040$f8b6a0c0$@net> As with VBA, a neophyte can make QUITE A MESS with Javascript if not following standards or design patterns. From edzedz at comcast.net Wed Feb 1 10:05:25 2012 From: edzedz at comcast.net (Edward Zuris) Date: Wed, 1 Feb 2012 09:05:25 -0700 Subject: [AccessD] Compression slows down MDB In-Reply-To: <001401cce031$abf1ed80$5bdea8c0@edz1> Message-ID: <005901cce0fb$4fc649f0$5bdea8c0@edz1> Well the compiled option under debug is staying grayed out. I looked at the production site with a years worth of data and I see almost the same pattern. After a month the update times start to drop. It is like Access 2003 32-bit is teaching itself to do a faster job with the queries and the .movenext and .moveprevious for the DAO VBA code. I didn't see this before as the development system was using Office 2000. It seems Access 2003 does a better job learn how to speed things up. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Tuesday, January 31, 2012 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Compression slows down MDB Thanks Jim, I'll check out the compiled option staying grayed out after a compile. But I am able to recreate the issue, over and over by just doing (C&R), and the pattern returns. Will be doing to more testing then get back to you. Ed- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, January 30, 2012 10:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB Ed, Were talking about two different things here: 1. SQL statement and execution and the costing plans used to execute them. 2. VBA Code compilation With what you are doing (#2), what I would do before the cutting code out is do: ? Application.IsCompiled In the debug window or check the menu and see of the compiled option is grayed out. It may be that something in your app is causing the application to become decompiled. This would slow down all the VBA code that executes. What I was talking about (#1), is triggered by a compact and repair and has nothing to do with VBA code. If your not doing a C&R when you mess with the code, then your problem is with code in some way, not the SQL statements. If you do a C&R when you do the code thing, then the code manipulation may just be a red herring and the change in performance might be due to what I was talking about. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Monday, January 30, 2012 10:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Compression slows down MDB Hi Jim, I think you are on to something. The application in question is to help manage the internal tasks with in several busy Hotels. After processing two and half days, (2.5), worth of data I would take a chunk of code like: +------------------------------------------------------------+ ' ***************************************************** ' Open Form @Clone Recordset ' Set rScreen = [Forms]![ft069JMaidUpd]![SubForm2].Form.RecordsetClone lMaidCount = 0 On Error Resume Next rScreen.MoveLast lMaidCount = rScreen.RecordCount rScreen.MoveFirst On Error GoTo 0 +------------------------------------------------------------+ Cut it out into a Temp notepad file, do a debug compile and save the MDB. Then paste the code back in to where it goes, repeat the debug compile and MDB save. Then the processing times would improve from 13-14 seconds per guest room, down to 2-3 seconds per guest room. Why would doing that kind of compile cause such improvement ? I started to record the times each routine was taking and storing the results in a table. +------------------------------------------------------------+ ' ******************************************************* ' ******************************************************* ' This is where the @Big update for @tt051 tables are called. ' Update all the buckets and special stuff. ' dcboAssignedDate = Timer Call Forms("ft069JMaidUpd").cboAssignedDate_Click dcboAssignedDate = Timer - dcboAssignedDate +------------------------------------------------------------+ Furthermore, there are many SQL statements, plus lots of VBA .MoveNext, .MovePrevious, .Edit and .Update commands. Complex three way joins, and lots of record delegating and record inserting going on. Thus at times tables are empty or filled with lots of space, chr$(32)'s. +------------------------------------------------------------+ ' ***************************************************** ' Out with the old data ' s1SQL = "" s1SQL = s1SQL & " DELETE " s1SQL = s1SQL & " tt051bToDoRpt.zRowID " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051bToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True ' ***************************************************** ' Transfer Housekeeping data into tt051bToDoRpt ' s1SQL = "" s1SQL = s1SQL & " INSERT INTO " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " ( " s1SQL = s1SQL & " Department, zRoomTask, Task_Description, " s1SQL = s1SQL & " SpanishText, Priority, " s1SQL = s1SQL & " Assigned, WorkDate, zLoadDate, zHotel, HouseKeepKey, Housekeeper, " s1SQL = s1SQL & " RmType, Ppl, RmStatus, Condition, StayOCC, Service, " s1SQL = s1SQL & " zIndicator, zOrder, zFlag, Active, DateAdded, " s1SQL = s1SQL & " DateModified, RoomNumID, TaskShortDesc, zType, ToDoListKey, MaidReassign ) " s1SQL = s1SQL & " SELECT " s1SQL = s1SQL & " tt051aToDoRpt.Department, tt051aToDoRpt.zRoomTask, " s1SQL = s1SQL & " tt051aToDoRpt.Task_Description, " s1SQL = s1SQL & " tt051aToDoRpt.SpanishText, " s1SQL = s1SQL & " tt051aToDoRpt.Priority, tt051aToDoRpt.Assigned, tt051aToDoRpt.WorkDate, " s1SQL = s1SQL & " tt051aToDoRpt.zLoadDate, " s1SQL = s1SQL & " tt051aToDoRpt.zHotel, tt051aToDoRpt.HouseKeepKey, " s1SQL = s1SQL & " tt051aToDoRpt.Housekeeper, tt051aToDoRpt.RmType, " s1SQL = s1SQL & " tt051aToDoRpt.Ppl, tt051aToDoRpt.RmStatus, " s1SQL = s1SQL & " tt051aToDoRpt.Condition, tt051aToDoRpt.StayOCC, " s1SQL = s1SQL & " tt051aToDoRpt.Service, 7 AS zInd, tt051aToDoRpt.zOrder, " s1SQL = s1SQL & " tt051aToDoRpt.zFlag, tt051aToDoRpt.Active, " s1SQL = s1SQL & " tt051aToDoRpt.DateAdded, tt051aToDoRpt.DateModified, " s1SQL = s1SQL & " tt051aToDoRpt.RoomNumID, tt051aToDoRpt.TaskShortDesc, " s1SQL = s1SQL & " tt051aToDoRpt.zType, tt051aToDoRpt.ToDoListKey, tt051aToDoRpt.MaidReassign " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051aToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051aToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " And " s1SQL = s1SQL & " tt051aToDoRpt.zIndicator = 2 " s1SQL = s1SQL & " ORDER BY " s1SQL = s1SQL & " tt051aToDoRpt.Department, " s1SQL = s1SQL & " tt051aToDoRpt.zRoomTask " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True +------------------------------------------------------------+ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, January 28, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the > repair and compact process is that each query is flagged to be > re-costed. So first time it's run, you get a new costing plan > calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving > large tables will choose an inefficient plan depending on whether the > table is full or not. > > But with all that said, you query plan would remain inefficient even > if the database grew until it was re-costed again, at which point it > would be back up to speed. > > So besides the compact and repair, what else are you doing within the > DB in terms of records? Why does it go from 850MB down to 170? Are > you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward > Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Feb 1 10:27:39 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 08:27:39 -0800 Subject: [AccessD] Burn-out In-Reply-To: <00bd01cce07b$54cbe6b0$fe63b410$@net> References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> <00bd01cce07b$54cbe6b0$fe63b410$@net> Message-ID: An IDE? Debugging? Real men don't need these....Notepad is good enough. ;-) Actually, Chrome has an excellent resource console. Just highlight any object on the browser screen, right-mouse-click and select inspect element from the popdown menu. Then there is a nice little debugger and resource (CSS as well) viewer plug-in you can get with FireFox (and Chrome) called the Web Developer; great for monitoring bugs in real time. Though you just install it as a plug-in the developer's site is: http://chrispederick.com/work/web-developer. ASIDE: I am sure there are similar features for IE, but most of my development work is done in Chrome and FF and I just use IE for compatibility as until IE8-9, development was a nightmare on the product as it didn't followed the industry standards. The reason JQuery was initially created was to help with these compatibility issues. (I have a browser check on my applications and warn the user to install a modern browser if it detects older versions...or just jumps to another set of pages.) There are some Opensource structures that have a set of JavaScript, CSS and HTML that can start you of with the best universal compatibility if you are building from scratch and you do not know your audience. Commercially there is 1st JavaScript Editor: http://www.yaldex.com/JSFactory_Pro.htm But I usually use Programmer Notepad as it is simple and basic and works great: http://www.pnotepad.org/ Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, January 31, 2012 4:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Javascript is great, but has been plagued with terrible IDE and debugging tools -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Feb 1 11:01:43 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 1 Feb 2012 12:01:43 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> <00bd01cce07b$54cbe6b0$fe63b410$@net> Message-ID: You remind me of a great T-shirt I saw in the old days of DOS: "Real programmers don't use compilers; they write compilers." I am therefore unqualified for the designation "Real Programmer", but I love the slogan's message. It puts us all in our place. One could go further: a good friend, Russell Freeland, once said, "I always thought of C as a high-level front end to assembly language." We all find our levels, then bitch and moan and whine about their inadequate mechanisms of delivery. That's life in cyberspace. Get over it, Please! It's never going to improve, for several reasons: 1. The mission of the vendors is to deliver a new virgin once a year, if not more frequently, the purpose of which marketing model is to guarantee subscription-upgrades. 2. The mission of the intelligent users (possibly a contradiction in terms, but let's grant the benefit of doubt) is to stick with what works, unless and until it doesn't. They are fundamentally opposed to upgrading anything, since this is dangerous water infested with human-eating sharks; and they are quite right. 3. You and I, bold adventurers and beta-testers that we compulsively are, The only safe defense against egregious anomalies is the use of VMs, so nothing important is destroyed, no matter the extent of my stupidity, drunken-ness, wars with spouse, impatient delays for the cheques to arrive, and so on. One tries, despite these obstacles, to achieve Satori. It is not easy, and it is doubly-tough for freelancers. 4. You and I and many other developers who consider ourselves Access Developers and perhaps Office-Integration Developers (i.e. skilled at combining the features of Word, Excel and Access into a cohesive couple-of-clicks app that performs all its magic without intervention beyond a single click on a button within the given Access app). 5. There is no obvious path to upgrading an Access app to a C# or VB.NETetc. version. The models are way too different. Kudos to any vendor willing to supply such an add-in, but I give MS 0.4% odds of even wanting to deliver this, let alone actually delivering a usable virgin. If you think this is going to happen, I suggest therapy. There are only two chances of this occurrence: a Slim One and a Fat One. 6. Consider this from the viewpoint of the MS marketing department. Much more money is to be gained by forcing developers into any combination of Visual Studio, SSMS and so on. Tempt us with free and limited versions, and hope that our clients will pick up the tab for an upgrade; or alternatively, you have enough clients to justify your expenditure on the Professional virgin, and from there you can Rock & Roll. Last time I looked, that was about $700. Small potatoes in an SMB organization; big potatoes for me. 7. I'm not really complaining about MS's strategy. All I am saying is that in my current semi-retired state, I have not a lot of incentive to spend the ~$700 to upgrade my tools. The few gigs per year that I get, one in five wants Access 2010; most are mired in the XP versions of same, and actually I consider this a Good Thing (as Martha Stewart might describe it). 8. Unlike many of the AccessD listers, I happen to love the new RibbonBar layout and its customizability. I realize that my opinion is in the minority; I can live with that. A. The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein From kismert at gmail.com Wed Feb 1 11:24:55 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 1 Feb 2012 11:24:55 -0600 Subject: [AccessD] Burn-out Message-ID: > > Jim Lawrence: > > ... It is said that the coding in V8 engine performs at the level of pure compiled C.... Well, not really: http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php All of the pitfalls of benchmarking aside, a JIT compiled language will never achieve the performance of optimized, compiled C. But, they probably will close the performance gap with Java (and .NET): http://blog.mozilla.com/futurereleases/2011/11/10/type-inference-to-firefox-beta/ As a server-side language, today's Javascript is lots faster than PHP, Python or Ruby. That contributes to the performance of node.js. > Salakhetdinov Shamil: > > > JavaScript is easy to learn > Are you kidding? :) ... > Here, I plug my favorite Javascript book: JavaScript: The Good Parts (Crockford) http://www.amazon.com/exec/obidos/ASIN/0596517742/wrrrldwideweb > This is JavaScript - > > http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html > Thanks for the link! Very interesting. -Ken From accessd at shaw.ca Wed Feb 1 11:40:27 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 09:40:27 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: Hi Shamil: I was thinking of creating a blog site and have been watching Arthur's progress with some interest. (Initially thought about building my own but fortunately that thought passed) Now that I have supposedly retired, I am suppose to have all sorts of time?...hardly...but soon I will be able to start posting some experiences...but now is tax form season. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, February 01, 2012 12:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out Hi Jim -- Thank you for your reference to the new JavaScript standard extensions brief description. As for your "pseudo ASP.NET" it would be interesting to know a bit more how you do it - maybe you can find time to write about this technique in dba-VB, just briefly, without excessive details but more than you outlined here?... JavaScript and WinPhone 7: yes, it could happen that the first (sample) application/web site I will develop for WinPhone7 will be a jQuery Mobile one (http://jquerymobile.com/) - at least I have already read all the jQuery manuals using WinPhone 7, and it was a rather comfortable reading. Now, I have to find how to handle jQuery Mobile forms, fill them with data, store edited data to the backend db (via web service?) etc... Thank you. -- Shamil 01 ??????? 2012, 07:22 ?? "Jim Lawrence" : > Hi Shamil: > > You are right but JavaScript is a strange bird...somewhere in-between. > > You can make objects and assign properties and you can make class as > attributes...but in the truest sense of the book description of what a class > and object is, it would be a fairly liberal interpretation. In the future, > looking at some of the development work in the latest ECMAScript 5 (New JS > industry standard) Here is a article describing the objects and properties: > > http://ejohn.org/blog/ecmascript-5-objects-and-properties/ > > ECMAScript 5 is even starting to address techniques for accessing local > hardware that will yet again speed the processes. > > When I describe basic JavaScript, I think of sizing windows, translating > input, doing simple math, creating substring etc....from then on there is no > real limits; graphic editing like you have showing, calling for data, > replacing sections of your screens, new forms or images, creating invoice > forms (being populated and being updated, in real-time), charts, managing > inline data...this can all get really complex really fast. > > Fortunately, there is JQuery and hundreds of small apps, forums and a very > active community that is keeping the momentum up. > > Presently, most of my development uses what I call pseudo ASP.Net. I tend to > use .Net to the basic design windows, forms, build the BE data connections. > After I remove much of the extra code and resource directory and strip > everything down to the layout and JQuery calls. Then all the AJAX management > and user interface is up to me. > > One day I will be able to write everything from top to bottom or have enough > "field-tested" code to just cut and paste and patch...but not today. Right > now it is this vertical learning wall. > > I suspect before you are an expert with you Windows Phone, you will know a > lot more about JS than you ever wanted to know. :-) > > Jim From accessd at shaw.ca Wed Feb 1 11:45:38 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 09:45:38 -0800 Subject: [AccessD] Make Access real again In-Reply-To: <005501cce0eb$7337b9b0$59a72d10$@net> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> Message-ID: <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> True but I think my initial wish list are the very basics. Your requests are the real cream and we wouldn't want the new MS Access to be the very best application development platform out there would we? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, February 01, 2012 6:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again No Jim, much more than that. They've got to improve the IDE; purchase MzTools and SmartIndenter addins and integrate them, Improved cross referencing, etc. Build-in sort functionality into VBA. Remove form limitations. The list goes on and on.... > > Hi Mark: > > All Microsoft would have to do to make Access a real application again > is to > bundle and integrate Express SQL and the VS express, with it and create > a > migration path/product from VB to .Net and from MDB to SQL...and maybe > do > the same for Excel. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Feb 1 12:07:29 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 10:07:29 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <96328F0223214BA48EFA6650640DC5FA@creativesystemdesigns.com> Hi Ken: I was describing just the V8 engine and not in relationship to JavaScript but the two being used as a web server, using the wrapper Node.js are faster than either IIS or Apache. I was just reiterating some other programmers observations when describing the V8 engine (build it Java). It of course has been highly optimized, fully compiled/crunched and is an example of how master programmers can push an application to its zenith. That is a great link there and I have bookmarked it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, February 01, 2012 9:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Burn-out > > Jim Lawrence: > > ... It is said that the coding in V8 engine performs at the level of pure compiled C.... Well, not really: http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastes t.php All of the pitfalls of benchmarking aside, a JIT compiled language will never achieve the performance of optimized, compiled C. But, they probably will close the performance gap with Java (and .NET): http://blog.mozilla.com/futurereleases/2011/11/10/type-inference-to-firefox- beta/ As a server-side language, today's Javascript is lots faster than PHP, Python or Ruby. That contributes to the performance of node.js. > Salakhetdinov Shamil: > > > JavaScript is easy to learn > Are you kidding? :) ... > Here, I plug my favorite Javascript book: JavaScript: The Good Parts (Crockford) http://www.amazon.com/exec/obidos/ASIN/0596517742/wrrrldwideweb > This is JavaScript - > > http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html > Thanks for the link! Very interesting. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Feb 1 12:28:09 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 1 Feb 2012 13:28:09 -0500 Subject: [AccessD] Make Access real again In-Reply-To: <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> Message-ID: It saddens me immensely that I suspect that you're correct. I'm going to take the liberty of a few assumptions.... 1, Given the prices posted on microsoft's sites, the cost of including Access 2010 in the bundle is about an additional $200+. 2. IME, only one in ten clients is any version beyond Windows XP and Access 2003; but suddenly various gigs require expertise in Access 2010! I can recall only one client who was willing to try migrating his app to 2007. We had to wrestle a few pigs to the ground, but after a couple of weeks it worked nicely in 2007, and offered significantly new benefits as well. 3. I'm in the process (following some examples) of porting an Access app to C# 2010. This is FUN! I fail a lot, but thanks to the Immediate window I can quickly locate my stupidities, slap my forehead and go "Doh! Stupid brain!") Inch by inch, and the older you grow, the longer grow the inches. On Wed, Feb 1, 2012 at 12:45 PM, Jim Lawrence wrote: > True but I think my initial wish list are the very basics. > > Your requests are the real cream and we wouldn't want the new MS Access to > be the very best application development platform out there would we? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Wednesday, February 01, 2012 6:12 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Make Access real again > > No Jim, much more than that. > > They've got to improve the IDE; purchase MzTools and SmartIndenter addins > and integrate them, > Improved cross referencing, etc. > Build-in sort functionality into VBA. > Remove form limitations. > The list goes on and on.... > > > > Hi Mark: > > > > All Microsoft would have to do to make Access a real application again > > is to > > bundle and integrate Express SQL and the VS express, with it and create > > a > > migration path/product from VB to .Net and from MDB to SQL...and maybe > > do > > the same for Excel. > > > > Jim > > > Only two businesses refer to their clientele as users: drug dealers and software developers. -- Arthur Fuller From vbacreations at gmail.com Wed Feb 1 13:41:57 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 1 Feb 2012 14:41:57 -0500 Subject: [AccessD] Make Access real again In-Reply-To: <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> Message-ID: <008f01cce119$8fc20170$af460450$@gmail.com> It's not already? I sometimes wonder what the career path at MS are for the people who spend time on MS Access development. Maybe it's not great and maybe that makes it unattractive to the best and brightest developers and consequently the application... is not, er, as wonderful as it could be. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, February 01, 2012 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again True but I think my initial wish list are the very basics. Your requests are the real cream and we wouldn't want the new MS Access to be the very best application development platform out there would we? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, February 01, 2012 6:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again No Jim, much more than that. They've got to improve the IDE; purchase MzTools and SmartIndenter addins and integrate them, Improved cross referencing, etc. Build-in sort functionality into VBA. Remove form limitations. The list goes on and on.... > > Hi Mark: > > All Microsoft would have to do to make Access a real application again > is to > bundle and integrate Express SQL and the VS express, with it and create > a > migration path/product from VB to .Net and from MDB to SQL...and maybe > do > the same for Excel. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed Feb 1 13:48:08 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 1 Feb 2012 14:48:08 -0500 Subject: [AccessD] Make Access real again References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> Message-ID: <009001cce11a$6cb8ee40$462acac0$@gmail.com> BTW, before I get flamed (because no doubt I will be...) I am *NOT* saying that the MS Access development team ARE NOT the best and brightest. I am saying, with no knowledge of who they are nor how fantastic they are, that the result is, in my opinion, a sorely lacking program... If the reason is other than talent / experience among the Development Team at MS, then of course my speculation is baseless. I don't have any information on this topic, just very sick of fighting a program that seems like someone built it with a vendetta against users. Witness Macros... Witness the navigation pane which I no longer can see object details laid out in nice columns, witness Filter by Form not working for OR conditions against my recordsource, witness the gazillion crashes I have gone through, witness the problems I have importing data from spreadsheet because Access feels like checking only about a thousand rows in Excel sheet (as if taking the time to check all the cell numberformats would take too long? Seriously?), witness.......... a long, long list of complaints which others here have so commonly posted. Sheesh... -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Wednesday, February 01, 2012 2:42 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Make Access real again It's not already? I sometimes wonder what the career path at MS are for the people who spend time on MS Access development. Maybe it's not great and maybe that makes it unattractive to the best and brightest developers and consequently the application... is not, er, as wonderful as it could be. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, February 01, 2012 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again True but I think my initial wish list are the very basics. Your requests are the real cream and we wouldn't want the new MS Access to be the very best application development platform out there would we? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, February 01, 2012 6:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again No Jim, much more than that. They've got to improve the IDE; purchase MzTools and SmartIndenter addins and integrate them, Improved cross referencing, etc. Build-in sort functionality into VBA. Remove form limitations. The list goes on and on.... > > Hi Mark: > > All Microsoft would have to do to make Access a real application again > is to > bundle and integrate Express SQL and the VS express, with it and create > a > migration path/product from VB to .Net and from MDB to SQL...and maybe > do > the same for Excel. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Wed Feb 1 13:58:29 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Wed, 1 Feb 2012 19:58:29 +0000 Subject: [AccessD] Make Access real again In-Reply-To: <009001cce11a$6cb8ee40$462acac0$@gmail.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <009001cce11a$6cb8ee40$462acac0$@gmail.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF37015FBB@cinmldgcna02.e2k.ad.ge.com> Speaking of which, I am sure you all saw this today? Think that might delay some new product(s) and/or hurt services? http://blogs.barrons.com/techtraderdaily/2012/02/01/msft-seattles-komo-tv-says-layoffs-coming-in-restructuring/?mod=BOLBlog From mcp2004 at mail.ru Wed Feb 1 13:58:35 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 01 Feb 2012 23:58:35 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: References: Message-ID: Hi Jim -- > ...but soon I will be able to > start posting some experiences. TIA :) But don't feel obliged - only if you'll really like it and if you'll have time for that sharing of your experience.... Thank you. -- Shamil 01 ??????? 2012, 21:41 ?? "Jim Lawrence" : > Hi Shamil: > > I was thinking of creating a blog site and have been watching Arthur's > progress with some interest. (Initially thought about building my own but > fortunately that thought passed) Now that I have supposedly retired, I am > suppose to have all sorts of time?...hardly...but soon I will be able to > start posting some experiences...but now is tax form season. :-( > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Wednesday, February 01, 2012 12:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Burn-out > > Hi Jim -- > > Thank you for your reference to the new JavaScript standard extensions brief > description. > > As for your "pseudo ASP.NET" it would be interesting to know a bit more how > you do it - maybe you can find time to write about this technique in dba-VB, > just briefly, without excessive details but more than you outlined here?... > > JavaScript and WinPhone 7: yes, it could happen that the first (sample) > application/web site I will develop for WinPhone7 will be a jQuery Mobile > one (http://jquerymobile.com/) - at least I have already read all the jQuery > manuals using WinPhone 7, and it was a rather comfortable reading. Now, I > have to find how to handle jQuery Mobile forms, fill them with data, store > edited data to the backend db (via web service?) etc... > > Thank you. > > -- Shamil > > 01 ??????? 2012, 07:22 ?? "Jim Lawrence" : > > Hi Shamil: > > > > You are right but JavaScript is a strange bird...somewhere in-between. > > > > You can make objects and assign properties and you can make class as > > attributes...but in the truest sense of the book description of what a > class > > and object is, it would be a fairly liberal interpretation. In the future, > > looking at some of the development work in the latest ECMAScript 5 (New JS > > industry standard) Here is a article describing the objects and > properties: > > > > http://ejohn.org/blog/ecmascript-5-objects-and-properties/ > > > > ECMAScript 5 is even starting to address techniques for accessing local > > hardware that will yet again speed the processes. > > > > When I describe basic JavaScript, I think of sizing windows, translating > > input, doing simple math, creating substring etc....from then on there is > no > > real limits; graphic editing like you have showing, calling for data, > > replacing sections of your screens, new forms or images, creating invoice > > forms (being populated and being updated, in real-time), charts, managing > > inline data...this can all get really complex really fast. > > > > Fortunately, there is JQuery and hundreds of small apps, forums and a very > > active community that is keeping the momentum up. > > > > Presently, most of my development uses what I call pseudo ASP.Net. I tend > to > > use .Net to the basic design windows, forms, build the BE data > connections. > > After I remove much of the extra code and resource directory and strip > > everything down to the layout and JQuery calls. Then all the AJAX > management > > and user interface is up to me. > > > > One day I will be able to write everything from top to bottom or have > enough > > "field-tested" code to just cut and paste and patch...but not today. Right > > now it is this vertical learning wall. > > > > I suspect before you are an expert with you Windows Phone, you will know a > > lot more about JS than you ever wanted to know. :-) > > > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Feb 1 14:32:35 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 12:32:35 -0800 Subject: [AccessD] Make Access real again In-Reply-To: <008f01cce119$8fc20170$af460450$@gmail.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> Message-ID: <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> I think it is time to move a real development team onto Access and use the Co-op students some place else. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, February 01, 2012 11:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again It's not already? I sometimes wonder what the career path at MS are for the people who spend time on MS Access development. Maybe it's not great and maybe that makes it unattractive to the best and brightest developers and consequently the application... is not, er, as wonderful as it could be. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, February 01, 2012 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again True but I think my initial wish list are the very basics. Your requests are the real cream and we wouldn't want the new MS Access to be the very best application development platform out there would we? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, February 01, 2012 6:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again No Jim, much more than that. They've got to improve the IDE; purchase MzTools and SmartIndenter addins and integrate them, Improved cross referencing, etc. Build-in sort functionality into VBA. Remove form limitations. The list goes on and on.... > > Hi Mark: > > All Microsoft would have to do to make Access a real application again > is to > bundle and integrate Express SQL and the VS express, with it and create > a > migration path/product from VB to .Net and from MDB to SQL...and maybe > do > the same for Excel. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Feb 1 15:26:33 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 1 Feb 2012 15:26:33 -0600 Subject: [AccessD] Check box on a form Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> I have a form that is used for data entry into a table. On the form is a check box. The control source for the check box is a query (=[qry Previously Test Flag]![Flag]). I have tried the query on its own and it works fine. No data from the check box is getting saved to the table. I am thinking that I need to do something to trigger the query. Is that correct? 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 newsgrps at dalyn.co.nz Wed Feb 1 15:32:10 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 02 Feb 2012 10:32:10 +1300 Subject: [AccessD] Check box on a form In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermo rgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> Message-ID: <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Hi Chester, The control source needs to be the field that you want the data stored in. To get the value of the query into the field you can use code (on Insert) . Regards David Emerson Dalyn Software Ltd Wellington, New Zealand At 2/02/2012, Kaup, Chester wrote: >I have a form that is used for data entry into a table. On the form >is a check box. The control source for the check box is a query >(=[qry Previously Test Flag]![Flag]). I have tried the query on its >own and it works fine. No data from the check box is getting saved >to the table. I am thinking that I need to do something to trigger >the query. Is that correct? > > >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 fuller.artful at gmail.com Wed Feb 1 15:46:03 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 1 Feb 2012 16:46:03 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: Thanks for your visits to my (our) blog. I finally figured out how to include my best friend and collaborator Peter Brawley as an active creator, and we have adopted the convention of signing each missive, so that it's clear which of age, disease and bad habits contributed which missives. Please continue to visit. And to comment upon our missives. P.S. Steps toward the see-through burqa have been taken. I should be able to release virgin 1.0 within a month. Even lined up a couple of models for the photo-shoot. (Q: Is there anything hotter than a smart South Asian woman? A: Not lately!) I think this burqa concept is going through the roof. I have received several hundred requests to purchase. I have not bothered to divide the buyers yet. But apparently, I am onto something, and this pleases me immensely. I want a world in which all humans are equal. A nice principle, conveniently ignoring class in some nations, wealth in others, genetic inheritance in others. So what does "All Humans Are Equal" actually mean? I'm not even vaguely sure. Obviously one can draw any number of dimensions/behaviours/propensities etc. -- 1. We differ in height. average weight, pigmentation, intelligence, musical skill and so on.. 2. There are gigantic differences in wages, housing costs, medicinal coverage, golden parachutes, etc., all of which contribute to our radical inequality. 3. There are huge swings in the measures of intelligence. No matter which test you use, the results are widely varied but almost always tend toward the Bell Curve. Despite all the new-education prognoses, any five-year-old can scout her classmates and pinpoint the dunces and the geniuses (or if you're PC, the challenged and the gifted). Darwin's maxim "Survival of the Fittest" has often been misinterpreted to mean "Survival of the Most Predatory". Even a cursory glance at what is happening in the oceans ought to be enough to refute this idiotic interpretation, but let us press on. In previous centuries, physically strong men were valuable: plowmen, blacksmiths, etc. In the latter half of the 20th Century and thus far in the 21st, physical strength is worth less and less, while computational strength is worth more and more. This does not refute Darwin, but rather reinforce his conclusion; "the fittest" implies the current environment -- the Fittest in the contemporary situation. In one century it might be A, in another B, in another C. Way back when, sheer height might have implied superior hunting skills; now it implies an NBA contract and not much else. Conversely, where would a gift for algebra have got a peasant just a few centuries back? . Sad to say, so might I, depending upon the sense of humour of certain people who might visit this, or merely Google and end up with a hit to my blog. So be it! I'm 64yo and my murder would rob me of what, 10 years at best? So what! The abyss looms. SuddenlyI I feel the Freedom! 1. To say what I've always stifled, lest I offend friends, colleagues and strangers.Glimpsing now the Knight of Death on the horizon (c.f. Bergman's "The Seventh Seal"). 2012/2/1 Jim Lawrence > Hi Shamil: > > I was thinking of creating a blog site and have been watching Arthur's > progress with some interest. (Initially thought about building my own but > fortunately that thought passed) Now that I have supposedly retired, I am > suppose to have all sorts of time?...hardly...but soon I will be able to > start posting some experiences...but now is tax form season. :-( > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Wednesday, February 01, 2012 12:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Burn-out > > > Hi Jim -- > > Thank you for your reference to the new JavaScript standard extensions > brief > description. > > As for your "pseudo ASP.NET" it would be interesting to know a bit more > how > you do it - maybe you can find time to write about this technique in > dba-VB, > just briefly, without excessive details but more than you outlined here?... > > JavaScript and WinPhone 7: yes, it could happen that the first (sample) > application/web site I will develop for WinPhone7 will be a jQuery Mobile > one (http://jquerymobile.com/) - at least I have already read all the > jQuery > manuals using WinPhone 7, and it was a rather comfortable reading. Now, I > have to find how to handle jQuery Mobile forms, fill them with data, store > edited data to the backend db (via web service?) etc... > > Thank you. > > -- Shamil > > 01 ??????? 2012, 07:22 ?? "Jim Lawrence" : > > Hi Shamil: > > > > You are right but JavaScript is a strange bird...somewhere in-between. > > > > You can make objects and assign properties and you can make class as > > attributes...but in the truest sense of the book description of what a > class > > and object is, it would be a fairly liberal interpretation. In the > future, > > looking at some of the development work in the latest ECMAScript 5 (New > JS > > industry standard) Here is a article describing the objects and > properties: > > > > http://ejohn.org/blog/ecmascript-5-objects-and-properties/ > > > > ECMAScript 5 is even starting to address techniques for accessing local > > hardware that will yet again speed the processes. > > > > When I describe basic JavaScript, I think of sizing windows, translating > > input, doing simple math, creating substring etc....from then on there is > no > > real limits; graphic editing like you have showing, calling for data, > > replacing sections of your screens, new forms or images, creating invoice > > forms (being populated and being updated, in real-time), charts, managing > > inline data...this can all get really complex really fast. > > > > Fortunately, there is JQuery and hundreds of small apps, forums and a > very > > active community that is keeping the momentum up. > > > > Presently, most of my development uses what I call pseudo ASP.Net. I tend > to > > use .Net to the basic design windows, forms, build the BE data > connections. > > After I remove much of the extra code and resource directory and strip > > everything down to the layout and JQuery calls. Then all the AJAX > management > > and user interface is up to me. > > > > One day I will be able to write everything from top to bottom or have > enough > > "field-tested" code to just cut and paste and patch...but not today. > Right > > now it is this vertical learning wall. > > > > I suspect before you are an expert with you Windows Phone, you will know > a > > lot more about JS than you ever wanted to know. :-) > > > > Jim > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From Chester_Kaup at kindermorgan.com Wed Feb 1 15:49:50 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 1 Feb 2012 15:49:50 -0600 Subject: [AccessD] Check box on a form In-Reply-To: <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermorgan.com> I get the first part of your comment but you lost me on To get the value of the query into the field you can use code (on Insert) . Are you talking about an event because I see no such event as on insert. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, February 01, 2012 3:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Check box on a form Hi Chester, The control source needs to be the field that you want the data stored in. To get the value of the query into the field you can use code (on Insert) . Regards David Emerson Dalyn Software Ltd Wellington, New Zealand At 2/02/2012, Kaup, Chester wrote: >I have a form that is used for data entry into a table. On the form >is a check box. The control source for the check box is a query >(=[qry Previously Test Flag]![Flag]). I have tried the query on its >own and it works fine. No data from the check box is getting saved >to the table. I am thinking that I need to do something to trigger >the query. Is that correct? > > >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 jwcolby at colbyconsulting.com Wed Feb 1 15:51:08 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Feb 2012 16:51:08 -0500 Subject: [AccessD] Make Access real again In-Reply-To: <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> Message-ID: <4F29B3CC.70907@colbyconsulting.com> ROTFL. You are beginning to sound like me. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/1/2012 3:32 PM, Jim Lawrence wrote: > I think it is time to move a real development team onto Access and use the > Co-op students some place else. > > Jim From jwcolby at colbyconsulting.com Wed Feb 1 15:54:10 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Feb 2012 16:54:10 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: <4F29B482.7030408@colbyconsulting.com> >In the latter half of the 20th Century and thus far in the 21st, physical strength is worth less and less Well... look at the NFL... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/1/2012 4:46 PM, Arthur Fuller wrote: > Thanks for your visits to my (our) blog. I finally figured out how to > include my best friend and collaborator Peter Brawley as an active creator, > and we have adopted the convention of signing each missive, so that it's > clear which of age, disease and bad habits contributed which missives. > > Please continue to visit. And to comment upon our missives. > > P.S. > Steps toward the see-through burqa have been taken. I should be able to > release virgin 1.0 within a month. Even lined up a couple of models for the > photo-shoot. (Q: Is there anything hotter than a smart South Asian woman? > A: Not lately!) > > I think this burqa concept is going through the roof. I have received > several hundred requests to purchase. I have not bothered to divide the > buyers yet. But apparently, I am onto something, and this pleases me > immensely. > > I want a world in which all humans are equal. A nice principle, > conveniently ignoring class in some nations, wealth in others, genetic > inheritance in others. > > So what does "All Humans Are Equal" actually mean? I'm not even vaguely > sure. Obviously one can draw any number of > dimensions/behaviours/propensities etc. -- > > 1. We differ in height. average weight, pigmentation, intelligence, musical > skill and so on.. > 2. There are gigantic differences in wages, housing costs, medicinal > coverage, golden parachutes, etc., all of which contribute to our radical > inequality. > 3. There are huge swings in the measures of intelligence. No matter which > test you use, the results are widely varied but almost always tend toward > the Bell Curve. Despite all the new-education prognoses, any five-year-old > can scout her classmates and pinpoint the dunces and the geniuses (or if > you're PC, the challenged and the gifted). > > Darwin's maxim "Survival of the Fittest" has often been misinterpreted to > mean "Survival of the Most Predatory". Even a cursory glance at what is > happening in the oceans ought to be enough to refute this idiotic > interpretation, but let us press on. In previous centuries, physically > strong men were valuable: plowmen, blacksmiths, etc. In the latter half of > the 20th Century and thus far in the 21st, physical strength is worth less > and less, while computational strength is worth more and more. This does > not refute Darwin, but rather reinforce his conclusion; "the fittest" > implies the current environment -- the Fittest in the contemporary > situation. In one century it might be A, in another B, in another C. Way > back when, sheer height might have implied superior hunting skills; now it > implies an NBA contract and not much else. Conversely, where would a gift > for algebra have got a peasant just a few centuries back? > > > > . Sad to say, so might I, depending upon the sense of humour of certain > people who might visit this, or merely Google and end up with a hit to my > blog. > > So be it! I'm 64yo and my murder would rob me of what, 10 years at best? So > what! > > The abyss looms. SuddenlyI I feel the Freedom! > > 1. To say what I've always stifled, lest I offend friends, colleagues and > strangers.Glimpsing now the Knight of Death on the horizon (c.f. Bergman's > "The Seventh Seal"). > > 2012/2/1 Jim Lawrence > >> Hi Shamil: >> >> I was thinking of creating a blog site and have been watching Arthur's >> progress with some interest. (Initially thought about building my own but >> fortunately that thought passed) Now that I have supposedly retired, I am >> suppose to have all sorts of time?...hardly...but soon I will be able to >> start posting some experiences...but now is tax form season. :-( >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >> Shamil >> Sent: Wednesday, February 01, 2012 12:21 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Burn-out >> >> >> Hi Jim -- >> >> Thank you for your reference to the new JavaScript standard extensions >> brief >> description. >> >> As for your "pseudo ASP.NET" it would be interesting to know a bit more >> how >> you do it - maybe you can find time to write about this technique in >> dba-VB, >> just briefly, without excessive details but more than you outlined here?... >> >> JavaScript and WinPhone 7: yes, it could happen that the first (sample) >> application/web site I will develop for WinPhone7 will be a jQuery Mobile >> one (http://jquerymobile.com/) - at least I have already read all the >> jQuery >> manuals using WinPhone 7, and it was a rather comfortable reading. Now, I >> have to find how to handle jQuery Mobile forms, fill them with data, store >> edited data to the backend db (via web service?) etc... >> >> Thank you. >> >> -- Shamil >> >> 01 ??????? 2012, 07:22 ?? "Jim Lawrence": >>> Hi Shamil: >>> >>> You are right but JavaScript is a strange bird...somewhere in-between. >>> >>> You can make objects and assign properties and you can make class as >>> attributes...but in the truest sense of the book description of what a >> class >>> and object is, it would be a fairly liberal interpretation. In the >> future, >>> looking at some of the development work in the latest ECMAScript 5 (New >> JS >>> industry standard) Here is a article describing the objects and >> properties: >>> >>> http://ejohn.org/blog/ecmascript-5-objects-and-properties/ >>> >>> ECMAScript 5 is even starting to address techniques for accessing local >>> hardware that will yet again speed the processes. >>> >>> When I describe basic JavaScript, I think of sizing windows, translating >>> input, doing simple math, creating substring etc....from then on there is >> no >>> real limits; graphic editing like you have showing, calling for data, >>> replacing sections of your screens, new forms or images, creating invoice >>> forms (being populated and being updated, in real-time), charts, managing >>> inline data...this can all get really complex really fast. >>> >>> Fortunately, there is JQuery and hundreds of small apps, forums and a >> very >>> active community that is keeping the momentum up. >>> >>> Presently, most of my development uses what I call pseudo ASP.Net. I tend >> to >>> use .Net to the basic design windows, forms, build the BE data >> connections. >>> After I remove much of the extra code and resource directory and strip >>> everything down to the layout and JQuery calls. Then all the AJAX >> management >>> and user interface is up to me. >>> >>> One day I will be able to write everything from top to bottom or have >> enough >>> "field-tested" code to just cut and paste and patch...but not today. >> Right >>> now it is this vertical learning wall. >>> >>> I suspect before you are an expert with you Windows Phone, you will know >> a >>> lot more about JS than you ever wanted to know. :-) >>> >>> Jim >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From jwcolby at colbyconsulting.com Wed Feb 1 16:02:11 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 01 Feb 2012 17:02:11 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: <4F29B663.2010801@colbyconsulting.com> > The abyss looms. Suddenly I feel the Freedom! Holy cow Arthur, let's get morbid. I do remember several communications from you indicating your imminent demise and yet here you are. I for one am 57 years old and plan on living at least another 50 years.With luck and continuing advancements in medicine, perhaps even another 100 years. Barring lightning, car accidents and the likes of course. OTOH I quit drugs, smoking (a drug) drinking (a drug). I am also losing weight (slowly) and am beginning to exercise, the latter brought on by the onset of type 2 diabetes. The second 1/2 of my life could be more fulfilling (if not more fun) than the first 1/2. Actually I had to do a lot of drugs to convince myself that the first 1/2 was fun so probably the second 1/2 will actually be more fun. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/1/2012 4:46 PM, Arthur Fuller wrote: > Thanks for your visits to my (our) blog. I finally figured out how to > include my best friend and collaborator Peter Brawley as an active creator, > and we have adopted the convention of signing each missive, so that it's > clear which of age, disease and bad habits contributed which missives. > > Please continue to visit. And to comment upon our missives. > > P.S. > Steps toward the see-through burqa have been taken. I should be able to > release virgin 1.0 within a month. Even lined up a couple of models for the > photo-shoot. (Q: Is there anything hotter than a smart South Asian woman? > A: Not lately!) > > I think this burqa concept is going through the roof. I have received > several hundred requests to purchase. I have not bothered to divide the > buyers yet. But apparently, I am onto something, and this pleases me > immensely. > > I want a world in which all humans are equal. A nice principle, > conveniently ignoring class in some nations, wealth in others, genetic > inheritance in others. > > So what does "All Humans Are Equal" actually mean? I'm not even vaguely > sure. Obviously one can draw any number of > dimensions/behaviours/propensities etc. -- > > 1. We differ in height. average weight, pigmentation, intelligence, musical > skill and so on.. > 2. There are gigantic differences in wages, housing costs, medicinal > coverage, golden parachutes, etc., all of which contribute to our radical > inequality. > 3. There are huge swings in the measures of intelligence. No matter which > test you use, the results are widely varied but almost always tend toward > the Bell Curve. Despite all the new-education prognoses, any five-year-old > can scout her classmates and pinpoint the dunces and the geniuses (or if > you're PC, the challenged and the gifted). > > Darwin's maxim "Survival of the Fittest" has often been misinterpreted to > mean "Survival of the Most Predatory". Even a cursory glance at what is > happening in the oceans ought to be enough to refute this idiotic > interpretation, but let us press on. In previous centuries, physically > strong men were valuable: plowmen, blacksmiths, etc. In the latter half of > the 20th Century and thus far in the 21st, physical strength is worth less > and less, while computational strength is worth more and more. This does > not refute Darwin, but rather reinforce his conclusion; "the fittest" > implies the current environment -- the Fittest in the contemporary > situation. In one century it might be A, in another B, in another C. Way > back when, sheer height might have implied superior hunting skills; now it > implies an NBA contract and not much else. Conversely, where would a gift > for algebra have got a peasant just a few centuries back? > > > > . Sad to say, so might I, depending upon the sense of humour of certain > people who might visit this, or merely Google and end up with a hit to my > blog. > > So be it! I'm 64yo and my murder would rob me of what, 10 years at best? So > what! > > The abyss looms. SuddenlyI I feel the Freedom! > > 1. To say what I've always stifled, lest I offend friends, colleagues and > strangers.Glimpsing now the Knight of Death on the horizon (c.f. Bergman's > "The Seventh Seal"). From marksimms at verizon.net Wed Feb 1 16:15:17 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 01 Feb 2012 17:15:17 -0500 Subject: [AccessD] Make Access real again In-Reply-To: <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> Message-ID: <014401cce12e$fb43ede0$f1cbc9a0$@net> Won't help. There's no "champion" for the app....no strong technical management. In fact, there's no one product manager any longer AFAIK. That kills it. > I think it is time to move a real development team onto Access and use > the Co-op students some place else. From newsgrps at dalyn.co.nz Wed Feb 1 16:15:45 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 02 Feb 2012 11:15:45 +1300 Subject: [AccessD] Check box on a form In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermo rgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermorgan.com> Message-ID: <20120201221738.CSMG10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> My mistake - it should have been "After Insert". This is an event for the form. When a new record is inserted then use the value of your query to set the value of your check box. David At 2/02/2012, Kaup, Chester wrote: >I get the first part of your comment but you lost me on To get the >value of the query into the field you can use code (on Insert) . > >Are you talking about an event because I see no such event as on insert. > >Thanks. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Wednesday, February 01, 2012 3:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Check box on a form > >Hi Chester, > >The control source needs to be the field that you want the data >stored in. To get the value of the query into the field you can use >code (on Insert) . > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand > >At 2/02/2012, Kaup, Chester wrote: > >I have a form that is used for data entry into a table. On the form > >is a check box. The control source for the check box is a query > >(=[qry Previously Test Flag]![Flag]). I have tried the query on its > >own and it works fine. No data from the check box is getting saved > >to the table. I am thinking that I need to do something to trigger > >the query. Is that correct? > > > > > >Chester Kaup > > > >Engineering Technician > > > >Kinder Morgan CO2 Company, LLP > > > >Office (432) 688-3797 > > > >FAX (432) 688-3799 From darryl at whittleconsulting.com.au Wed Feb 1 16:27:25 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 1 Feb 2012 22:27:25 +0000 Subject: [AccessD] Burn-out In-Reply-To: References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> <00bd01cce07b$54cbe6b0$fe63b410$@net> Message-ID: <56653D383CB80341995245C537A9E7B5634F7C@SINPRD0402MB099.apcprd04.prod.outlook.com> Heh... outstanding post Arthur :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 2 February 2012 4:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out You remind me of a great T-shirt I saw in the old days of DOS: "Real programmers don't use compilers; they write compilers." I am therefore unqualified for the designation "Real Programmer", but I love the slogan's message. It puts us all in our place. One could go further: a good friend, Russell Freeland, once said, "I always thought of C as a high-level front end to assembly language." We all find our levels, then bitch and moan and whine about their inadequate mechanisms of delivery. That's life in cyberspace. Get over it, Please! It's never going to improve, for several reasons: 1. The mission of the vendors is to deliver a new virgin once a year, if not more frequently, the purpose of which marketing model is to guarantee subscription-upgrades. 2. The mission of the intelligent users (possibly a contradiction in terms, but let's grant the benefit of doubt) is to stick with what works, unless and until it doesn't. They are fundamentally opposed to upgrading anything, since this is dangerous water infested with human-eating sharks; and they are quite right. 3. You and I, bold adventurers and beta-testers that we compulsively are, The only safe defense against egregious anomalies is the use of VMs, so nothing important is destroyed, no matter the extent of my stupidity, drunken-ness, wars with spouse, impatient delays for the cheques to arrive, and so on. One tries, despite these obstacles, to achieve Satori. It is not easy, and it is doubly-tough for freelancers. 4. You and I and many other developers who consider ourselves Access Developers and perhaps Office-Integration Developers (i.e. skilled at combining the features of Word, Excel and Access into a cohesive couple-of-clicks app that performs all its magic without intervention beyond a single click on a button within the given Access app). 5. There is no obvious path to upgrading an Access app to a C# or VB.NETetc. version. The models are way too different. Kudos to any vendor willing to supply such an add-in, but I give MS 0.4% odds of even wanting to deliver this, let alone actually delivering a usable virgin. If you think this is going to happen, I suggest therapy. There are only two chances of this occurrence: a Slim One and a Fat One. 6. Consider this from the viewpoint of the MS marketing department. Much more money is to be gained by forcing developers into any combination of Visual Studio, SSMS and so on. Tempt us with free and limited versions, and hope that our clients will pick up the tab for an upgrade; or alternatively, you have enough clients to justify your expenditure on the Professional virgin, and from there you can Rock & Roll. Last time I looked, that was about $700. Small potatoes in an SMB organization; big potatoes for me. 7. I'm not really complaining about MS's strategy. All I am saying is that in my current semi-retired state, I have not a lot of incentive to spend the ~$700 to upgrade my tools. The few gigs per year that I get, one in five wants Access 2010; most are mired in the XP versions of same, and actually I consider this a Good Thing (as Martha Stewart might describe it). 8. Unlike many of the AccessD listers, I happen to love the new RibbonBar layout and its customizability. I realize that my opinion is in the minority; I can live with that. A. The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Feb 1 16:51:02 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 14:51:02 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Message-ID: Not wanting to deviate too far from MS Access, so I will make this brief. "Survival of the Fittest" does not imply the most predatory... It is those who will work together for a common good, those who will sacrifice for their families and those who will share their good fortune with others. Those are the types of people and their descendants who will go on and prosper. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, February 01, 2012 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out Thanks for your visits to my (our) blog. I finally figured out how to include my best friend and collaborator Peter Brawley as an active creator, and we have adopted the convention of signing each missive, so that it's clear which of age, disease and bad habits contributed which missives. Please continue to visit. And to comment upon our missives. P.S. Steps toward the see-through burqa have been taken. I should be able to release virgin 1.0 within a month. Even lined up a couple of models for the photo-shoot. (Q: Is there anything hotter than a smart South Asian woman? A: Not lately!) I think this burqa concept is going through the roof. I have received several hundred requests to purchase. I have not bothered to divide the buyers yet. But apparently, I am onto something, and this pleases me immensely. I want a world in which all humans are equal. A nice principle, conveniently ignoring class in some nations, wealth in others, genetic inheritance in others. So what does "All Humans Are Equal" actually mean? I'm not even vaguely sure. Obviously one can draw any number of dimensions/behaviours/propensities etc. -- 1. We differ in height. average weight, pigmentation, intelligence, musical skill and so on.. 2. There are gigantic differences in wages, housing costs, medicinal coverage, golden parachutes, etc., all of which contribute to our radical inequality. 3. There are huge swings in the measures of intelligence. No matter which test you use, the results are widely varied but almost always tend toward the Bell Curve. Despite all the new-education prognoses, any five-year-old can scout her classmates and pinpoint the dunces and the geniuses (or if you're PC, the challenged and the gifted). Darwin's maxim "Survival of the Fittest" has often been misinterpreted to mean "Survival of the Most Predatory". Even a cursory glance at what is happening in the oceans ought to be enough to refute this idiotic interpretation, but let us press on. In previous centuries, physically strong men were valuable: plowmen, blacksmiths, etc. In the latter half of the 20th Century and thus far in the 21st, physical strength is worth less and less, while computational strength is worth more and more. This does not refute Darwin, but rather reinforce his conclusion; "the fittest" implies the current environment -- the Fittest in the contemporary situation. In one century it might be A, in another B, in another C. Way back when, sheer height might have implied superior hunting skills; now it implies an NBA contract and not much else. Conversely, where would a gift for algebra have got a peasant just a few centuries back? . Sad to say, so might I, depending upon the sense of humour of certain people who might visit this, or merely Google and end up with a hit to my blog. So be it! I'm 64yo and my murder would rob me of what, 10 years at best? So what! The abyss looms. SuddenlyI I feel the Freedom! 1. To say what I've always stifled, lest I offend friends, colleagues and strangers.Glimpsing now the Knight of Death on the horizon (c.f. Bergman's "The Seventh Seal"). 2012/2/1 Jim Lawrence > Hi Shamil: > > I was thinking of creating a blog site and have been watching Arthur's > progress with some interest. (Initially thought about building my own but > fortunately that thought passed) Now that I have supposedly retired, I am > suppose to have all sorts of time?...hardly...but soon I will be able to > start posting some experiences...but now is tax form season. :-( > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Wednesday, February 01, 2012 12:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Burn-out > > > Hi Jim -- > > Thank you for your reference to the new JavaScript standard extensions > brief > description. > > As for your "pseudo ASP.NET" it would be interesting to know a bit more > how > you do it - maybe you can find time to write about this technique in > dba-VB, > just briefly, without excessive details but more than you outlined here?... > > JavaScript and WinPhone 7: yes, it could happen that the first (sample) > application/web site I will develop for WinPhone7 will be a jQuery Mobile > one (http://jquerymobile.com/) - at least I have already read all the > jQuery > manuals using WinPhone 7, and it was a rather comfortable reading. Now, I > have to find how to handle jQuery Mobile forms, fill them with data, store > edited data to the backend db (via web service?) etc... > > Thank you. > > -- Shamil > > 01 ??????? 2012, 07:22 ?? "Jim Lawrence" : > > Hi Shamil: > > > > You are right but JavaScript is a strange bird...somewhere in-between. > > > > You can make objects and assign properties and you can make class as > > attributes...but in the truest sense of the book description of what a > class > > and object is, it would be a fairly liberal interpretation. In the > future, > > looking at some of the development work in the latest ECMAScript 5 (New > JS > > industry standard) Here is a article describing the objects and > properties: > > > > http://ejohn.org/blog/ecmascript-5-objects-and-properties/ > > > > ECMAScript 5 is even starting to address techniques for accessing local > > hardware that will yet again speed the processes. > > > > When I describe basic JavaScript, I think of sizing windows, translating > > input, doing simple math, creating substring etc....from then on there is > no > > real limits; graphic editing like you have showing, calling for data, > > replacing sections of your screens, new forms or images, creating invoice > > forms (being populated and being updated, in real-time), charts, managing > > inline data...this can all get really complex really fast. > > > > Fortunately, there is JQuery and hundreds of small apps, forums and a > very > > active community that is keeping the momentum up. > > > > Presently, most of my development uses what I call pseudo ASP.Net. I tend > to > > use .Net to the basic design windows, forms, build the BE data > connections. > > After I remove much of the extra code and resource directory and strip > > everything down to the layout and JQuery calls. Then all the AJAX > management > > and user interface is up to me. > > > > One day I will be able to write everything from top to bottom or have > enough > > "field-tested" code to just cut and paste and patch...but not today. > Right > > now it is this vertical learning wall. > > > > I suspect before you are an expert with you Windows Phone, you will know > a > > lot more about JS than you ever wanted to know. :-) > > > > Jim > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Feb 1 16:53:19 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 14:53:19 -0800 Subject: [AccessD] Make Access real again In-Reply-To: <014401cce12e$fb43ede0$f1cbc9a0$@net> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> <014401cce12e$fb43ede0$f1cbc9a0$@net> Message-ID: <4434B9F7DEA148E3AD59E772DABE202A@creativesystemdesigns.com> I live in hope. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, February 01, 2012 2:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make Access real again Won't help. There's no "champion" for the app....no strong technical management. In fact, there's no one product manager any longer AFAIK. That kills it. > I think it is time to move a real development team onto Access and use > the Co-op students some place else. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Feb 1 16:59:23 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 14:59:23 -0800 Subject: [AccessD] Burn-out In-Reply-To: <56653D383CB80341995245C537A9E7B5634F7C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> <00bd01cce07b$54cbe6b0$fe63b410$@net> <56653D383CB80341995245C537A9E7B5634F7C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Just noticed this... Why do we need a new " virgin "? I do not human sacrifice will produce a new version. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, February 01, 2012 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out Heh... outstanding post Arthur :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 2 February 2012 4:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out You remind me of a great T-shirt I saw in the old days of DOS: "Real programmers don't use compilers; they write compilers." I am therefore unqualified for the designation "Real Programmer", but I love the slogan's message. It puts us all in our place. One could go further: a good friend, Russell Freeland, once said, "I always thought of C as a high-level front end to assembly language." We all find our levels, then bitch and moan and whine about their inadequate mechanisms of delivery. That's life in cyberspace. Get over it, Please! It's never going to improve, for several reasons: 1. The mission of the vendors is to deliver a new virgin once a year, if not more frequently, the purpose of which marketing model is to guarantee subscription-upgrades. 2. The mission of the intelligent users (possibly a contradiction in terms, but let's grant the benefit of doubt) is to stick with what works, unless and until it doesn't. They are fundamentally opposed to upgrading anything, since this is dangerous water infested with human-eating sharks; and they are quite right. 3. You and I, bold adventurers and beta-testers that we compulsively are, The only safe defense against egregious anomalies is the use of VMs, so nothing important is destroyed, no matter the extent of my stupidity, drunken-ness, wars with spouse, impatient delays for the cheques to arrive, and so on. One tries, despite these obstacles, to achieve Satori. It is not easy, and it is doubly-tough for freelancers. 4. You and I and many other developers who consider ourselves Access Developers and perhaps Office-Integration Developers (i.e. skilled at combining the features of Word, Excel and Access into a cohesive couple-of-clicks app that performs all its magic without intervention beyond a single click on a button within the given Access app). 5. There is no obvious path to upgrading an Access app to a C# or VB.NETetc. version. The models are way too different. Kudos to any vendor willing to supply such an add-in, but I give MS 0.4% odds of even wanting to deliver this, let alone actually delivering a usable virgin. If you think this is going to happen, I suggest therapy. There are only two chances of this occurrence: a Slim One and a Fat One. 6. Consider this from the viewpoint of the MS marketing department. Much more money is to be gained by forcing developers into any combination of Visual Studio, SSMS and so on. Tempt us with free and limited versions, and hope that our clients will pick up the tab for an upgrade; or alternatively, you have enough clients to justify your expenditure on the Professional virgin, and from there you can Rock & Roll. Last time I looked, that was about $700. Small potatoes in an SMB organization; big potatoes for me. 7. I'm not really complaining about MS's strategy. All I am saying is that in my current semi-retired state, I have not a lot of incentive to spend the ~$700 to upgrade my tools. The few gigs per year that I get, one in five wants Access 2010; most are mired in the XP versions of same, and actually I consider this a Good Thing (as Martha Stewart might describe it). 8. Unlike many of the AccessD listers, I happen to love the new RibbonBar layout and its customizability. I realize that my opinion is in the minority; I can live with that. A. The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Feb 1 17:04:56 2012 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 1 Feb 2012 15:04:56 -0800 Subject: [AccessD] Make Access real again In-Reply-To: <4434B9F7DEA148E3AD59E772DABE202A@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> <014401cce12e$fb43ede0$f1cbc9a0$@net> <4434B9F7DEA148E3AD59E772DABE202A@creativesystemdesigns.com> Message-ID: I thought you lived in Victoria - have you moved? Doug On Wed, Feb 1, 2012 at 2:53 PM, Jim Lawrence wrote: > I live in hope. :-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Wednesday, February 01, 2012 2:15 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Make Access real again > > Won't help. There's no "champion" for the app....no strong technical > management. > In fact, there's no one product manager any longer AFAIK. > That kills it. > > I think it is time to move a real development team onto Access and use > > the Co-op students some place else. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Feb 1 17:20:20 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 1 Feb 2012 15:20:20 -0800 Subject: [AccessD] Make Access real again In-Reply-To: References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> <005501cce0eb$7337b9b0$59a72d10$@net> <9D9C1359E4244B48AE744DBC307AE94F@creativesystemdesigns.com> <008f01cce119$8fc20170$af460450$@gmail.com> <71E702CCB6F14135A6030AA13337A475@creativesystemdesigns.com> <014401cce12e$fb43ede0$f1cbc9a0$@net> <4434B9F7DEA148E3AD59E772DABE202A@creativesystemdesigns.com> Message-ID: <5B89DF50EDA64A67AB80B09BFBEBC11F@creativesystemdesigns.com> Very funny...like a deck of cards you should be dealt with. ;-) Watch the case but I think we are past and out of hope now. For those of you not getting this please send all inquires to Doug Steele. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, February 01, 2012 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make Access real again I thought you lived in Victoria - have you moved? Doug On Wed, Feb 1, 2012 at 2:53 PM, Jim Lawrence wrote: > I live in hope. :-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Wednesday, February 01, 2012 2:15 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Make Access real again > > Won't help. There's no "champion" for the app....no strong technical > management. > In fact, there's no one product manager any longer AFAIK. > That kills it. > > I think it is time to move a real development team onto Access and use > > the Co-op students some place else. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Feb 2 08:15:58 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Feb 2012 09:15:58 -0500 Subject: [AccessD] OT: portable headphone amps. Message-ID: <4F2A9A9E.9010903@colbyconsulting.com> As you have probably gathered, I have many interests, including DIY various things. I have built a DIY CMOY headphone amp, see discussion here: http://nwavguy.blogspot.com/2011/07/cmoy-with-gain.html which I ended up giving away to my brother-in-law who is mostly deaf. Anyway, I ran across an interesting blog for a DIY headphone amp. http://nwavguy.blogspot.com/2011/07/o2-headphone-amp.html If you read that you will find links to other blog pages discussing many details of the design and electronics. I started my career in electronics back in the 70s and loved op amps in particular. It has been a loooong while since I really studied electronics but it still fascinates me. Enjoy. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Thu Feb 2 08:58:07 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Feb 2012 15:58:07 +0100 Subject: [AccessD] OT: portable headphone amps. Message-ID: Hi John Oh, ?741 (or UA741, LM741, whatever) ... those were the days! I still have a 4U rack mounted 2 x 30W line/power amp (including line transformers) I build in the mid 70s from mostly two opamps and a set of NPN/PNP output stages. All in- and outputs are with original Cannon XLR3 connectors which was highly advanced (and expensive!) of that time: http://en.wikipedia.org/wiki/Cannon_plug /gustav >>> jwcolby at colbyconsulting.com 02-02-2012 15:15 >>> As you have probably gathered, I have many interests, including DIY various things. I have built a DIY CMOY headphone amp, see discussion here: http://nwavguy.blogspot.com/2011/07/cmoy-with-gain.html which I ended up giving away to my brother-in-law who is mostly deaf. Anyway, I ran across an interesting blog for a DIY headphone amp. http://nwavguy.blogspot.com/2011/07/o2-headphone-amp.html If you read that you will find links to other blog pages discussing many details of the design and electronics. I started my career in electronics back in the 70s and loved op amps in particular. It has been a loooong while since I really studied electronics but it still fascinates me. Enjoy. -- John W. Colby Colby Consulting From Chester_Kaup at kindermorgan.com Thu Feb 2 08:53:48 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 2 Feb 2012 08:53:48 -0600 Subject: [AccessD] Check box on a form In-Reply-To: <20120201221738.CSMG10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermorgan.com> <20120201221738.CSMG10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199C0A8AB3@houex1.kindermorgan.com> I put the following code in the After Insert event of the form. When entering data on the form after the last field to enter data is completed the query runs and the results come up on the screen. I then close the query but the result is not saved to the table. Filed is a yes/no field. Should it be a select or an update query? Thanks for the assistance. Private Sub Form_AfterInsert() DoCmd.OpenQuery ("qry Previously Test Flag") End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, February 01, 2012 4:16 PM To: Access Developers discussion and problem solving; Access Developers discussion and problem solving Subject: Re: [AccessD] Check box on a form My mistake - it should have been "After Insert". This is an event for the form. When a new record is inserted then use the value of your query to set the value of your check box. David At 2/02/2012, Kaup, Chester wrote: >I get the first part of your comment but you lost me on To get the >value of the query into the field you can use code (on Insert) . > >Are you talking about an event because I see no such event as on insert. > >Thanks. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Wednesday, February 01, 2012 3:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Check box on a form > >Hi Chester, > >The control source needs to be the field that you want the data >stored in. To get the value of the query into the field you can use >code (on Insert) . > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand > >At 2/02/2012, Kaup, Chester wrote: > >I have a form that is used for data entry into a table. On the form > >is a check box. The control source for the check box is a query > >(=[qry Previously Test Flag]![Flag]). I have tried the query on its > >own and it works fine. No data from the check box is getting saved > >to the table. I am thinking that I need to do something to trigger > >the query. Is that correct? > > > > > >Chester Kaup > > > >Engineering Technician > > > >Kinder Morgan CO2 Company, LLP > > > >Office (432) 688-3797 > > > >FAX (432) 688-3799 -- 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 Feb 2 09:04:03 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 2 Feb 2012 10:04:03 -0500 Subject: [AccessD] Check box on a form In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199C0A8AB3@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermorgan.com> <20120201221738.CSMG10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199C0A8AB3@houex1.kindermorgan.com> Message-ID: If it's a SELECT query it won't update the field. You'll need an UPDATE query. On Thu, Feb 2, 2012 at 9:53 AM, Kaup, Chester wrote: > I put the following code in the After Insert event of the form. When > entering data on the form after the last field to enter data is completed > the query runs and the results come up on the screen. I then close the > query but the result is not saved to the table. Filed is a yes/no field. > Should it be a select or an update query? Thanks for the assistance. > > Private Sub Form_AfterInsert() > DoCmd.OpenQuery ("qry Previously Test Flag") > End Sub > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From Chester_Kaup at kindermorgan.com Thu Feb 2 09:18:13 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 2 Feb 2012 09:18:13 -0600 Subject: [AccessD] Check box on a form In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E7F@houex1.kindermorgan.com> <20120201213402.FQDX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199BF78E93@houex1.kindermorgan.com> <20120201221738.CSMG10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <0B2BF8524B73A248A2F1B81BA751ED3C199C0A8AB3@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199C0A8ACB@houex1.kindermorgan.com> That is what I was thinking. Made the change and it works great. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, February 02, 2012 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Check box on a form If it's a SELECT query it won't update the field. You'll need an UPDATE query. On Thu, Feb 2, 2012 at 9:53 AM, Kaup, Chester wrote: > I put the following code in the After Insert event of the form. When > entering data on the form after the last field to enter data is completed > the query runs and the results come up on the screen. I then close the > query but the result is not saved to the table. Filed is a yes/no field. > Should it be a select or an update query? Thanks for the assistance. > > Private Sub Form_AfterInsert() > DoCmd.OpenQuery ("qry Previously Test Flag") > End Sub > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Feb 2 09:31:26 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 2 Feb 2012 07:31:26 -0800 Subject: [AccessD] Selectively disable UAC for your trusted Vistaapplications | TechRepublic In-Reply-To: <4F27FB35.5070503@colbyconsulting.com> References: <4F27FB35.5070503@colbyconsulting.com> Message-ID: <3FA34F7732584DCEA53C012BAC339DA4@HAL9007> Id also like to know how to do this. Could it be that it doesn't work for W7 only Vista? Seems unlikely. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 31, 2012 6:31 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selectively disable UAC for your trusted Vistaapplications | TechRepublic I am trying to discover how to allow specific apps to open without getting the User Account Control prompt (Windows 7). What this thing seems to do is to run an application in compatibility mode, with a specific level of privilege. This article purports to allow that, however I have followed the instructions and it does not appear to be working. Has anyone ever tried this? Seen it work? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.techrepublic.com/blog/window-on-windows/selectively-disable-uac-f or-your-trusted-vista-applications/635 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Feb 2 10:24:47 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 2 Feb 2012 08:24:47 -0800 Subject: [AccessD] OT: portable headphone amps. In-Reply-To: <4F2A9A9E.9010903@colbyconsulting.com> References: <4F2A9A9E.9010903@colbyconsulting.com> Message-ID: Hi John: I have a good friend who is still a electronics geek. I have been working on his website for a while (but he keeps changing things so often that it just never gets finished and it is low priority...non paying gig...but it will be finished by the end of February). Here is the test site: http://electrichubcap.creativesystemdesigns.com/ You might find some of the stuff he builds interesting. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, February 02, 2012 6:16 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: portable headphone amps. As you have probably gathered, I have many interests, including DIY various things. I have built a DIY CMOY headphone amp, see discussion here: http://nwavguy.blogspot.com/2011/07/cmoy-with-gain.html which I ended up giving away to my brother-in-law who is mostly deaf. Anyway, I ran across an interesting blog for a DIY headphone amp. http://nwavguy.blogspot.com/2011/07/o2-headphone-amp.html If you read that you will find links to other blog pages discussing many details of the design and electronics. I started my career in electronics back in the 70s and loved op amps in particular. It has been a loooong while since I really studied electronics but it still fascinates me. Enjoy. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Feb 2 14:19:05 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 2 Feb 2012 12:19:05 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> Message-ID: The export works great, I'm having trouble with the conditional formatting: With .Worksheets("R6Payouts").Columns("M:M") .Select '*****************Causes error 'Line below , is the original line, gets a compile error 'Access VBA Compiler doesn't like xlCellValueand xlLess .FormatConditions.Add Type:=xlCellValue, Operator:=xlLess, Formula1:="=0" 'If I put quotes around the values, I get runtime err 13, Type mismatch: .FormatConditions.Add Type:="xlCellValue", Operator:="xlLess", Formula1:="=0" 'I tried brackets, but that gives me err 2465 can't find field '|' in my expression '.FormatConditions.Add Type:=([xlCellValue]), Operator:=(objXL.[xlLess]), Formula1:="=0" .FormatConditions(.FormatConditions.Count).SetFirstPriority '******************************** With .FormatConditions(1).Font .Color = -16777024 .TintAndShade = 0 End With With .FormatConditions(1).Interior .PatternColorIndex = "xlAutomatic" .ThemeColor = "xlThemeColorAccent2" .TintAndShade = 0.799981688894314 End With .FormatConditions(1).StopIfTrue = True End With Any ideas? TIA David From: David McAfee > > Cross posted, sorry to those of you on both lists. > > > I have this stored procedure that I export into an excel sheet. > I'd like to add two conditional formats that highlight column M (light) red > (pink?) if the value is <0. > The other format would color column N Yellow if the value >.2 (20%) > > I could do the coloring, but the user wants the conditional formatting > instead in case they play with the sheet's numbers. > > Does anyone know how to do this off the top of their head? > From marksimms at verizon.net Thu Feb 2 15:15:56 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 02 Feb 2012 16:15:56 -0500 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> Message-ID: <030901cce1ef$daea4000$90bec000$@net> This test fine: Excel 2007. Watch your constants and your nested WITH's. I try to minimize those... Also, watch to properly maintain your format conditions for a range.... Hint: You might have to delete them before adding new ones. Private Sub TestFormatConditions() Dim oRng As Excel.Range Dim oFmt As Excel.FormatCondition Set oRng = ActiveSheet.Columns("G").EntireColumn Set oRng = oRng.Resize(15).Offset(1) ' change the colors if the value is over 100 Set oFmt = oRng.FormatConditions.Add(xlCellValue, xlGreater, 100) With oFmt.Font .Color = -16777024 .TintAndShade = 0 End With With oFmt.Interior .PatternColorIndex = xlAutomatic .ThemeColor = xlThemeColorAccent2 .TintAndShade = 0.799981688894314 End With oFmt.StopIfTrue = True End Sub > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Thursday, February 02, 2012 3:19 PM > To: Access Developers discussion and problem solving; ACCESS- > L at peach.ease.lsoft.com; Microsoft Excel Developers List > Subject: Re: [AccessD] Help with creating an Excel Conditional Format > from within Access > > The export works great, I'm having trouble with the conditional > formatting: > > With .Worksheets("R6Payouts").Columns("M:M") > .Select > > '*****************Causes error > 'Line below , is the original line, gets a compile error > 'Access VBA Compiler doesn't like xlCellValueand xlLess > .FormatConditions.Add Type:=xlCellValue, Operator:=xlLess, > Formula1:="=0" > 'If I put quotes around the values, I get runtime err 13, Type > mismatch: > .FormatConditions.Add Type:="xlCellValue", > Operator:="xlLess", > Formula1:="=0" > 'I tried brackets, but that gives me err 2465 can't find field '|' in > my > expression > '.FormatConditions.Add Type:=([xlCellValue]), > Operator:=(objXL.[xlLess]), Formula1:="=0" > .FormatConditions(.FormatConditions.Count).SetFirstPriority > '******************************** > With .FormatConditions(1).Font > .Color = -16777024 > .TintAndShade = 0 > End With > With .FormatConditions(1).Interior > .PatternColorIndex = "xlAutomatic" > .ThemeColor = "xlThemeColorAccent2" > .TintAndShade = 0.799981688894314 > End With > .FormatConditions(1).StopIfTrue = True > End With > > > > > Any ideas? > > TIA > David > > From: David McAfee > > > > > > Cross posted, sorry to those of you on both lists. > > > > > > I have this stored procedure that I export into an excel sheet. > > I'd like to add two conditional formats that highlight column M > (light) red > > (pink?) if the value is <0. > > The other format would color column N Yellow if the value >.2 (20%) > > > > I could do the coloring, but the user wants the conditional > formatting > > instead in case they play with the sheet's numbers. > > > > Does anyone know how to do this off the top of their head? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Feb 2 15:20:03 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 2 Feb 2012 15:20:03 -0600 Subject: [AccessD] Burn-out Message-ID: > > Arthur Fuller: > ... or alternatively, you have enough clients to justify your expenditure > on the Professional virgin ... > I wish I had more professional virgins in my life. Sigh... -Ken From davidmcafee at gmail.com Thu Feb 2 17:03:35 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 2 Feb 2012 15:03:35 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: <030901cce1ef$daea4000$90bec000$@net> References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> <030901cce1ef$daea4000$90bec000$@net> Message-ID: I get a "user defined type not defined" error on the first line. This still used xlCellValue which is causing the error in Access. I recorded a macro in Excel2007 and brought the code into Access. On Thu, Feb 2, 2012 at 1:15 PM, Mark Simms wrote: > This test fine: Excel 2007. > Watch your constants and your nested WITH's. I try to minimize those... > Also, watch to properly maintain your format conditions for a range.... > Hint: You might have to delete them before adding new ones. > > Private Sub TestFormatConditions() > > Dim oRng As Excel.Range > Dim oFmt As Excel.FormatCondition > > Set oRng = ActiveSheet.Columns("G").EntireColumn > Set oRng = oRng.Resize(15).Offset(1) > ' change the colors if the value is over 100 > Set oFmt = oRng.FormatConditions.Add(xlCellValue, xlGreater, 100) > With oFmt.Font > .Color = -16777024 > .TintAndShade = 0 > End With > With oFmt.Interior > .PatternColorIndex = xlAutomatic > .ThemeColor = xlThemeColorAccent2 > .TintAndShade = 0.799981688894314 > End With > oFmt.StopIfTrue = True > > > End Sub > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of David McAfee > > Sent: Thursday, February 02, 2012 3:19 PM > > To: Access Developers discussion and problem solving; ACCESS- > > L at peach.ease.lsoft.com; Microsoft Excel Developers List > > Subject: Re: [AccessD] Help with creating an Excel Conditional Format > > from within Access > > > > The export works great, I'm having trouble with the conditional > > formatting: > > > > With .Worksheets("R6Payouts").Columns("M:M") > > .Select > > > > '*****************Causes error > > 'Line below , is the original line, gets a compile error > > 'Access VBA Compiler doesn't like xlCellValueand xlLess > > .FormatConditions.Add Type:=xlCellValue, Operator:=xlLess, > > Formula1:="=0" > > 'If I put quotes around the values, I get runtime err 13, Type > > mismatch: > > .FormatConditions.Add Type:="xlCellValue", > > Operator:="xlLess", > > Formula1:="=0" > > 'I tried brackets, but that gives me err 2465 can't find field '|' in > > my > > expression > > '.FormatConditions.Add Type:=([xlCellValue]), > > Operator:=(objXL.[xlLess]), Formula1:="=0" > > .FormatConditions(.FormatConditions.Count).SetFirstPriority > > '******************************** > > With .FormatConditions(1).Font > > .Color = -16777024 > > .TintAndShade = 0 > > End With > > With .FormatConditions(1).Interior > > .PatternColorIndex = "xlAutomatic" > > .ThemeColor = "xlThemeColorAccent2" > > .TintAndShade = 0.799981688894314 > > End With > > .FormatConditions(1).StopIfTrue = True > > End With > > > > > > > > > > Any ideas? > > > > TIA > > David > > > > From: David McAfee > > > > > > > > > > Cross posted, sorry to those of you on both lists. > > > > > > > > > I have this stored procedure that I export into an excel sheet. > > > I'd like to add two conditional formats that highlight column M > > (light) red > > > (pink?) if the value is <0. > > > The other format would color column N Yellow if the value >.2 (20%) > > > > > > I could do the coloring, but the user wants the conditional > > formatting > > > instead in case they play with the sheet's numbers. > > > > > > Does anyone know how to do this off the top of their head? > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Feb 2 17:29:14 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 2 Feb 2012 15:29:14 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> Message-ID: I finally figured it out! I found a link with Excel Constants: > ' Excel Constants > Public Const xlLeft As Integer = -4131 > Public Const xlThin As Integer = 1 > Public Const xlCenter As Integer = -4108 > Public Const xlBottom As Integer = -4107 > Public Const xlTop As Integer = -4160 > Public Const xlRight As Integer = -4152 > Public Const xlAutomatic As Integer = -4105 > Public Const xlSolid As Integer = 1 > Public Const xlMedium As Integer = -4138 > Public Const xlDouble As Integer = -4119 > Public Const xlThick As Integer = 4 > Public Const xlEdgeBottom As Integer = 9 > Public Const xlDatabase As Integer = 1 > Public Const xlPageField As Integer = 3 > Public Const xlColumnField As Integer = 2 > Public Const xlDataField As Integer = 4 > Public Const xlRowField As Integer = 1 > Public Const xlEdgeRight As Integer = 10 > Public Const xlDown As Integer = -4121 > Public Const xlToLeft As Integer = -4159 > Public Const xlToRight As Integer = -4161 > Public Const xlCellValue As Integer = 1 > Public Const xlLess As Integer = 6 > Public Const xlGreater As Integer = 5 > Public Const xlGreaterEqual As Integer = 7 > Public Const xlBetween As Integer = 1 > Public Const xlMaximized As Integer = -4137- Hide quoted text - > Public xlThemeColorAccent2 As Integer =6 I replaced the constants with the actual integer values and it now works! Thanks everybody, David On Thu, Feb 2, 2012 at 12:19 PM, David McAfee wrote: > The export works great, I'm having trouble with the conditional formatting: > > With .Worksheets("R6Payouts").Columns("M:M") > .Select > > '*****************Causes error > 'Line below , is the original line, gets a compile error > 'Access VBA Compiler doesn't like xlCellValueand xlLess > .FormatConditions.Add Type:=xlCellValue, Operator:=xlLess, > Formula1:="=0" > 'If I put quotes around the values, I get runtime err 13, Type mismatch: > .FormatConditions.Add Type:="xlCellValue", Operator:="xlLess", > Formula1:="=0" > 'I tried brackets, but that gives me err 2465 can't find field '|' in my > expression > '.FormatConditions.Add Type:=([xlCellValue]), > Operator:=(objXL.[xlLess]), Formula1:="=0" > .FormatConditions(.FormatConditions.Count).SetFirstPriority > '******************************** > With .FormatConditions(1).Font > .Color = -16777024 > .TintAndShade = 0 > End With > With .FormatConditions(1).Interior > .PatternColorIndex = "xlAutomatic" > .ThemeColor = "xlThemeColorAccent2" > .TintAndShade = 0.799981688894314 > End With > .FormatConditions(1).StopIfTrue = True > End With > > > > > Any ideas? > > TIA > David > > From: David McAfee >> > > >> Cross posted, sorry to those of you on both lists. >> >> >> >> I have this stored procedure that I export into an excel sheet. >> I'd like to add two conditional formats that highlight column M (light) >> red >> (pink?) if the value is <0. >> The other format would color column N Yellow if the value >.2 (20%) >> >> I could do the coloring, but the user wants the conditional formatting >> instead in case they play with the sheet's numbers. >> >> Does anyone know how to do this off the top of their head? >> > > From darryl at whittleconsulting.com.au Thu Feb 2 17:35:55 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 2 Feb 2012 23:35:55 +0000 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> <030901cce1ef$daea4000$90bec000$@net> Message-ID: <56653D383CB80341995245C537A9E7B563563A@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi David I would be careful about applying a CF to the entire column, there are limits regarding CF including to how many cells you can apply CF to in Excel before it bombs out. For example <> - this limit maybe increased in XL2007+, but it may not be too. You would be better off finding the known range of data in that column and only applying the CF to that. If it is a case where the user is going to add to the data, find the last row and then add "X" amount too it. Anyway, hope that helps a bit. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, 3 February 2012 10:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with creating an Excel Conditional Format from within Access I get a "user defined type not defined" error on the first line. This still used xlCellValue which is causing the error in Access. I recorded a macro in Excel2007 and brought the code into Access. On Thu, Feb 2, 2012 at 1:15 PM, Mark Simms wrote: > This test fine: Excel 2007. > Watch your constants and your nested WITH's. I try to minimize those... > Also, watch to properly maintain your format conditions for a range.... > Hint: You might have to delete them before adding new ones. > > Private Sub TestFormatConditions() > > Dim oRng As Excel.Range > Dim oFmt As Excel.FormatCondition > > Set oRng = ActiveSheet.Columns("G").EntireColumn > Set oRng = oRng.Resize(15).Offset(1) > ' change the colors if the value is over 100 Set oFmt = > oRng.FormatConditions.Add(xlCellValue, xlGreater, 100) With oFmt.Font > .Color = -16777024 > .TintAndShade = 0 > End With > With oFmt.Interior > .PatternColorIndex = xlAutomatic > .ThemeColor = xlThemeColorAccent2 > .TintAndShade = 0.799981688894314 End With > oFmt.StopIfTrue = True > > > End Sub > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of David McAfee > > Sent: Thursday, February 02, 2012 3:19 PM > > To: Access Developers discussion and problem solving; ACCESS- > > L at peach.ease.lsoft.com; Microsoft Excel Developers List > > Subject: Re: [AccessD] Help with creating an Excel Conditional > > Format from within Access > > > > The export works great, I'm having trouble with the conditional > > formatting: > > > > With .Worksheets("R6Payouts").Columns("M:M") > > .Select > > > > '*****************Causes error > > 'Line below , is the original line, gets a compile error 'Access VBA > > Compiler doesn't like xlCellValueand xlLess > > .FormatConditions.Add Type:=xlCellValue, > > Operator:=xlLess, Formula1:="=0" > > 'If I put quotes around the values, I get runtime err 13, Type > > mismatch: > > .FormatConditions.Add Type:="xlCellValue", > > Operator:="xlLess", Formula1:="=0" > > 'I tried brackets, but that gives me err 2465 can't find field '|' > > in my expression > > '.FormatConditions.Add Type:=([xlCellValue]), > > Operator:=(objXL.[xlLess]), Formula1:="=0" > > > > .FormatConditions(.FormatConditions.Count).SetFirstPriority > > '******************************** > > With .FormatConditions(1).Font > > .Color = -16777024 > > .TintAndShade = 0 > > End With > > With .FormatConditions(1).Interior > > .PatternColorIndex = "xlAutomatic" > > .ThemeColor = "xlThemeColorAccent2" > > .TintAndShade = 0.799981688894314 > > End With > > .FormatConditions(1).StopIfTrue = True > > End With > > > > > > > > > > Any ideas? > > > > TIA > > David > > > > From: David McAfee > > > > > > > > > > Cross posted, sorry to those of you on both lists. > > > > > > > > > I have this stored procedure that I export into an excel sheet. > > > I'd like to add two conditional formats that highlight column M > > (light) red > > > (pink?) if the value is <0. > > > The other format would color column N Yellow if the value >.2 > > > (20%) > > > > > > I could do the coloring, but the user wants the conditional > > formatting > > > instead in case they play with the sheet's numbers. > > > > > > Does anyone know how to do this off the top of their head? > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Feb 2 17:52:01 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 2 Feb 2012 15:52:01 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: <56653D383CB80341995245C537A9E7B563563A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> <030901cce1ef$daea4000$90bec000$@net> <56653D383CB80341995245C537A9E7B563563A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Thanks for the tip. I modified: 'Add conditional Formatting to Column M With .Worksheets("R6Payouts").Columns("M:M") to: 'Add conditional Formatting to Column M 'With .Worksheets("R6Payouts").Columns("M:M") row = .CountA(.Worksheets("R6Payouts").Range("A:A")) With .Worksheets("R6Payouts").Range(.Cells(2, 13), .Cells(row, 13)) On Thu, Feb 2, 2012 at 3:35 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi David > > I would be careful about applying a CF to the entire column, there are > limits regarding CF including to how many cells you can apply CF to in > Excel before it bombs out. > > For example <> - this limit maybe > increased in XL2007+, but it may not be too. > You would be better off finding the known range of data in that column and > only applying the CF to that. If it is a case where the user is going to > add to the data, find the last row and then add "X" amount too it. > > Anyway, hope that helps a bit. > > Cheers > Darryl > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, 3 February 2012 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Help with creating an Excel Conditional Format from > within Access > > I get a "user defined type not defined" error on the first line. > > This still used xlCellValue which is causing the error in Access. > > I recorded a macro in Excel2007 and brought the code into Access. > > > On Thu, Feb 2, 2012 at 1:15 PM, Mark Simms wrote: > > > This test fine: Excel 2007. > > Watch your constants and your nested WITH's. I try to minimize those... > > Also, watch to properly maintain your format conditions for a range.... > > Hint: You might have to delete them before adding new ones. > > > > Private Sub TestFormatConditions() > > > > Dim oRng As Excel.Range > > Dim oFmt As Excel.FormatCondition > > > > Set oRng = ActiveSheet.Columns("G").EntireColumn > > Set oRng = oRng.Resize(15).Offset(1) > > ' change the colors if the value is over 100 Set oFmt = > > oRng.FormatConditions.Add(xlCellValue, xlGreater, 100) With oFmt.Font > > .Color = -16777024 > > .TintAndShade = 0 > > End With > > With oFmt.Interior > > .PatternColorIndex = xlAutomatic > > .ThemeColor = xlThemeColorAccent2 > > .TintAndShade = 0.799981688894314 End With > > oFmt.StopIfTrue = True > > > > > > End Sub > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > > bounces at databaseadvisors.com] On Behalf Of David McAfee > > > Sent: Thursday, February 02, 2012 3:19 PM > > > To: Access Developers discussion and problem solving; ACCESS- > > > L at peach.ease.lsoft.com; Microsoft Excel Developers List > > > Subject: Re: [AccessD] Help with creating an Excel Conditional > > > Format from within Access > > > > > > The export works great, I'm having trouble with the conditional > > > formatting: > > > > > > With .Worksheets("R6Payouts").Columns("M:M") > > > .Select > > > > > > '*****************Causes error > > > 'Line below , is the original line, gets a compile error 'Access VBA > > > Compiler doesn't like xlCellValueand xlLess > > > .FormatConditions.Add Type:=xlCellValue, > > > Operator:=xlLess, Formula1:="=0" > > > 'If I put quotes around the values, I get runtime err 13, Type > > > mismatch: > > > .FormatConditions.Add Type:="xlCellValue", > > > Operator:="xlLess", Formula1:="=0" > > > 'I tried brackets, but that gives me err 2465 can't find field '|' > > > in my expression > > > '.FormatConditions.Add Type:=([xlCellValue]), > > > Operator:=(objXL.[xlLess]), Formula1:="=0" > > > > > > .FormatConditions(.FormatConditions.Count).SetFirstPriority > > > '******************************** > > > With .FormatConditions(1).Font > > > .Color = -16777024 > > > .TintAndShade = 0 > > > End With > > > With .FormatConditions(1).Interior > > > .PatternColorIndex = "xlAutomatic" > > > .ThemeColor = "xlThemeColorAccent2" > > > .TintAndShade = 0.799981688894314 > > > End With > > > .FormatConditions(1).StopIfTrue = True > > > End With > > > > > > > > > > > > > > > Any ideas? > > > > > > TIA > > > David > > > > > > From: David McAfee > > > > > > > > > > > > > > Cross posted, sorry to those of you on both lists. > > > > > > > > > > > > I have this stored procedure that I export into an excel sheet. > > > > I'd like to add two conditional formats that highlight column M > > > (light) red > > > > (pink?) if the value is <0. > > > > The other format would color column N Yellow if the value >.2 > > > > (20%) > > > > > > > > I could do the coloring, but the user wants the conditional > > > formatting > > > > instead in case they play with the sheet's numbers. > > > > > > > > Does anyone know how to do this off the top of their head? > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Feb 2 19:31:54 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 02 Feb 2012 20:31:54 -0500 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> Message-ID: <035601cce213$9cb782b0$d6268810$@net> David - that's dangerous practice. All you needed was a VBA Reference to the Excel 12 (or 14) Object Library. Then you can reference any of the Excel constants or enumerations with meaningful names. I'm working on a complex workbook where the original developer never used constants or enumerations. Everything was a million references to hard-coded integers.....quite abstract and very hard to understand and/or modify. > > I finally figured it out! > I found a link with Excel Constants: > From jwcolby at colbyconsulting.com Thu Feb 2 20:56:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 02 Feb 2012 21:56:54 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <4F2B4CF6.4080701@colbyconsulting.com> >Professional virgin Definitely an oxymoron if I have ever encountered one. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/2/2012 4:20 PM, Kenneth Ismert wrote: >> >> Arthur Fuller: >> ... or alternatively, you have enough clients to justify your expenditure >> on the Professional virgin ... >> > > I wish I had more professional virgins in my life. Sigh... > > -Ken From davidmcafee at gmail.com Thu Feb 2 21:37:13 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 2 Feb 2012 19:37:13 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: <035601cce213$9cb782b0$d6268810$@net> References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> <035601cce213$9cb782b0$d6268810$@net> Message-ID: The only thing with that is that our users can have office xp, 2003, 2007 , 2010 or 2010 SP1. The report in question is ran from two different users. One running A2003, the other uses A2010 SP1. If you can recommend a better way of doing it, I'm all ears. Thanks, David Sent from my Droid phone. On Feb 2, 2012 5:33 PM, "Mark Simms" wrote: > David - that's dangerous practice. > All you needed was a VBA Reference to the Excel 12 (or 14) Object Library. > Then you can reference any of the Excel constants or enumerations with > meaningful names. > > I'm working on a complex workbook where the original developer never used > constants or enumerations. > Everything was a million references to hard-coded integers.....quite > abstract and very hard to understand and/or modify. > > > > > I finally figured it out! > > I found a link with Excel Constants: > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Thu Feb 2 23:19:03 2012 From: marksimms at verizon.net (Mark Simms) Date: Fri, 03 Feb 2012 00:19:03 -0500 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access In-Reply-To: References: <1327712778.32513.YahooMailNeo@web77402.mail.sg1.yahoo.com> <035601cce213$9cb782b0$d6268810$@net> Message-ID: <000001cce233$58c3d3e0$0a4b7ba0$@net> See prior posts in this list.....regarding Compiler Directives. That's one way to do it. I know that Office sometimes doesn't re-link the references for a new Office environment. You'll need one declaration at the top of a module: #Const OFFICEVERSION=14 ' change this ONE line of code for each target environment 12,11,10, etc. #Const OFFICE2003=11 #Const OFFICE2007=12 #Const OFFICE2010=14 Then you will need a block of if-then-else statements to handle each environment Below could be placed into a separate Procedure in a module....or in a special start-up form "frmCompile" for instance. In any case, this must be done once each and every time you deploy a new version of your app. #If OFFICEVERSION=OFFICE2003 Then SetReferences OFFICE2003 #Elseif OFFICEVERSION=OFFICE2010 Then SetReferences OFFICE2010 ...Etc.... #End If You'll need to code a SetReferences procedure in a module. This proc will remove all broken references....and then call the AddFromGuid method to add the correct Office version of Excel (and other Office apps) to the references. In the end, you'll have 3 or 4 separate Access apps for each target environment. However, only 1 line of code will differentiate them: #Const OFFICEVERSION=xx Unfortunately, you'll need to re-compile the app from a machine that has the specific Office release to be deployed. It's best, of course, if you as developer have access to each and every office environment. If not, you are now reliant upon users for doing the above upon each new release of your app. Another alternative of course, is to have 4 or so versions of the app...each with the proper references set. Then just swap out and import the entire VBE object set of forms, modules, classes, etc. From jwcolby at colbyconsulting.com Fri Feb 3 06:56:35 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 03 Feb 2012 07:56:35 -0500 Subject: [AccessD] Summing items in subreports Message-ID: <4F2BD983.5030001@colbyconsulting.com> I need to generate an invoice with expense items. I would like to do a subreport to insert the expense items in the report, then pull the sum of the expenses up into the main report. Does anyone do this and how do you handle it? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Fri Feb 3 07:22:42 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Feb 2012 14:22:42 +0100 Subject: [AccessD] Summing items in subreports Message-ID: Hi John I sum the details in a hidden field on the subreport, then reference that hidden field on the main report: =[InvoiceDetail].[Report]![SumDetails] /gustav >>> jwcolby at colbyconsulting.com 03-02-2012 13:56 >>> I need to generate an invoice with expense items. I would like to do a subreport to insert the expense items in the report, then pull the sum of the expenses up into the main report. Does anyone do this and how do you handle it? -- John W. Colby Colby Consulting From Gustav at cactus.dk Fri Feb 3 07:27:39 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Feb 2012 14:27:39 +0100 Subject: [AccessD] OT: Windows Phone 8 Message-ID: Hi all The big picture emerges - how Windows 8, Windows Phone 8, SkyDrive and more will interact: http://www.winsupersite.com/article/windows8/windows-phone-8-preview-142154 Everything seems to be very well thought out. /gustav From mcp2004 at mail.ru Fri Feb 3 08:02:39 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 03 Feb 2012 18:02:39 +0400 Subject: [AccessD] =?utf-8?q?OT=3A_Windows_Phone_8?= In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your note. Yes, SkyDrive intergration would be a useful feature as well as the other new ones. Hope my Windows Phone 7.5 will smoothly upgrade to Windows Phone 8. Thank you. -- Shamil 03 ??????? 2012, 17:22 ?? "Gustav Brock" : > Hi all > > The big picture emerges - how Windows 8, Windows Phone 8, SkyDrive and more will interact: > > http://www.winsupersite.com/article/windows8/windows-phone-8-preview-142154 > > Everything seems to be very well thought out. > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Fri Feb 3 08:18:55 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 3 Feb 2012 09:18:55 -0500 Subject: [AccessD] Summing items in subreports References: <4F2BD983.5030001@colbyconsulting.com> Message-ID: <9164AD7DF142403E83D961265A39A696@SusanHarkins> What have you tried so far? I remember writing about this years ago, but I don't remember the actual solution. Seems like it's just a matter of referencing the subreport control correctly. Susan H. >I need to generate an invoice with expense items. I would like to do a >subreport to insert the expense items in the report, then pull the sum of >the expenses up into the main report. Does anyone do this and how do you >handle it? > > -- > John W. Colby > Colby Consulting > From dbdoug at gmail.com Fri Feb 3 09:31:17 2012 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 3 Feb 2012 07:31:17 -0800 Subject: [AccessD] Summing items in subreports In-Reply-To: <9164AD7DF142403E83D961265A39A696@SusanHarkins> References: <4F2BD983.5030001@colbyconsulting.com> <9164AD7DF142403E83D961265A39A696@SusanHarkins> Message-ID: Because of the number of times that reports and other queries reference the invoice totals but not the detail, I always put an invoice total field in the header record. It's a bit more effort to make sure the total field is always correct, but saves a lot of fussing later. This is particularly helpful when an invoice might have several different types of detail records (labour, materials, services, taxes) etc. Doug On Fri, Feb 3, 2012 at 6:18 AM, Susan Harkins wrote: > What have you tried so far? > > I remember writing about this years ago, but I don't remember the actual > solution. Seems like it's just a matter of referencing the subreport > control correctly. > > Susan H. > > > I need to generate an invoice with expense items. I would like to do a >> subreport to insert the expense items in the report, then pull the sum of >> the expenses up into the main report. Does anyone do this and how do you >> handle it? >> >> -- >> John W. Colby >> Colby Consulting >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From TSeptav at uniserve.com Fri Feb 3 10:54:22 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 3 Feb 2012 08:54:22 -0800 Subject: [AccessD] VBEErrorHandler.dll Message-ID: <5EC89B2D44494215A87AF5530646F8BE@TonySeptav> Hey All Call me an Oscar Meyer Weiner. It is working today and I haven't done anything different. Well back in business and lost in the ozone. From rockysmolin at bchacc.com Fri Feb 3 11:22:00 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 09:22:00 -0800 Subject: [AccessD] OT: Problem with PrimoPDF Message-ID: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From jwcolby at colbyconsulting.com Fri Feb 3 11:23:57 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 03 Feb 2012 12:23:57 -0500 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: <5EC89B2D44494215A87AF5530646F8BE@TonySeptav> References: <5EC89B2D44494215A87AF5530646F8BE@TonySeptav> Message-ID: <4F2C182D.60403@colbyconsulting.com> LOL. The wonders of Microsoft Access! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/3/2012 11:54 AM, Tony Septav wrote: > Hey All > Call me an Oscar Meyer Weiner. It is working today and I haven't done > anything different. > Well back in business and lost in the ozone. From marksimms at verizon.net Fri Feb 3 11:30:30 2012 From: marksimms at verizon.net (Mark Simms) Date: Fri, 03 Feb 2012 12:30:30 -0500 Subject: [AccessD] OT: Windows Phone 8 In-Reply-To: References: Message-ID: <00a201cce299$877f91e0$967eb5a0$@net> So do I, but I'm not counting on it. I've got a Samsung Focus S - a very nice unit. Samsung vs. Apple = David vs. Goliath Go David ! > Hope my Windows Phone 7.5 will smoothly upgrade to Windows Phone 8. > > Thank you. > > -- Shamil From gustav at cactus.dk Fri Feb 3 11:41:07 2012 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Feb 2012 18:41:07 +0100 Subject: [AccessD] OT: Problem with PrimoPDF Message-ID: Hi Rocky Neither has this failed to us. Could be a font issue. Also, you could try their "sister" application, the Nitro Reader, which also happens to install a PDF printer. /gustav >>> rockysmolin at bchacc.com 03-02-12 18:22 >>> Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From rockysmolin at bchacc.com Fri Feb 3 11:49:28 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 09:49:28 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: References: Message-ID: Thanks Gustav. Will forward. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, February 03, 2012 9:41 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Problem with PrimoPDF Hi Rocky Neither has this failed to us. Could be a font issue. Also, you could try their "sister" application, the Nitro Reader, which also happens to install a PDF printer. /gustav >>> rockysmolin at bchacc.com 03-02-12 18:22 >>> Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri Feb 3 12:54:10 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 3 Feb 2012 10:54:10 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> Message-ID: <016901cce2a5$3cdb7bc0$b6927340$@cox.net> Bull zip http://www.bullzip.com/products/pdf/info.php works well. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Fri Feb 3 12:59:44 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 3 Feb 2012 10:59:44 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <016901cce2a5$3cdb7bc0$b6927340$@cox.net> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> <016901cce2a5$3cdb7bc0$b6927340$@cox.net> Message-ID: Go to C:\Program Files\Nitro PDF\PrimoPDF and double click on the file named PrimDel.exe This will delete the printer driver. Double click on PrimInst.exe to re-install the printer driver. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 03, 2012 9:22 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Problem with PrimoPDF > > Dear List: > > My son is in Nicaragua on an internship and needs to print a lot of stuff. > I had him install PrimoPDF so he could print all the reports to pdfs and > then take them to an internet cafe where he could print (where hes working > ?pparently can't handle the print job). > > He gets an error message from Primo however when he tries to use it - > PrimoPDF Exception: Value does not fall within the expected range."" > > Primo has never failed me so I don't know what to tell him. Any ideas? > > Can anyone recommend another free PDF printer he could try? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Feb 3 13:16:03 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 03 Feb 2012 23:16:03 +0400 Subject: [AccessD] =?utf-8?q?OT=3A_Windows_Phone_8?= In-Reply-To: <00a201cce299$877f91e0$967eb5a0$@net> References: <00a201cce299$877f91e0$967eb5a0$@net> Message-ID: My son has Samsung Galaxy Fit driven by Android 2.x - a very good device! He has also got a Huawei Ideos S7 Slim pad but that device has got its touch screen stopped to work in just three weeks - bad thing :( -- Shamil 03 ??????? 2012, 21:31 ?? "Mark Simms" : > So do I, but I'm not counting on it. I've got a Samsung Focus S - a very nice > unit. > Samsung vs. Apple = David vs. Goliath > > Go David ! > > > Hope my Windows Phone 7.5 will smoothly upgrade to Windows Phone 8. > > > > Thank you. > > > > -- Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Fri Feb 3 13:17:09 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 3 Feb 2012 11:17:09 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> Message-ID: <0A7F81C460EA4251ADAF0F4B2985BA52@TonySeptav> Hey Rocky Lebans Print to PDF. Served me well for years. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4784 - Release Date: 02/03/12 From rockysmolin at bchacc.com Fri Feb 3 13:42:29 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 11:42:29 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <016901cce2a5$3cdb7bc0$b6927340$@cox.net> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> <016901cce2a5$3cdb7bc0$b6927340$@cox.net> Message-ID: Thanks. Will forward. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, February 03, 2012 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Problem with PrimoPDF Bull zip http://www.bullzip.com/products/pdf/info.php works well. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 3 13:42:39 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 11:42:39 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007><016901cce2a5$3cdb7bc0$b6927340$@cox.net> Message-ID: <42056AB2C1084C8CADA898E5C45C3213@HAL9007> Thanks. Will forward. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, February 03, 2012 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Problem with PrimoPDF Go to C:\Program Files\Nitro PDF\PrimoPDF and double click on the file named PrimDel.exe This will delete the printer driver. Double click on PrimInst.exe to re-install the printer driver. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, February 03, 2012 9:22 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Problem with PrimoPDF > > Dear List: > > My son is in Nicaragua on an internship and needs to print a lot of stuff. > I had him install PrimoPDF so he could print all the reports to pdfs > and then take them to an internet cafe where he could print (where hes > working ?pparently can't handle the print job). > > He gets an error message from Primo however when he tries to use it - > PrimoPDF Exception: Value does not fall within the expected range."" > > Primo has never failed me so I don't know what to tell him. Any ideas? > > Can anyone recommend another free PDF printer he could try? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 3 13:42:47 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 11:42:47 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <0A7F81C460EA4251ADAF0F4B2985BA52@TonySeptav> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> <0A7F81C460EA4251ADAF0F4B2985BA52@TonySeptav> Message-ID: <24A585A0C1174B3994E4FA393620B8CB@HAL9007> Thanks. Will forward. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 03, 2012 11:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Problem with PrimoPDF Hey Rocky Lebans Print to PDF. Served me well for years. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4784 - Release Date: 02/03/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Feb 3 14:39:12 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 3 Feb 2012 12:39:12 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> Message-ID: <8B69213ED8F14F3AAB299D0A933555F1@creativesystemdesigns.com> He could try the PDFCreator, then CutePDF or bring his laptop in and print directly to their printer. If your son has difficulty convincing staff I could always send down my wife as she has the ability to convince anyone of anything....and no internet caf? geek is a match. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 3 16:02:26 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Feb 2012 14:02:26 -0800 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <8B69213ED8F14F3AAB299D0A933555F1@creativesystemdesigns.com> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> <8B69213ED8F14F3AAB299D0A933555F1@creativesystemdesigns.com> Message-ID: <6A269B4B4636495F9356811896CF900F@HAL9007> Nice to know that we have a bench behind the team. Tell her to stand by...:) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, February 03, 2012 12:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Problem with PrimoPDF He could try the PDFCreator, then CutePDF or bring his laptop in and print directly to their printer. If your son has difficulty convincing staff I could always send down my wife as she has the ability to convince anyone of anything....and no internet caf? geek is a match. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 03, 2012 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Problem with PrimoPDF Dear List: My son is in Nicaragua on an internship and needs to print a lot of stuff. I had him install PrimoPDF so he could print all the reports to pdfs and then take them to an internet cafe where he could print (where hes working ?pparently can't handle the print job). He gets an error message from Primo however when he tries to use it - PrimoPDF Exception: Value does not fall within the expected range."" Primo has never failed me so I don't know what to tell him. Any ideas? Can anyone recommend another free PDF printer he could try? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Fri Feb 3 16:14:02 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 3 Feb 2012 17:14:02 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> Message-ID: <006401cce2c1$231695f0$6943c1d0$@gmail.com> As of now I am beginning to think LearnDevNow is a disreputable (or at least badly run) site. They do not respond to repeated requests for assistance. I tried to log in with this randomized username and password they sent me on 12/31, and the message says "Account Code" is required ... and they never mailed me any details. I know they have my correct e-mail because when I tried to request a password reset, I was told that they "sent" it; when I tried the same operation with a different password, I was told that I was not in their system (with the second e-mail address). So I know that they have the first one in their database. And so I should have gotten registration information. I took a screen shot of the username and password when I first signed up, but regrettably did not know that "account code" was going to be important so my screen shot missed that. Now I see that their hurry up and subscribe price of $99 for a year ... is on sale for $49 for the next day or so. So ... who else feels ripped off, signing up at $99 on a HURRY UP EXPIRES SOON to have the turn around a month later and offer the same deal at half the price, with another HURRY UP message?? I feel taken in and poorly supported by them. "Lessoned "Learned", thanks LearnDevNow", I am prepared to say. From vbacreations at gmail.com Fri Feb 3 16:19:34 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 3 Feb 2012 17:19:34 -0500 Subject: [AccessD] Learning new technologies References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> Message-ID: <006501cce2c1$e9301630$bb904290$@gmail.com> Oh and by the way, you think their Support section would have a account issues section... nope. Not listed among the categories / subcategories so I can't even create a ticket under the right issue. Maybe it's me, I am going on so little sleep (that I thought watching one of their videos might help me get some... ;-) - that I just can't see what's plain as the nose on my face (hey, who can see their nose anyway??) From vbacreations at gmail.com Fri Feb 3 16:28:09 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 3 Feb 2012 17:28:09 -0500 Subject: [AccessD] Learning new technologies References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> Message-ID: <006901cce2c3$1c06f5a0$5414e0e0$@gmail.com> They responded, they supported; they adjusted my account as well (somewhat). Here was what I was told: Hello Bill, I have copied your original order confirmation below. I am unable to refund the difference as you are past our ten day money back guarantee. I did add the sample code to you account which is normally [an] additional $29.99. Maybe someone else wants to write to them on the price difference -- though I think most of you signed up for more in your packages. ---------------------------------------------------------------------------- ----------------------------- I am just so grumpy from lack of sleep, running on very empty, and probably in need of serious alcohol imbibage. ---------------------------------------------------------------------------- ----------------------------- From stuart at lexacorp.com.pg Fri Feb 3 16:50:11 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Feb 2012 08:50:11 +1000 Subject: [AccessD] OT: Problem with PrimoPDF In-Reply-To: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> References: <0F70340E52C44C5394C6C0FF77A5B916@HAL9007> Message-ID: <4F2C64A3.14974.D5A06E8@stuart.lexacorp.com.pg> I use PDFCreator. -- Stuart On 3 Feb 2012 at 9:22, Rocky Smolin wrote: > Dear List: > > My son is in Nicaragua on an internship and needs to print a lot of stuff. > I had him install PrimoPDF so he could print all the reports to pdfs and > then take them to an internet cafe where he could print (where hes working > ?pparently can't handle the print job). > > He gets an error message from Primo however when he tries to use it - > PrimoPDF Exception: Value does not fall within the expected range."" > > Primo has never failed me so I don't know what to tell him. Any ideas? > > Can anyone recommend another free PDF printer he could try? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Feb 3 17:45:52 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 3 Feb 2012 15:45:52 -0800 Subject: [AccessD] Learning new technologies In-Reply-To: <006401cce2c1$231695f0$6943c1d0$@gmail.com> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> <006401cce2c1$231695f0$6943c1d0$@gmail.com> Message-ID: <0E16098AD34F4D8184F88E9DC7D5CEA8@creativesystemdesigns.com> Thanks for the heads up William. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, February 03, 2012 2:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Learning new technologies As of now I am beginning to think LearnDevNow is a disreputable (or at least badly run) site. They do not respond to repeated requests for assistance. I tried to log in with this randomized username and password they sent me on 12/31, and the message says "Account Code" is required ... and they never mailed me any details. I know they have my correct e-mail because when I tried to request a password reset, I was told that they "sent" it; when I tried the same operation with a different password, I was told that I was not in their system (with the second e-mail address). So I know that they have the first one in their database. And so I should have gotten registration information. I took a screen shot of the username and password when I first signed up, but regrettably did not know that "account code" was going to be important so my screen shot missed that. Now I see that their hurry up and subscribe price of $99 for a year ... is on sale for $49 for the next day or so. So ... who else feels ripped off, signing up at $99 on a HURRY UP EXPIRES SOON to have the turn around a month later and offer the same deal at half the price, with another HURRY UP message?? I feel taken in and poorly supported by them. "Lessoned "Learned", thanks LearnDevNow", I am prepared to say. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Feb 4 08:22:20 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 04 Feb 2012 09:22:20 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <006401cce2c1$231695f0$6943c1d0$@gmail.com> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> <006401cce2c1$231695f0$6943c1d0$@gmail.com> Message-ID: <47B5310499D44554A28D77126CAD96BA@XPS> I haven't had any problems with them. My only gripe (and it might be me) is that what they promise in their e-mails for current training, I find it hard to find or I can't find it at all. Most of their training video's seem to be behind the times a bit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, February 03, 2012 05:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Learning new technologies As of now I am beginning to think LearnDevNow is a disreputable (or at least badly run) site. They do not respond to repeated requests for assistance. I tried to log in with this randomized username and password they sent me on 12/31, and the message says "Account Code" is required ... and they never mailed me any details. I know they have my correct e-mail because when I tried to request a password reset, I was told that they "sent" it; when I tried the same operation with a different password, I was told that I was not in their system (with the second e-mail address). So I know that they have the first one in their database. And so I should have gotten registration information. I took a screen shot of the username and password when I first signed up, but regrettably did not know that "account code" was going to be important so my screen shot missed that. Now I see that their hurry up and subscribe price of $99 for a year ... is on sale for $49 for the next day or so. So ... who else feels ripped off, signing up at $99 on a HURRY UP EXPIRES SOON to have the turn around a month later and offer the same deal at half the price, with another HURRY UP message?? I feel taken in and poorly supported by them. "Lessoned "Learned", thanks LearnDevNow", I am prepared to say. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Feb 4 12:14:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 04 Feb 2012 13:14:00 -0500 Subject: [AccessD] Fascinating (but schtupid) Message-ID: <4F2D7568.1070004@colbyconsulting.com> I am working on an Access database which uses ODBC links back to tables as well as views. Everything was working fine until I created a view which appends a FirstName + ' ' + LastName to create a name field, for use in a combo. I have a couple of dozen views which I link into the FE but this is the only one so far where I do this append kind of thing. I use these views to sort the data out at the sql server end and populate my drop down combos in various forms. When I bind the combo to this view and open the form, a SQL server login form opens several times. You know the one I mean, the login form which asks whether to use trusted connection or a SQL Server username / password. The view itself is fine, I can click on the view and see the data, no login form etc. If I bind the row source to the corresponding table and do the append thing inside of Access I also do not get the login form popping up. So, bind to a view without this field append happening back in SQL Server, no problem. Bind to a table and do the field append in the FE itself, no problem. Open the view with the field append happening in SQL Server, no problem. Bind to a view with this append happening back in sql server, log in box pops up, several times. Check this out, if I relink just that view, the error goes away... until I close the database and re-open it and then the error is back. Relink the view, gone, close re-open and it's back. Of course it took me awhile to figure this out. Doncha just love Access? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Feb 4 13:18:50 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 04 Feb 2012 14:18:50 -0500 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F2D7568.1070004@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com> Message-ID: <4F2D849A.1060603@colbyconsulting.com> It seems the issue behind the problem is that I used "Name" as the field alias back in the view in SQL Server. Name is almost certainly a reserved word in Access. When I changed the alias to something else the problem went away. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/4/2012 1:14 PM, jwcolby wrote: > I am working on an Access database which uses ODBC links back to tables as well as views. Everything > was working fine until I created a view which appends a FirstName + ' ' + LastName to create a name > field, for use in a combo. I have a couple of dozen views which I link into the FE but this is the > only one so far where I do this append kind of thing. I use these views to sort the data out at the > sql server end and populate my drop down combos in various forms. > > When I bind the combo to this view and open the form, a SQL server login form opens several times. > You know the one I mean, the login form which asks whether to use trusted connection or a SQL Server > username / password. The view itself is fine, I can click on the view and see the data, no login > form etc. > > If I bind the row source to the corresponding table and do the append thing inside of Access I also > do not get the login form popping up. > > So, bind to a view without this field append happening back in SQL Server, no problem. > Bind to a table and do the field append in the FE itself, no problem. > Open the view with the field append happening in SQL Server, no problem. > Bind to a view with this append happening back in sql server, log in box pops up, several times. > > Check this out, if I relink just that view, the error goes away... until I close the database and > re-open it and then the error is back. Relink the view, gone, close re-open and it's back. > > Of course it took me awhile to figure this out. > > Doncha just love Access? > From tinanfields at torchlake.com Sat Feb 4 13:45:28 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 04 Feb 2012 14:45:28 -0500 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F2D849A.1060603@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com> <4F2D849A.1060603@colbyconsulting.com> Message-ID: <4F2D8AD8.8070602@torchlake.com> Aha! Yes, I did that very same thing a few years ago. It worked just fine for a while, then suddenly didn't work. "Name" is indeed a reserved word - changed it to "FullName" and had no more problems. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/4/2012 2:18 PM, jwcolby wrote: > It seems the issue behind the problem is that I used "Name" as the > field alias back in the view in SQL Server. Name is almost certainly > a reserved word in Access. When I changed the alias to something else > the problem went away. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/4/2012 1:14 PM, jwcolby wrote: >> I am working on an Access database which uses ODBC links back to >> tables as well as views. Everything >> was working fine until I created a view which appends a FirstName + ' >> ' + LastName to create a name >> field, for use in a combo. I have a couple of dozen views which I >> link into the FE but this is the >> only one so far where I do this append kind of thing. I use these >> views to sort the data out at the >> sql server end and populate my drop down combos in various forms. >> >> When I bind the combo to this view and open the form, a SQL server >> login form opens several times. >> You know the one I mean, the login form which asks whether to use >> trusted connection or a SQL Server >> username / password. The view itself is fine, I can click on the view >> and see the data, no login >> form etc. >> >> If I bind the row source to the corresponding table and do the append >> thing inside of Access I also >> do not get the login form popping up. >> >> So, bind to a view without this field append happening back in SQL >> Server, no problem. >> Bind to a table and do the field append in the FE itself, no problem. >> Open the view with the field append happening in SQL Server, no problem. >> Bind to a view with this append happening back in sql server, log in >> box pops up, several times. >> >> Check this out, if I relink just that view, the error goes away... >> until I close the database and >> re-open it and then the error is back. Relink the view, gone, close >> re-open and it's back. >> >> Of course it took me awhile to figure this out. >> >> Doncha just love Access? >> > From jwcolby at colbyconsulting.com Sat Feb 4 13:58:24 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 04 Feb 2012 14:58:24 -0500 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F2D8AD8.8070602@torchlake.com> References: <4F2D7568.1070004@colbyconsulting.com> <4F2D849A.1060603@colbyconsulting.com> <4F2D8AD8.8070602@torchlake.com> Message-ID: <4F2D8DE0.5030500@colbyconsulting.com> >It worked just fine for a while, then suddenly didn't work. Likewise, it was working fine for awhile then suddenly started the uesrname / password thing. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/4/2012 2:45 PM, Tina Norris Fields wrote: > Aha! Yes, I did that very same thing a few years ago. It worked just fine for a while, then suddenly > didn't work. "Name" is indeed a reserved word - changed it to "FullName" and had no more problems. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/4/2012 2:18 PM, jwcolby wrote: >> It seems the issue behind the problem is that I used "Name" as the field alias back in the view in >> SQL Server. Name is almost certainly a reserved word in Access. When I changed the alias to >> something else the problem went away. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/4/2012 1:14 PM, jwcolby wrote: >>> I am working on an Access database which uses ODBC links back to tables as well as views. Everything >>> was working fine until I created a view which appends a FirstName + ' ' + LastName to create a name >>> field, for use in a combo. I have a couple of dozen views which I link into the FE but this is the >>> only one so far where I do this append kind of thing. I use these views to sort the data out at the >>> sql server end and populate my drop down combos in various forms. >>> >>> When I bind the combo to this view and open the form, a SQL server login form opens several times. >>> You know the one I mean, the login form which asks whether to use trusted connection or a SQL Server >>> username / password. The view itself is fine, I can click on the view and see the data, no login >>> form etc. >>> >>> If I bind the row source to the corresponding table and do the append thing inside of Access I also >>> do not get the login form popping up. >>> >>> So, bind to a view without this field append happening back in SQL Server, no problem. >>> Bind to a table and do the field append in the FE itself, no problem. >>> Open the view with the field append happening in SQL Server, no problem. >>> Bind to a view with this append happening back in sql server, log in box pops up, several times. >>> >>> Check this out, if I relink just that view, the error goes away... until I close the database and >>> re-open it and then the error is back. Relink the view, gone, close re-open and it's back. >>> >>> Of course it took me awhile to figure this out. >>> >>> Doncha just love Access? >>> >> From garykjos at gmail.com Sat Feb 4 14:18:07 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 4 Feb 2012 14:18:07 -0600 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F2D8DE0.5030500@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com> <4F2D849A.1060603@colbyconsulting.com> <4F2D8AD8.8070602@torchlake.com> <4F2D8DE0.5030500@colbyconsulting.com> Message-ID: Ya done confused it John. ;-) Name, date, time, format - those things are all bad ideas to use for names on anything aren't they? Glad you figured it out. GK On Sat, Feb 4, 2012 at 1:58 PM, jwcolby wrote: >>It worked just fine for a while, then suddenly didn't work. > > Likewise, it was working fine for awhile then suddenly started the uesrname > / password thing. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/4/2012 2:45 PM, Tina Norris Fields wrote: >> >> Aha! Yes, I did that very same thing a few years ago. It worked just fine >> for a while, then suddenly >> didn't work. "Name" is indeed a reserved word - changed it to "FullName" >> and had no more problems. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 2/4/2012 2:18 PM, jwcolby wrote: >>> >>> It seems the issue behind the problem is that I used "Name" as the field >>> alias back in the view in >>> SQL Server. Name is almost certainly a reserved word in Access. When I >>> changed the alias to >>> something else the problem went away. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 2/4/2012 1:14 PM, jwcolby wrote: >>>> >>>> I am working on an Access database which uses ODBC links back to tables >>>> as well as views. Everything >>>> was working fine until I created a view which appends a FirstName + ' ' >>>> + LastName to create a name >>>> field, for use in a combo. I have a couple of dozen views which I link >>>> into the FE but this is the >>>> only one so far where I do this append kind of thing. I use these views >>>> to sort the data out at the >>>> sql server end and populate my drop down combos in various forms. >>>> >>>> When I bind the combo to this view and open the form, a SQL server login >>>> form opens several times. >>>> You know the one I mean, the login form which asks whether to use >>>> trusted connection or a SQL Server >>>> username / password. The view itself is fine, I can click on the view >>>> and see the data, no login >>>> form etc. >>>> >>>> If I bind the row source to the corresponding table and do the append >>>> thing inside of Access I also >>>> do not get the login form popping up. >>>> >>>> So, bind to a view without this field append happening back in SQL >>>> Server, no problem. >>>> Bind to a table and do the field append in the FE itself, no problem. >>>> Open the view with the field append happening in SQL Server, no problem. >>>> Bind to a view with this append happening back in sql server, log in box >>>> pops up, several times. >>>> >>>> Check this out, if I relink just that view, the error goes away... until >>>> I close the database and >>>> re-open it and then the error is back. Relink the view, gone, close >>>> re-open and it's back. >>>> >>>> Of course it took me awhile to figure this out. >>>> >>>> Doncha just love Access? >>>> >>> > > -- > 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 jwcolby at colbyconsulting.com Sat Feb 4 18:01:42 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 04 Feb 2012 19:01:42 -0500 Subject: [AccessD] ODBC linked views fail in Access 2010 Message-ID: <4F2DC6E6.1060208@colbyconsulting.com> My Access FE used ODBC links to tables and views in sql server over Hamachi. The FE is hitting a virtual machine on my network running Windows 7 X64 and SQL Server 2008 server. The virtual machine is a member of a Hamachi network with an IP address like 5.123.456.789, and when I link to the tables and views I do so linking to the SQL Server instance using that IP address. I have been developing on another virtual machine in Office 2003. The client has Office 2010. One immediate problem is that I set the hidden attribute for every object such as forms and tables so that, when the FE opens, there is very little to see for the user to get into. The problem is that I cannot for the life of me discover where (in 2010) I go to check these boxes to allow me to see the hidden objects. Worse still, I cannot even see the unhidden objects. This appears to be mostly a case of Microsoft getting rid of the "database window" and doing everything they can to obfuscate how to get at the stuff that used to be readily visible in the database window. And so I simply cannot even see any of the stuff I hid. NOT my intention! ;) The bigger problem is that all the views in the database under 2010 *can* be "seen", as can the tables. I can double click to open the tables and see and edit the data but when I try and do so with the views, I get an error something to the effect that the ODBC connection to 10.5.123.456.789,1433 failed. If you look closely, you will notice that Access appears to be adding a 10. in front of the valid 5. IP address, but only for the views. Thus tables can be seen and opened, views cannot. I thought I would relink but Access is looking for the DSN of course which only exists on my main machine. I am going to build on on the user's machine but I just thought I'd throw out there that this is happening and see if anyone had seen this bizarre behavior and if so have you discovered why it would be happening. Specifically why the Access ODBC driver which is supposed to be connecting linked views suddenly adds a 10. in front of the otherwise valid IP address for the SQL Server. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From TSeptav at uniserve.com Sun Feb 5 08:31:30 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 06:31:30 -0800 Subject: [AccessD] Cannot Create Output File Message-ID: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav> Hey All I have a form in an 2003 application that allows the user to zip/unzip files relating to a project. I am Shelling out to the Windows zip program. Everything basically works fine, but the odd time in the archiving/compressing of the files a message box from the zip program pops up "Cannot Create Output File". 1. Can someone tell me what this means ( I have tried Goggling for an explanation)? 2. Because the message is outside the application sometimes when I click the button in the message box it locks up my application. I have tried to close it in Access code but of course to no avail as Access is not controlling the program. Any suggestions? Thanks Tony Septav Nanaimo, BC Canada From TSeptav at uniserve.com Sun Feb 5 08:34:33 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 06:34:33 -0800 Subject: [AccessD] Ooops Message-ID: Hey All I have tried to close the shelled zip program in Access code but of course to no avail as Access at this point is not controlling the program. Any suggestions? Tony Septav Nanaimo, BC Canada From jimdettman at verizon.net Sun Feb 5 09:32:51 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 05 Feb 2012 10:32:51 -0500 Subject: [AccessD] Ooops In-Reply-To: References: Message-ID: When you call she'll, if you use a return variable, a window handle will be returned. You can use that with a win API call to kill or wait for the app to finish. Don't have the code at the moment but I can get it for you latter. Jim Sent from my iPhone On Feb 5, 2012, at 9:34 AM, "Tony Septav" wrote: > Hey All > I have tried to close the shelled zip program in Access code but of course > to no avail as Access at this point is not controlling the program. Any > suggestions? > > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sun Feb 5 09:35:46 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 05 Feb 2012 10:35:46 -0500 Subject: [AccessD] Cannot Create Output File In-Reply-To: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav> References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav> Message-ID: <10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net> At a guess it's either the output path is invalid or the login doesn't have privs for the directory. Jim Sent from my iPhone On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > Hey All > I have a form in an 2003 application that allows the user to zip/unzip files > relating to a project. I am Shelling out to the Windows zip program. > Everything basically works fine, but the odd time in the > archiving/compressing of the files a message box from the zip program pops > up "Cannot Create Output File". > > 1. Can someone tell me what this means ( I have tried Goggling for an > explanation)? > 2. Because the message is outside the application sometimes when I click the > button in the message box it locks up my application. I have tried to close > it in Access code but of course to no avail as Access is not controlling the > program. Any suggestions? > > Thanks > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sun Feb 5 09:43:21 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 07:43:21 -0800 Subject: [AccessD] Ooops In-Reply-To: References: Message-ID: Hey Jim Thanks, much appreciated. I like to bullet proof my apps, it is the .1% that kills ya. Spent yesterday trapping for empty subfolders, before zipping that also causes an error message to popup. Thanks again Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, February 05, 2012 7:33 AM To: Access Developers discussion and problem solving Cc: Access Developers discussion and problem solving Subject: Re: [AccessD] Ooops When you call she'll, if you use a return variable, a window handle will be returned. You can use that with a win API call to kill or wait for the app to finish. Don't have the code at the moment but I can get it for you latter. Jim Sent from my iPhone On Feb 5, 2012, at 9:34 AM, "Tony Septav" wrote: > Hey All > I have tried to close the shelled zip program in Access code but of > course to no avail as Access at this point is not controlling the > program. Any suggestions? > > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: 02/04/12 From TSeptav at uniserve.com Sun Feb 5 09:48:47 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 07:48:47 -0800 Subject: [AccessD] Cannot Create Output File In-Reply-To: <10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net> References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav> <10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net> Message-ID: <45D02E60573348F4908A498666183C88@TonySeptav> Hey Jim It is kind of weird in my testing, as it is compressing the files sometimes not always it will hit a file (not always the same one either) and up pops the message. That is why I was wondering exactly what the message was trying to tell me. If I knew I could trap for it. For example maybe it occurs if a file is open, but none of the files being zipped are open. Tony Septav Nanaimo,BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, February 05, 2012 7:36 AM To: Access Developers discussion and problem solving Cc: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot Create Output File At a guess it's either the output path is invalid or the login doesn't have privs for the directory. Jim Sent from my iPhone On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > Hey All > I have a form in an 2003 application that allows the user to zip/unzip > files relating to a project. I am Shelling out to the Windows zip program. > Everything basically works fine, but the odd time in the > archiving/compressing of the files a message box from the zip program > pops up "Cannot Create Output File". > > 1. Can someone tell me what this means ( I have tried Goggling for an > explanation)? > 2. Because the message is outside the application sometimes when I > click the button in the message box it locks up my application. I have > tried to close it in Access code but of course to no avail as Access > is not controlling the program. Any suggestions? > > Thanks > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: 02/04/12 From dbdoug at gmail.com Sun Feb 5 11:21:49 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 5 Feb 2012 09:21:49 -0800 Subject: [AccessD] Cannot Create Output File In-Reply-To: <45D02E60573348F4908A498666183C88@TonySeptav> References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav> <10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net> <45D02E60573348F4908A498666183C88@TonySeptav> Message-ID: In my experience it means that there is something wrong with the file path or name. Is it possible that the output file exists already and the program isn't set to overwrite existing? This may be a red herring, but I remember once discovering that Access was feeding files to an external program too quickly for it to handle; I ended up putting (I think) a two second delay between calls. Doug On Sun, Feb 5, 2012 at 7:48 AM, Tony Septav wrote: > Hey Jim > It is kind of weird in my testing, as it is compressing the files sometimes > not always it will hit a file (not always the same one either) and up pops > the message. That is why I was wondering exactly what the message was > trying > to tell me. If I knew I could trap for it. For example maybe it occurs if a > file is open, but none of the files being zipped are open. > > Tony Septav > Nanaimo,BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, February 05, 2012 7:36 AM > To: Access Developers discussion and problem solving > Cc: Access Developers discussion and problem solving > Subject: Re: [AccessD] Cannot Create Output File > > At a guess it's either the output path is invalid or the login doesn't have > privs for the directory. > > Jim > > Sent from my iPhone > > On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > > > Hey All > > I have a form in an 2003 application that allows the user to zip/unzip > > files relating to a project. I am Shelling out to the Windows zip > program. > > Everything basically works fine, but the odd time in the > > archiving/compressing of the files a message box from the zip program > > pops up "Cannot Create Output File". > > > > 1. Can someone tell me what this means ( I have tried Goggling for an > > explanation)? > > 2. Because the message is outside the application sometimes when I > > click the button in the message box it locks up my application. I have > > tried to close it in Access code but of course to no avail as Access > > is not controlling the program. Any suggestions? > > > > Thanks > > Tony Septav > > Nanaimo, BC > > Canada > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: 02/04/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Sun Feb 5 12:21:54 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 5 Feb 2012 10:21:54 -0800 Subject: [AccessD] ODBC linked views fail in Access 2010 In-Reply-To: <4F2DC6E6.1060208@colbyconsulting.com> References: <4F2DC6E6.1060208@colbyconsulting.com> Message-ID: Hi John: If I did not know better it sounds like the application via MS is making assumptions. It is saying that the address must be local; either in the 10.xxx.xxx.xxx or 198.xxx.xxx.xxx. You may have to set it up as UNC type address like \\5.xxx.xxx.xxx (In some programs, addresses like 5.xxx... are considered illegal being outside the standard address bandwidth.) The only reason that the 5.xxx... series of addresses are not challenged by the system is that they are managed at both the source and destination ends by Hamachi. New routers can stop Hamachi dead as they block all ports and addresses and only allow connection via addresses/ports/protocol types and even subnets, specifically entered into the allow list. LogMeIn has a core of Hamachi but they can proxy the addresses through port 80 if the required. In the long run maybe you should look at such solutions as OpenVPN (http://openvpn.net/), which has equal level of encryption, better security and a greater range of flexibilty. (Also the pricing is favourable for your type of project.) An aside: If your address is infact 5.123.456.789 that's your problem. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 04, 2012 4:02 PM To: Access Developers discussion and problem solving Subject: [AccessD] ODBC linked views fail in Access 2010 My Access FE used ODBC links to tables and views in sql server over Hamachi. The FE is hitting a virtual machine on my network running Windows 7 X64 and SQL Server 2008 server. The virtual machine is a member of a Hamachi network with an IP address like 5.123.456.789, and when I link to the tables and views I do so linking to the SQL Server instance using that IP address. I have been developing on another virtual machine in Office 2003. The client has Office 2010. One immediate problem is that I set the hidden attribute for every object such as forms and tables so that, when the FE opens, there is very little to see for the user to get into. The problem is that I cannot for the life of me discover where (in 2010) I go to check these boxes to allow me to see the hidden objects. Worse still, I cannot even see the unhidden objects. This appears to be mostly a case of Microsoft getting rid of the "database window" and doing everything they can to obfuscate how to get at the stuff that used to be readily visible in the database window. And so I simply cannot even see any of the stuff I hid. NOT my intention! ;) The bigger problem is that all the views in the database under 2010 *can* be "seen", as can the tables. I can double click to open the tables and see and edit the data but when I try and do so with the views, I get an error something to the effect that the ODBC connection to 10.5.123.456.789,1433 failed. If you look closely, you will notice that Access appears to be adding a 10. in front of the valid 5. IP address, but only for the views. Thus tables can be seen and opened, views cannot. I thought I would relink but Access is looking for the DSN of course which only exists on my main machine. I am going to build on on the user's machine but I just thought I'd throw out there that this is happening and see if anyone had seen this bizarre behavior and if so have you discovered why it would be happening. Specifically why the Access ODBC driver which is supposed to be connecting linked views suddenly adds a 10. in front of the otherwise valid IP address for the SQL Server. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sun Feb 5 12:37:34 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 10:37:34 -0800 Subject: [AccessD] Cannot Create Output File In-Reply-To: References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav><10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net><45D02E60573348F4908A498666183C88@TonySeptav> Message-ID: Hey Doug Thanks for your reply. I have a Wait/Sleep of 5 seconds embedded in my code. In my testing of the zip code, I am using the same group of files and the message "Cannot Create Output File" occurs erratically sometimes it happens, sometimes not (more likely not). Again it is just that I really don't know what the message is trying indicate/means. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, February 05, 2012 9:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot Create Output File In my experience it means that there is something wrong with the file path or name. Is it possible that the output file exists already and the program isn't set to overwrite existing? This may be a red herring, but I remember once discovering that Access was feeding files to an external program too quickly for it to handle; I ended up putting (I think) a two second delay between calls. Doug On Sun, Feb 5, 2012 at 7:48 AM, Tony Septav wrote: > Hey Jim > It is kind of weird in my testing, as it is compressing the files > sometimes not always it will hit a file (not always the same one > either) and up pops the message. That is why I was wondering exactly > what the message was trying to tell me. If I knew I could trap for it. > For example maybe it occurs if a file is open, but none of the files > being zipped are open. > > Tony Septav > Nanaimo,BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, February 05, 2012 7:36 AM > To: Access Developers discussion and problem solving > Cc: Access Developers discussion and problem solving > Subject: Re: [AccessD] Cannot Create Output File > > At a guess it's either the output path is invalid or the login doesn't > have privs for the directory. > > Jim > > Sent from my iPhone > > On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > > > Hey All > > I have a form in an 2003 application that allows the user to > > zip/unzip files relating to a project. I am Shelling out to the > > Windows zip > program. > > Everything basically works fine, but the odd time in the > > archiving/compressing of the files a message box from the zip > > program pops up "Cannot Create Output File". > > > > 1. Can someone tell me what this means ( I have tried Goggling for > > an explanation)? > > 2. Because the message is outside the application sometimes when I > > click the button in the message box it locks up my application. I > > have tried to close it in Access code but of course to no avail as > > Access is not controlling the program. Any suggestions? > > > > Thanks > > Tony Septav > > Nanaimo, BC > > Canada > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: > 02/04/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4790 - Release Date: 02/05/12 From jwcolby at colbyconsulting.com Sun Feb 5 14:54:19 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 05 Feb 2012 15:54:19 -0500 Subject: [AccessD] ODBC linked views fail in Access 2010 In-Reply-To: References: <4F2DC6E6.1060208@colbyconsulting.com> Message-ID: <4F2EEC7B.90007@colbyconsulting.com> > An aside: If your address is infact 5.123.456.789 that's your problem. ;-) LOL, uhhh no. The interesting thing to me is that the linked tables work just fine, even through whatever the application is going through to get out of the machine. Only links to sql server views fail in this manner. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/5/2012 1:21 PM, Jim Lawrence wrote: > Hi John: > > If I did not know better it sounds like the application via MS is making > assumptions. It is saying that the address must be local; either in the > 10.xxx.xxx.xxx or 198.xxx.xxx.xxx. You may have to set it up as UNC type > address like \\5.xxx.xxx.xxx (In some programs, addresses like 5.xxx... are > considered illegal being outside the standard address bandwidth.) > > The only reason that the 5.xxx... series of addresses are not challenged by > the system is that they are managed at both the source and destination ends > by Hamachi. New routers can stop Hamachi dead as they block all ports and > addresses and only allow connection via addresses/ports/protocol types and > even subnets, specifically entered into the allow list. LogMeIn has a core > of Hamachi but they can proxy the addresses through port 80 if the required. > > In the long run maybe you should look at such solutions as OpenVPN > (http://openvpn.net/), which has equal level of encryption, better security > and a greater range of flexibilty. (Also the pricing is favourable for your > type of project.) > > An aside: If your address is infact 5.123.456.789 that's your problem. ;-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, February 04, 2012 4:02 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] ODBC linked views fail in Access 2010 > > My Access FE used ODBC links to tables and views in sql server over Hamachi. > The FE is hitting a > virtual machine on my network running Windows 7 X64 and SQL Server 2008 > server. > > The virtual machine is a member of a Hamachi network with an IP address like > 5.123.456.789, and when > I link to the tables and views I do so linking to the SQL Server instance > using that IP address. > > I have been developing on another virtual machine in Office 2003. The > client has Office 2010. One > immediate problem is that I set the hidden attribute for every object such > as forms and tables so > that, when the FE opens, there is very little to see for the user to get > into. > > The problem is that I cannot for the life of me discover where (in 2010) I > go to check these boxes > to allow me to see the hidden objects. Worse still, I cannot even see the > unhidden objects. This > appears to be mostly a case of Microsoft getting rid of the "database > window" and doing everything > they can to obfuscate how to get at the stuff that used to be readily > visible in the database > window. And so I simply cannot even see any of the stuff I hid. NOT my > intention! ;) > > The bigger problem is that all the views in the database under 2010 *can* be > "seen", as can the > tables. I can double click to open the tables and see and edit the data but > when I try and do so > with the views, I get an error something to the effect that the ODBC > connection to > 10.5.123.456.789,1433 failed. If you look closely, you will notice that > Access appears to be adding > a 10. in front of the valid 5. IP address, but only for the views. Thus > tables can be seen and > opened, views cannot. > > I thought I would relink but Access is looking for the DSN of course which > only exists on my main > machine. I am going to build on on the user's machine but I just thought > I'd throw out there that > this is happening and see if anyone had seen this bizarre behavior and if so > have you discovered why > it would be happening. Specifically why the Access ODBC driver which is > supposed to be connecting > linked views suddenly adds a 10. in front of the otherwise valid IP address > for the SQL Server. > From df.waters at comcast.net Sun Feb 5 15:16:13 2012 From: df.waters at comcast.net (Dan Waters) Date: Sun, 5 Feb 2012 15:16:13 -0600 Subject: [AccessD] Cannot Create Output File In-Reply-To: References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav><10211D16-ED1B-4CCF-A1E2-E61E408597F5@verizon.net><45D02E60573348F4908A498666183C88@TonySeptav> Message-ID: <000301cce44b$643644a0$2ca2cde0$@comcast.net> To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. See http://support.microsoft.com/kb/244695. HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Sunday, February 05, 2012 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot Create Output File Hey Doug Thanks for your reply. I have a Wait/Sleep of 5 seconds embedded in my code. In my testing of the zip code, I am using the same group of files and the message "Cannot Create Output File" occurs erratically sometimes it happens, sometimes not (more likely not). Again it is just that I really don't know what the message is trying indicate/means. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, February 05, 2012 9:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot Create Output File In my experience it means that there is something wrong with the file path or name. Is it possible that the output file exists already and the program isn't set to overwrite existing? This may be a red herring, but I remember once discovering that Access was feeding files to an external program too quickly for it to handle; I ended up putting (I think) a two second delay between calls. Doug On Sun, Feb 5, 2012 at 7:48 AM, Tony Septav wrote: > Hey Jim > It is kind of weird in my testing, as it is compressing the files > sometimes not always it will hit a file (not always the same one > either) and up pops the message. That is why I was wondering exactly > what the message was trying to tell me. If I knew I could trap for it. > For example maybe it occurs if a file is open, but none of the files > being zipped are open. > > Tony Septav > Nanaimo,BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, February 05, 2012 7:36 AM > To: Access Developers discussion and problem solving > Cc: Access Developers discussion and problem solving > Subject: Re: [AccessD] Cannot Create Output File > > At a guess it's either the output path is invalid or the login doesn't > have privs for the directory. > > Jim > > Sent from my iPhone > > On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > > > Hey All > > I have a form in an 2003 application that allows the user to > > zip/unzip files relating to a project. I am Shelling out to the > > Windows zip > program. > > Everything basically works fine, but the odd time in the > > archiving/compressing of the files a message box from the zip > > program pops up "Cannot Create Output File". > > > > 1. Can someone tell me what this means ( I have tried Goggling for > > an explanation)? > > 2. Because the message is outside the application sometimes when I > > click the button in the message box it locks up my application. I > > have tried to close it in Access code but of course to no avail as > > Access is not controlling the program. Any suggestions? > > > > Thanks > > Tony Septav > > Nanaimo, BC > > Canada > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: > 02/04/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4790 - Release Date: 02/05/12 -- 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 Feb 5 16:17:51 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Feb 2012 08:17:51 +1000 Subject: [AccessD] Cannot Create Output File In-Reply-To: References: <08AADEBD33A74ACBB79F5EBB0D4EBD9B@TonySeptav>, , Message-ID: <4F2F000F.9810.17893647@stuart.lexacorp.com.pg> Tony, in an earlier post you said you were Shelling to "the Windows zip prgram". What exactly do you mean by that? Windows handles compressed(zip) files via the Explorer shell and you can use the API or a FSO to do it yourself programmatically, But there is no "zip program" bundled with Windows. -- Stuart On 5 Feb 2012 at 10:37, Tony Septav wrote: > Hey Doug > Thanks for your reply. > I have a Wait/Sleep of 5 seconds embedded in my code. In my testing of the > zip code, I am using the same group of files and the message "Cannot Create > Output File" occurs erratically sometimes it happens, sometimes not (more > likely not). Again it is just that I really don't know what the message is > trying indicate/means. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, February 05, 2012 9:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Cannot Create Output File > > In my experience it means that there is something wrong with the file path > or name. Is it possible that the output file exists already and the program > isn't set to overwrite existing? > > This may be a red herring, but I remember once discovering that Access was > feeding files to an external program too quickly for it to handle; I ended > up putting (I think) a two second delay between calls. > > Doug > > On Sun, Feb 5, 2012 at 7:48 AM, Tony Septav wrote: > > > Hey Jim > > It is kind of weird in my testing, as it is compressing the files > > sometimes not always it will hit a file (not always the same one > > either) and up pops the message. That is why I was wondering exactly > > what the message was trying to tell me. If I knew I could trap for it. > > For example maybe it occurs if a file is open, but none of the files > > being zipped are open. > > > > Tony Septav > > Nanaimo,BC > > Canada > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > > Sent: Sunday, February 05, 2012 7:36 AM > > To: Access Developers discussion and problem solving > > Cc: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Cannot Create Output File > > > > At a guess it's either the output path is invalid or the login doesn't > > have privs for the directory. > > > > Jim > > > > Sent from my iPhone > > > > On Feb 5, 2012, at 9:31 AM, "Tony Septav" wrote: > > > > > Hey All > > > I have a form in an 2003 application that allows the user to > > > zip/unzip files relating to a project. I am Shelling out to the > > > Windows zip > > program. > > > Everything basically works fine, but the odd time in the > > > archiving/compressing of the files a message box from the zip > > > program pops up "Cannot Create Output File". > > > > > > 1. Can someone tell me what this means ( I have tried Goggling for > > > an explanation)? > > > 2. Because the message is outside the application sometimes when I > > > click the button in the message box it locks up my application. I > > > have tried to close it in Access code but of course to no avail as > > > Access is not controlling the program. Any suggestions? > > > > > > Thanks > > > Tony Septav > > > Nanaimo, BC > > > Canada > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > ----- > > No virus found in this message. > > Checked by AVG - www.avg.com > > Version: 2012.0.1913 / Virus Database: 2112/4789 - Release Date: > > 02/04/12 > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4790 - Release Date: 02/05/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Sun Feb 5 16:40:56 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 5 Feb 2012 14:40:56 -0800 Subject: [AccessD] Cannot CreateOutout File Message-ID: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> Hey Stuart Sorry try. In a folder, highlight and right click on the selection and Send to Compressed (zipped) folder From stuart at lexacorp.com.pg Sun Feb 5 16:48:59 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Feb 2012 08:48:59 +1000 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> Message-ID: <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> Yes, that's Windows Explorer using system DLLs to handle compressed folders, as I said - you can do that using a FSO or API calls. What exactly are you doing with your Shell() statement to invoke those capabilities. There is no "program" to do it in Windows. I posted some VBA a long time ago to do this directly, I'll see if I can find it. -- Stuart On 5 Feb 2012 at 14:40, Tony Septav wrote: > Hey Stuart > Sorry try. > In a folder, highlight and > right click on the selection and Send to > Compressed (zipped) folder > -- > 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 Feb 5 16:53:46 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Feb 2012 08:53:46 +1000 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> Message-ID: <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> On 6 Feb 2012 at 8:48, Stuart McLachlan wrote: > > I posted some VBA a long time ago to do this directly, I'll see if I can find it. > Found it - originally posted by me 18 Feb 2009: There has just been a discussion over on dba-Tech about the built in Zip capabilities in Windows (XP onwards?) where "Compressed (zipped) Folders" are just ordinary zip files. This got me thinking about how you could use the built in capabilities to manage zip files through VBA rather than needing a third party DLL, the Winzip CLI or whatever. Turns out it is trivial to to create an empty ZIp file, it is just a string of 22 bytes as follows: Function CreateNewZipFolder(Filename As String) As Long Dim strEmptyZip As String strEmptyZip = Chr$(80) & Chr$(75) & Chr$(5) & Chr$(6) & String$(18, Chr$(0)) Open Filename For Binary As #1 Put #1, , strEmptyZip Close #1 End Function You can now use a Shell.Application object to work with this file/folder. Firstly set a reference to Microsoft Shell Controls and Automation: Shell32.dll Then you just need a couple of simple functions: Function AddFileToZip(ZipFileName As String, Filename As String) 'Zipfilename and Filename need to be full paths Dim oShellApp As Shell32.Shell Set oShellApp = CreateObject("Shell.Application") oShellApp.NameSpace(ZipFileName).CopyHere Filename Set oShellApp = Nothing End Function and Function ExtractFileFromZip(ZipFileName As String, DestDir as String,Filename As String) 'Zipfilename and DestDir need to be full paths 'Filename should just be the filename without a path Dim oShellApp As Shell32.Shell Set oShellApp = CreateObject("Shell.Application") oShellApp.NameSpace(DestDir).CopyHere _ oShellApp.Namespace(ZipFileName).Items.Item(Filename) Set oShellApp = Nothing End Function To extract all files replace oShellApp.Namespace(ZipFileName).Items.Item(Filename) with oShellApp.Namespace(ZipFileName).Items Note that this is a bare shell and you will need to add a bit of error checking - oShellApp doesn't like it if files/directories don't exist and will pop up a standard "File exists, do you want to copy" dialog if the zip or destination already contains the file. From dbdoug at gmail.com Sun Feb 5 22:42:25 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 5 Feb 2012 20:42:25 -0800 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> Message-ID: FWIW, here`s a blog post that popped up today about zipping from VBA: http://accessexperts.net/blog/2012/02/06/zipandunzipfrommicrosoftvba Doug On Sun, Feb 5, 2012 at 2:53 PM, Stuart McLachlan wrote: > On 6 Feb 2012 at 8:48, Stuart McLachlan wrote: > > > > I posted some VBA a long time ago to do this directly, I'll see if I can > find it. > > > > Found it - originally posted by me 18 Feb 2009: > > There has just been a discussion over on dba-Tech about the built in Zip > capabilities in Windows (XP onwards?) where "Compressed (zipped) Folders" > are just ordinary zip files. > > This got me thinking about how you could use the built in capabilities to > manage zip files through VBA rather than needing a third party DLL, the > Winzip CLI or whatever. > > Turns out it is trivial to to create an empty ZIp file, it is just a > string of 22 bytes as follows: > > Function CreateNewZipFolder(Filename As String) As Long > Dim strEmptyZip As String > strEmptyZip = Chr$(80) & Chr$(75) & Chr$(5) & Chr$(6) & String$(18, > Chr$(0)) Open Filename For Binary As #1 Put #1, , strEmptyZip Close #1 End > Function > > You can now use a Shell.Application object to work with this file/folder. > > Firstly set a reference to Microsoft Shell Controls and Automation: > Shell32.dll > > Then you just need a couple of simple functions: > > Function AddFileToZip(ZipFileName As String, Filename As String) > 'Zipfilename and Filename need to be full paths > Dim oShellApp As Shell32.Shell > Set oShellApp = CreateObject("Shell.Application") > oShellApp.NameSpace(ZipFileName).CopyHere Filename > Set oShellApp = Nothing > End Function > > and > > Function ExtractFileFromZip(ZipFileName As String, DestDir as > String,Filename As String) 'Zipfilename and DestDir need to be full paths > 'Filename should just be the filename without a path > Dim oShellApp As Shell32.Shell > Set oShellApp = CreateObject("Shell.Application") > oShellApp.NameSpace(DestDir).CopyHere _ > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > Set oShellApp = Nothing > End Function > > To extract all files replace > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > with > oShellApp.Namespace(ZipFileName).Items > > Note that this is a bare shell and you will need to add a bit of error > checking - oShellApp doesn't like it if files/directories don't exist and > will pop up a standard "File exists, do you want to copy" dialog if the > zip or destination already contains the file. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Feb 6 07:28:14 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 06 Feb 2012 08:28:14 -0500 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> Message-ID: <005c01cce4d3$2f53b870$8dfb2950$@net> That's a cool site, thanks Doug. I see someone finally wrote a book on Access under Sharepoint. Unfortunately, I just discovered from attending Sharepoint Saturday - Philly, that Microsoft's Office 365 cloud service does not support Access. > FWIW, here`s a blog post that popped up today about zipping from VBA: > http://accessexperts.net/blog/2012/02/06/zipandunzipfrommicrosoftvba > Doug From TSeptav at uniserve.com Mon Feb 6 07:58:01 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Mon, 6 Feb 2012 05:58:01 -0800 Subject: [AccessD] Cannot Create OutPut File Message-ID: <19132EAAFEDC4B4B99966F5907D1A602@TonySeptav> Hey Stuart and Doug Stuart thanks, I was using Ron De Bruins Zip/Unzip code for VBA Xls. Had to some tweaking for Access 2003. Never ceases to amaze me how some of you guys can do this stuff right of the top of your head. Question for you, I know how to get the names of the files in the archive/zip file For Each FileNameInZip In oApp.Namespace(MyPath & Fname).Items ......FileNameInZip Next but can you easily also get the date and size? Thanks Doug How did you find that. I Googled for all kinds of things for zip/unzip and got frustrated that all the VBA code I was seeing was for EXCEL (guess I goofed in my search). Excellent, excellent explanation, I really do not like to just cut and paste code, when I don't fully understand everything the code is doing. One of the reasons I wanted to this, is sometimes when a report(s) isn't working quite right I will ask the client to zip up the data and Email me the data (so I can test and see what is going on). Many times I get the response "How do I do that?" (that is when my face goes all twisted), I am hoping to add an option in an application that would automate the whole procedure for them. I read somewhere Tony Toews said he doesn't like the procedure because someone could be using a third party Zip program and they may have turned off the Window's Zip, if my client is smart enough to have done this then they will not need to use the option. From markamatte at hotmail.com Mon Feb 6 09:58:23 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 6 Feb 2012 15:58:23 +0000 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: References: <4F2D7568.1070004@colbyconsulting.com>, <4F2D849A.1060603@colbyconsulting.com>, <4F2D8AD8.8070602@torchlake.com>, <4F2D8DE0.5030500@colbyconsulting.com>, Message-ID: Here is another 'no-no': http://support.microsoft.com/kb/323626 Last week I exported from Access to CSV...and the recipient said the file was corrupt...With a little research it was determined you CANNOT have the first 2 letters in a CSV file be 'ID'... they can be 'id'...just not capitalized. Just adds to the list of gotchas lurking in MS. Mark A. Matte > Date: Sat, 4 Feb 2012 14:18:07 -0600 > From: garykjos at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Fascinating (but schtupid) > > Ya done confused it John. ;-) Name, date, time, format - those things > are all bad ideas to use for names on anything aren't they? Glad you > figured it out. > > GK > > On Sat, Feb 4, 2012 at 1:58 PM, jwcolby wrote: > >>It worked just fine for a while, then suddenly didn't work. > > > > Likewise, it was working fine for awhile then suddenly started the uesrname > > / password thing. > > > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 2/4/2012 2:45 PM, Tina Norris Fields wrote: > >> > >> Aha! Yes, I did that very same thing a few years ago. It worked just fine > >> for a while, then suddenly > >> didn't work. "Name" is indeed a reserved word - changed it to "FullName" > >> and had no more problems. > >> T > >> > >> Tina Norris Fields > >> tinanfields at torchlake.com > >> 231-322-2787 > >> > >> > >> On 2/4/2012 2:18 PM, jwcolby wrote: > >>> > >>> It seems the issue behind the problem is that I used "Name" as the field > >>> alias back in the view in > >>> SQL Server. Name is almost certainly a reserved word in Access. When I > >>> changed the alias to > >>> something else the problem went away. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 2/4/2012 1:14 PM, jwcolby wrote: > >>>> > >>>> I am working on an Access database which uses ODBC links back to tables > >>>> as well as views. Everything > >>>> was working fine until I created a view which appends a FirstName + ' ' > >>>> + LastName to create a name > >>>> field, for use in a combo. I have a couple of dozen views which I link > >>>> into the FE but this is the > >>>> only one so far where I do this append kind of thing. I use these views > >>>> to sort the data out at the > >>>> sql server end and populate my drop down combos in various forms. > >>>> > >>>> When I bind the combo to this view and open the form, a SQL server login > >>>> form opens several times. > >>>> You know the one I mean, the login form which asks whether to use > >>>> trusted connection or a SQL Server > >>>> username / password. The view itself is fine, I can click on the view > >>>> and see the data, no login > >>>> form etc. > >>>> > >>>> If I bind the row source to the corresponding table and do the append > >>>> thing inside of Access I also > >>>> do not get the login form popping up. > >>>> > >>>> So, bind to a view without this field append happening back in SQL > >>>> Server, no problem. > >>>> Bind to a table and do the field append in the FE itself, no problem. > >>>> Open the view with the field append happening in SQL Server, no problem. > >>>> Bind to a view with this append happening back in sql server, log in box > >>>> pops up, several times. > >>>> > >>>> Check this out, if I relink just that view, the error goes away... until > >>>> I close the database and > >>>> re-open it and then the error is back. Relink the view, gone, close > >>>> re-open and it's back. > >>>> > >>>> Of course it took me awhile to figure this out. > >>>> > >>>> Doncha just love Access? > >>>> > >>> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Mon Feb 6 10:10:56 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Mon, 6 Feb 2012 08:10:56 -0800 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> Message-ID: <90DB7353DB1347ACACC21244333D7803@TonySeptav> Hey Doug Is that your article "Working with Compressed (zipped) folders in MS Access" in the Database Journal? Why didn't you just send me there? It is perfect, even shows me how to list the contents of the zip file. Wow!!! I must have been really lost in the ozone on the weekend cause I spent hours trying to find out how to do that. Incredible, maybe I am just getting to old for this stuff, I should be seriously starting to think about buying a "weiny wagon" and just hanging out at the beach. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, February 05, 2012 8:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot CreateOutout File FWIW, here`s a blog post that popped up today about zipping from VBA: http://accessexperts.net/blog/2012/02/06/zipandunzipfrommicrosoftvba Doug On Sun, Feb 5, 2012 at 2:53 PM, Stuart McLachlan wrote: > On 6 Feb 2012 at 8:48, Stuart McLachlan wrote: > > > > I posted some VBA a long time ago to do this directly, I'll see if I > > can > find it. > > > > Found it - originally posted by me 18 Feb 2009: > > There has just been a discussion over on dba-Tech about the built in > Zip capabilities in Windows (XP onwards?) where "Compressed (zipped) Folders" > are just ordinary zip files. > > This got me thinking about how you could use the built in > capabilities to manage zip files through VBA rather than needing a > third party DLL, the Winzip CLI or whatever. > > Turns out it is trivial to to create an empty ZIp file, it is just a > string of 22 bytes as follows: > > Function CreateNewZipFolder(Filename As String) As Long Dim > strEmptyZip As String strEmptyZip = Chr$(80) & Chr$(75) & Chr$(5) & > Chr$(6) & String$(18, > Chr$(0)) Open Filename For Binary As #1 Put #1, , strEmptyZip Close #1 > End Function > > You can now use a Shell.Application object to work with this file/folder. > > Firstly set a reference to Microsoft Shell Controls and Automation: > Shell32.dll > > Then you just need a couple of simple functions: > > Function AddFileToZip(ZipFileName As String, Filename As String) > 'Zipfilename and Filename need to be full paths Dim oShellApp As > Shell32.Shell Set oShellApp = CreateObject("Shell.Application") > oShellApp.NameSpace(ZipFileName).CopyHere Filename Set oShellApp = > Nothing End Function > > and > > Function ExtractFileFromZip(ZipFileName As String, DestDir as > String,Filename As String) 'Zipfilename and DestDir need to be full > paths 'Filename should just be the filename without a path Dim > oShellApp As Shell32.Shell Set oShellApp = > CreateObject("Shell.Application") > oShellApp.NameSpace(DestDir).CopyHere _ > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > Set oShellApp = Nothing > End Function > > To extract all files replace > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > with > oShellApp.Namespace(ZipFileName).Items > > Note that this is a bare shell and you will need to add a bit of error > checking - oShellApp doesn't like it if files/directories don't exist > and will pop up a standard "File exists, do you want to copy" dialog > if the zip or destination already contains the file. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4791 - Release Date: 02/05/12 From dbdoug at gmail.com Mon Feb 6 10:24:13 2012 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 6 Feb 2012 08:24:13 -0800 Subject: [AccessD] Cannot CreateOutout File In-Reply-To: <90DB7353DB1347ACACC21244333D7803@TonySeptav> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <90DB7353DB1347ACACC21244333D7803@TonySeptav> Message-ID: Accessexperts.net is a blog I follow. It was a total concidence that the article about zipping popped up yesterday. I`ve never written anything about Access. There is another Doug Steele who is also Canadian, is an Access MVP and who has written quite a bit. Drinks beer as well! Doug On Mon, Feb 6, 2012 at 8:10 AM, Tony Septav wrote: > Hey Doug > Is that your article "Working with Compressed (zipped) folders in MS > Access" > in the Database Journal? Why didn't you just send me there? It is perfect, > even shows me how to list the contents of the zip file. Wow!!! I must have > been really lost in the ozone on the weekend cause I spent hours trying to > find out how to do that. > Incredible, maybe I am just getting to old for this stuff, I should be > seriously starting to think about buying a "weiny wagon" and just hanging > out at the beach. > > Tony Septav > Nanaimo, BC > Canada > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, February 05, 2012 8:42 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Cannot CreateOutout File > > FWIW, here`s a blog post that popped up today about zipping from VBA: > > http://accessexperts.net/blog/2012/02/06/zipandunzipfrommicrosoftvba > > Doug > > On Sun, Feb 5, 2012 at 2:53 PM, Stuart McLachlan > wrote: > > > On 6 Feb 2012 at 8:48, Stuart McLachlan wrote: > > > > > > I posted some VBA a long time ago to do this directly, I'll see if I > > > can > > find it. > > > > > > > Found it - originally posted by me 18 Feb 2009: > > > > There has just been a discussion over on dba-Tech about the built in > > Zip capabilities in Windows (XP onwards?) where "Compressed (zipped) > Folders" > > are just ordinary zip files. > > > > This got me thinking about how you could use the built in > > capabilities to manage zip files through VBA rather than needing a > > third party DLL, the Winzip CLI or whatever. > > > > Turns out it is trivial to to create an empty ZIp file, it is just a > > string of 22 bytes as follows: > > > > Function CreateNewZipFolder(Filename As String) As Long Dim > > strEmptyZip As String strEmptyZip = Chr$(80) & Chr$(75) & Chr$(5) & > > Chr$(6) & String$(18, > > Chr$(0)) Open Filename For Binary As #1 Put #1, , strEmptyZip Close #1 > > End Function > > > > You can now use a Shell.Application object to work with this file/folder. > > > > Firstly set a reference to Microsoft Shell Controls and Automation: > > Shell32.dll > > > > Then you just need a couple of simple functions: > > > > Function AddFileToZip(ZipFileName As String, Filename As String) > > 'Zipfilename and Filename need to be full paths Dim oShellApp As > > Shell32.Shell Set oShellApp = CreateObject("Shell.Application") > > oShellApp.NameSpace(ZipFileName).CopyHere Filename Set oShellApp = > > Nothing End Function > > > > and > > > > Function ExtractFileFromZip(ZipFileName As String, DestDir as > > String,Filename As String) 'Zipfilename and DestDir need to be full > > paths 'Filename should just be the filename without a path Dim > > oShellApp As Shell32.Shell Set oShellApp = > > CreateObject("Shell.Application") > > oShellApp.NameSpace(DestDir).CopyHere _ > > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > > Set oShellApp = Nothing > > End Function > > > > To extract all files replace > > oShellApp.Namespace(ZipFileName).Items.Item(Filename) > > with > > oShellApp.Namespace(ZipFileName).Items > > > > Note that this is a bare shell and you will need to add a bit of error > > checking - oShellApp doesn't like it if files/directories don't exist > > and will pop up a standard "File exists, do you want to copy" dialog > > if the zip or destination already contains the file. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4791 - Release Date: 02/05/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Feb 6 12:56:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Feb 2012 13:56:48 -0500 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: References: <4F2D7568.1070004@colbyconsulting.com>, <4F2D849A.1060603@colbyconsulting.com>, <4F2D8AD8.8070602@torchlake.com>, <4F2D8DE0.5030500@colbyconsulting.com>, Message-ID: <4F302270.6010802@colbyconsulting.com> Oh MAN did you read this? If the first two characters of a CSV have 'ID' Microsoft unilaterally decides it is a SLYK file? First of all, what is a SYLK file? And why doesn't MS fix this instead of making the entire world work around this *Microsoft* problem? Or have they? Notice that the "Applies to" does not include 2007 or 2010. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/6/2012 10:58 AM, Mark A Matte wrote: > > Here is another 'no-no': http://support.microsoft.com/kb/323626 > > > Last week I exported from Access to CSV...and the recipient said the file was corrupt...With a little research it was determined you CANNOT have the first 2 letters in a CSV file be 'ID'... they can be 'id'...just not capitalized. > > Just adds to the list of gotchas lurking in MS. > > Mark A. Matte > > > > > >> Date: Sat, 4 Feb 2012 14:18:07 -0600 >> From: garykjos at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Fascinating (but schtupid) >> >> Ya done confused it John. ;-) Name, date, time, format - those things >> are all bad ideas to use for names on anything aren't they? Glad you >> figured it out. >> >> GK >> >> On Sat, Feb 4, 2012 at 1:58 PM, jwcolby wrote: >>>> It worked just fine for a while, then suddenly didn't work. >>> >>> Likewise, it was working fine for awhile then suddenly started the uesrname >>> / password thing. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 2/4/2012 2:45 PM, Tina Norris Fields wrote: >>>> >>>> Aha! Yes, I did that very same thing a few years ago. It worked just fine >>>> for a while, then suddenly >>>> didn't work. "Name" is indeed a reserved word - changed it to "FullName" >>>> and had no more problems. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 2/4/2012 2:18 PM, jwcolby wrote: >>>>> >>>>> It seems the issue behind the problem is that I used "Name" as the field >>>>> alias back in the view in >>>>> SQL Server. Name is almost certainly a reserved word in Access. When I >>>>> changed the alias to >>>>> something else the problem went away. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> On 2/4/2012 1:14 PM, jwcolby wrote: >>>>>> >>>>>> I am working on an Access database which uses ODBC links back to tables >>>>>> as well as views. Everything >>>>>> was working fine until I created a view which appends a FirstName + ' ' >>>>>> + LastName to create a name >>>>>> field, for use in a combo. I have a couple of dozen views which I link >>>>>> into the FE but this is the >>>>>> only one so far where I do this append kind of thing. I use these views >>>>>> to sort the data out at the >>>>>> sql server end and populate my drop down combos in various forms. >>>>>> >>>>>> When I bind the combo to this view and open the form, a SQL server login >>>>>> form opens several times. >>>>>> You know the one I mean, the login form which asks whether to use >>>>>> trusted connection or a SQL Server >>>>>> username / password. The view itself is fine, I can click on the view >>>>>> and see the data, no login >>>>>> form etc. >>>>>> >>>>>> If I bind the row source to the corresponding table and do the append >>>>>> thing inside of Access I also >>>>>> do not get the login form popping up. >>>>>> >>>>>> So, bind to a view without this field append happening back in SQL >>>>>> Server, no problem. >>>>>> Bind to a table and do the field append in the FE itself, no problem. >>>>>> Open the view with the field append happening in SQL Server, no problem. >>>>>> Bind to a view with this append happening back in sql server, log in box >>>>>> pops up, several times. >>>>>> >>>>>> Check this out, if I relink just that view, the error goes away... until >>>>>> I close the database and >>>>>> re-open it and then the error is back. Relink the view, gone, close >>>>>> re-open and it's back. >>>>>> >>>>>> Of course it took me awhile to figure this out. >>>>>> >>>>>> Doncha just love Access? >>>>>> >>>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Mon Feb 6 13:32:37 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 6 Feb 2012 14:32:37 -0500 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F302270.6010802@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com>, <4F2D849A.1060603@colbyconsulting.com>, <4F2D8AD8.8070602@torchlake.com>, <4F2D8DE0.5030500@colbyconsulting.com>, <4F302270.6010802@colbyconsulting.com> Message-ID: SYmbolic LinK (SYLK) file... http://en.wikipedia.org/wiki/SYmbolic_LinK_(SYLK) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 06, 2012 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fascinating (but schtupid) Oh MAN did you read this? If the first two characters of a CSV have 'ID' Microsoft unilaterally decides it is a SLYK file? First of all, what is a SYLK file? And why doesn't MS fix this instead of making the entire world work around this *Microsoft* problem? Or have they? Notice that the "Applies to" does not include 2007 or 2010. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/6/2012 10:58 AM, Mark A Matte wrote: > > Here is another 'no-no': http://support.microsoft.com/kb/323626 > > > Last week I exported from Access to CSV...and the recipient said the file was corrupt...With a little research it was determined you CANNOT have the first 2 letters in a CSV file be 'ID'... they can be 'id'...just not capitalized. > > Just adds to the list of gotchas lurking in MS. > > Mark A. Matte > > > > > >> Date: Sat, 4 Feb 2012 14:18:07 -0600 >> From: garykjos at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Fascinating (but schtupid) >> >> Ya done confused it John. ;-) Name, date, time, format - those things >> are all bad ideas to use for names on anything aren't they? Glad you >> figured it out. >> >> GK >> >> On Sat, Feb 4, 2012 at 1:58 PM, jwcolby wrote: >>>> It worked just fine for a while, then suddenly didn't work. >>> >>> Likewise, it was working fine for awhile then suddenly started the >>> uesrname / password thing. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 2/4/2012 2:45 PM, Tina Norris Fields wrote: >>>> >>>> Aha! Yes, I did that very same thing a few years ago. It worked >>>> just fine for a while, then suddenly didn't work. "Name" is indeed >>>> a reserved word - changed it to "FullName" >>>> and had no more problems. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 2/4/2012 2:18 PM, jwcolby wrote: >>>>> >>>>> It seems the issue behind the problem is that I used "Name" as the >>>>> field alias back in the view in SQL Server. Name is almost >>>>> certainly a reserved word in Access. When I changed the alias to >>>>> something else the problem went away. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 2/4/2012 1:14 PM, jwcolby wrote: >>>>>> >>>>>> I am working on an Access database which uses ODBC links back to >>>>>> tables as well as views. Everything was working fine until I >>>>>> created a view which appends a FirstName + ' ' >>>>>> + LastName to create a name >>>>>> field, for use in a combo. I have a couple of dozen views which I >>>>>> link into the FE but this is the only one so far where I do this >>>>>> append kind of thing. I use these views to sort the data out at >>>>>> the sql server end and populate my drop down combos in various >>>>>> forms. >>>>>> >>>>>> When I bind the combo to this view and open the form, a SQL >>>>>> server login form opens several times. >>>>>> You know the one I mean, the login form which asks whether to use >>>>>> trusted connection or a SQL Server username / password. The view >>>>>> itself is fine, I can click on the view and see the data, no >>>>>> login form etc. >>>>>> >>>>>> If I bind the row source to the corresponding table and do the >>>>>> append thing inside of Access I also do not get the login form >>>>>> popping up. >>>>>> >>>>>> So, bind to a view without this field append happening back in >>>>>> SQL Server, no problem. >>>>>> Bind to a table and do the field append in the FE itself, no problem. >>>>>> Open the view with the field append happening in SQL Server, no problem. >>>>>> Bind to a view with this append happening back in sql server, log >>>>>> in box pops up, several times. >>>>>> >>>>>> Check this out, if I relink just that view, the error goes >>>>>> away... until I close the database and re-open it and then the >>>>>> error is back. Relink the view, gone, close re-open and it's >>>>>> back. >>>>>> >>>>>> Of course it took me awhile to figure this out. >>>>>> >>>>>> Doncha just love Access? >>>>>> >>>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Feb 6 13:57:00 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Feb 2012 05:57:00 +1000 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: References: <4F2D7568.1070004@colbyconsulting.com>, , Message-ID: <4F30308C.13597.33C9231@stuart.lexacorp.com.pg> You CAN have the first 2 characters of a CSV file be "ID". It is just that Excel can't handle the file properly. You can do anything else you want with the file with no problems, just not open it directly with Excel. That;s only one of lots of gotcha's with opeing CSV files in Excel. The last problem I had was with a file containing the string "2 Sep" in several places (a technical description in oil palm leaf analysis). Excel insisted on turning them into dates and saving them as numbers when the file was edited and saved. :-( -- Stuart On 6 Feb 2012 at 15:58, Mark A Matte wrote: > > Here is another 'no-no': http://support.microsoft.com/kb/323626 Last > week I exported from Access to CSV...and the recipient said the file > was corrupt...With a little research it was determined you CANNOT have > the first 2 letters in a CSV file be 'ID'... they can be 'id'...just > not capitalized. Just adds to the list of gotchas lurking in MS. Mark A. > Matte From stuart at lexacorp.com.pg Mon Feb 6 14:02:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Feb 2012 06:02:09 +1000 Subject: [AccessD] Fascinating (but schtupid) In-Reply-To: <4F302270.6010802@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com>, , <4F302270.6010802@colbyconsulting.com> Message-ID: <4F3031C1.28730.3414AE5@stuart.lexacorp.com.pg> SYLK is a proprietary MS data exchange format. http://en.wikipedia.org/wiki/SYmbolic_LinK_%28SYLK%29 The only people who have to "work around it' are those who open CSV files in Excel. I always set my machines up to use a good text editor as the default program for CSV files. -- Stuart On 6 Feb 2012 at 13:56, jwcolby wrote: > Oh MAN did you read this? If the first two characters of a CSV have 'ID' Microsoft unilaterally > decides it is a SLYK file? First of all, what is a SYLK file? And why doesn't MS fix this instead > of making the entire world work around this *Microsoft* problem? Or have they? Notice that the > "Applies to" does not include 2007 or 2010. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/6/2012 10:58 AM, Mark A Matte wrote: > > > > Here is another 'no-no': http://support.microsoft.com/kb/323626 > > > > > > Last week I exported from Access to CSV...and the recipient said the file was corrupt...With a little research it was determined you CANNOT have the first 2 letters in a CSV file be 'ID'... they can be 'id'...just not capitalized. > > > > Just adds to the list of gotchas lurking in MS. > > > > Mark A. Matte > > > > > > > > > > > >> Date: Sat, 4 Feb 2012 14:18:07 -0600 > >> From: garykjos at gmail.com > >> To: accessd at databaseadvisors.com > >> Subject: Re: [AccessD] Fascinating (but schtupid) > >> > >> Ya done confused it John. ;-) Name, date, time, format - those things > >> are all bad ideas to use for names on anything aren't they? Glad you > >> figured it out. > >> > >> GK > >> > >> On Sat, Feb 4, 2012 at 1:58 PM, jwcolby wrote: > >>>> It worked just fine for a while, then suddenly didn't work. > >>> > >>> Likewise, it was working fine for awhile then suddenly started the uesrname > >>> / password thing. > >>> > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 2/4/2012 2:45 PM, Tina Norris Fields wrote: > >>>> > >>>> Aha! Yes, I did that very same thing a few years ago. It worked just fine > >>>> for a while, then suddenly > >>>> didn't work. "Name" is indeed a reserved word - changed it to "FullName" > >>>> and had no more problems. > >>>> T > >>>> > >>>> Tina Norris Fields > >>>> tinanfields at torchlake.com > >>>> 231-322-2787 > >>>> > >>>> > >>>> On 2/4/2012 2:18 PM, jwcolby wrote: > >>>>> > >>>>> It seems the issue behind the problem is that I used "Name" as the field > >>>>> alias back in the view in > >>>>> SQL Server. Name is almost certainly a reserved word in Access. When I > >>>>> changed the alias to > >>>>> something else the problem went away. > >>>>> > >>>>> John W. Colby > >>>>> Colby Consulting > >>>>> > >>>>> Reality is what refuses to go away > >>>>> when you do not believe in it > >>>>> > >>>>> On 2/4/2012 1:14 PM, jwcolby wrote: > >>>>>> > >>>>>> I am working on an Access database which uses ODBC links back to tables > >>>>>> as well as views. Everything > >>>>>> was working fine until I created a view which appends a FirstName + ' ' > >>>>>> + LastName to create a name > >>>>>> field, for use in a combo. I have a couple of dozen views which I link > >>>>>> into the FE but this is the > >>>>>> only one so far where I do this append kind of thing. I use these views > >>>>>> to sort the data out at the > >>>>>> sql server end and populate my drop down combos in various forms. > >>>>>> > >>>>>> When I bind the combo to this view and open the form, a SQL server login > >>>>>> form opens several times. > >>>>>> You know the one I mean, the login form which asks whether to use > >>>>>> trusted connection or a SQL Server > >>>>>> username / password. The view itself is fine, I can click on the view > >>>>>> and see the data, no login > >>>>>> form etc. > >>>>>> > >>>>>> If I bind the row source to the corresponding table and do the append > >>>>>> thing inside of Access I also > >>>>>> do not get the login form popping up. > >>>>>> > >>>>>> So, bind to a view without this field append happening back in SQL > >>>>>> Server, no problem. > >>>>>> Bind to a table and do the field append in the FE itself, no problem. > >>>>>> Open the view with the field append happening in SQL Server, no problem. > >>>>>> Bind to a view with this append happening back in sql server, log in box > >>>>>> pops up, several times. > >>>>>> > >>>>>> Check this out, if I relink just that view, the error goes away... until > >>>>>> I close the database and > >>>>>> re-open it and then the error is back. Relink the view, gone, close > >>>>>> re-open and it's back. > >>>>>> > >>>>>> Of course it took me awhile to figure this out. > >>>>>> > >>>>>> Doncha just love Access? > >>>>>> > >>>>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >> > >> > >> > >> -- > >> Gary Kjos > >> garykjos at gmail.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Feb 6 14:49:20 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 06 Feb 2012 15:49:20 -0500 Subject: [AccessD] Schtupid but not necessarily fascinating In-Reply-To: References: <4F2D7568.1070004@colbyconsulting.com>, <4F2D849A.1060603@colbyconsulting.com>, <4F2D8AD8.8070602@torchlake.com>, <4F2D8DE0.5030500@colbyconsulting.com>, <4F302270.6010802@colbyconsulting.com> Message-ID: <4F303CD0.60808@colbyconsulting.com> Well there ya go. So even though they use a SLK extension, they make a decision to treat any text or csv file with ID in it as the first two characters as if it were a SLK file. Ya ever wonder how much they pay the geniuses that do this kind of stuff? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/6/2012 2:32 PM, Heenan, Lambert wrote: > SYmbolic LinK (SYLK) file... > http://en.wikipedia.org/wiki/SYmbolic_LinK_(SYLK) > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 06, 2012 1:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fascinating (but schtupid) > > Oh MAN did you read this? If the first two characters of a CSV have 'ID' Microsoft unilaterally decides it is a SLYK file? First of all, what is a SYLK file? And why doesn't MS fix this instead of making the entire world work around this *Microsoft* problem? Or have they? Notice that the "Applies to" does not include 2007 or 2010. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/6/2012 10:58 AM, Mark A Matte wrote: >> >> Here is another 'no-no': http://support.microsoft.com/kb/323626 >> >> >> Last week I exported from Access to CSV...and the recipient said the file was corrupt...With a little research it was determined you CANNOT have the first 2 letters in a CSV file be 'ID'... they can be 'id'...just not capitalized. >> >> Just adds to the list of gotchas lurking in MS. >> >> Mark A. Matte From marksimms at verizon.net Mon Feb 6 18:21:37 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 06 Feb 2012 19:21:37 -0500 Subject: [AccessD] Schtupid but not necessarily fascinating In-Reply-To: <4F303CD0.60808@colbyconsulting.com> References: <4F2D7568.1070004@colbyconsulting.com>, <4F2D849A.1060603@colbyconsulting.com>, <4F2D8AD8.8070602@torchlake.com>, <4F2D8DE0.5030500@colbyconsulting.com>, <4F302270.6010802@colbyconsulting.com> <4F303CD0.60808@colbyconsulting.com> Message-ID: <000601cce52e$755828f0$60087ad0$@net> I don't blame him, but the "father" of Excel, Charles Simonyi cashed out of MSFT with about 23 million dollars....or thereabouts. http://en.wikipedia.org/wiki/Charles_Simonyi Dated Martha Stewart - nice ! Has a custom-built 233 foot yacht - nicer ! Married a girl 32 years younger than himself....nicest ! Man, this guy is living "large" wouldn't you say ? > Ya ever > wonder how much they pay the > geniuses that do this kind of stuff? > > John W. Colby > Colby Consulting From vbacreations at gmail.com Tue Feb 7 02:25:15 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 7 Feb 2012 03:25:15 -0500 Subject: [AccessD] Schtupid but not necessarily fascinating In-Reply-To: <000601cce52e$755828f0$60087ad0$@net> References: <4F2D7568.1070004@colbyconsulting.com> <4F2D849A.1060603@colbyconsulting.com> <4F2D8AD8.8070602@torchlake.com> <4F2D8DE0.5030500@colbyconsulting.com> <4F302270.6010802@colbyconsulting.com> <4F303CD0.60808@colbyconsulting.com> <000601cce52e$755828f0$60087ad0$@net> Message-ID: You name it, I'll cash out of it with 23 Large^2... On Mon, Feb 6, 2012 at 7:21 PM, Mark Simms wrote: > I don't blame him, but the "father" of Excel, Charles Simonyi cashed out of > MSFT with about 23 million dollars....or thereabouts. > http://en.wikipedia.org/wiki/Charles_Simonyi > Dated Martha Stewart - nice ! Has a custom-built 233 foot yacht - nicer ! > Married a girl 32 years younger than himself....nicest ! > Man, this guy is living "large" wouldn't you say ? > > > Ya ever > > wonder how much they pay the > > geniuses that do this kind of stuff? > > > > John W. Colby > > Colby Consulting > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Tue Feb 7 08:04:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Feb 2012 09:04:28 -0500 Subject: [AccessD] RaspberryPi news Message-ID: <4F312F6C.9020405@colbyconsulting.com> http://www.raspberrypi.org/ -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Feb 7 08:53:11 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Feb 2012 09:53:11 -0500 Subject: [AccessD] OT: Kindle fire and more (less?) Message-ID: <4F313AD7.5080508@colbyconsulting.com> http://androidcommunity.com/amazon-kindle-fire-gets-an-ice-cream-sandwich-alpha-port-20111226/ BTW Walmart is offering the Kindle Fire in store for $200 with a $50 Walmart gift certificate. Essentially $150 for the Kindle Fire tablet. http://www.mediabistro.com/ebooknewser/kindle-fire-on-sale-at-walmart_b20036 http://slickdeals.net/permadeal/68360/walmart-stores-kindle-fire-7-8gb-wifi-tablet-50-walmart-gift-card -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From ab-mi at post3.tele.dk Tue Feb 7 09:29:07 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 16:29:07 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> Message-ID: <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger From jwcolby at colbyconsulting.com Tue Feb 7 09:37:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 07 Feb 2012 10:37:47 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: <4F31454B.7090609@colbyconsulting.com> The bookmark allows you to sync the recordset with the physical display without knowing the PKID. If you know the PKID then you r method works just fine. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/7/2012 10:29 AM, Asger Blond wrote: > Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: > > Private Sub lstOrderID_AfterUpdate() > Dim rst As DAO.Recordset > Set rst = Me.RecordsetClone > rst.FindFirst "OrderID = "& Me.lstOrderID > Me.Bookmark = rst.Bookmark > End Sub > > Now I notice that the code apparently might as well be just: > > Private Sub lstOderID_AfterUpdate() > Me.Recordset.FindFirst "OrderID = "& Me.lstOrderID > End Sub > > Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? > > / Asger > > From fuller.artful at gmail.com Tue Feb 7 10:54:01 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Feb 2012 11:54:01 -0500 Subject: [AccessD] I grow old, I grow old, I shall wear the bottoms of my trousers rolled Message-ID: It's been ages since I've used Access 2003, but for the moment I must, and I can no longer remember where the property is on the FE and the BE that causes the window title to read "Version 1.2.1", or whatever. I need to update this and I can't find it! -- Arthur Cell: 647.710.1314 The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein From rockysmolin at bchacc.com Tue Feb 7 10:55:44 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 7 Feb 2012 08:55:44 -0800 Subject: [AccessD] I grow old, I grow old, I shall wear the bottoms of my trousers rolled In-Reply-To: References: Message-ID: Tools-->startup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 8:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] I grow old, I grow old,I shall wear the bottoms of my trousers rolled It's been ages since I've used Access 2003, but for the moment I must, and I can no longer remember where the property is on the FE and the BE that causes the window title to read "Version 1.2.1", or whatever. I need to update this and I can't find it! -- Arthur Cell: 647.710.1314 The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Tue Feb 7 11:46:33 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 7 Feb 2012 12:46:33 -0500 Subject: [AccessD] I grow old, I grow old, I shall wear the bottoms of my trousers rolled In-Reply-To: References: Message-ID: On the Tools Startup screen you will see a textbox labeled "Application Title". That determines what shows up in the title bar. You can set a database property that automatically becomes the title. The property name is "appTitle" (which you will find in the VBA help file), and you can set it in code with something like this... Sub SetAppName(vName As Variant) Dim prpNew As Property Dim db As DAO.Database On Error GoTo SetAppName_err Set db = CurrentDb DoCmd.SelectObject acTable, , True CurrentDb.Properties("appTitle") = vName Debug.Print "Application Name: "; CurrentDb.Properties("appTitle") Exit Sub SetAppName_err: Select Case Err.Number Case 3270 Set db = CurrentDb Set prpNew = db.CreateProperty("appTitle", dbText, vName) db.Properties.Append prpNew Resume Case Else MsgBox "Error " & Err.Number & vbCrLf & Err.Description End Select End Sub So you could append your version number to vName -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] I grow old, I grow old, I shall wear the bottoms of my trousers rolled It's been ages since I've used Access 2003, but for the moment I must, and I can no longer remember where the property is on the FE and the BE that causes the window title to read "Version 1.2.1", or whatever. I need to update this and I can't find it! -- Arthur Cell: 647.710.1314 The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 11:55:26 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 18:55:26 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <4F31454B.7090609@colbyconsulting.com> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <4F31454B.7090609@colbyconsulting.com> Message-ID: <3DAC67FB394F4EAC928C9D4141C4D24B@abpc> Thanks. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af jwcolby Sendt: 7. februar 2012 16:38 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark The bookmark allows you to sync the recordset with the physical display without knowing the PKID. If you know the PKID then you r method works just fine. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/7/2012 10:29 AM, Asger Blond wrote: > Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: > > Private Sub lstOrderID_AfterUpdate() > Dim rst As DAO.Recordset > Set rst = Me.RecordsetClone > rst.FindFirst "OrderID = "& Me.lstOrderID > Me.Bookmark = rst.Bookmark > End Sub > > Now I notice that the code apparently might as well be just: > > Private Sub lstOderID_AfterUpdate() > Me.Recordset.FindFirst "OrderID = "& Me.lstOrderID > End Sub > > Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? > > / Asger > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Feb 7 11:58:08 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Feb 2012 12:58:08 -0500 Subject: [AccessD] I grow old, I grow old, I shall wear the bottoms of my trousers rolled In-Reply-To: References: Message-ID: That worked. Thanks, Rocky! On Tue, Feb 7, 2012 at 11:55 AM, Rocky Smolin wrote: > Tools-->startup? > > Rocky > > > From Benson at ge.com Tue Feb 7 12:40:29 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 7 Feb 2012 18:40:29 +0000 Subject: [AccessD] OT: Kindle fire and more (less?) In-Reply-To: <4F313AD7.5080508@colbyconsulting.com> References: <4F313AD7.5080508@colbyconsulting.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD3BBEB@CINMLDGCNA01.e2k.ad.ge.com> BTW my library lets you borrow Kindles... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 07, 2012 9:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Kindle fire and more (less?) http://androidcommunity.com/amazon-kindle-fire-gets-an-ice-cream-sandwich-alpha-port-20111226/ BTW Walmart is offering the Kindle Fire in store for $200 with a $50 Walmart gift certificate. Essentially $150 for the Kindle Fire tablet. http://www.mediabistro.com/ebooknewser/kindle-fire-on-sale-at-walmart_b20036 http://slickdeals.net/permadeal/68360/walmart-stores-kindle-fire-7-8gb-wifi-tablet-50-walmart-gift-card -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Tue Feb 7 13:03:55 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Tue, 07 Feb 2012 14:03:55 -0500 Subject: [AccessD] RaspberryPi news In-Reply-To: <4F312F6C.9020405@colbyconsulting.com> References: <4F312F6C.9020405@colbyconsulting.com> Message-ID: <4F31759B.9020103@torchlake.com> Thanks, John. I can hardly wait for February 20! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/7/2012 9:04 AM, jwcolby wrote: > > http://www.raspberrypi.org/ > From jimdettman at verizon.net Tue Feb 7 14:27:28 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 Feb 2012 15:27:28 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 15:10:32 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 22:10:32 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Feb 7 15:16:55 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 Feb 2012 16:16:55 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: <873694AACEF943EAAC2D9C364BBF2E65@XPS> <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Tue Feb 7 15:22:36 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 7 Feb 2012 16:22:36 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: Nothing to contribute except to say I really am interested in how this thread turns out. And you left clone off the word recordser Asger... don't make the clones mad. By the way what about when a form is sorted contrary to the recordsource.... I assume (based on an answer I got from one of the kind folk here ) that recordsetclone is going to always have records in the same order as the form at the time the property is "read". If you assign it to a variable however I am not sure that sorting the form affects the variable. On Feb 7, 2012 4:08 PM, "Asger Blond" wrote: > Disagree - the finds certainly make the form show the wanted records, no > matter if I use rst.FindFirst or Me.Recordset.FindFirst > > / Asger > > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman > Sendt: 7. februar 2012 21:27 > Til: 'Access Developers discussion and problem solving' > Emne: Re: [AccessD] RecordsetClone and Bookmark > > > You don't move the forms cursor. Your finds are invisible to the form and > the user. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, February 07, 2012 10:29 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] RecordsetClone and Bookmark > > Having a listbox on a form for navigation to a specific record I've always > used RecordsetClone and Bookmark like this: > > Private Sub lstOrderID_AfterUpdate() > Dim rst As DAO.Recordset > Set rst = Me.RecordsetClone > rst.FindFirst "OrderID = " & Me.lstOrderID > Me.Bookmark = rst.Bookmark > End Sub > > Now I notice that the code apparently might as well be just: > > Private Sub lstOderID_AfterUpdate() > Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID > End Sub > > Can't remember the reason for using RecordsetClone and Bookmark in this > case. Any suggestions? > > / Asger > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Tue Feb 7 15:23:13 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 7 Feb 2012 15:23:13 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: I recently opened up a folder that I use a lot. The screen showed about 20 files in this folder (mostly Access 2007 "accdb" files). Three files had names like 449X228. I have never seen this before. I did a Print Screen to capture what I was seeing. I then went into Paint and pasted in the Print Screen. The strange thing is that when I did the paste in Paint, the real file names were all shown correctly. Has anyone else ever seen anything like this? Poltergeist? New feature? Angry server gods? Brad From vbacreations at gmail.com Tue Feb 7 15:35:25 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 7 Feb 2012 16:35:25 -0500 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: Name resolved in the screen shot or in windows explorer? On Feb 7, 2012 4:25 PM, "Brad Marks" wrote: > I recently opened up a folder that I use a lot. > > The screen showed about 20 files in this folder (mostly Access 2007 > "accdb" files). > > Three files had names like 449X228. > > I have never seen this before. I did a Print Screen to capture what I > was seeing. > > I then went into Paint and pasted in the Print Screen. The strange > thing is that when I did the paste in Paint, the real file names were > all shown correctly. > > Has anyone else ever seen anything like this? > > Poltergeist? > > New feature? > > Angry server gods? > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Tue Feb 7 15:41:43 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 7 Feb 2012 15:41:43 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: When I pasted the Screen Shot into Paint, the file names were correct. Later, when I looked at the folder, the names were correct. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, February 07, 2012 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Name resolved in the screen shot or in windows explorer? On Feb 7, 2012 4:25 PM, "Brad Marks" wrote: > I recently opened up a folder that I use a lot. > > The screen showed about 20 files in this folder (mostly Access 2007 > "accdb" files). > > Three files had names like 449X228. > > I have never seen this before. I did a Print Screen to capture what I > was seeing. > > I then went into Paint and pasted in the Print Screen. The strange > thing is that when I did the paste in Paint, the real file names were > all shown correctly. > > Has anyone else ever seen anything like this? > > Poltergeist? > > New feature? > > Angry server gods? > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Tue Feb 7 16:06:11 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:06:11 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: I can confirm that the recordsetclone inherits the record order of the form at the time the clone is created. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 7. februar 2012 22:23 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark Nothing to contribute except to say I really am interested in how this thread turns out. And you left clone off the word recordser Asger... don't make the clones mad. By the way what about when a form is sorted contrary to the recordsource.... I assume (based on an answer I got from one of the kind folk here ) that recordsetclone is going to always have records in the same order as the form at the time the property is "read". If you assign it to a variable however I am not sure that sorting the form affects the variable. On Feb 7, 2012 4:08 PM, "Asger Blond" wrote: > Disagree - the finds certainly make the form show the wanted records, no > matter if I use rst.FindFirst or Me.Recordset.FindFirst > > / Asger > > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman > Sendt: 7. februar 2012 21:27 > Til: 'Access Developers discussion and problem solving' > Emne: Re: [AccessD] RecordsetClone and Bookmark > > > You don't move the forms cursor. Your finds are invisible to the form and > the user. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, February 07, 2012 10:29 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] RecordsetClone and Bookmark > > Having a listbox on a form for navigation to a specific record I've always > used RecordsetClone and Bookmark like this: > > Private Sub lstOrderID_AfterUpdate() > Dim rst As DAO.Recordset > Set rst = Me.RecordsetClone > rst.FindFirst "OrderID = " & Me.lstOrderID > Me.Bookmark = rst.Bookmark > End Sub > > Now I notice that the code apparently might as well be just: > > Private Sub lstOderID_AfterUpdate() > Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID > End Sub > > Can't remember the reason for using RecordsetClone and Bookmark in this > case. Any suggestions? > > / Asger > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 16:06:11 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:06:11 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <873694AACEF943EAAC2D9C364BBF2E65@XPS> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: Agree on this... If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). So if I just want to jump to a specific record, no more, then the Me.RecordSet FindFirst method seems the most simple - does it have any performance drawbacks? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Tue Feb 7 16:04:42 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 7 Feb 2012 17:04:42 -0500 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: Is there ever a time screen shot has it right while the OS shows it wrong still? I had something similar few weeks ago. Someone's VBA addin interface was showing invalid info in a listbox. I took a screenshot ans pasted into email and was writing explanation then I noticed the data was fine in both screenshot and the UI. So I took another shot. Same thing. Seems like what windows shows (tells the graphics layer ) doesn't always happen instantaneously. Taking a screen shot might be like a query from the graphics layer to the data layer to ask the OS " Now tell me what I am supposed to be showing? I want to make sure I show it right, I am on camera!" I am guessing, cuz its fun and I am too lazy to do proper research and too forgetful to remember the answers when I find the anyway. On Feb 7, 2012 4:44 PM, "Brad Marks" wrote: > When I pasted the Screen Shot into Paint, the file names were correct. > > Later, when I looked at the folder, the names were correct. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson > Sent: Tuesday, February 07, 2012 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Name resolved in the screen shot or in windows explorer? > On Feb 7, 2012 4:25 PM, "Brad Marks" wrote: > > > I recently opened up a folder that I use a lot. > > > > The screen showed about 20 files in this folder (mostly Access 2007 > > "accdb" files). > > > > Three files had names like 449X228. > > > > I have never seen this before. I did a Print Screen to capture what I > > was seeing. > > > > I then went into Paint and pasted in the Print Screen. The strange > > thing is that when I did the paste in Paint, the real file names were > > all shown correctly. > > > > Has anyone else ever seen anything like this? > > > > Poltergeist? > > > > New feature? > > > > Angry server gods? > > > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Feb 7 16:08:19 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 7 Feb 2012 17:08:19 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: Yeah thanks. I don't have Access or I would have tested. But I am still curious about rst. (Object variable ). I don't think it changes when the form is changed. If not then.... then.... well I don't know then what, nor why I brought it up. On Feb 7, 2012 5:03 PM, "Asger Blond" wrote: > I can confirm that the recordsetclone inherits the record order of the > form at the time the clone is created. > > / Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af William Benson > Sendt: 7. februar 2012 22:23 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] RecordsetClone and Bookmark > > Nothing to contribute except to say I really am interested in how this > thread turns out. And you left clone off the word recordser Asger... don't > make the clones mad. > > By the way what about when a form is sorted contrary to the > recordsource.... I assume (based on an answer I got from one of the kind > folk here ) that recordsetclone is going to always have records in the same > order as the form at the time the property is "read". If you assign it to a > variable however I am not sure that sorting the form affects the variable. > On Feb 7, 2012 4:08 PM, "Asger Blond" wrote: > > > Disagree - the finds certainly make the form show the wanted records, no > > matter if I use rst.FindFirst or Me.Recordset.FindFirst > > > > / Asger > > > > > > -----Oprindelig meddelelse----- > > Fra: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman > > Sendt: 7. februar 2012 21:27 > > Til: 'Access Developers discussion and problem solving' > > Emne: Re: [AccessD] RecordsetClone and Bookmark > > > > > > You don't move the forms cursor. Your finds are invisible to the form > and > > the user. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > > Sent: Tuesday, February 07, 2012 10:29 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] RecordsetClone and Bookmark > > > > Having a listbox on a form for navigation to a specific record I've > always > > used RecordsetClone and Bookmark like this: > > > > Private Sub lstOrderID_AfterUpdate() > > Dim rst As DAO.Recordset > > Set rst = Me.RecordsetClone > > rst.FindFirst "OrderID = " & Me.lstOrderID > > Me.Bookmark = rst.Bookmark > > End Sub > > > > Now I notice that the code apparently might as well be just: > > > > Private Sub lstOderID_AfterUpdate() > > Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID > > End Sub > > > > Can't remember the reason for using RecordsetClone and Bookmark in this > > case. Any suggestions? > > > > / Asger > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ab-mi at post3.tele.dk Tue Feb 7 16:12:11 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:12:11 +0100 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: <6FC4B3D05F3C4E199936AA6F526C7749@abpc> In that case I think the most reasonable answer would be Poltergeist. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 7. februar 2012 22:42 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Very Strange File Names - Temporarily When I pasted the Screen Shot into Paint, the file names were correct. Later, when I looked at the folder, the names were correct. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, February 07, 2012 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Name resolved in the screen shot or in windows explorer? On Feb 7, 2012 4:25 PM, "Brad Marks" wrote: > I recently opened up a folder that I use a lot. > > The screen showed about 20 files in this folder (mostly Access 2007 > "accdb" files). > > Three files had names like 449X228. > > I have never seen this before. I did a Print Screen to capture what I > was seeing. > > I then went into Paint and pasted in the Print Screen. The strange > thing is that when I did the paste in Paint, the real file names were > all shown correctly. > > Has anyone else ever seen anything like this? > > Poltergeist? > > New feature? > > Angry server gods? > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 16:31:35 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:31:35 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: You pointed me to a new testing: and the rst clone actually changes when the record on the form changes - that's completely new to me! / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 7. februar 2012 23:08 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark Yeah thanks. I don't have Access or I would have tested. But I am still curious about rst. (Object variable ). I don't think it changes when the form is changed. If not then.... then.... well I don't know then what, nor why I brought it up. On Feb 7, 2012 5:03 PM, "Asger Blond" wrote: > I can confirm that the recordsetclone inherits the record order of the > form at the time the clone is created. > > / Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af William Benson > Sendt: 7. februar 2012 22:23 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] RecordsetClone and Bookmark > > Nothing to contribute except to say I really am interested in how this > thread turns out. And you left clone off the word recordser Asger... don't > make the clones mad. > > By the way what about when a form is sorted contrary to the > recordsource.... I assume (based on an answer I got from one of the kind > folk here ) that recordsetclone is going to always have records in the same > order as the form at the time the property is "read". If you assign it to a > variable however I am not sure that sorting the form affects the variable. > On Feb 7, 2012 4:08 PM, "Asger Blond" wrote: > > > Disagree - the finds certainly make the form show the wanted records, no > > matter if I use rst.FindFirst or Me.Recordset.FindFirst > > > > / Asger > > > > > > -----Oprindelig meddelelse----- > > Fra: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman > > Sendt: 7. februar 2012 21:27 > > Til: 'Access Developers discussion and problem solving' > > Emne: Re: [AccessD] RecordsetClone and Bookmark > > > > > > You don't move the forms cursor. Your finds are invisible to the form > and > > the user. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > > Sent: Tuesday, February 07, 2012 10:29 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] RecordsetClone and Bookmark > > > > Having a listbox on a form for navigation to a specific record I've > always > > used RecordsetClone and Bookmark like this: > > > > Private Sub lstOrderID_AfterUpdate() > > Dim rst As DAO.Recordset > > Set rst = Me.RecordsetClone > > rst.FindFirst "OrderID = " & Me.lstOrderID > > Me.Bookmark = rst.Bookmark > > End Sub > > > > Now I notice that the code apparently might as well be just: > > > > Private Sub lstOderID_AfterUpdate() > > Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID > > End Sub > > > > Can't remember the reason for using RecordsetClone and Bookmark in this > > case. Any suggestions? > > > > / Asger > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Feb 7 16:32:41 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 Feb 2012 17:32:41 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: <> None that I can think of. In fact it would be a tad faster. The code may have been structured that way if it was older, because up until A2000, a forms Recordset wasn't exposed and using the clone was the only way in which you could do a Findfirst. But if you do multiple Find/Moves on the recordset, the forms cursor will move and the form will react (ie. fire OnCurrent, etc), where as if you do it on the clone, nothing happens until you match bookmarks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 05:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Agree on this... If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). So if I just want to jump to a specific record, no more, then the Me.RecordSet FindFirst method seems the most simple - does it have any performance drawbacks? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Feb 7 16:34:33 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 7 Feb 2012 16:34:33 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: I only saw this happen one time. I thought that maybe someone else had seen files names like 449X228. The "problem" has disappeared. This was more of a curiosity question than anything else. I did hear that there has been some unusual solar storms and I believe that there also was a full moon recently. :-) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, February 07, 2012 4:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Is there ever a time screen shot has it right while the OS shows it wrong still? I had something similar few weeks ago. Someone's VBA addin interface was showing invalid info in a listbox. I took a screenshot ans pasted into email and was writing explanation then I noticed the data was fine in both screenshot and the UI. So I took another shot. Same thing. Seems like what windows shows (tells the graphics layer ) doesn't always happen instantaneously. Taking a screen shot might be like a query from the graphics layer to the data layer to ask the OS " Now tell me what I am supposed to be showing? I want to make sure I show it right, I am on camera!" I am guessing, cuz its fun and I am too lazy to do proper research and too forgetful to remember the answers when I find the anyway. On Feb 7, 2012 4:44 PM, "Brad Marks" wrote: > When I pasted the Screen Shot into Paint, the file names were correct. > > Later, when I looked at the folder, the names were correct. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson > Sent: Tuesday, February 07, 2012 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Name resolved in the screen shot or in windows explorer? > On Feb 7, 2012 4:25 PM, "Brad Marks" wrote: > > > I recently opened up a folder that I use a lot. > > > > The screen showed about 20 files in this folder (mostly Access 2007 > > "accdb" files). > > > > Three files had names like 449X228. > > > > I have never seen this before. I did a Print Screen to capture what I > > was seeing. > > > > I then went into Paint and pasted in the Print Screen. The strange > > thing is that when I did the paste in Paint, the real file names were > > all shown correctly. > > > > Has anyone else ever seen anything like this? > > > > Poltergeist? > > > > New feature? > > > > Angry server gods? > > > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Tue Feb 7 16:44:20 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:44:20 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> Message-ID: Have to answer myself on this: it shouldn't be new to me, since a *clone* is not a *copy*. That's what makes RecordsetClone efficient: it's just a new pointer to the existing recordset, not a new set. Which also makes me clarify my previous answer concerning the sort order: The recordset clone inherits the forms record order as said - and it also stays in sync with the forms order, i.e. changing the order on the form also changes the order of the clone (because it actually points to the same set). / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Asger Blond Sendt: 7. februar 2012 23:32 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You pointed me to a new testing: and the rst clone actually changes when the record on the form changes - that's completely new to me! / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 7. februar 2012 23:08 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark Yeah thanks. I don't have Access or I would have tested. But I am still curious about rst. (Object variable ). I don't think it changes when the form is changed. If not then.... then.... well I don't know then what, nor why I brought it up. On Feb 7, 2012 5:03 PM, "Asger Blond" wrote: > I can confirm that the recordsetclone inherits the record order of the > form at the time the clone is created. > > / Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af William Benson > Sendt: 7. februar 2012 22:23 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] RecordsetClone and Bookmark > > Nothing to contribute except to say I really am interested in how this > thread turns out. And you left clone off the word recordser Asger... don't > make the clones mad. > > By the way what about when a form is sorted contrary to the > recordsource.... I assume (based on an answer I got from one of the kind > folk here ) that recordsetclone is going to always have records in the same > order as the form at the time the property is "read". If you assign it to a > variable however I am not sure that sorting the form affects the variable. > On Feb 7, 2012 4:08 PM, "Asger Blond" wrote: > > > Disagree - the finds certainly make the form show the wanted records, no > > matter if I use rst.FindFirst or Me.Recordset.FindFirst > > > > / Asger > > > > > > -----Oprindelig meddelelse----- > > Fra: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman > > Sendt: 7. februar 2012 21:27 > > Til: 'Access Developers discussion and problem solving' > > Emne: Re: [AccessD] RecordsetClone and Bookmark > > > > > > You don't move the forms cursor. Your finds are invisible to the form > and > > the user. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > > Sent: Tuesday, February 07, 2012 10:29 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] RecordsetClone and Bookmark > > > > Having a listbox on a form for navigation to a specific record I've > always > > used RecordsetClone and Bookmark like this: > > > > Private Sub lstOrderID_AfterUpdate() > > Dim rst As DAO.Recordset > > Set rst = Me.RecordsetClone > > rst.FindFirst "OrderID = " & Me.lstOrderID > > Me.Bookmark = rst.Bookmark > > End Sub > > > > Now I notice that the code apparently might as well be just: > > > > Private Sub lstOderID_AfterUpdate() > > Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID > > End Sub > > > > Can't remember the reason for using RecordsetClone and Bookmark in this > > case. Any suggestions? > > > > / Asger > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Feb 7 16:47:16 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Feb 2012 17:47:16 -0500 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: Any chance that somehow the font got changed within Access? A. On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks wrote: > I only saw this happen one time. > > I thought that maybe someone else had seen files names like 449X228. > > The "problem" has disappeared. > > This was more of a curiosity question than anything else. > > > I did hear that there has been some unusual solar storms and I believe > that there also was a full moon recently. > > :-) > > Brad > > From ab-mi at post3.tele.dk Tue Feb 7 16:53:31 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 7 Feb 2012 23:53:31 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: <108B409D4C5C4DD8BF34394775707598@abpc> >> The code may have been structured that way if it was older, because up >> until A2000... That history certainly makes great sense - and it explains why so many coding samples make use of the clone and bookmark method. Old habits often prevent you from understanding what's going on... Thank you for pointing out! / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 23:33 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> None that I can think of. In fact it would be a tad faster. The code may have been structured that way if it was older, because up until A2000, a forms Recordset wasn't exposed and using the clone was the only way in which you could do a Findfirst. But if you do multiple Find/Moves on the recordset, the forms cursor will move and the form will react (ie. fire OnCurrent, etc), where as if you do it on the clone, nothing happens until you match bookmarks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 05:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Agree on this... If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). So if I just want to jump to a specific record, no more, then the Me.RecordSet FindFirst method seems the most simple - does it have any performance drawbacks? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Feb 7 16:54:20 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 7 Feb 2012 16:54:20 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: Possibly - I can't recall for sure. I think that I had just opened up a folder of Access accdb files and noticed the strange file names. They really stood out as I have no other files with names like 449X228 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Any chance that somehow the font got changed within Access? A. On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks wrote: > I only saw this happen one time. > > I thought that maybe someone else had seen files names like 449X228. > > The "problem" has disappeared. > > This was more of a curiosity question than anything else. > > > I did hear that there has been some unusual solar storms and I believe > that there also was a full moon recently. > > :-) > > Brad > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fuller.artful at gmail.com Tue Feb 7 16:56:15 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Feb 2012 17:56:15 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <108B409D4C5C4DD8BF34394775707598@abpc> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> <108B409D4C5C4DD8BF34394775707598@abpc> Message-ID: One notable thing missing from the old code is a Set rst=Nothing. A From Benson at ge.com Tue Feb 7 17:06:21 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 7 Feb 2012 23:06:21 +0000 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD3BFDC@CINMLDGCNA01.e2k.ad.ge.com> Careful, MS might come after you, now you've seen their advanced prototypes... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, February 07, 2012 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Possibly - I can't recall for sure. I think that I had just opened up a folder of Access accdb files and noticed the strange file names. They really stood out as I have no other files with names like 449X228 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Any chance that somehow the font got changed within Access? A. On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks wrote: > I only saw this happen one time. > > I thought that maybe someone else had seen files names like 449X228. > > The "problem" has disappeared. > > This was more of a curiosity question than anything else. > > > I did hear that there has been some unusual solar storms and I believe > that there also was a full moon recently. > > :-) > > Brad > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 17:13:31 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 8 Feb 2012 00:13:31 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS><108B409D4C5C4DD8BF34394775707598@abpc> Message-ID: <1EDE1B458E744338BEFD2C4BCB4C55F3@abpc> Good point. Freeing the object variable is in my error handling, which I left out for simplicity. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 7. februar 2012 23:56 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark One notable thing missing from the old code is a Set rst=Nothing. A -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Feb 7 17:13:35 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 7 Feb 2012 23:13:35 +0000 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> Message-ID: <56653D383CB80341995245C537A9E7B56379C9@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Mark, I have seen this sort of thing on corporate NASDrives on servers before. They seem to come and go randomly - I always assumed it was some sort of artefact created during backup or syncing by the server itself. Perhaps the server takes a snapshot of the last known saved version and keeps it as a temp file so it can back up stuff whilst folks are still working on their files? - just guessing here. Often Right Mouse Clicking and choosing "Refresh" will clean them up (or at least in my experience). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Wednesday, 8 February 2012 9:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Possibly - I can't recall for sure. I think that I had just opened up a folder of Access accdb files and noticed the strange file names. They really stood out as I have no other files with names like 449X228 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Any chance that somehow the font got changed within Access? A. On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks wrote: > I only saw this happen one time. > > I thought that maybe someone else had seen files names like 449X228. > > The "problem" has disappeared. > > This was more of a curiosity question than anything else. > > > I did hear that there has been some unusual solar storms and I believe > that there also was a full moon recently. > > :-) > > Brad > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Feb 7 17:18:28 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 7 Feb 2012 17:18:28 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav><4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> <56653D383CB80341995245C537A9E7B56379C9@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Darryl, Thanks for the insights. At least knowing that someone else has seen this makes me think that I am not losing my mind :-) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, February 07, 2012 5:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Hi Mark, I have seen this sort of thing on corporate NASDrives on servers before. They seem to come and go randomly - I always assumed it was some sort of artefact created during backup or syncing by the server itself. Perhaps the server takes a snapshot of the last known saved version and keeps it as a temp file so it can back up stuff whilst folks are still working on their files? - just guessing here. Often Right Mouse Clicking and choosing "Refresh" will clean them up (or at least in my experience). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Wednesday, 8 February 2012 9:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Possibly - I can't recall for sure. I think that I had just opened up a folder of Access accdb files and noticed the strange file names. They really stood out as I have no other files with names like 449X228 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, February 07, 2012 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily Any chance that somehow the font got changed within Access? A. On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks wrote: > I only saw this happen one time. > > I thought that maybe someone else had seen files names like 449X228. > > The "problem" has disappeared. > > This was more of a curiosity question than anything else. > > > I did hear that there has been some unusual solar storms and I believe > that there also was a full moon recently. > > :-) > > Brad > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From vbacreations at gmail.com Tue Feb 7 17:46:28 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 7 Feb 2012 18:46:28 -0500 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <108B409D4C5C4DD8BF34394775707598@abpc> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> <108B409D4C5C4DD8BF34394775707598@abpc> Message-ID: <009a01cce5f2$b68e09b0$23aa1d10$@gmail.com> This will surprise no one but me I am sure, but the recordset object variable does not seem to persist when a form is sorted. I originaly declared Rst as a Static object, and I was getting errors the second time I clicked the button I set up for testing. Then I thought I would declare Rst at the module level, and that would "guarantee" long life for the variable's scope. As if. As soon as I either sorted or filtered the form, the object variable became "invalid or no longer set". Note that it didn't become Nothing, but rather like a Range variable in Excel when you delete the row it is in. I don't know what to call this... its not out of scope, and it's not Nothing, its in purgatory? Lol. Anywy, I answered my own question about setting an object variable. Unless you are going to use Rst right away, seems one should get rid of it ASAP...? Option Compare Database Option Explicit Private rst As DAO.Recordset Dim dbLocal As DAO.Database Private Sub Command8_Click() Set dbLocal = CurrentDb If rst Is Nothing Then Set rst = Me.RecordsetClone MsgBox rst.Fields(0) Else MsgBox rst.Fields(0) End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark >> The code may have been structured that way if it was older, because up >> until A2000... That history certainly makes great sense - and it explains why so many coding samples make use of the clone and bookmark method. Old habits often prevent you from understanding what's going on... Thank you for pointing out! / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 23:33 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> None that I can think of. In fact it would be a tad faster. The code may have been structured that way if it was older, because up until A2000, a forms Recordset wasn't exposed and using the clone was the only way in which you could do a Findfirst. But if you do multiple Find/Moves on the recordset, the forms cursor will move and the form will react (ie. fire OnCurrent, etc), where as if you do it on the clone, nothing happens until you match bookmarks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 05:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Agree on this... If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). So if I just want to jump to a specific record, no more, then the Me.RecordSet FindFirst method seems the most simple - does it have any performance drawbacks? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Tue Feb 7 19:01:58 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 8 Feb 2012 02:01:58 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <009a01cce5f2$b68e09b0$23aa1d10$@gmail.com> References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc><873694AACEF943EAAC2D9C364BBF2E65@XPS> <108B409D4C5C4DD8BF34394775707598@abpc> <009a01cce5f2$b68e09b0$23aa1d10$@gmail.com> Message-ID: Previously I made a test using a modul level variable and I was so sure it proved that the recordset variable persisted when the form was sorted. After reading your mail I run my test again and now all of a sudden I get the same error as you. Damn you ;-) / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 8. februar 2012 00:46 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark This will surprise no one but me I am sure, but the recordset object variable does not seem to persist when a form is sorted. I originaly declared Rst as a Static object, and I was getting errors the second time I clicked the button I set up for testing. Then I thought I would declare Rst at the module level, and that would "guarantee" long life for the variable's scope. As if. As soon as I either sorted or filtered the form, the object variable became "invalid or no longer set". Note that it didn't become Nothing, but rather like a Range variable in Excel when you delete the row it is in. I don't know what to call this... its not out of scope, and it's not Nothing, its in purgatory? Lol. Anywy, I answered my own question about setting an object variable. Unless you are going to use Rst right away, seems one should get rid of it ASAP...? Option Compare Database Option Explicit Private rst As DAO.Recordset Dim dbLocal As DAO.Database Private Sub Command8_Click() Set dbLocal = CurrentDb If rst Is Nothing Then Set rst = Me.RecordsetClone MsgBox rst.Fields(0) Else MsgBox rst.Fields(0) End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark >> The code may have been structured that way if it was older, because up >> until A2000... That history certainly makes great sense - and it explains why so many coding samples make use of the clone and bookmark method. Old habits often prevent you from understanding what's going on... Thank you for pointing out! / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 23:33 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> None that I can think of. In fact it would be a tad faster. The code may have been structured that way if it was older, because up until A2000, a forms Recordset wasn't exposed and using the clone was the only way in which you could do a Findfirst. But if you do multiple Find/Moves on the recordset, the forms cursor will move and the form will react (ie. fire OnCurrent, etc), where as if you do it on the clone, nothing happens until you match bookmarks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 05:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Agree on this... If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). So if I just want to jump to a specific record, no more, then the Me.RecordSet FindFirst method seems the most simple - does it have any performance drawbacks? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark <> Once you do: Me.Bookmark = rst.Bookmark But until then, all the manipulation in rst won't be visible to the form or the user. That's the whole point. You can jump forward and backwards all you want, but until you set the forms bookmark property, none of what you do affects the form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 04:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RecordsetClone and Bookmark Disagree - the finds certainly make the form show the wanted records, no matter if I use rst.FindFirst or Me.Recordset.FindFirst / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 7. februar 2012 21:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] RecordsetClone and Bookmark You don't move the forms cursor. Your finds are invisible to the form and the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, February 07, 2012 10:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RecordsetClone and Bookmark Having a listbox on a form for navigation to a specific record I've always used RecordsetClone and Bookmark like this: Private Sub lstOrderID_AfterUpdate() Dim rst As DAO.Recordset Set rst = Me.RecordsetClone rst.FindFirst "OrderID = " & Me.lstOrderID Me.Bookmark = rst.Bookmark End Sub Now I notice that the code apparently might as well be just: Private Sub lstOderID_AfterUpdate() Me.Recordset.FindFirst "OrderID = " & Me.lstOrderID End Sub Can't remember the reason for using RecordsetClone and Bookmark in this case. Any suggestions? / Asger -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Tue Feb 7 23:15:58 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 7 Feb 2012 21:15:58 -0800 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> <56653D383CB80341995245C537A9E7B56379C9@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: And what does someone else seeing it have to do with your losing your mind?? Charlotte Foust On Tue, Feb 7, 2012 at 3:18 PM, Brad Marks wrote: > Darryl, > > Thanks for the insights. > > At least knowing that someone else has seen this makes me think that I > am not losing my mind :-) > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Tuesday, February 07, 2012 5:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Hi Mark, > > I have seen this sort of thing on corporate NASDrives on servers before. > They seem to come and go randomly - I always assumed it was some sort of > artefact created during backup or syncing by the server itself. Perhaps > the server takes a snapshot of the last known saved version and keeps it > as a temp file so it can back up stuff whilst folks are still working on > their files? - just guessing here. Often Right Mouse Clicking and > choosing "Refresh" will clean them up (or at least in my experience). > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Wednesday, 8 February 2012 9:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Possibly - I can't recall for sure. > > I think that I had just opened up a folder of Access accdb files and > noticed the strange file names. > > They really stood out as I have no other files with names like 449X228 > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, February 07, 2012 4:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Any chance that somehow the font got changed within Access? > A. > > On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks > wrote: > > > I only saw this happen one time. > > > > I thought that maybe someone else had seen files names like 449X228. > > > > The "problem" has disappeared. > > > > This was more of a curiosity question than anything else. > > > > > > I did hear that there has been some unusual solar storms and I believe > > > that there also was a full moon recently. > > > > :-) > > > > Brad > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Tue Feb 7 23:24:37 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 8 Feb 2012 05:24:37 +0000 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav> <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg> <4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg> <6099C8D7D7EC49AEA0A3A4DC0476893A@abpc> <873694AACEF943EAAC2D9C364BBF2E65@XPS> <56653D383CB80341995245C537A9E7B56379C9@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5637E5B@SINPRD0402MB099.apcprd04.prod.outlook.com> Hehe... am I am fairly well known to be rather unstable ;) - this is someone who prefer to wander around the office in his socks after all ;) Although apparently that is pretty cool these days, or at least wearing loud socks is: <> Finally... I am ahead of the game, just need some more outrageous patterns I can be considered very 'fashion forward' in the work environment ;) hehehehehe -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 February 2012 4:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Very Strange File Names - Temporarily And what does someone else seeing it have to do with your losing your mind?? Charlotte Foust On Tue, Feb 7, 2012 at 3:18 PM, Brad Marks wrote: > Darryl, > > Thanks for the insights. > > At least knowing that someone else has seen this makes me think that I > am not losing my mind :-) > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Tuesday, February 07, 2012 5:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Hi Mark, > > I have seen this sort of thing on corporate NASDrives on servers before. > They seem to come and go randomly - I always assumed it was some sort > of artefact created during backup or syncing by the server itself. > Perhaps the server takes a snapshot of the last known saved version > and keeps it as a temp file so it can back up stuff whilst folks are > still working on their files? - just guessing here. Often Right Mouse > Clicking and choosing "Refresh" will clean them up (or at least in my experience). > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Wednesday, 8 February 2012 9:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Possibly - I can't recall for sure. > > I think that I had just opened up a folder of Access accdb files and > noticed the strange file names. > > They really stood out as I have no other files with names like 449X228 > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Tuesday, February 07, 2012 4:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Very Strange File Names - Temporarily > > Any chance that somehow the font got changed within Access? > A. > > On Tue, Feb 7, 2012 at 5:34 PM, Brad Marks > wrote: > > > I only saw this happen one time. > > > > I thought that maybe someone else had seen files names like 449X228. > > > > The "problem" has disappeared. > > > > This was more of a curiosity question than anything else. > > > > > > I did hear that there has been some unusual solar storms and I > > believe > > > that there also was a full moon recently. > > > > :-) > > > > Brad > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 8 01:32:11 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Feb 2012 08:32:11 +0100 Subject: [AccessD] RecordsetClone and Bookmark Message-ID: Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). From ab-mi at post3.tele.dk Wed Feb 8 03:32:53 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 8 Feb 2012 10:32:53 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: Message-ID: Hi Gustav Can't confirm this. I just made a test updating 3500 records on a table with total 10000 records. Execution times: Update with loop on a RecordsetClone (DAO Edit/Update): 3.42 sec. Update with SQL (ADODB Execute): 0.03 sec. Here are the test-procs: Private Sub cmdUpdate_Loop_Click() Dim rst as DAO.Recordset, dtmTime As Single dtmTime = Timer Set rst = Me.RecordsetClone rst.FindFirst ("SalesPerson = 'Jones'") Do Until rst.NoMatch rst.Edit rst.Fields("SalesPerson").Value = "X" rst.Update rst.FindNext ("SalesPerson = 'Jones'") Loop Debug.Print "Loop update: " & vbTab & Timer - dtmTime End Sub Private Sub cmdUpdate_SQL_Click() Dim cnn As ADODB.Connection, dtmTime As Single dtmTime = Timer Set cnn = CurrentProject.Connection cnn.Execute "UPDATE tblSale SET SalesPerson = 'X' WHERE SalesPerson = 'Jones'" Debug.Print "SQL update: " & vbTab & Timer - dtmTime End Sub Maybe this is not the way you would do an update on a RecordsetClone - ? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 08:32 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 8 03:55:55 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Feb 2012 10:55:55 +0100 Subject: [AccessD] RecordsetClone and Bookmark Message-ID: Hi Asger Oh, two different things: > .. I would consider looping the recordset to change some values .. .. calling an SQL update for each record that needs an update [my next thought] That is quite different from a batch update. /gustav >>> ab-mi at post3.tele.dk 08-02-2012 10:32:53 >>> Hi Gustav Can't confirm this. I just made a test updating 3500 records on a table with total 10000 records. Execution times: Update with loop on a RecordsetClone (DAO Edit/Update): 3.42 sec. Update with SQL (ADODB Execute): 0.03 sec. Here are the test-procs: Private Sub cmdUpdate_Loop_Click() Dim rst as DAO.Recordset, dtmTime As Single dtmTime = Timer Set rst = Me.RecordsetClone rst.FindFirst ("SalesPerson = 'Jones'") Do Until rst.NoMatch rst.Edit rst.Fields("SalesPerson").Value = "X" rst.Update rst.FindNext ("SalesPerson = 'Jones'") Loop Debug.Print "Loop update: " & vbTab & Timer - dtmTime End Sub Private Sub cmdUpdate_SQL_Click() Dim cnn As ADODB.Connection, dtmTime As Single dtmTime = Timer Set cnn = CurrentProject.Connection cnn.Execute "UPDATE tblSale SET SalesPerson = 'X' WHERE SalesPerson = 'Jones'" Debug.Print "SQL update: " & vbTab & Timer - dtmTime End Sub Maybe this is not the way you would do an update on a RecordsetClone - ? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 08:32 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). From ab-mi at post3.tele.dk Wed Feb 8 04:19:03 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 8 Feb 2012 11:19:03 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: References: Message-ID: Hi Gustav Then we agree, I guess - I wouldn't consider calling an SQL update when looping the clone, then I would just make the Edit/Update on the clone. My point was actually a batch update, where an SQL Update is by far the most efficient. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 10:56 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger Oh, two different things: > .. I would consider looping the recordset to change some values .. .. calling an SQL update for each record that needs an update [my next thought] That is quite different from a batch update. /gustav >>> ab-mi at post3.tele.dk 08-02-2012 10:32:53 >>> Hi Gustav Can't confirm this. I just made a test updating 3500 records on a table with total 10000 records. Execution times: Update with loop on a RecordsetClone (DAO Edit/Update): 3.42 sec. Update with SQL (ADODB Execute): 0.03 sec. Here are the test-procs: Private Sub cmdUpdate_Loop_Click() Dim rst as DAO.Recordset, dtmTime As Single dtmTime = Timer Set rst = Me.RecordsetClone rst.FindFirst ("SalesPerson = 'Jones'") Do Until rst.NoMatch rst.Edit rst.Fields("SalesPerson").Value = "X" rst.Update rst.FindNext ("SalesPerson = 'Jones'") Loop Debug.Print "Loop update: " & vbTab & Timer - dtmTime End Sub Private Sub cmdUpdate_SQL_Click() Dim cnn As ADODB.Connection, dtmTime As Single dtmTime = Timer Set cnn = CurrentProject.Connection cnn.Execute "UPDATE tblSale SET SalesPerson = 'X' WHERE SalesPerson = 'Jones'" Debug.Print "SQL update: " & vbTab & Timer - dtmTime End Sub Maybe this is not the way you would do an update on a RecordsetClone - ? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 08:32 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Wed Feb 8 09:26:41 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Wed, 8 Feb 2012 20:56:41 +0530 Subject: [AccessD] RecordsetClone and Bookmark References: Message-ID: <9DC1920448C5456DA9EB157B5609ACE6@personal4a8ede> Asger, Another point of interest: Form' recordset can be sluggish regarding it's bookmark. For consistent behavior while synchronizing RecordsetClone with current record on the form, it should be done against form's bookmark (not form's recordset's bookmark). ' Preferred syntax: Me.RecordsetClone.Bookmark = Me.Bookmark ' Risky syntax: ' Me.RecordsetClone.Bookmark = Me.Recordset.Bookmark Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Asger Blond To: 'Access Developers discussion and problem solving' Sent: Wednesday, February 08, 2012 15:49 Subject: Re: [AccessD] RecordsetClone and Bookmark Hi Gustav Then we agree, I guess - I wouldn't consider calling an SQL update when looping the clone, then I would just make the Edit/Update on the clone. My point was actually a batch update, where an SQL Update is by far the most efficient. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 10:56 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger Oh, two different things: > .. I would consider looping the recordset to change some values .. .. calling an SQL update for each record that needs an update [my next thought] That is quite different from a batch update. /gustav >>> ab-mi at post3.tele.dk 08-02-2012 10:32:53 >>> Hi Gustav Can't confirm this. I just made a test updating 3500 records on a table with total 10000 records. Execution times: Update with loop on a RecordsetClone (DAO Edit/Update): 3.42 sec. Update with SQL (ADODB Execute): 0.03 sec. Here are the test-procs: Private Sub cmdUpdate_Loop_Click() Dim rst as DAO.Recordset, dtmTime As Single dtmTime = Timer Set rst = Me.RecordsetClone rst.FindFirst ("SalesPerson = 'Jones'") Do Until rst.NoMatch rst.Edit rst.Fields("SalesPerson").Value = "X" rst.Update rst.FindNext ("SalesPerson = 'Jones'") Loop Debug.Print "Loop update: " & vbTab & Timer - dtmTime End Sub Private Sub cmdUpdate_SQL_Click() Dim cnn As ADODB.Connection, dtmTime As Single dtmTime = Timer Set cnn = CurrentProject.Connection cnn.Execute "UPDATE tblSale SET SalesPerson = 'X' WHERE SalesPerson = 'Jones'" Debug.Print "SQL update: " & vbTab & Timer - dtmTime End Sub Maybe this is not the way you would do an update on a RecordsetClone - ? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 08:32 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). From ab-mi at post3.tele.dk Wed Feb 8 09:42:26 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 8 Feb 2012 16:42:26 +0100 Subject: [AccessD] RecordsetClone and Bookmark In-Reply-To: <9DC1920448C5456DA9EB157B5609ACE6@personal4a8ede> References: <9DC1920448C5456DA9EB157B5609ACE6@personal4a8ede> Message-ID: <3DFBF0A461FF426095EECADEFFAD9B15@abpc> A.D., Thank you for pointing out. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af A.D. Tejpal Sendt: 8. februar 2012 16:27 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] RecordsetClone and Bookmark Asger, Another point of interest: Form' recordset can be sluggish regarding it's bookmark. For consistent behavior while synchronizing RecordsetClone with current record on the form, it should be done against form's bookmark (not form's recordset's bookmark). ' Preferred syntax: Me.RecordsetClone.Bookmark = Me.Bookmark ' Risky syntax: ' Me.RecordsetClone.Bookmark = Me.Recordset.Bookmark Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Asger Blond To: 'Access Developers discussion and problem solving' Sent: Wednesday, February 08, 2012 15:49 Subject: Re: [AccessD] RecordsetClone and Bookmark Hi Gustav Then we agree, I guess - I wouldn't consider calling an SQL update when looping the clone, then I would just make the Edit/Update on the clone. My point was actually a batch update, where an SQL Update is by far the most efficient. / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 10:56 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger Oh, two different things: > .. I would consider looping the recordset to change some values .. .. calling an SQL update for each record that needs an update [my next thought] That is quite different from a batch update. /gustav >>> ab-mi at post3.tele.dk 08-02-2012 10:32:53 >>> Hi Gustav Can't confirm this. I just made a test updating 3500 records on a table with total 10000 records. Execution times: Update with loop on a RecordsetClone (DAO Edit/Update): 3.42 sec. Update with SQL (ADODB Execute): 0.03 sec. Here are the test-procs: Private Sub cmdUpdate_Loop_Click() Dim rst as DAO.Recordset, dtmTime As Single dtmTime = Timer Set rst = Me.RecordsetClone rst.FindFirst ("SalesPerson = 'Jones'") Do Until rst.NoMatch rst.Edit rst.Fields("SalesPerson").Value = "X" rst.Update rst.FindNext ("SalesPerson = 'Jones'") Loop Debug.Print "Loop update: " & vbTab & Timer - dtmTime End Sub Private Sub cmdUpdate_SQL_Click() Dim cnn As ADODB.Connection, dtmTime As Single dtmTime = Timer Set cnn = CurrentProject.Connection cnn.Execute "UPDATE tblSale SET SalesPerson = 'X' WHERE SalesPerson = 'Jones'" Debug.Print "SQL update: " & vbTab & Timer - dtmTime End Sub Maybe this is not the way you would do an update on a RecordsetClone - ? / Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 8. februar 2012 08:32 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] RecordsetClone and Bookmark Hi Asger You should use RecordsetClone for this - way faster than calling SQL updates. And the form will be updated as well automagically. /gustav >>> ab-mi at post3.tele.dk 07-02-2012 23:06 >>> If for instance I would consider looping the recordset to change some values, then using RecordsetClone and Bookmark would be more efficient than using Me.Recordset because the form wouldn't have to be updated for each move. (But actually I wouldn't use a recordset Edit/Update but a SQL Update for this...). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwelz at hotmail.com Thu Feb 9 12:07:15 2012 From: jwelz at hotmail.com (Jurgen Welz) Date: Thu, 9 Feb 2012 11:07:15 -0700 Subject: [AccessD] Very Strange File Names - Temporarily In-Reply-To: References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, , <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc>, <873694AACEF943EAAC2D9C364BBF2E65@XPS>, Message-ID: I've seen messed up file names in Windows Explorer every 3 or 4 months in a thin client network environment. I hadn't tried the screen shot to see whether it captured the actual file names. I suspected it to be a bandwidth/refresh issue. The problem always resolved itself and only ever appeared to affect Explorer. Ciao J?rgen Welz Edmonton, Alberta jwelz at hotmail.com > Date: Tue, 7 Feb 2012 15:23:13 -0600 > From: BradM at blackforestltd.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Very Strange File Names - Temporarily > > I recently opened up a folder that I use a lot. > > The screen showed about 20 files in this folder (mostly Access 2007 > "accdb" files). > > Three files had names like 449X228. > > I have never seen this before. I did a Print Screen to capture what I > was seeing. > > I then went into Paint and pasted in the Print Screen. The strange > thing is that when I did the paste in Paint, the real file names were > all shown correctly. > > Has anyone else ever seen anything like this? > > Poltergeist? > > New feature? > > Angry server gods? > > Brad From marksimms at verizon.net Thu Feb 9 14:11:04 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 09 Feb 2012 15:11:04 -0500 Subject: [AccessD] Javascript Dev article In-Reply-To: <9DC1920448C5456DA9EB157B5609ACE6@personal4a8ede> References: <9DC1920448C5456DA9EB157B5609ACE6@personal4a8ede> Message-ID: <00c601cce766$f456a020$dd03e060$@net> Good article on Javascript. I was once pretty good at it. Once again, I found the effort not to "pay off" at the bank....too many with the same experience.... resulting in low rates. http://www.devproconnections.com/article/javascript/javascript-resources-tutorials-142215 From TSeptav at uniserve.com Fri Feb 10 13:29:57 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 10 Feb 2012 11:29:57 -0800 Subject: [AccessD] WebBrowser ActiveX control Message-ID: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> Hey All Have any of you used the WebBrowser ActiveX control to allow users to view pdf files in your Access application. I have been testing it for the last 3 days and it seems pretty stable. Haven't touched ActiveX controls for years, but this may just solve a major problem. Any pros or cons on using the control? Had a couple friends try out a simple one form mdb and they really liked it. Tony Septav Nanaimo, BC Canada From jimdettman at verizon.net Fri Feb 10 14:11:07 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Feb 2012 15:11:07 -0500 Subject: [AccessD] WebBrowser ActiveX control In-Reply-To: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> References: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> Message-ID: <9B197A36001D48CF8AC5F3CC2D235D4F@XPS> I've used it. Seems to work pretty well, but it's limited in what you can do programmatically. Basically all you can do with it is browse. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 10, 2012 02:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WebBrowser ActiveX control Hey All Have any of you used the WebBrowser ActiveX control to allow users to view pdf files in your Access application. I have been testing it for the last 3 days and it seems pretty stable. Haven't touched ActiveX controls for years, but this may just solve a major problem. Any pros or cons on using the control? Had a couple friends try out a simple one form mdb and they really liked it. Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Fri Feb 10 14:49:43 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 10 Feb 2012 12:49:43 -0800 Subject: [AccessD] WebBrowser ActiveX control In-Reply-To: <9B197A36001D48CF8AC5F3CC2D235D4F@XPS> References: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> <9B197A36001D48CF8AC5F3CC2D235D4F@XPS> Message-ID: <738707D2F7A34BF59C380F19D9EB237B@TonySeptav> Hey Jim Ahhhhh but I don't want to browse, I just want a way to allow the client to view the contents of pdf files selected from a list in a form (which it displays very quickly). It beats the socks of the Adobe Reader ActiveX control. Tony Septav Nanaimo,BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 10, 2012 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WebBrowser ActiveX control I've used it. Seems to work pretty well, but it's limited in what you can do programmatically. Basically all you can do with it is browse. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 10, 2012 02:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WebBrowser ActiveX control Hey All Have any of you used the WebBrowser ActiveX control to allow users to view pdf files in your Access application. I have been testing it for the last 3 days and it seems pretty stable. Haven't touched ActiveX controls for years, but this may just solve a major problem. Any pros or cons on using the control? Had a couple friends try out a simple one form mdb and they really liked it. Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4801 - Release Date: 02/10/12 From BradM at blackforestltd.com Fri Feb 10 15:44:47 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 10 Feb 2012 15:44:47 -0600 Subject: [AccessD] Very Strange File Names - Temporarily References: <2C3AA32A598A4924A35233785FC9B201@TonySeptav>, , <4F2F075B.17738.17A5B64F@stuart.lexacorp.com.pg><4F2F087A.18739.17AA17C0@stuart.lexacorp.com.pg><6099C8D7D7EC49AEA0A3A4DC0476893A@abpc>, <873694AACEF943EAAC2D9C364BBF2E65@XPS>, Message-ID: Ciao, Thanks for your insights. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jurgen Welz Sent: Thursday, February 09, 2012 12:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Very Strange File Names - Temporarily I've seen messed up file names in Windows Explorer every 3 or 4 months in a thin client network environment. I hadn't tried the screen shot to see whether it captured the actual file names. I suspected it to be a bandwidth/refresh issue. The problem always resolved itself and only ever appeared to affect Explorer. Ciao J?rgen Welz Edmonton, Alberta jwelz at hotmail.com > Date: Tue, 7 Feb 2012 15:23:13 -0600 > From: BradM at blackforestltd.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Very Strange File Names - Temporarily > > I recently opened up a folder that I use a lot. > > The screen showed about 20 files in this folder (mostly Access 2007 > "accdb" files). > > Three files had names like 449X228. > > I have never seen this before. I did a Print Screen to capture what I > was seeing. > > I then went into Paint and pasted in the Print Screen. The strange > thing is that when I did the paste in Paint, the real file names were > all shown correctly. > > Has anyone else ever seen anything like this? > > Poltergeist? > > New feature? > > Angry server gods? > > Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From TSeptav at uniserve.com Sat Feb 11 08:44:22 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 11 Feb 2012 06:44:22 -0800 Subject: [AccessD] Few Chats Message-ID: <984189EC0D224DF1984767F291F6674E@TonySeptav> Hey All Has there been a really low volume on the list the last couple of days? I only ask because I have just gotten my new EMail address and I have been having some problems with it. Thanks From jimdettman at verizon.net Sat Feb 11 09:12:00 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 11 Feb 2012 10:12:00 -0500 Subject: [AccessD] Few Chats In-Reply-To: <984189EC0D224DF1984767F291F6674E@TonySeptav> References: <984189EC0D224DF1984767F291F6674E@TonySeptav> Message-ID: <5F64969F20944A6FB178CDE1B82B3148@XPS> Yes, it's been low. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Saturday, February 11, 2012 09:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Few Chats Hey All Has there been a really low volume on the list the last couple of days? I only ask because I have just gotten my new EMail address and I have been having some problems with it. Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sat Feb 11 09:20:34 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 11 Feb 2012 07:20:34 -0800 Subject: [AccessD] Few Chats In-Reply-To: <5F64969F20944A6FB178CDE1B82B3148@XPS> References: <984189EC0D224DF1984767F291F6674E@TonySeptav> <5F64969F20944A6FB178CDE1B82B3148@XPS> Message-ID: <0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> Hey Jim Thanks. Makes me feel better about some of the other Emails I have sent out to clients. "A clever person solves a problem. A wise person avoids it." Albert Einstein Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, February 11, 2012 7:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Few Chats Yes, it's been low. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Saturday, February 11, 2012 09:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Few Chats Hey All Has there been a really low volume on the list the last couple of days? I only ask because I have just gotten my new EMail address and I have been having some problems with it. Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4801 - Release Date: 02/10/12 From marksimms at verizon.net Sat Feb 11 11:36:00 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 11 Feb 2012 12:36:00 -0500 Subject: [AccessD] Few Chats In-Reply-To: <0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> References: <984189EC0D224DF1984767F291F6674E@TonySeptav> <5F64969F20944A6FB178CDE1B82B3148@XPS> <0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> Message-ID: <002101cce8e3$9f325d40$dd9717c0$@net> Not to be nasty, but realistically the Chat volume probably mimics the level of activity in the Access world. Not much happening these days. I'm working now, but that will be ending in a few weeks.... with nothing lined up on the horizon. From TSeptav at uniserve.com Sat Feb 11 12:59:59 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 11 Feb 2012 10:59:59 -0800 Subject: [AccessD] Few Chats In-Reply-To: <002101cce8e3$9f325d40$dd9717c0$@net> References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> <002101cce8e3$9f325d40$dd9717c0$@net> Message-ID: <13280F7F5C414177B9184B1A76BA2F7C@TonySeptav> Hey Mark I think a lot of us are in the same boat. I have to admit I am envious of those on the list who saw this coming and ventured into learning some of the new stuff years ago. As an old fart I feel like the guy in the joke. A fellow says to his friend "I would love to learn how to play the piano, but from what I have read it takes about 5 years to become proficient enough." And his friend says "Didn't you tell me this same thing 5 years ago". Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, February 11, 2012 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Few Chats Not to be nasty, but realistically the Chat volume probably mimics the level of activity in the Access world. Not much happening these days. I'm working now, but that will be ending in a few weeks.... with nothing lined up on the horizon. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4803 - Release Date: 02/11/12 From accessd at shaw.ca Sat Feb 11 13:10:21 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 11 Feb 2012 11:10:21 -0800 Subject: [AccessD] Few Chats In-Reply-To: <002101cce8e3$9f325d40$dd9717c0$@net> References: <984189EC0D224DF1984767F291F6674E@TonySeptav> <5F64969F20944A6FB178CDE1B82B3148@XPS> <0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> <002101cce8e3$9f325d40$dd9717c0$@net> Message-ID: <0A9D8B6E43BB429EB0D5528E2F9C14B9@creativesystemdesigns.com> Mark: Or it could be that everyone is really busy. This my major problem and I wish I had the time to contribute more. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, February 11, 2012 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Few Chats Not to be nasty, but realistically the Chat volume probably mimics the level of activity in the Access world. Not much happening these days. I'm working now, but that will be ending in a few weeks.... with nothing lined up on the horizon. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Sat Feb 11 14:22:16 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Sat, 11 Feb 2012 14:22:16 -0600 Subject: [AccessD] Can I Read Windows Schedule Info with Access? References: <00a201ccdd16$a995d650$5bdea8c0@edz1><08A018278BE8445D8A1948BE55D7E71A@XPS><9250B00AFA2345C1946148EBA090609C@XPS><003001ccddd0$01ffd020$05ff7060$@net><002701ccdde3$6afa3940$40eeabc0$@net> Message-ID: All, I have set up Scheduled Tasks with the Windows Scheduler to run several Nightly Access Reporting ?Batch? jobs (I am an old ?mainframer?). I often look at the Windows Scheduler screen to see if a specific job (task) has run successfully. I would like to use Access to pull this information from the folder where this information is stored (C:WINDOWS\Tasks) . When I view this folder, I can see the headings for the information that I would like to obtain (Name, Schedule, Next Run Time, Last Run Time, Status, Last Result, Creator). I would like to use Access to grab the detail information from these fields in this folder. Is this possible ? Perhaps there is some other utility that can do this that I can call from Access. Thanks, Brad From accessd at shaw.ca Sat Feb 11 15:16:53 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 11 Feb 2012 13:16:53 -0800 Subject: [AccessD] Can I Read Windows Schedule Info with Access? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> <003001ccddd0$01ffd020$05ff7060$@net> <002701ccdde3$6afa3940$40eeabc0$@net> Message-ID: Hi Brad: Your scheduler is just a wrapper around the "AT" command. To view the current scheduled operation just go to the DOS prompt (this can all be done within your scheduled call, shell out, and at the "CMD" prompt like "at > c:\TheDirectoryWhereIWanttoReadThisTextFile\AtInfo.txt") then within Access just read the file and manipulate and store the data... Hope this is enough as I would have to do some lookup within some code for further details. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, February 11, 2012 12:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I Read Windows Schedule Info with Access? All, I have set up Scheduled Tasks with the Windows Scheduler to run several Nightly Access Reporting "Batch" jobs (I am an old "mainframer"). I often look at the Windows Scheduler screen to see if a specific job (task) has run successfully. I would like to use Access to pull this information from the folder where this information is stored (C:WINDOWS\Tasks) . When I view this folder, I can see the headings for the information that I would like to obtain (Name, Schedule, Next Run Time, Last Run Time, Status, Last Result, Creator). I would like to use Access to grab the detail information from these fields in this folder. Is this possible ? Perhaps there is some other utility that can do this that I can call from Access. Thanks, Brad From jwcolby at colbyconsulting.com Sat Feb 11 16:10:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Feb 2012 17:10:03 -0500 Subject: [AccessD] =?windows-1252?q?The_death_of_CPU_scaling=3A_From_one_c?= =?windows-1252?q?ore_to_many_=97_and_why_we=92re_still_stuck_=7C_ExtremeT?= =?windows-1252?q?ech?= Message-ID: <4F36E73B.10408@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.extremetech.com/computing/116561-the-death-of-cpu-scaling-from-one-core-to-many-and-why-were-still-stuck?obref=obinsite From jwcolby at colbyconsulting.com Sat Feb 11 18:00:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Feb 2012 19:00:54 -0500 Subject: [AccessD] Few Chats In-Reply-To: <13280F7F5C414177B9184B1A76BA2F7C@TonySeptav> References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> <002101cce8e3$9f325d40$dd9717c0$@net> <13280F7F5C414177B9184B1A76BA2F7C@TonySeptav> Message-ID: <4F370136.9070106@colbyconsulting.com> There's so much truth in that "joke". I eventually went to the local community college and took a pair of classes to get the basics of C# down. That was three years ago. Since then I have set up source control, and architected and partially wrote a bunch of fairly sophisticated systems. I am still not "there" yet but I am at least on the way. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/11/2012 1:59 PM, Tony Septav wrote: > Hey Mark > I think a lot of us are in the same boat. I have to admit I am envious of > those on the list who saw this coming and ventured into learning some of the > new stuff years ago. As an old fart I feel like the guy in the joke. > A fellow says to his friend "I would love to learn how to play the piano, > but from what I have read it takes about 5 years to become proficient > enough." And his friend says "Didn't you tell me this same thing 5 years > ago". > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Saturday, February 11, 2012 9:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Few Chats > > Not to be nasty, but realistically the Chat volume probably mimics the level > of activity in the Access world. > Not much happening these days. > I'm working now, but that will be ending in a few weeks.... > with nothing lined up on the horizon. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4803 - Release Date: 02/11/12 > From marksimms at verizon.net Sun Feb 12 06:37:10 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 12 Feb 2012 07:37:10 -0500 Subject: [AccessD] Few Chats In-Reply-To: <4F370136.9070106@colbyconsulting.com> References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> <002101cce8e3$9f325d40$dd9717c0$@net> <13280F7F5C414177B9184B1A76BA2F7C@TonySeptav> <4F370136.9070106@colbyconsulting.com> Message-ID: <001b01cce983$0ab62ac0$20228040$@net> I've been reluctant to make any commitment to technology that doesn't have a fairly immediate and substantial "payback". Years ago it was a no-brainer. I just got an invoice from my eye doctor, and I estimated that after equipment and expenses, this guy is netting about $300/hr. Now that's what I call a decent "professional services" rate of pay....with lawyers and CPA's in that same ballpark. The rates in this business aren't even close by comparison. > There's so much truth in that "joke". I eventually went to the local > community college and took a > pair of classes to get the basics of C# down. That was three years > ago. From tewald at wowway.com Sun Feb 12 08:08:13 2012 From: tewald at wowway.com (Thomas Ewald) Date: Sun, 12 Feb 2012 09:08:13 -0500 Subject: [AccessD] Uncertainty Data In-Reply-To: References: Message-ID: <4F4982AFD7D6498180E53B89B7C4130F@64Bit> My database has two main tables (and zillions of others): tblParts stores the data for every part and assembly, and tblHierarchy stores the structure of assemblies. I'll give a simplified structure for each table, listing only what's germane to the problem at hand: tblParts PartID long (PK) Weight double (lbs) UncertCode text tblHierarchy HierID long (PK) PartID long (FK) NHA long (FK) NHA = Next Higher Assembly. If parts 2 and 3 are components of assembly 1, then all three would be listed in tblParts, and tblHierarchy would list 2 and 3 as PartIDs, each having 1 as its NHA (as in the example below). UncertCode lists the code that identifies the level of certainty we (officially) have in the record's weight. For the purpose of this discussion, we'll say there are A, E, and R (Actual, Estimate and Roll-up, respectively). If tblParts shows an R, then the Weight will not be native to that record, but will be a simple sum (roll-up) of its components' weights. What I need is to know what percentage of the total weight is represented by each UncertCode. Since an "R" just shows data from components, I don't want its data; OTOH, I do want its components' data (assuming they aren't roll-ups themselves). Let see a simple example. tblParts: PartID Weight UncertCode 1 10 R 2 6 R 3 4 A 4 4 E 5 1 E 6 3 A tblHierarchy: HierID PartID NHA 1 2 1 2 3 1 3 4 2 4 5 2 5 5 2 6 5 3 7 6 3 Part 1 is the main assembly, and I'm looking for its data; I need the weight represented by A and E codes. When traversing down the tree, R will just mean "keep going", while A and E mean "stop here and record the data, then go back up to the next limb on the tree". Starting at part 1 (in tblHierarchy) as the NHA, we see it has two parts, 2 and 3. Part 2 is an R (in tblParts), so we need to go on. We see that parts 4 and 5 are in 2; they are both E, so we can stop there. Going back to part 1, we now take part 3. Since it's an A, we can stop there (even if its components' weights did not add up to its given weight, we would not care). So, in this case, we have A: Part 3 (4 lbs) E: Part 4 (4 lbs) and 2 of Part 5 (2 x 1 lbs) Total weight is 10 lbs, so we find that A represents 4 lbs, or 40%, and E represents 6 lbs or 60%. As I said, this is an easy example. I have 8 uncertainty codes, several vehicles (corresponding to Part 1 in this example; in other words, several starting points) about 15 levels and thousands of parts. What would be the best way to traverse the tree, getting only the non-R data for a vehicle? Your help would be very much appreciated. Tom Ewald Detroit Area From darryl at whittleconsulting.com.au Sun Feb 12 16:33:13 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 12 Feb 2012 22:33:13 +0000 Subject: [AccessD] WebBrowser ActiveX control In-Reply-To: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> References: <1A9CF49975AF48209C8B7465BE98DC33@TonySeptav> Message-ID: <56653D383CB80341995245C537A9E7B5638AC5@SINPRD0402MB099.apcprd04.prod.outlook.com> I guess one issue is Active X stuff only works with IE. Not sure if that will be a problem for you or not. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Saturday, 11 February 2012 6:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WebBrowser ActiveX control Hey All Have any of you used the WebBrowser ActiveX control to allow users to view pdf files in your Access application. I have been testing it for the last 3 days and it seems pretty stable. Haven't touched ActiveX controls for years, but this may just solve a major problem. Any pros or cons on using the control? Had a couple friends try out a simple one form mdb and they really liked it. Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Feb 12 16:40:32 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 12 Feb 2012 22:40:32 +0000 Subject: [AccessD] Few Chats In-Reply-To: <002101cce8e3$9f325d40$dd9717c0$@net> References: <984189EC0D224DF1984767F291F6674E@TonySeptav> <5F64969F20944A6FB178CDE1B82B3148@XPS> <0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav> <002101cce8e3$9f325d40$dd9717c0$@net> Message-ID: <56653D383CB80341995245C537A9E7B5638BC9@SINPRD0402MB099.apcprd04.prod.outlook.com> If it makes anyone feel better, the traffic on this list is still about 3-4 times more than what Access-L gets these days.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, 12 February 2012 4:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Few Chats Not to be nasty, but realistically the Chat volume probably mimics the level of activity in the Access world. Not much happening these days. I'm working now, but that will be ending in a few weeks.... with nothing lined up on the horizon. -- 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 Feb 12 16:41:49 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Feb 2012 08:41:49 +1000 Subject: [AccessD] Uncertainty Data In-Reply-To: <4F4982AFD7D6498180E53B89B7C4130F@64Bit> References: , <4F4982AFD7D6498180E53B89B7C4130F@64Bit> Message-ID: <4F38402D.6411.22B9C0A6@stuart.lexacorp.com.pg> How many thousands? Small enough to pull the data into an array in memory? If so, I 'd pull it into one. Effectively, you will have a one way linked list. Then you can use an accumulator for each code and a recursive tree walking algorithm. It shouldn't take long to knock up the necessary code. -- Stuart On 12 Feb 2012 at 9:08, Thomas Ewald wrote: > As I said, this is an easy example. I have 8 uncertainty codes, several > vehicles (corresponding to Part 1 in this example; in other words, several > starting points) about 15 levels and thousands of parts. What would be the > best way to traverse the tree, getting only the non-R data for a vehicle? > From stuart at lexacorp.com.pg Sun Feb 12 21:33:17 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Feb 2012 13:33:17 +1000 Subject: [AccessD] Uncertainty Data In-Reply-To: <4F4982AFD7D6498180E53B89B7C4130F@64Bit> References: , <4F4982AFD7D6498180E53B89B7C4130F@64Bit> Message-ID: <4F38847D.6044.1D57EF@stuart.lexacorp.com.pg> HI Thomas, I've just come back and looked at this again. One point struck me - would it be possible to change your table design to: HierID PartID NHA Qty 1 2 1 1 2 3 1 1 3 4 2 1 4 5 2 2 6 5 3 1 7 6 3 1 -- Stuart On 12 Feb 2012 at 9:08, Thomas Ewald wrote: > My database has two main tables (and zillions of others): tblParts stores > the data for every part and assembly, and tblHierarchy stores the structure > of assemblies. I'll give a simplified structure for each table, listing only > what's germane to the problem at hand: > > tblParts > > PartID long (PK) > Weight double (lbs) > UncertCode text > > tblHierarchy > > HierID long (PK) > PartID long (FK) > NHA long (FK) > > NHA = Next Higher Assembly. If parts 2 and 3 are components of assembly 1, > then all three would be listed in tblParts, and tblHierarchy would list 2 > and 3 as PartIDs, each having 1 as its NHA (as in the example below). > > UncertCode lists the code that identifies the level of certainty we > (officially) have in the record's weight. For the purpose of this > discussion, we'll say there are A, E, and R (Actual, Estimate and Roll-up, > respectively). If tblParts shows an R, then the Weight will not be native to > that record, but will be a simple sum (roll-up) of its components' weights. > > What I need is to know what percentage of the total weight is represented by > each UncertCode. Since an "R" just shows data from components, I don't want > its data; OTOH, I do want its components' data (assuming they aren't > roll-ups themselves). > > Let see a simple example. > > tblParts: > > PartID Weight UncertCode > 1 10 R > 2 6 R > 3 4 A > 4 4 E > 5 1 E > 6 3 A > > > tblHierarchy: > > HierID PartID NHA > 1 2 1 > 2 3 1 > 3 4 2 > 4 5 2 > 5 5 2 > 6 5 3 > 7 6 3 > > > Part 1 is the main assembly, and I'm looking for its data; I need the weight > represented by A and E codes. When traversing down the tree, R will just > mean "keep going", while A and E mean "stop here and record the data, then > go back up to the next limb on the tree". Starting at part 1 (in > tblHierarchy) as the NHA, we see it has two parts, 2 and 3. Part 2 is an R > (in tblParts), so we need to go on. We see that parts 4 and 5 are in 2; > they are both E, so we can stop there. Going back to part 1, we now take > part 3. Since it's an A, we can stop there (even if its components' weights > did not add up to its given weight, we would not care). So, in this case, we > have > > A: Part 3 (4 lbs) > E: Part 4 (4 lbs) and 2 of Part 5 (2 x 1 lbs) > > Total weight is 10 lbs, so we find that A represents 4 lbs, or 40%, and E > represents 6 lbs or 60%. > > As I said, this is an easy example. I have 8 uncertainty codes, several > vehicles (corresponding to Part 1 in this example; in other words, several > starting points) about 15 levels and thousands of parts. What would be the > best way to traverse the tree, getting only the non-R data for a vehicle? > > Your help would be very much appreciated. > > Tom Ewald > Detroit Area > > -- > 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 Feb 13 12:48:44 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Feb 2012 12:48:44 -0600 Subject: [AccessD] Query not working as expected. Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> I have the following query. The table tbl Injection Profiles to Run has 142 records. The query is only returning 40 records. If I remove the criteria all 142 records are returned. Can I not use a criteria this way? Here is the SQL. Thanks. SELECT [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date], Min(Switches.Switch_Date) AS MinOfSwitch_Date FROM Switches RIGHT JOIN [tbl Injection Profiles to Run] ON Switches.Well = [tbl Injection Profiles to Run].WellNumber GROUP BY [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date] HAVING (((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)); 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 Mon Feb 13 12:56:13 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 13 Feb 2012 10:56:13 -0800 Subject: [AccessD] Query not working as expected. In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> Message-ID: Are there only 40 records which satisfy the criteria? Sometime when I have a problem with summation queries I unclick the summation and run it to see what records are actually passing my criteria tests and are being included in the query. HTH Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, February 13, 2012 10:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query not working as expected. I have the following query. The table tbl Injection Profiles to Run has 142 records. The query is only returning 40 records. If I remove the criteria all 142 records are returned. Can I not use a criteria this way? Here is the SQL. Thanks. SELECT [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date], Min(Switches.Switch_Date) AS MinOfSwitch_Date FROM Switches RIGHT JOIN [tbl Injection Profiles to Run] ON Switches.Well = [tbl Injection Profiles to Run].WellNumber GROUP BY [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date] HAVING (((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)); 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 ssharkins at gmail.com Mon Feb 13 13:07:30 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Feb 2012 14:07:30 -0500 Subject: [AccessD] Query not working as expected. References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> Message-ID: HAVING is a funny one too -- don't know that this is an issue here, but worth mentioning. It does appear that you're using it correctly, against a group, so probably doesn't add much to your discovery process. -- Susan H. 11: The difference between WHERE and HAVING The WHERE and HAVING clauses perform similar functions but they aren't interchangeable. WHERE limits the data returned by the SELECT clause; therefore, a GROUP BY is inconsequential. The engine compares data and eliminates records that don't satisfy the WHERE clause before it groups the records. On the other hand, the HAVING clause eliminates data that doesn't satisfy the grouping criteria. If you have trouble remembering which clause to use, remember that the WHERE clause is positioned before the GROUP BY clause and the engine applies the WHERE clause beforegrouping the records. Are there only 40 records which satisfy the criteria? Sometime when I have a problem with summation queries I unclick the summation and run it to see what records are actually passing my criteria tests and are being included in the query. I have the following query. The table tbl Injection Profiles to Run has 142 records. The query is only returning 40 records. If I remove the criteria all 142 records are returned. Can I not use a criteria this way? Here is the SQL. Thanks. SELECT [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date], Min(Switches.Switch_Date) AS MinOfSwitch_Date FROM Switches RIGHT JOIN [tbl Injection Profiles to Run] ON Switches.Well = [tbl Injection Profiles to Run].WellNumber GROUP BY [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date] HAVING (((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)); 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 davidmcafee at gmail.com Mon Feb 13 13:11:19 2012 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 13 Feb 2012 11:11:19 -0800 Subject: [AccessD] Query not working as expected. In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> Message-ID: Chester, try this: SELECT A.WellNumber, A.[Test Date], Min(B.Switch_Date) AS MinOfSwitch_Date FROM [tbl Injection Profiles to Run] AS A LEFT JOIN Switches AS B ON B.Well = A.WellNumber GROUP BY A.WellNumber, A.[Test Date] HAVING (Min(B.Switch_Date)>(A.[Test Date]+365)) or this: SELECT A.WellNumber, A.[Test Date], Min(B.Switch_Date) AS MinOfSwitch_Date FROM [tbl Injection Profiles to Run] AS A LEFT JOIN Switches AS B ON B.Well = A.WellNumber AND B.Switch_Date>(A.[Test Date]+365) GROUP BY A.WellNumber, A.[Test Date] You might have to select Well number and Min(SwitchDate) in the 2nd select above, then join that as a subquery back to tbl A to get the test date. On Mon, Feb 13, 2012 at 10:56 AM, Rocky Smolin wrote: > Are there only 40 records which satisfy the criteria? > > Sometime when I have a problem with summation queries I unclick the > summation and run it to see what records are actually passing my criteria > tests and are being included in the query. > > HTH > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, February 13, 2012 10:49 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not working as expected. > > I have the following query. The table tbl Injection Profiles to Run has 142 > records. The query is only returning 40 records. If I remove the criteria > all 142 records are returned. Can I not use a criteria this way? Here is > the > SQL. Thanks. > > SELECT [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles > to Run].[Test Date], > Min(Switches.Switch_Date) AS MinOfSwitch_Date FROM Switches RIGHT JOIN [tbl > Injection Profiles to Run] ON Switches.Well = [tbl Injection Profiles to > Run].WellNumber GROUP BY [tbl Injection Profiles to Run].WellNumber, [tbl > Injection Profiles to Run].[Test Date] HAVING > (((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test > Date]+365)); > > 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 Mon Feb 13 13:21:03 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Feb 2012 13:21:03 -0600 Subject: [AccessD] Query not working as expected. In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD4D@houex1.kindermorgan.com> Yes there are only 40 records that meet the criteria. I was thinking the RIGHT JOIN would force all 142 records to be returned. If I am understanding correctly the criteria supersedes the LEFT JOIN. Basically I was wanting to return all 142 records and have a switch date if one existed and null if it did not. Seems like a project for sub query or just divide it into several queries. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, February 13, 2012 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query not working as expected. Are there only 40 records which satisfy the criteria? Sometime when I have a problem with summation queries I unclick the summation and run it to see what records are actually passing my criteria tests and are being included in the query. HTH Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, February 13, 2012 10:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query not working as expected. I have the following query. The table tbl Injection Profiles to Run has 142 records. The query is only returning 40 records. If I remove the criteria all 142 records are returned. Can I not use a criteria this way? Here is the SQL. Thanks. SELECT [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date], Min(Switches.Switch_Date) AS MinOfSwitch_Date FROM Switches RIGHT JOIN [tbl Injection Profiles to Run] ON Switches.Well = [tbl Injection Profiles to Run].WellNumber GROUP BY [tbl Injection Profiles to Run].WellNumber, [tbl Injection Profiles to Run].[Test Date] HAVING (((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)); 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 marksimms at verizon.net Mon Feb 13 13:23:15 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 13 Feb 2012 14:23:15 -0500 Subject: [AccessD] Query not working as expected. In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com> Message-ID: <004601ccea84$f01ce570$d056b050$@net> Oh, if only to have Access retain the formatting in SQL view ! I mean what...that's probably 10 lines of code somewhere ? Pretty Print is my savior for this big gaffah. > Chester, try this: > > SELECT > A.WellNumber, > A.[Test Date], > Min(B.Switch_Date) AS MinOfSwitch_Date > FROM [tbl Injection Profiles to Run] AS A > LEFT JOIN Switches AS B > ON B.Well = A.WellNumber > GROUP BY > A.WellNumber, > A.[Test Date] > HAVING > (Min(B.Switch_Date)>(A.[Test Date]+365)) From BradM at blackforestltd.com Mon Feb 13 13:52:48 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 13 Feb 2012 13:52:48 -0600 Subject: [AccessD] Access 2007 - Business Dashboards References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav><002101cce8e3$9f325d40$dd9717c0$@net> <56653D383CB80341995245C537A9E7B5638BC9@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: All, We have an existing Access 2007 application which provides a number of key reports. Recently there has been some discussion regarding Business Dashboards. All of the data for the Dashboards would be from the same data source as the existing reports in the Access application. It would be best if the Dashboards were integrated into the existing Access Reporting Application if possible. I believe that we can build most of the basic Dashboard components with Access and Excel using Windows Automation (graphs, simple gauges, etc.). However, there may be requests for some things that may be difficult to build with Access/Excel. For example, we might want a map of the U.S. and Canada to show sales data by region (group of States or Provinces). This would involve changing the color of the States or Provinces depending on underlying data. I am curious how others may have built Dashboards either with Access and/or Excel or with other software products that hopefully integrate with Access/Excel. Are there Dashboard products available that interface nicely with Access and/or Excel? Thanks, Brad From stuart at lexacorp.com.pg Mon Feb 13 15:27:52 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Feb 2012 07:27:52 +1000 Subject: [AccessD] Access 2007 - Business Dashboards In-Reply-To: References: <984189EC0D224DF1984767F291F6674E@TonySeptav>, Message-ID: <4F398058.22030.3F52B58@stuart.lexacorp.com.pg> As a thought, anything you can do with a web page can be embedded in a Browser control. On 13 Feb 2012 at 13:52, Brad Marks wrote: > All, > > We have an existing Access 2007 application which provides a number of > key reports. Recently there has been some discussion regarding Business > Dashboards. > > All of the data for the Dashboards would be from the same data source as > the existing reports in the Access application. > > It would be best if the Dashboards were integrated into the existing > Access Reporting Application if possible. > > I believe that we can build most of the basic Dashboard components with > Access and Excel using Windows Automation (graphs, simple gauges, etc.). > > However, there may be requests for some things that may be difficult to > build with Access/Excel. > > For example, we might want a map of the U.S. and Canada to show sales > data by region (group of States or Provinces). This would involve > changing the color of the States or Provinces depending on underlying > data. > > I am curious how others may have built Dashboards either with Access > and/or Excel or with other software products that hopefully integrate > with Access/Excel. > > Are there Dashboard products available that interface nicely with Access > and/or Excel? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Feb 13 19:34:18 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 13 Feb 2012 20:34:18 -0500 Subject: [AccessD] Access 2007 - Business Dashboards In-Reply-To: References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav><002101cce8e3$9f325d40$dd9717c0$@net> <56653D383CB80341995245C537A9E7B5638BC9@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <009401cceab8$c58101f0$508305d0$@net> Tableau is awesome for geographic mapping and graphical display by area. For simple gauges, you can role-your-own with Shapes in Excel... or purchase ActiveX components that provide the "gas guage" effect. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Monday, February 13, 2012 2:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 - Business Dashboards > > All, > > We have an existing Access 2007 application which provides a number of > key reports. Recently there has been some discussion regarding > Business > Dashboards. > > All of the data for the Dashboards would be from the same data source > as > the existing reports in the Access application. > > It would be best if the Dashboards were integrated into the existing > Access Reporting Application if possible. > > I believe that we can build most of the basic Dashboard components with > Access and Excel using Windows Automation (graphs, simple gauges, > etc.). > > However, there may be requests for some things that may be difficult to > build with Access/Excel. > > For example, we might want a map of the U.S. and Canada to show sales > data by region (group of States or Provinces). This would involve > changing the color of the States or Provinces depending on underlying > data. > > I am curious how others may have built Dashboards either with Access > and/or Excel or with other software products that hopefully integrate > with Access/Excel. > > Are there Dashboard products available that interface nicely with > Access > and/or Excel? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jeff.developer at gmail.com Tue Feb 14 10:44:39 2012 From: jeff.developer at gmail.com (Jeff B) Date: Tue, 14 Feb 2012 10:44:39 -0600 Subject: [AccessD] [Cross Posted to AccessD, SQL, Tech, and VB Lists] Pervasive SQL Message-ID: <004501cceb37$f32ccd30$d9866790$@gmail.com> Morning all! Sorry for the major cross post, but I am desperately looking for someone that is extremely knowledgeable in Pervasive SQL or Timberline Office and has a working copy of Pervasive SQL Version 8. We are trying to phase out Timberline, but our accounting data is still stored in PSQL. I need to find someone that can take a copy of our data files and export to either excel or SQL Server (preferably SQL Server 2008). This is just a one-time thing (I hope) and would be doing it myself, except our Timberline install has failed and we are still trying to rebuild it. Anyone willing to try and help please send an email to: jbarrows at alertservice.com. Please include an hourly cost/price so I can give the Boss some idea of what it will cost. Thanks in advance! Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From rusty.hammond at cpiqpc.com Tue Feb 14 10:54:09 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Tue, 14 Feb 2012 10:54:09 -0600 Subject: [AccessD] [Cross Posted to AccessD, SQL, Tech, and VB Lists] Pervasive SQL In-Reply-To: <004501cceb37$f32ccd30$d9866790$@gmail.com> References: <004501cceb37$f32ccd30$d9866790$@gmail.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A679@CPIEMAIL-EVS1.CPIQPC.NET> Jeff, It's been a long time since I've worked with Pervasive data but when I did, I used the ActiveX control that gets installed with Pervasive. Even though your Timberline install failed, you might check to see if the Pervasive ActiveX control is available. Just add it to a form in Access (or VB etc...) then you can use that to get to your data. I'll see if I can dig up my old code that talked to the control - but I'm pretty sure it's been deleted. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff B Sent: Tuesday, February 14, 2012 10:45 AM To: AccessD; Dba-SQL; Dba-Tech; dba-VB Subject: [AccessD] [Cross Posted to AccessD, SQL, Tech,and VB Lists] Pervasive SQL Morning all! Sorry for the major cross post, but I am desperately looking for someone that is extremely knowledgeable in Pervasive SQL or Timberline Office and has a working copy of Pervasive SQL Version 8. We are trying to phase out Timberline, but our accounting data is still stored in PSQL. I need to find someone that can take a copy of our data files and export to either excel or SQL Server (preferably SQL Server 2008). This is just a one-time thing (I hope) and would be doing it myself, except our Timberline install has failed and we are still trying to rebuild it. Anyone willing to try and help please send an email to: jbarrows at alertservice.com. Please include an hourly cost/price so I can give the Boss some idea of what it will cost. Thanks in advance! Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From markamatte at hotmail.com Tue Feb 14 12:30:43 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Feb 2012 18:30:43 +0000 Subject: [AccessD] Query not working as expected. In-Reply-To: <004601ccea84$f01ce570$d056b050$@net> References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com>, , , <004601ccea84$f01ce570$d056b050$@net> Message-ID: >From what you described...it sounds like you want your HAVING criteria and if it is null: Move your criteria from HAVING to WHERE and add an or: WHERE ((((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)) OR Min(Switches.Switch_Date) is null) ; I can't rememeber but you may have to also modify the select with a CASE (IIF in Access) statement: iif(isnull(Min(Switches.Switch_Date)) = true, NULL, Min(Switches.Switch_Date)) Just a guess... Mark A. Matte > From: marksimms at verizon.net > To: accessd at databaseadvisors.com > Date: Mon, 13 Feb 2012 14:23:15 -0500 > Subject: Re: [AccessD] Query not working as expected. > > Oh, if only to have Access retain the formatting in SQL view ! > I mean what...that's probably 10 lines of code somewhere ? > Pretty Print is my savior for this big gaffah. > > Chester, try this: > > > > SELECT > > A.WellNumber, > > A.[Test Date], > > Min(B.Switch_Date) AS MinOfSwitch_Date > > FROM [tbl Injection Profiles to Run] AS A > > LEFT JOIN Switches AS B > > ON B.Well = A.WellNumber > > GROUP BY > > A.WellNumber, > > A.[Test Date] > > HAVING > > (Min(B.Switch_Date)>(A.[Test Date]+365)) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Feb 14 12:49:48 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Feb 2012 12:49:48 -0600 Subject: [AccessD] Query not working as expected. In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DD36@houex1.kindermorgan.com>, , , <004601ccea84$f01ce570$d056b050$@net> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199C19DFC0@houex1.kindermorgan.com> Thank You! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, February 14, 2012 12:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query not working as expected. >From what you described...it sounds like you want your HAVING criteria and if it is null: Move your criteria from HAVING to WHERE and add an or: WHERE ((((Min(Switches.Switch_Date))>[tbl Injection Profiles to Run]![Test Date]+365)) OR Min(Switches.Switch_Date) is null) ; I can't rememeber but you may have to also modify the select with a CASE (IIF in Access) statement: iif(isnull(Min(Switches.Switch_Date)) = true, NULL, Min(Switches.Switch_Date)) Just a guess... Mark A. Matte > From: marksimms at verizon.net > To: accessd at databaseadvisors.com > Date: Mon, 13 Feb 2012 14:23:15 -0500 > Subject: Re: [AccessD] Query not working as expected. > > Oh, if only to have Access retain the formatting in SQL view ! > I mean what...that's probably 10 lines of code somewhere ? > Pretty Print is my savior for this big gaffah. > > Chester, try this: > > > > SELECT > > A.WellNumber, > > A.[Test Date], > > Min(B.Switch_Date) AS MinOfSwitch_Date > > FROM [tbl Injection Profiles to Run] AS A > > LEFT JOIN Switches AS B > > ON B.Well = A.WellNumber > > GROUP BY > > A.WellNumber, > > A.[Test Date] > > HAVING > > (Min(B.Switch_Date)>(A.[Test Date]+365)) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Feb 14 18:46:57 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 14 Feb 2012 18:46:57 -0600 Subject: [AccessD] Can an Access 2007 Macro pass Me.Name to a Function? References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav><002101cce8e3$9f325d40$dd9717c0$@net><56653D383CB80341995245C537A9E7B5638BC9@SINPRD0402MB099.apcprd04.prod.outlook.com> <009401cceab8$c58101f0$508305d0$@net> Message-ID: All, I have a small test Access 2007 application. It has one test Function . There is one small report that has one button. This button is tied to a Macro. I would like to use the Macro Action ?Runcode? to initiate this function. I would like to pass Me.Name to this function in order to pass the name of the Report that contains the button. Is there a way to do this? I have this working with VBA, but I am just curious if a person can do the same thing with a Macro Thanks, Brad From jwcolby at colbyconsulting.com Tue Feb 14 22:24:23 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 14 Feb 2012 23:24:23 -0500 Subject: [AccessD] Expense subreport Message-ID: <4F3B3377.7000404@colbyconsulting.com> I am adding an expense subreport to my invoice. When there is data (one or more records) in the subreport all is copacetic, however when there is no data, the subreport disappears entirely and the controls up on the main report which reference the controls in the subreport display #Error. Any suggestions as to how to handle this? Do I have to "fake" data for this case? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From accessd at shaw.ca Tue Feb 14 23:01:53 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Feb 2012 21:01:53 -0800 Subject: [AccessD] Expense subreport In-Reply-To: <4F3B3377.7000404@colbyconsulting.com> References: <4F3B3377.7000404@colbyconsulting.com> Message-ID: Hi John: Not sure whether it will work in this case but to counteracts nulls I have found, in some cases, adding a zero (+0) solves it. The other way would be through code like: on error; hide subform. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 14, 2012 8:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Expense subreport I am adding an expense subreport to my invoice. When there is data (one or more records) in the subreport all is copacetic, however when there is no data, the subreport disappears entirely and the controls up on the main report which reference the controls in the subreport display #Error. Any suggestions as to how to handle this? Do I have to "fake" data for this case? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Feb 15 04:35:04 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 15 Feb 2012 05:35:04 -0500 Subject: [AccessD] Expense subreport In-Reply-To: <4F3B3377.7000404@colbyconsulting.com> References: <4F3B3377.7000404@colbyconsulting.com> Message-ID: <5C4AD181C344492F98713353FC42F767@XPS> You can use the following: Function AvoidError(n As Variant, varReplaceWith As Variant) as Variant 10 On Error GoTo AvoidError_Error 20 AvoidError = Nz(n, varReplaceWith) AvoidError_Exit: 30 Exit Function AvoidError_Error: 40 AvoidError = varReplaceWith 50 Resume AvoidError_Exit End Function set your control source to: =AvoidError(Forms![myFormName]![mySubformControlName].Form![mysubformcontrol ],0) You can use this anytime you expect to have no records and possibly an error returned. There is one small rub; in later versions of Access, there is an optimization where in some cases, AvoidError will not be called. This is especially true if a domain function is used as part of the expression. If that happens, have one control like this: =Sum() And then create a second control that references the first: =AvoidError() Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 14, 2012 11:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Expense subreport I am adding an expense subreport to my invoice. When there is data (one or more records) in the subreport all is copacetic, however when there is no data, the subreport disappears entirely and the controls up on the main report which reference the controls in the subreport display #Error. Any suggestions as to how to handle this? Do I have to "fake" data for this case? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Feb 15 07:34:56 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 15 Feb 2012 07:34:56 -0600 Subject: [AccessD] Access 2007 - Business Dashboards References: <984189EC0D224DF1984767F291F6674E@TonySeptav><5F64969F20944A6FB178CDE1B82B3148@XPS><0D8B185C00C5469EA48BDB0EB3CC869D@TonySeptav><002101cce8e3$9f325d40$dd9717c0$@net><56653D383CB80341995245C537A9E7B5638BC9@SINPRD0402MB099.apcprd04.prod.outlook.com> <009401cceab8$c58101f0$508305d0$@net> Message-ID: Mark and Stuart, Thanks for the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Mark Simms Sent: Mon 2/13/2012 7:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 - Business Dashboards Tableau is awesome for geographic mapping and graphical display by area. For simple gauges, you can role-your-own with Shapes in Excel... or purchase ActiveX components that provide the "gas guage" effect. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Monday, February 13, 2012 2:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 - Business Dashboards > > All, > > We have an existing Access 2007 application which provides a number of > key reports. Recently there has been some discussion regarding > Business > Dashboards. > > All of the data for the Dashboards would be from the same data source > as > the existing reports in the Access application. > > It would be best if the Dashboards were integrated into the existing > Access Reporting Application if possible. > > I believe that we can build most of the basic Dashboard components with > Access and Excel using Windows Automation (graphs, simple gauges, > etc.). > > However, there may be requests for some things that may be difficult to > build with Access/Excel. > > For example, we might want a map of the U.S. and Canada to show sales > data by region (group of States or Provinces). This would involve > changing the color of the States or Provinces depending on underlying > data. > > I am curious how others may have built Dashboards either with Access > and/or Excel or with other software products that hopefully integrate > with Access/Excel. > > Are there Dashboard products available that interface nicely with > Access > and/or Excel? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fuller.artful at gmail.com Wed Feb 15 07:46:28 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 15 Feb 2012 08:46:28 -0500 Subject: [AccessD] [Cross Posted to AccessD, SQL, Tech, and VB Lists] Pervasive SQL In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A679@CPIEMAIL-EVS1.CPIQPC.NET> References: <004501cceb37$f32ccd30$d9866790$@gmail.com> <49A286ABF515E94A8505CD14DEB721701744A679@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: You can get an ODBC driver for Pervasive here: http://synametrics.com/SynametricsWebApp/OdbcDrivers.jsp. That may be all you need to get at your PSQL data. From there, you can do it in dozens of ways: a simple Access MDB app containing a form per PSQL table, an SSIS package for SQL Server, etc. Or was your intention to find someone to do it for you so you're free for other tasks? -- Arthur Cell: 647.710.1314 I can resist everything except temptation. -- Oscar Wilde From davidmcafee at gmail.com Thu Feb 16 13:24:42 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 16 Feb 2012 11:24:42 -0800 Subject: [AccessD] How to detect if Hourglass is true Message-ID: If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David From davidmcafee at gmail.com Thu Feb 16 13:41:52 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 16 Feb 2012 11:41:52 -0800 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: References: Message-ID: I found it. If Screen.MousePointer <> 11 Then Screen.MousePointer = 1 'Standard Cursor Screen.MousePointer = 3 ' I Beam Screen.MousePointer = 7 'Double Arrow Vertical Screen.MousePointer = 9 'Double Arrow Horizontal Screen.MousePointer = 11 'Hour Glass On Thu, Feb 16, 2012 at 11:24 AM, David McAfee wrote: > If have a new user that loves to double/triple click buttons. > > One procedure takes a few seconds to run. > > I set the focus to the previous text box and display an hourglass as such: > > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > > > I'd like to wrap an IF statement around it such as: > > If Hourglass =False > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > End if > > Does anyone know of the correct call? > > I guess I can set a hidden field to 1 and check that if needed, but I'd > like to see if I can detect the hourglass first. > > I've also thought of sending signal out the USB port that will active a > solenoid that would > send a fly swatter towards the users face, slapping them, but I might get > in trouble for that one. > > Any thoughts? > > Thanks much, > David > From rockysmolin at bchacc.com Thu Feb 16 14:10:29 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 16 Feb 2012 12:10:29 -0800 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: References: Message-ID: How about turning on KeyPreview, trapping any keystroke in the KeyDown event and turning it off after your code finishes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 11:42 AM To: Access Developers discussion and problem solving; ACCESS-L at peach.ease.lsoft.com Subject: Re: [AccessD] How to detect if Hourglass is true I found it. If Screen.MousePointer <> 11 Then Screen.MousePointer = 1 'Standard Cursor Screen.MousePointer = 3 ' I Beam Screen.MousePointer = 7 'Double Arrow Vertical Screen.MousePointer = 9 'Double Arrow Horizontal Screen.MousePointer = 11 'Hour Glass On Thu, Feb 16, 2012 at 11:24 AM, David McAfee wrote: > If have a new user that loves to double/triple click buttons. > > One procedure takes a few seconds to run. > > I set the focus to the previous text box and display an hourglass as such: > > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > > > I'd like to wrap an IF statement around it such as: > > If Hourglass =False > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > End if > > Does anyone know of the correct call? > > I guess I can set a hidden field to 1 and check that if needed, but > I'd like to see if I can detect the hourglass first. > > I've also thought of sending signal out the USB port that will active > a solenoid that would send a fly swatter towards the users face, > slapping them, but I might get in trouble for that one. > > Any thoughts? > > Thanks much, > David > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bruce.kovacs at urs.com Fri Feb 17 08:38:12 2012 From: bruce.kovacs at urs.com (Kovacs, Bruce) Date: Fri, 17 Feb 2012 14:38:12 +0000 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: References: Message-ID: I use a message box just before my Exit Routine to stop multiple hits. MsgBox ("Done Printing !!!") 'Used to stop multiple hits on Print command button Bruce Kovacs -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, February 16, 2012 03:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to detect if Hourglass is true How about turning on KeyPreview, trapping any keystroke in the KeyDown event and turning it off after your code finishes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 11:42 AM To: Access Developers discussion and problem solving; ACCESS-L at peach.ease.lsoft.com Subject: Re: [AccessD] How to detect if Hourglass is true I found it. If Screen.MousePointer <> 11 Then Screen.MousePointer = 1 'Standard Cursor Screen.MousePointer = 3 ' I Beam Screen.MousePointer = 7 'Double Arrow Vertical Screen.MousePointer = 9 'Double Arrow Horizontal Screen.MousePointer = 11 'Hour Glass On Thu, Feb 16, 2012 at 11:24 AM, David McAfee wrote: > If have a new user that loves to double/triple click buttons. > > One procedure takes a few seconds to run. > > I set the focus to the previous text box and display an hourglass as such: > > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > > > I'd like to wrap an IF statement around it such as: > > If Hourglass =False > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > End if > > Does anyone know of the correct call? > > I guess I can set a hidden field to 1 and check that if needed, but > I'd like to see if I can detect the hourglass first. > > I've also thought of sending signal out the USB port that will active > a solenoid that would send a fly swatter towards the users face, > slapping them, but I might get in trouble for that one. > > Any thoughts? > > Thanks much, > David > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 e-mail and any attachments contain URS Corporation confidential information that may be proprietary or privileged. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. From Lambert.Heenan at chartisinsurance.com Fri Feb 17 09:02:03 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 17 Feb 2012 10:02:03 -0500 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: References: Message-ID: I just disable the button until the routine has run to completion. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kovacs, Bruce Sent: Friday, February 17, 2012 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true I use a message box just before my Exit Routine to stop multiple hits. MsgBox ("Done Printing !!!") 'Used to stop multiple hits on Print command button Bruce Kovacs -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, February 16, 2012 03:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to detect if Hourglass is true How about turning on KeyPreview, trapping any keystroke in the KeyDown event and turning it off after your code finishes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 11:42 AM To: Access Developers discussion and problem solving; ACCESS-L at peach.ease.lsoft.com Subject: Re: [AccessD] How to detect if Hourglass is true I found it. If Screen.MousePointer <> 11 Then Screen.MousePointer = 1 'Standard Cursor Screen.MousePointer = 3 ' I Beam Screen.MousePointer = 7 'Double Arrow Vertical Screen.MousePointer = 9 'Double Arrow Horizontal Screen.MousePointer = 11 'Hour Glass On Thu, Feb 16, 2012 at 11:24 AM, David McAfee wrote: > If have a new user that loves to double/triple click buttons. > > One procedure takes a few seconds to run. > > I set the focus to the previous text box and display an hourglass as such: > > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > > > I'd like to wrap an IF statement around it such as: > > If Hourglass =False > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > End if > > Does anyone know of the correct call? > > I guess I can set a hidden field to 1 and check that if needed, but > I'd like to see if I can detect the hourglass first. > > I've also thought of sending signal out the USB port that will active > a solenoid that would send a fly swatter towards the users face, > slapping them, but I might get in trouble for that one. > > Any thoughts? > > Thanks much, > David > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 e-mail and any attachments contain URS Corporation confidential information that may be proprietary or privileged. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Feb 17 11:22:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 17 Feb 2012 12:22:00 -0500 Subject: [AccessD] text control Date formats with SQL Server Message-ID: <4F3E8CB8.30405@colbyconsulting.com> I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD format even though I have a mm/dd/yyyy as a format string. Any ideas why I am seeing this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Feb 17 11:29:23 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 17 Feb 2012 21:29:23 +0400 Subject: [AccessD] =?utf-8?q?text_control_Date_formats_with_SQL_Server?= In-Reply-To: <4F3E8CB8.30405@colbyconsulting.com> References: <4F3E8CB8.30405@colbyconsulting.com> Message-ID: Hi John -- Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! -- Shamil 17 ??????? 2012, 21:24 ?? jwcolby : > I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD > format even though I have a mm/dd/yyyy as a format string. > > Any ideas why I am seeing this? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Feb 17 11:29:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 17 Feb 2012 12:29:28 -0500 Subject: [AccessD] Testing SQL Server linked FEs Message-ID: <4F3E8E78.8000705@colbyconsulting.com> To this point I have always worked with MDB data stores. When I did testing where I needed to modify data (adds/ deletes / edits) I would copy the BE files to a local directory and then map that local directory to the X: drive where all the links pointed to. Voila, "test mode". Obviously that doesn't work with links to SQL Server. I have seen code for modifying the link info of the tabledef, storing the server / database info in a local table in the FE. That seems like one solution. Is anyone doing something like this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From davidmcafee at gmail.com Fri Feb 17 11:38:30 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 17 Feb 2012 09:38:30 -0800 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: <4F3E8CB8.30405@colbyconsulting.com> Message-ID: I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. On Fri, Feb 17, 2012 at 9:29 AM, Salakhetdinov Shamil wrote: > Hi John -- > > Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! > > -- Shamil > > 17 ??????? 2012, 21:24 ?? jwcolby : > > I am binding a form to a sql server table. A date control is displaying > the date in YYYY-MM-DD > > format even though I have a mm/dd/yyyy as a format string. > > > > Any ideas why I am seeing this? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Feb 17 11:46:27 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Feb 2012 18:46:27 +0100 Subject: [AccessD] text control Date formats with SQL Server Message-ID: Hi John Sounds like are linking to a field of data type DateTime2 which Access doesn't understand, thus it is casted to a string. Change the field to data type DateTime. /gustav >>> jwcolby at colbyconsulting.com 17-02-2012 18:22:00 >>> I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD format even though I have a mm/dd/yyyy as a format string. Any ideas why I am seeing this? -- John W. Colby Colby Consulting From steve at goodhall.info Fri Feb 17 11:44:58 2012 From: steve at goodhall.info (Steve Goodhall) Date: Fri, 17 Feb 2012 12:44:58 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: <4F3E8CB8.30405@colbyconsulting.com> Message-ID: <874d9d8b-2077-46e1-9cc0-ee4c3413b12e@blur> I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. Steve Goodhall, MSCS, PMP -----Original message----- From: David McAfee To: Access Developers discussion and problem solving Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. On Fri, Feb 17, 2012 at 9:29 AM, Salakhetdinov Shamil wrote: > Hi John -- > > Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! > > -- Shamil > > 17 ??????? 2012, 21:24 ?? jwcolby : > > I am binding a form to a sql server table. A date control is displaying > the date in YYYY-MM-DD > > format even though I have a mm/dd/yyyy as a format string. > > > > Any ideas why I am seeing this? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 17 12:22:39 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Feb 2012 19:22:39 +0100 Subject: [AccessD] text control Date formats with SQL Server Message-ID: Hi Steve That is a nasty source of error because "mmm" is localized, thus this will fail for most non-English locales. The ISO format is the only format which will never fail, that is why it is the native format for most SQL engines including MySQL, SAP, and SQL Server (since 2008 I think). /gustav >>> steve at goodhall.info 17-02-2012 18:44:58 >>> I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. Steve Goodhall, MSCS, PMP -----Original message----- From: David McAfee To: Access Developers discussion and problem solving Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. From markamatte at hotmail.com Fri Feb 17 12:22:01 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Feb 2012 18:22:01 +0000 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: Message-ID: I move and receive a lot of date oriented data between/from SQL, MDB, XLS ,CSV and TXT... I like yyyymmdd or even yyyy-mm-dd because I can sort it as text if necessary and still get the desired result. Just my 2 cents... Mark M > Date: Fri, 17 Feb 2012 19:22:39 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] text control Date formats with SQL Server > > Hi Steve > > That is a nasty source of error because "mmm" is localized, thus this will fail for most non-English locales. > The ISO format is the only format which will never fail, that is why it is the native format for most SQL engines including MySQL, SAP, and SQL Server (since 2008 I think). > > /gustav > > > >>> steve at goodhall.info 17-02-2012 18:44:58 >>> > I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. > > Steve Goodhall, MSCS, PMP > > -----Original message----- > From: David McAfee > To: Access Developers discussion and problem solving > Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 > Subject: Re: [AccessD] text control Date formats with SQL Server > > I wish the whole world would adopt that standard. YYYMMDD is the best date > display IMO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 17 12:25:41 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 17 Feb 2012 12:25:41 -0600 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F3E8E78.8000705@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> Message-ID: <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> I have parallel systems: Production, Test, and Review. Test is just for me to do usual test stuff. Review is for users when they want to look at a change I've made so they are certain it works like they wanted it to. In SQL Server, prior to using either Test or Review, I make a backup and then restore that backup as DatabaseTEST and DatabaseREVIEW. Each different access app file has ODBC links which point to its respective database in SQL Server. Each system has its own Config.mdb file, which holds the path for the table links. If I'm done testing, I can copy the FE.mdb file from the Test folder to the Prod folder. Part of the startup code is to check to see if the table links in the FE.mdb match what's in the Config.mdb file. If not, then a procedure to redefine the .Connect property of the table links is run. I have this same setup for each customer on their server, which I can log onto via VPN/Remote Desktop. HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, February 17, 2012 11:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] Testing SQL Server linked FEs To this point I have always worked with MDB data stores. When I did testing where I needed to modify data (adds/ deletes / edits) I would copy the BE files to a local directory and then map that local directory to the X: drive where all the links pointed to. Voila, "test mode". Obviously that doesn't work with links to SQL Server. I have seen code for modifying the link info of the tabledef, storing the server / database info in a local table in the FE. That seems like one solution. Is anyone doing something like this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Fri Feb 17 12:27:32 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 17 Feb 2012 10:27:32 -0800 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: Message-ID: Yes. I often name reports printed as PDF or exported as Excel in the format. It's so nice to have them sorted correctly in Windows Explorer. On Fri, Feb 17, 2012 at 10:22 AM, Mark A Matte wrote: > > I move and receive a lot of date oriented data between/from SQL, MDB, XLS > ,CSV and TXT... > > I like yyyymmdd or even yyyy-mm-dd because I can sort it as text if > necessary and still get the desired result. > > Just my 2 cents... > > Mark M > > > > Date: Fri, 17 Feb 2012 19:22:39 +0100 > > From: Gustav at cactus.dk > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] text control Date formats with SQL Server > > > > Hi Steve > > > > That is a nasty source of error because "mmm" is localized, thus this > will fail for most non-English locales. > > The ISO format is the only format which will never fail, that is why it > is the native format for most SQL engines including MySQL, SAP, and SQL > Server (since 2008 I think). > > > > /gustav > > > > > > >>> steve at goodhall.info 17-02-2012 18:44:58 >>> > > I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, > "17-Feb-12") which are unambiguous for both US and international readers. > > > > Steve Goodhall, MSCS, PMP > > > > -----Original message----- > > From: David McAfee > > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > > Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 > > Subject: Re: [AccessD] text control Date formats with SQL Server > > > > I wish the whole world would adopt that standard. YYYMMDD is the best > date > > display IMO. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Feb 17 12:47:22 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 17 Feb 2012 13:47:22 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: Message-ID: My $2.00 (accounting for inflation)... the only thing that makes sense is YYYYMMDD; an automatic hierarchical format. DDMMYYYY is counter-intuitive, even if a human can read it correctly. A. On Fri, Feb 17, 2012 at 1:27 PM, David McAfee wrote: > Yes. I often name reports printed as PDF or exported as Excel in the > format. > > It's so nice to have them sorted correctly in Windows Explorer. > > From jimdettman at verizon.net Fri Feb 17 12:49:56 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 17 Feb 2012 13:49:56 -0500 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F3E8E78.8000705@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> Message-ID: <> Yup. Have done it two different ways: 1. With DSN's 2. Without DSN's With either, it's really no different then linking to a new JET DB; you're just modifying the tabledefs connect string by either swapping a server name or a DSN name. What I have is a table that has the DS for each company and just use different company ID's when I need do to testing or a play area. Only wrinkle is that I have some tables in a common DB that are shared across companies (ie. country or currency tables), so I have a flag if the table entry should be switch or not on a company switched. Code below is swapping a DSN. Jim. Function ReattachODBCTables(strCompID As String) As Boolean ' Using usys_tblODBCDataSources, refresh ODBC connect string ' strings for all ODBC connections. ' If a Company ID is passed in, only refresh those tables ' indicated to be switched. ' If one is not passed in, refresh all links. Dim strTblName As String Dim strConn As String Dim db As DAO.Database Dim rs As DAO.Recordset Dim tbl As DAO.TableDef Dim pb As New Form_frmProgBar Dim strDSN As String Dim intTableCount As Integer Dim intNumberOfTables As Integer Dim intProcess As Integer Dim varRet As Variant 10 On Error Resume Next 20 Set db = CurrentDb 30 Set rs = db.OpenRecordset("usys_tblODBCDataSources") 40 intNumberOfTables = rs.RecordCount 50 intTableCount = 0 60 pb.SetMessage "Reattaching ODBC tables" 70 pb.SetBarVisible True 80 With rs 90 While Not .EOF 100 If strCompID <> "" Then 110 If rs("CompanySwitch") = True Then 120 intProcess = True 130 strDSN = strCompID 140 Else 150 intProcess = False 160 End If 170 Else 180 intProcess = True 190 strDSN = rs("DSN") 200 End If 210 If intProcess = True Then ' --------------------------------------------- ' Link table ' --------------------------------------------- 220 strTblName = rs("LocalTableName") 230 strConn = "ODBC;" & _ "DSN=" & strDSN & ";" & _ "APP=MicrosoftR Access" 240 If (DoesTblExist(rs("LocalTableName")) = False) Then 250 Err = 0 260 Set tbl = db.CreateTableDef(rs("LocalTableName"), _ rs("ODBCTableName"), _ strConn) 270 db.TableDefs.Append tbl 280 Else 290 Err = 0 300 Set tbl = db.TableDefs(rs("LocalTableName")) 310 tbl.Connect = strConn 320 tbl.RefreshLink 330 End If 340 If Err <> 0 Then 350 MsgBox "Error reattaching ODBC table " & strTblName, 16, "Can't run the " & AppName() 360 GoTo ReattachODBCTables_Err 370 End If 380 End If 390 intTableCount = intTableCount + 1 400 pb.SetBarPercent (intTableCount / intNumberOfTables) * 100 410 rs.MoveNext 420 Wend 430 End With 440 ReattachODBCTables = True ReattachODBCTables_End: 450 On Error Resume Next 460 Set pb = Nothing 470 Set tbl = Nothing 480 rs.Close 490 Set rs = Nothing 500 Set db = Nothing 510 Exit Function ReattachODBCTables_Err: 520 ReattachODBCTables = False 530 GoTo ReattachODBCTables_End End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, February 17, 2012 12:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Testing SQL Server linked FEs To this point I have always worked with MDB data stores. When I did testing where I needed to modify data (adds/ deletes / edits) I would copy the BE files to a local directory and then map that local directory to the X: drive where all the links pointed to. Voila, "test mode". Obviously that doesn't work with links to SQL Server. I have seen code for modifying the link info of the tabledef, storing the server / database info in a local table in the FE. That seems like one solution. Is anyone doing something like this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Feb 17 12:53:02 2012 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Feb 2012 18:53:02 +0000 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: , , , Message-ID: Yes...dealing with humans would make it easier. Mark. > Date: Fri, 17 Feb 2012 13:47:22 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] text control Date formats with SQL Server > > My $2.00 (accounting for inflation)... the only thing that makes sense is > YYYYMMDD; an automatic hierarchical format. DDMMYYYY is counter-intuitive, > even if a human can read it correctly. > > A. > > On Fri, Feb 17, 2012 at 1:27 PM, David McAfee wrote: > > > Yes. I often name reports printed as PDF or exported as Excel in the > > format. > > > > It's so nice to have them sorted correctly in Windows Explorer. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Benson at ge.com Fri Feb 17 13:10:26 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 17 Feb 2012 19:10:26 +0000 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: References: Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Feb 17 13:17:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 17 Feb 2012 14:17:48 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: <4F3E8CB8.30405@colbyconsulting.com> Message-ID: <4F3EA7DC.10409@colbyconsulting.com> It seems that it is a varchar field instead of date. I am not sure why I did that. I am also not sure why SQL Server stores the date (it is a date coming back from a date picker) in YYYY-MM-DD format into the varchar() field. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/17/2012 12:29 PM, Salakhetdinov Shamil wrote: > Hi John -- > > Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! > > -- Shamil > > 17 ??????? 2012, 21:24 ?? jwcolby: >> I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD >> format even though I have a mm/dd/yyyy as a format string. >> >> Any ideas why I am seeing this? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From Lambert.Heenan at chartisinsurance.com Fri Feb 17 13:21:30 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 17 Feb 2012 14:21:30 -0500 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: Sounds like you need to shorten the time interval that is used to detect double clicks. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Fri Feb 17 13:23:36 2012 From: steve at goodhall.info (Steve Goodhall) Date: Fri, 17 Feb 2012 14:23:36 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: Message-ID: For internal storage I agree completely, but the original post referred to display. I did a quick check on localization in Excel and it seems to work if the underlying data is a date. I don't have the facility to try non-European languages on the client system or to try an Access application. If I have time I will try it over the weekend. Steve Goodhall, MSCS, PMP -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Fri, Feb 17, 2012 18:17:24 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server Hi Steve That is a nasty source of error because "mmm" is localized, thus this will fail for most non-English locales. The ISO format is the only format which will never fail, that is why it is the native format for most SQL engines including MySQL, SAP, and SQL Server (since 2008 I think). /gustav >>> steve at goodhall.info 17-02-2012 18:44:58 >>> I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. Steve Goodhall, MSCS, PMP -----Original message----- From: David McAfee To: Access Developers discussion and problem solving Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Fri Feb 17 13:42:15 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 17 Feb 2012 19:42:15 +0000 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> Nope, it is a bug. Even when I test in control panel Mouse setting, single-clicks of the test object they have there reacts like a double-click. I filed a complaint with Logitech, they took me through some BS dance with my click buttons and battery de-installed. Then they said I would have to call back another time to get more options. I will. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, February 17, 2012 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true Sounds like you need to shorten the time interval that is used to detect double clicks. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 chartisinsurance.com Fri Feb 17 15:03:04 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 17 Feb 2012 16:03:04 -0500 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: ;-( I gave up on Logitech years ago. I was turned off by their wireless mouse that needed a new battery every couple of months and it was some esoteric thing that cost about $10, which was quite a lot of dosh ten or fifteen years ago. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 2:42 PM To: Access Developers discussion and problem solving Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Nope, it is a bug. Even when I test in control panel Mouse setting, single-clicks of the test object they have there reacts like a double-click. I filed a complaint with Logitech, they took me through some BS dance with my click buttons and battery de-installed. Then they said I would have to call back another time to get more options. I will. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, February 17, 2012 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true Sounds like you need to shorten the time interval that is used to detect double clicks. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 17 15:03:28 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 17 Feb 2012 15:03:28 -0600 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> I've done this when needed: '---------------- Private Sub butAction_Click() On Error GoTo EH Static blnOpening As Boolean If blnOpening = True Then Exit Sub blnOpening = True '-- Code here blnOpening = False Exit Sub EH: blnOpening = False End Sub '----------------- Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 1:42 PM To: Access Developers discussion and problem solving Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Nope, it is a bug. Even when I test in control panel Mouse setting, single-clicks of the test object they have there reacts like a double-click. I filed a complaint with Logitech, they took me through some BS dance with my click buttons and battery de-installed. Then they said I would have to call back another time to get more options. I will. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, February 17, 2012 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true Sounds like you need to shorten the time interval that is used to detect double clicks. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 17 15:04:24 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 17 Feb 2012 15:04:24 -0600 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <007a01ccedb7$bb1fe710$315fb530$@comcast.net> I've done this when needed: '---------------- Private Sub butAction_Click() On Error GoTo EH Static blnOpening As Boolean If blnOpening = True Then Exit Sub blnOpening = True '-- Code here blnOpening = False Exit Sub EH: blnOpening = False End Sub '---------------- HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to detect if Hourglass is true My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, February 16, 2012 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to detect if Hourglass is true If have a new user that loves to double/triple click buttons. One procedure takes a few seconds to run. I set the focus to the previous text box and display an hourglass as such: Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False I'd like to wrap an IF statement around it such as: If Hourglass =False Me.txtSN.SetFocus DoCmd.Hourglass True 'Do a bunch of stuff here DoCmd.Hourglass False End if Does anyone know of the correct call? I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. Any thoughts? Thanks much, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Fri Feb 17 15:26:38 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 17 Feb 2012 16:26:38 -0500 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: Logitech is sending me a new keyboard and mouse combo. As to the battery once a month or so. I remember when as a kid willing to replace 4 batteries every week if I liked a certain video game. A mouse makes me $50 or more per hour or helps me click on a web page that delivers me a free video... I am not gonna get mad about a battery every several weeks. AAA batteries in bulk are cheap. But when it doesn't succeed at its most basic function I do get mad. From davidmcafee at gmail.com Fri Feb 17 15:32:52 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 17 Feb 2012 13:32:52 -0800 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: http://www.pizmall.com/product-images/B00005NIMJ.jpg Best mouse, EVER! Been using it for almost twenty years now. I like the corded version, they do make a wireless, but it isn't needed IMO. On Fri, Feb 17, 2012 at 1:26 PM, William Benson wrote: > Logitech is sending me a new keyboard and mouse combo. > > As to the battery once a month or so. I remember when as a kid willing to > replace 4 batteries every week if I liked a certain video game. > A mouse makes me $50 or more per hour or helps me click on a web page that > delivers me a free video... I am not gonna get mad about a battery every > several weeks. AAA batteries in bulk are cheap. > > But when it doesn't succeed at its most basic function I do get mad. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Feb 17 15:41:23 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 17 Feb 2012 16:41:23 -0500 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: Yeah used that exact one for several years. Corded though. Ordered the wheelman trackball cordless from one of the nonAmazon vendors on Amazon. Came with battery installed and that leaked and damaged it so it didn't work. Amazon gave me my money back. I look forward to reordering. But this cordless mouse and keyboard cost only 26. I prefer m&k together because only needs a single module. On Feb 17, 2012 4:34 PM, "David McAfee" wrote: > http://www.pizmall.com/product-images/B00005NIMJ.jpg > > Best mouse, EVER! > > Been using it for almost twenty years now. > > I like the corded version, they do make a wireless, but it isn't needed > IMO. > > > > On Fri, Feb 17, 2012 at 1:26 PM, William Benson >wrote: > > > Logitech is sending me a new keyboard and mouse combo. > > > > As to the battery once a month or so. I remember when as a kid willing to > > replace 4 batteries every week if I liked a certain video game. > > A mouse makes me $50 or more per hour or helps me click on a web page > that > > delivers me a free video... I am not gonna get mad about a battery every > > several weeks. AAA batteries in bulk are cheap. > > > > But when it doesn't succeed at its most basic function I do get mad. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Feb 17 16:32:50 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 18 Feb 2012 08:32:50 +1000 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: Message-ID: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> I seem to remember explaining the same thing to the same enquirer a while ago, complete with reference to a MS page describing why it returned a string instwead of a date value :) -- Stuart On 17 Feb 2012 at 18:46, Gustav Brock wrote: > Hi John > > Sounds like are linking to a field of data type DateTime2 which Access doesn't understand, thus it is casted to a string. > Change the field to data type DateTime. > > /gustav > > > >>> jwcolby at colbyconsulting.com 17-02-2012 18:22:00 >>> > I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD > format even though I have a mm/dd/yyyy as a format string. > > Any ideas why I am seeing this? > > -- > John W. Colby > Colby Consulting > > > -- > 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 Feb 17 16:49:31 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 18 Feb 2012 08:49:31 +1000 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F3E8E78.8000705@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> Message-ID: <4F3ED97B.8666.9F5A9E9@stuart.lexacorp.com.pg> You can either store it as in a table of as harcode it,depending on the circumstances. You can also alternate between Access DBs and SQL DBs if you don't use passthrough queries etc: Const strSQLLive = "ODBC;Description=DoT Policy Information System;DRIVER=SQL Server;SERVER=DOTSQL;APP=Microsoft Data Access Components;DATABASE=DoTPolicy;Trusted_Connection=Yes" Function ConnectLive() As Long Dim tdf As TableDef For Each tdf In CurrentDb.TableDefs If Left$(tdf.Name, 3) = "tbl" Then renewlink tdf.Name, strSQLLive, False End If Next ConnectLive = True End Function Function ConnectBELocal() As Boolean Dim tdf As TableDef If Dir$(CurrentProject.Path & "\NECDecisions_BE.mdb") < " " Then MsgBox "Data file NECDecisions_Be.mdb missing! It must be in the same directory as this application file.", vbCritical, "ConnectBELocal Failed!" ConnectBELocal = False Exit Function End If For Each tdf In CurrentDb.TableDefs If Left$(tdf.Name, 3) = "tbl" Then renewlink tdf.Name, CurrentProject.Path & "\NECDecisions_BE.mdb", True End If Next ConnectBELocal = True End Function Function renewlink(tablename As String, datafile As String, AccessDb As Boolean) As Long On Error Resume Next DoCmd.DeleteObject acTable, tablename On Error GoTo 0 Select Case AccessDb Case True DoCmd.TransferDatabase acLink, "Microsoft Access", datafile, acTable, tablename, tablename, False Case False DoCmd.TransferDatabase acLink, "ODBC Database", datafile, acTable, tablename, tablename, False End Select End Function On 17 Feb 2012 at 12:29, jwcolby wrote: > To this point I have always worked with MDB data stores. When I did testing where I needed to > modify data (adds/ deletes / edits) I would copy the BE files to a local directory and then map that > local directory to the X: drive where all the links pointed to. Voila, "test mode". > > Obviously that doesn't work with links to SQL Server. I have seen code for modifying the link info > of the tabledef, storing the server / database info in a local table in the FE. That seems like one > solution. Is anyone doing something like this? > -- From stuart at lexacorp.com.pg Fri Feb 17 16:53:57 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 18 Feb 2012 08:53:57 +1000 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: References: <4F3E8E78.8000705@colbyconsulting.com>, Message-ID: <4F3EDA85.1182.9F9BB57@stuart.lexacorp.com.pg> I generally use a naming convention in that situation - systblCurrency rather than tblCurrency. Then I only relink tbables beginning with tbl. -- Stuart On 17 Feb 2012 at 13:49, Jim Dettman wrote: > > Only wrinkle is that I have some tables in a common DB that are shared > across companies (ie. country or currency tables), so I have a flag if the > table entry should be switch or not on a company switched. > From stuart at lexacorp.com.pg Fri Feb 17 16:59:54 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 18 Feb 2012 08:59:54 +1000 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: <4F3EA7DC.10409@colbyconsulting.com> References: <4F3E8CB8.30405@colbyconsulting.com>, , <4F3EA7DC.10409@colbyconsulting.com> Message-ID: <4F3EDBEA.17007.9FF2C13@stuart.lexacorp.com.pg> Because ISO format is the default format for a date in SQL (Server) and it is doing an implicit conversion form Date to Varchar using that default? -- On 17 Feb 2012 at 14:17, jwcolby wrote: >I am also not > sure why SQL Server stores the date (it is a date coming back from a date picker) in YYYY-MM-DD > format into the varchar() field. > > John W. Colby > Colby Consulting > From gustav at cactus.dk Fri Feb 17 17:43:38 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 18 Feb 2012 00:43:38 +0100 Subject: [AccessD] text control Date formats with SQL Server Message-ID: Hi Steve Yes, for display only it will work just fine. /Gustav >>> steve at goodhall.info 17-02-12 20:23 >>> For internal storage I agree completely, but the original post referred to display. I did a quick check on localization in Excel and it seems to work if the underlying data is a date. I don't have the facility to try non-European languages on the client system or to try an Access application. If I have time I will try it over the weekend. Steve Goodhall, MSCS, PMP -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Fri, Feb 17, 2012 18:17:24 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server Hi Steve That is a nasty source of error because "mmm" is localized, thus this will fail for most non-English locales. The ISO format is the only format which will never fail, that is why it is the native format for most SQL engines including MySQL, SAP, and SQL Server (since 2008 I think). /gustav >>> steve at goodhall.info 17-02-2012 18:44:58 >>> I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. Steve Goodhall, MSCS, PMP -----Original message----- From: David McAfee To: Access Developers discussion and problem solving Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 Subject: Re: [AccessD] text control Date formats with SQL Server I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. From gustav at cactus.dk Fri Feb 17 17:48:02 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 18 Feb 2012 00:48:02 +0100 Subject: [AccessD] text control Date formats with SQL Server Message-ID: Hi Stuart Yep, some kind of dejavu here. So John, please reveal the data type of your date field. /gustav >>> stuart at lexacorp.com.pg 17-02-12 23:32 >>> I seem to remember explaining the same thing to the same enquirer a while ago, complete with reference to a MS page describing why it returned a string instwead of a date value :) -- Stuart On 17 Feb 2012 at 18:46, Gustav Brock wrote: > Hi John > > Sounds like are linking to a field of data type DateTime2 which Access doesn't understand, thus it is casted to a string. > Change the field to data type DateTime. > > /gustav > > > >>> jwcolby at colbyconsulting.com 17-02-2012 18:22:00 >>> > I am binding a form to a sql server table. A date control is displaying the date in YYYY-MM-DD > format even though I have a mm/dd/yyyy as a format string. > > Any ideas why I am seeing this? > > -- > John W. Colby > Colby Consulting From BradM at blackforestltd.com Fri Feb 17 18:32:29 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 17 Feb 2012 18:32:29 -0600 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> Message-ID: All, I am trying to learn how to change an Access 2007 Chart with VBA code. I have a test Access application with one report (Report1). This report has one Chart (Chart1). I now would like to experiment with changing Chart1 with VBA code. Does anyone have an example of how to do this? I have done quite a bit of digging and I must be missing something. Thanks, Brad From Benson at ge.com Fri Feb 17 18:50:17 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sat, 18 Feb 2012 00:50:17 +0000 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD802CF@CINMLDGCNA01.e2k.ad.ge.com> This is either funny or sad... I put the problematic cordless mouse on the shelf and dug out my corded wheelman mouse, and started using it... to find that it, too was double-clicking when I single click. And that reminded me why I stopped using it. Wow, this problem is a Logitech staple! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, February 17, 2012 4:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Yeah used that exact one for several years. Corded though. Ordered the wheelman trackball cordless from one of the nonAmazon vendors on Amazon. Came with battery installed and that leaked and damaged it so it didn't work. Amazon gave me my money back. I look forward to reordering. But this cordless mouse and keyboard cost only 26. I prefer m&k together because only needs a single module. On Feb 17, 2012 4:34 PM, "David McAfee" wrote: > http://www.pizmall.com/product-images/B00005NIMJ.jpg > > Best mouse, EVER! > > Been using it for almost twenty years now. > > I like the corded version, they do make a wireless, but it isn't > needed IMO. > > > > On Fri, Feb 17, 2012 at 1:26 PM, William Benson > >wrote: > > > Logitech is sending me a new keyboard and mouse combo. > > > > As to the battery once a month or so. I remember when as a kid > > willing to replace 4 batteries every week if I liked a certain video game. > > A mouse makes me $50 or more per hour or helps me click on a web > > page > that > > delivers me a free video... I am not gonna get mad about a battery > > every several weeks. AAA batteries in bulk are cheap. > > > > But when it doesn't succeed at its most basic function I do get mad. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Fri Feb 17 18:56:34 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sat, 18 Feb 2012 00:56:34 +0000 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> Brad, Some code here: http://msaccesstips.com/2008/06/working-with-chart-object-in-vba/ I didn't try it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, February 17, 2012 7:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code All, I am trying to learn how to change an Access 2007 Chart with VBA code. I have a test Access application with one report (Report1). This report has one Chart (Chart1). I now would like to experiment with changing Chart1 with VBA code. Does anyone have an example of how to do this? I have done quite a bit of digging and I must be missing something. Thanks, Brad From df.waters at comcast.net Fri Feb 17 19:11:28 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 17 Feb 2012 19:11:28 -0600 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD802CF@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> <93D10F008B998B4A83BCA855A33EEF372AD802CF@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <008901ccedda$3e75e930$bb61bb90$@comcast.net> THIS is a good mouse: Cheap and very lightweight! Lasts about a year or so - I always keep a spare on hand. http://www.amazon.com/gp/product/B000A6NUU6/ref=oh_o02_s00_i00_details And NO extraneous double-clicks! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, February 17, 2012 6:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) This is either funny or sad... I put the problematic cordless mouse on the shelf and dug out my corded wheelman mouse, and started using it... to find that it, too was double-clicking when I single click. And that reminded me why I stopped using it. Wow, this problem is a Logitech staple! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, February 17, 2012 4:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Yeah used that exact one for several years. Corded though. Ordered the wheelman trackball cordless from one of the nonAmazon vendors on Amazon. Came with battery installed and that leaked and damaged it so it didn't work. Amazon gave me my money back. I look forward to reordering. But this cordless mouse and keyboard cost only 26. I prefer m&k together because only needs a single module. On Feb 17, 2012 4:34 PM, "David McAfee" wrote: > http://www.pizmall.com/product-images/B00005NIMJ.jpg > > Best mouse, EVER! > > Been using it for almost twenty years now. > > I like the corded version, they do make a wireless, but it isn't > needed IMO. > > > > On Fri, Feb 17, 2012 at 1:26 PM, William Benson > >wrote: > > > Logitech is sending me a new keyboard and mouse combo. > > > > As to the battery once a month or so. I remember when as a kid > > willing to replace 4 batteries every week if I liked a certain video game. > > A mouse makes me $50 or more per hour or helps me click on a web > > page > that > > delivers me a free video... I am not gonna get mad about a battery > > every several weeks. AAA batteries in bulk are cheap. > > > > But when it doesn't succeed at its most basic function I do get mad. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Fri Feb 17 19:11:17 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 17 Feb 2012 19:11:17 -0600 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: William, Thanks for the help. Earlier today, I had actually tried the example in this code. It is too complicated for me at this point. I could really use an example of how to change just one thing, such as the Chart Area color. Once I have an example, I believe that I could learn from it and build on it. I am also confused about what References (if any) I will need. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Benson, William (GE Global Research, consultant) Sent: Fri 2/17/2012 6:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to Change an Access 2007 Chart with VBA Code Brad, Some code here: http://msaccesstips.com/2008/06/working-with-chart-object-in-vba/ I didn't try it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, February 17, 2012 7:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code All, I am trying to learn how to change an Access 2007 Chart with VBA code. I have a test Access application with one report (Report1). This report has one Chart (Chart1). I now would like to experiment with changing Chart1 with VBA code. Does anyone have an example of how to do this? I have done quite a bit of digging and I must be missing something. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From BradM at blackforestltd.com Fri Feb 17 19:44:49 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 17 Feb 2012 19:44:49 -0600 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg><93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: All, I found an example and am now on my way to "Chart-o-Rama" with Access :-) There is still one thing that I don't quite understand. It appears that a person can generate Charts directly in Access or use Windows Automation to control Excel from Access (to create and modify charts). Is one approach better or more widely used than the other? Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Brad Marks Sent: Fri 2/17/2012 7:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to Change an Access 2007 Chart with VBA Code William, Thanks for the help. Earlier today, I had actually tried the example in this code. It is too complicated for me at this point. I could really use an example of how to change just one thing, such as the Chart Area color. Once I have an example, I believe that I could learn from it and build on it. I am also confused about what References (if any) I will need. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Benson, William (GE Global Research, consultant) Sent: Fri 2/17/2012 6:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to Change an Access 2007 Chart with VBA Code Brad, Some code here: http://msaccesstips.com/2008/06/working-with-chart-object-in-vba/ I didn't try it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, February 17, 2012 7:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code All, I am trying to learn how to change an Access 2007 Chart with VBA code. I have a test Access application with one report (Report1). This report has one Chart (Chart1). I now would like to experiment with changing Chart1 with VBA code. Does anyone have an example of how to do this? I have done quite a bit of digging and I must be missing something. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From vbacreations at gmail.com Sat Feb 18 00:03:30 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 18 Feb 2012 01:03:30 -0500 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: I find automating excel from access very challenging. I often dump data into excel and go write the code to mamopulate it natively in Excel VBE. If you can leave your code in an excel workbook and call that from Access you may be better off than trying to run from code ported to Access vbe. Good luck. From kathryn at bassett.net Sat Feb 18 00:06:44 2012 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 17 Feb 2012 22:06:44 -0800 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: <020401ccee03$7dd97e60$798c7b20$@net> Oh, yes! My favorite. Unfortunately, I can't use it anymore since I had to have my thumb fused. Strength is improving though, so maybe I'll try it again one of these days. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, February 17, 2012 1:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How > to detect if Hourglass is true) > > http://www.pizmall.com/product-images/B00005NIMJ.jpg > > Best mouse, EVER! > > Been using it for almost twenty years now. > > I like the corded version, they do make a wireless, but it isn't needed > IMO. From jwcolby at colbyconsulting.com Sat Feb 18 07:47:56 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 18 Feb 2012 08:47:56 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: References: <4F3E8CB8.30405@colbyconsulting.com> Message-ID: <4F3FAC0C.4030801@colbyconsulting.com> > I wish the whole world would adopt that standard. YYYMMDD is the best date display IMO. As do I. However... One of my favorite sayings is "wish in one hand and spit in the other, and see which one fills up faster" John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/17/2012 12:38 PM, David McAfee wrote: > I wish the whole world would adopt that standard. YYYMMDD is the best date > display IMO. > > > > On Fri, Feb 17, 2012 at 9:29 AM, Salakhetdinov Shamilwrote: > >> Hi John -- >> >> Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! >> >> -- Shamil >> >> 17 ??????? 2012, 21:24 ?? jwcolby: >>> I am binding a form to a sql server table. A date control is displaying >> the date in YYYY-MM-DD >>> format even though I have a mm/dd/yyyy as a format string. >>> >>> Any ideas why I am seeing this? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jwcolby at colbyconsulting.com Sat Feb 18 07:48:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 18 Feb 2012 08:48:37 -0500 Subject: [AccessD] text control Date formats with SQL Server In-Reply-To: <874d9d8b-2077-46e1-9cc0-ee4c3413b12e@blur> References: <4F3E8CB8.30405@colbyconsulting.com> <874d9d8b-2077-46e1-9cc0-ee4c3413b12e@blur> Message-ID: <4F3FAC35.60900@colbyconsulting.com> The reason YYYYMMDD is preferable is that it sorts correctly. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/17/2012 12:44 PM, Steve Goodhall wrote: > I disagree. I habitually use "dd-mmm-yy" or "dd-mmm-yyyy" (e,g, "17-Feb-12") which are unambiguous for both US and international readers. > > Steve Goodhall, MSCS, PMP > > -----Original message----- > From: David McAfee > To: Access Developers discussion and problem solving > Sent: Fri, Feb 17, 2012 17:39:15 GMT+00:00 > Subject: Re: [AccessD] text control Date formats with SQL Server > > I wish the whole world would adopt that standard. YYYMMDD is the best date > display IMO. > > > > On Fri, Feb 17, 2012 at 9:29 AM, Salakhetdinov Shamilwrote: > >> Hi John -- >> >> Could it be that the source MS SQL Server field is an (N)(Var)Char one ?! >> >> -- Shamil >> >> 17 ??????? 2012, 21:24 ?? jwcolby: >>> I am binding a form to a sql server table. A date control is displaying >> the date in YYYY-MM-DD >>> format even though I have a mm/dd/yyyy as a format string. >>> >>> Any ideas why I am seeing this? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From marksimms at verizon.net Sat Feb 18 09:32:45 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 18 Feb 2012 10:32:45 -0500 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <008101ccee52$901ab4a0$b0501de0$@net> Re: " you can leave your code in an excel workbook" That's a bit tricky. In the user world of Excel, they love to create multiple versions via "save as". Then, you have the problem of "code all over the place" to deal with. If you have to change that Excel code, GOOD LUCK in finding the latest "version". From rockysmolin at bchacc.com Sat Feb 18 10:49:10 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 08:49:10 -0800 Subject: [AccessD] Freeze panes Message-ID: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Dear List: I have a client who wants a list of persons and companies on a form, and following the person name and company, wants several other fields. All the fields won't all fit on the display, so a horizontal slider bar is OK to see the fields hidden off to the right off the screen. However, he would like the person name and company name not to slide off to the left as he slides to the right - similar to the Freeze Panes function in Excel. I haven't really thought about a technique to do this, but maybe there's some standard way to do this - yet another Access function that I don't know about? Or someone like Lebans has already done it? Has anyone done this before? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From ssharkins at gmail.com Sat Feb 18 10:58:11 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Feb 2012 11:58:11 -0500 Subject: [AccessD] Freeze panes References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: It might be simpler to just use a tab form and include the company and person on each tab. Susan H. > Dear List: > > I have a client who wants a list of persons and companies on a form, and > following the person name and company, wants several other fields. All the > fields won't all fit on the display, so a horizontal slider bar is OK to > see > the fields hidden off to the right off the screen. > > However, he would like the person name and company name not to slide off > to > the left as he slides to the right - similar to the Freeze Panes function > in > Excel. > > I haven't really thought about a technique to do this, but maybe there's > some standard way to do this - yet another Access function that I don't > know about? Or someone like Lebans has already done it? Has anyone done > this before? > > MTIA From rockysmolin at bchacc.com Sat Feb 18 11:04:35 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 09:04:35 -0800 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: <1FAB708E3C03428B818D31ECE4495BAA@HAL9007> Well, it's gotta be scrollable list - continuous form - and all the fields on the same line. The first field is a check box where they can select certain records to do something else with. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, February 18, 2012 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes It might be simpler to just use a tab form and include the company and person on each tab. Susan H. > Dear List: > > I have a client who wants a list of persons and companies on a form, > and following the person name and company, wants several other fields. > All the fields won't all fit on the display, so a horizontal slider > bar is OK to see the fields hidden off to the right off the screen. > > However, he would like the person name and company name not to slide > off to the left as he slides to the right - similar to the Freeze > Panes function in Excel. > > I haven't really thought about a technique to do this, but maybe > there's some standard way to do this - yet another Access function > that I don't know about? Or someone like Lebans has already done it? > Has anyone done this before? > > MTIA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Sat Feb 18 11:27:00 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 18 Feb 2012 09:27:00 -0800 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: I did this once, but I cheated. I have two sets of text boxes with the 'frozen' data, one set at the left end of the screen and one just out of sight past the right edge of the screen. I don't give the user a horizontal scrollbar. When the user tabs or arrows off the right hand end of the 'first' screen, I force the focus to a tiny field at the right hand end of the current row. This automatically makes the second set of 'frozen' text boxes jump to the left hand side of the screen, with the text boxes for the 'second' screen showing. The reverse happens when the user Shift-Tabs or left arrows to the left of the first 'unfrozen' text box in the second screen. I also let them use the Home and End keys to switch back and forth between the two views. Doug > Dear List: >> >> I have a client who wants a list of persons and companies on a form, and >> following the person name and company, wants several other fields. All the >> fields won't all fit on the display, so a horizontal slider bar is OK to >> see >> the fields hidden off to the right off the screen. >> >> However, he would like the person name and company name not to slide off >> to >> the left as he slides to the right - similar to the Freeze Panes function >> in >> Excel. >> >> I haven't really thought about a technique to do this, but maybe there's >> some standard way to do this - yet another Access function that I don't >> know about? Or someone like Lebans has already done it? Has anyone done >> this before? >> >> MTIA >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From tinanfields at torchlake.com Sat Feb 18 11:44:47 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 18 Feb 2012 12:44:47 -0500 Subject: [AccessD] How to detect if Hourglass is true In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF372AD80141@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <4F3FE38F.8070109@torchlake.com> I had a mouse suddenly do that and the only solution was to get a different mouse. It was a wireless, Logitech, mouse - as was the new one. Something just went wrong with it - apparently a sensor of some kind. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/17/2012 2:10 PM, Benson, William (GE Global Research, consultant) wrote: > My new Logitech mouse has been constantly double-clicking when I mean it to single-click. I hope I don't have to go your route!!! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Thursday, February 16, 2012 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How to detect if Hourglass is true > > If have a new user that loves to double/triple click buttons. > > One procedure takes a few seconds to run. > > I set the focus to the previous text box and display an hourglass as such: > > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > > > I'd like to wrap an IF statement around it such as: > > If Hourglass =False > Me.txtSN.SetFocus > DoCmd.Hourglass True > 'Do a bunch of stuff here > DoCmd.Hourglass False > End if > > Does anyone know of the correct call? > > I guess I can set a hidden field to 1 and check that if needed, but I'd like to see if I can detect the hourglass first. > > I've also thought of sending signal out the USB port that will active a solenoid that would send a fly swatter towards the users face, slapping them, but I might get in trouble for that one. > > Any thoughts? > > Thanks much, > David > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Sat Feb 18 14:36:13 2012 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 18 Feb 2012 12:36:13 -0800 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: What about using a subform? Only display the scrollbars for the subform. On Sat, Feb 18, 2012 at 9:27 AM, Doug Steele wrote: > I did this once, but I cheated. I have two sets of text boxes with the > 'frozen' data, one set at the left end of the screen and one just out of > sight past the right edge of the screen. I don't give the user a > horizontal scrollbar. When the user tabs or arrows off the right hand end > of the 'first' screen, I force the focus to a tiny field at the right hand > end of the current row. This automatically makes the second set of > 'frozen' text boxes jump to the left hand side of the screen, with the text > boxes for the 'second' screen showing. The reverse happens when the user > Shift-Tabs or left arrows to the left of the first 'unfrozen' text box in > the second screen. I also let them use the Home and End keys to switch > back and forth between the two views. > > Doug > > > > Dear List: > >> > >> I have a client who wants a list of persons and companies on a form, and > >> following the person name and company, wants several other fields. All > the > >> fields won't all fit on the display, so a horizontal slider bar is OK to > >> see > >> the fields hidden off to the right off the screen. > >> > >> However, he would like the person name and company name not to slide off > >> to > >> the left as he slides to the right - similar to the Freeze Panes > function > >> in > >> Excel. > >> > >> I haven't really thought about a technique to do this, but maybe there's > >> some standard way to do this - yet another Access function that I don't > >> know about? Or someone like Lebans has already done it? Has anyone > done > >> this before? > >> > >> MTIA > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > 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 Feb 18 15:18:45 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Feb 2012 07:18:45 +1000 Subject: [AccessD] Freeze panes In-Reply-To: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> Set the display mode to Datasheet mode. Select the columns, shift+ right click and select "Freeze columns" Save the Form. If you want to make sure it is always that way: Private Sub Form_Load() personname.SetFocus DoCmd.RunCommand acCmdFreezeColumn companyname.SetFocus DoCmd.RunCommand acCmdFreezeColumn End Sub -- Stuart On 18 Feb 2012 at 8:49, Rocky Smolin wrote: > Dear List: > > I have a client who wants a list of persons and companies on a form, and > following the person name and company, wants several other fields. All the > fields won't all fit on the display, so a horizontal slider bar is OK to see > the fields hidden off to the right off the screen. > > However, he would like the person name and company name not to slide off to > the left as he slides to the right - similar to the Freeze Panes function in > Excel. > > I haven't really thought about a technique to do this, but maybe there's > some standard way to do this - yet another Access function that I don't > know about? Or someone like Lebans has already done it? Has anyone done > this before? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Feb 18 15:32:44 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 13:32:44 -0800 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: Possible - but since he wants to see all the fields for a record side by side I'd have to have two subforms and keep them synchronized. Tricky. Actually the data will be in a subform because there's a couple of other functions with controls that need to be on the main form. Thinking about it, instead of a horizontal scroll bar, I could have left and right arrows. Every time he hits the right arrow I could change the row source to eliminate one field and add another on the end. Of course when I change the row source, the form will requery and set the record pointer back to the first record. So that's a problem. I could, of course, save the bookmark of the current record and position the form back to that record again. I've done that trick before. However, that still makes the current record jump to the top of the form. Still...no, there's gotta be something better. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Saturday, February 18, 2012 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes What about using a subform? Only display the scrollbars for the subform. On Sat, Feb 18, 2012 at 9:27 AM, Doug Steele wrote: > I did this once, but I cheated. I have two sets of text boxes with > the 'frozen' data, one set at the left end of the screen and one just > out of sight past the right edge of the screen. I don't give the user > a horizontal scrollbar. When the user tabs or arrows off the right > hand end of the 'first' screen, I force the focus to a tiny field at > the right hand end of the current row. This automatically makes the > second set of 'frozen' text boxes jump to the left hand side of the > screen, with the text boxes for the 'second' screen showing. The > reverse happens when the user Shift-Tabs or left arrows to the left of > the first 'unfrozen' text box in the second screen. I also let them > use the Home and End keys to switch back and forth between the two views. > > Doug > > > > Dear List: > >> > >> I have a client who wants a list of persons and companies on a > >> form, and following the person name and company, wants several > >> other fields. All > the > >> fields won't all fit on the display, so a horizontal slider bar is > >> OK to see the fields hidden off to the right off the screen. > >> > >> However, he would like the person name and company name not to > >> slide off to the left as he slides to the right - similar to the > >> Freeze Panes > function > >> in > >> Excel. > >> > >> I haven't really thought about a technique to do this, but maybe > >> there's some standard way to do this - yet another Access function > >> that I don't know about? Or someone like Lebans has already done > >> it? Has anyone > done > >> this before? > >> > >> MTIA > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sat Feb 18 16:15:45 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 18 Feb 2012 14:15:45 -0800 Subject: [AccessD] My Comments Message-ID: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> Hey All Yahoo!!!! the list is active again. But what I am noticing is that this list has become an "old boys and girls club" (as I have mentioned before). If the old ones post to the list, everything goes wild. If it is someone else post to the list, everything goes quiet. There are many gracious individuals on this list who suggest an input to a question and I truly thank them for for that (my question or someone else's). I am very disappointed with the rest of you, this was supposed to be an avenue to post our MSAccess questions and hopefully find a solution from the experts. You can ask me to leave, but I have been here since 1995 and I do not like the current trend. Tony Septav Nanaimo, BC Canada From vbacreations at gmail.com Sat Feb 18 16:39:25 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 18 Feb 2012 17:39:25 -0500 Subject: [AccessD] My Comments In-Reply-To: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> Message-ID: Way I look at things I am relatively new but most times people seem gracious enough to answer me and I feel quite appreciative! And why would we ask anyone, let alone you Tony, to leave for voicing an opinion or a concern. You're quite welcome to your opinions I should hope! On Feb 18, 2012 5:17 PM, "Tony Septav" wrote: > Hey All > Yahoo!!!! the list is active again. But what I am noticing is that this > list > has become an "old boys and girls club" (as I have mentioned before). If > the old ones post to the list, everything goes wild. If it is someone else > post to the list, everything goes quiet. There are many gracious > individuals on this list who suggest an input to a question and I truly > thank them for for that (my question or someone else's). I am very > disappointed with the rest of you, this was supposed to be an avenue to > post > our MSAccess questions and hopefully find a solution from the experts. You > can ask me to leave, but I have been here since 1995 and I do not like the > current trend. > > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Sat Feb 18 17:10:05 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 18 Feb 2012 15:10:05 -0800 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> Message-ID: <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Hey William Thank you for your response. Humbly taken. I just find the list does not try anymore to answer the simple questions posed to them. Yes I will be probably be flamed for my comments but they are honest. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, February 18, 2012 2:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Way I look at things I am relatively new but most times people seem gracious enough to answer me and I feel quite appreciative! And why would we ask anyone, let alone you Tony, to leave for voicing an opinion or a concern. You're quite welcome to your opinions I should hope! On Feb 18, 2012 5:17 PM, "Tony Septav" wrote: > Hey All > Yahoo!!!! the list is active again. But what I am noticing is that > this list has become an "old boys and girls club" (as I have > mentioned before). If the old ones post to the list, everything goes > wild. If it is someone else post to the list, everything goes quiet. > There are many gracious individuals on this list who suggest an input > to a question and I truly thank them for for that (my question or > someone else's). I am very disappointed with the rest of you, this was > supposed to be an avenue to post our MSAccess questions and hopefully > find a solution from the experts. You can ask me to leave, but I have > been here since 1995 and I do not like the current trend. > > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 From garykjos at gmail.com Sat Feb 18 18:25:19 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 18 Feb 2012 18:25:19 -0600 Subject: [AccessD] My Comments In-Reply-To: <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: Well some questions don't have answers. Many of our members who used to do Access full time now have moved on to other work and so don't know the answers to current version things. And I would guess our total membership is probably down a bit from the high point. If a question goes unanswered it should maybe be asked again. Perhaps the original got lost in a spam filter? I don't keep track but how many do YOU answer? Ha ha. GK On Sat, Feb 18, 2012 at 5:10 PM, Tony Septav wrote: > Hey William > Thank you for your response. Humbly taken. > I just find the list does not try anymore to answer the ?simple questions > posed to them. Yes I will be probably be flamed for my comments but they are > honest. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Saturday, February 18, 2012 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > Way I look at things I am relatively new but most times people seem gracious > enough to answer me and I feel quite appreciative! > > And why would we ask anyone, let alone you Tony, to leave for voicing an > opinion or a concern. ?You're quite welcome to your opinions I should hope! > On Feb 18, 2012 5:17 PM, "Tony Septav" wrote: > >> Hey All >> Yahoo!!!! the list is active again. But what I am noticing is that >> this list has become an "old boys and girls ?club" (as I have >> mentioned before). If the old ones post to the list, everything goes >> wild. If it is someone else post to the list, everything ?goes quiet. >> There are many gracious individuals on this list who suggest an input >> to a question and I truly thank them for for that (my question or >> someone else's). I am very disappointed with the rest of you, this was >> supposed to be an avenue to post our MSAccess questions and hopefully >> find a solution from the experts. You can ask me to leave, but I have >> been here since 1995 and I do not like the current trend. >> >> Tony Septav >> Nanaimo, BC >> Canada >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > > -- > 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 TSeptav at uniserve.com Sat Feb 18 18:51:46 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 18 Feb 2012 16:51:46 -0800 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: Hey Gary "I don't keep track but how many do YOU answer? Ha ha. No offense, I appreciate the levity, many times I do answer a question by contacting the individual "off line", rather than on the list. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, February 18, 2012 4:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Well some questions don't have answers. Many of our members who used to do Access full time now have moved on to other work and so don't know the answers to current version things. And I would guess our total membership is probably down a bit from the high point. If a question goes unanswered it should maybe be asked again. Perhaps the original got lost in a spam filter? I don't keep track but how many do YOU answer? Ha ha. GK On Sat, Feb 18, 2012 at 5:10 PM, Tony Septav wrote: > Hey William > Thank you for your response. Humbly taken. > I just find the list does not try anymore to answer the ?simple > questions posed to them. Yes I will be probably be flamed for my > comments but they are honest. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson > Sent: Saturday, February 18, 2012 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > Way I look at things I am relatively new but most times people seem > gracious enough to answer me and I feel quite appreciative! > > And why would we ask anyone, let alone you Tony, to leave for voicing > an opinion or a concern. ?You're quite welcome to your opinions I should hope! > On Feb 18, 2012 5:17 PM, "Tony Septav" wrote: > >> Hey All >> Yahoo!!!! the list is active again. But what I am noticing is that >> this list has become an "old boys and girls ?club" (as I have >> mentioned before). If the old ones post to the list, everything goes >> wild. If it is someone else post to the list, everything ?goes quiet. >> There are many gracious individuals on this list who suggest an input >> to a question and I truly thank them for for that (my question or >> someone else's). I am very disappointed with the rest of you, this >> was supposed to be an avenue to post our MSAccess questions and >> hopefully find a solution from the experts. You can ask me to leave, >> but I have been here since 1995 and I do not like the current trend. >> >> Tony Septav >> Nanaimo, BC >> Canada >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: > 02/18/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 From fuller.artful at gmail.com Sat Feb 18 19:33:14 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 18 Feb 2012 20:33:14 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: And there lies the rub: why keep your responses private? As for me, I try to answer whatever I can, and although I am trying to master C#, I still keep one large foot in Access, and try to answer what questions I can. Those I can't, I leave to those who can. A. I am not the only person who uses his computer mainly for the purpose of diddling with his computer. -Dave Barry On Sat, Feb 18, 2012 at 7:51 PM, Tony Septav wrote: > Hey Gary > "I don't keep track but how many do YOU answer? Ha ha. > > No offense, I appreciate the levity, many times I do answer a question by > contacting the individual "off line", rather than on the list. > > Tony Septav > Nanaimo, BC > Canada > > > From TSeptav at uniserve.com Sat Feb 18 19:50:25 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 18 Feb 2012 17:50:25 -0800 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> Hey Arthur And there lies the rub: why keep your responses private? Why clutter up the list, when it is more efficient just to respond to a question from a member. It was being addressed and that is what we are here for. If they figure it is important then let them post the response. Someone was in dire need of an answer and it was given. Enough said. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, February 18, 2012 5:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments And there lies the rub: why keep your responses private? As for me, I try to answer whatever I can, and although I am trying to master C#, I still keep one large foot in Access, and try to answer what questions I can. Those I can't, I leave to those who can. A. I am not the only person who uses his computer mainly for the purpose of diddling with his computer. -Dave Barry On Sat, Feb 18, 2012 at 7:51 PM, Tony Septav wrote: > Hey Gary > "I don't keep track but how many do YOU answer? Ha ha. > > No offense, I appreciate the levity, many times I do answer a question > by contacting the individual "off line", rather than on the list. > > Tony Septav > Nanaimo, BC > Canada > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 From garykjos at gmail.com Sat Feb 18 20:09:06 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 18 Feb 2012 20:09:06 -0600 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: In my own case I'm struggling to keep up with my work load during the day for the most part. I don't do much access development and haven't for years, but I use it for querying Oracle databases pretty much every day. So most development type questions relating to forms and code are just not applicable to me in my world. And I have to skip message threads due to continually having more "real work" than I have time to do. But I will still look through most messages to see if I can help, particularly if I see one that doesn't have replies. With gmail I see all the messages threads as threads and so if there are no replies it pops out. I really don't think we have a lot of messages that don't get any replies. Some for sure. I guess I never put together that the people who are posting the ones not being answered are new to the list. It could be that they are asking things that aren't easily answered verses the regular folks asking the same questions over and over and over. Ha ha again. Answering off list doesn't help anybody else who might have the same issue. Hopefully the person who asks the question would later post a follow up with the answer. I really wonder how many people we have reading the messages on a timely basis. I'm looking at my inbox about every hour during the work day. Maybe once a day on weekends though. But I really only open messages that have a subject that either interests me or I think I might have input on. I do skip entire threads if it seems it's nothing I can help with. So much to do, so little time. GK On Sat, Feb 18, 2012 at 6:51 PM, Tony Septav wrote: > Hey Gary > "I don't keep track but how many do YOU answer? ?Ha ha. > > No offense, I appreciate the levity, many times I do answer a question by > contacting the individual "off line", rather than on the list. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Saturday, February 18, 2012 4:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > Well some questions don't have answers. Many of our members who used to do > Access full time now have moved on to other work and so don't know the > answers to current version things. > > And I would guess our total membership is probably down a bit from the high > point. > > If a question goes unanswered it should maybe be asked again. Perhaps the > original got lost in a spam filter? > > I don't keep track but how many do YOU answer? ?Ha ha. > > GK > > On Sat, Feb 18, 2012 at 5:10 PM, Tony Septav wrote: >> Hey William >> Thank you for your response. Humbly taken. >> I just find the list does not try anymore to answer the ?simple >> questions posed to them. Yes I will be probably be flamed for my >> comments but they are honest. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Benson >> Sent: Saturday, February 18, 2012 2:39 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] My Comments >> >> Way I look at things I am relatively new but most times people seem >> gracious enough to answer me and I feel quite appreciative! >> >> And why would we ask anyone, let alone you Tony, to leave for voicing >> an opinion or a concern. ?You're quite welcome to your opinions I should > hope! >> On Feb 18, 2012 5:17 PM, "Tony Septav" wrote: >> >>> Hey All >>> Yahoo!!!! the list is active again. But what I am noticing is that >>> this list has become an "old boys and girls ?club" (as I have >>> mentioned before). If the old ones post to the list, everything goes >>> wild. If it is someone else post to the list, everything ?goes quiet. >>> There are many gracious individuals on this list who suggest an input >>> to a question and I truly thank them for for that (my question or >>> someone else's). I am very disappointed with the rest of you, this >>> was supposed to be an avenue to post our MSAccess questions and >>> hopefully find a solution from the experts. You can ask me to leave, >>> but I have been here since 1995 and I do not like the current trend. >>> >>> Tony Septav >>> Nanaimo, BC >>> Canada >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: >> 02/18/12 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Sat Feb 18 20:10:47 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 18 Feb 2012 20:10:47 -0600 Subject: [AccessD] My Comments In-Reply-To: <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> Message-ID: I think some members tend to lurk. Posting answers to the list puts the information out to the group. And it tells other people that the question has been answered. My opinion. GK On Sat, Feb 18, 2012 at 7:50 PM, Tony Septav wrote: > Hey Arthur > And there lies the rub: why keep your responses private? > > Why clutter up the list, when it is more efficient just to respond to a > question from a member. It was being addressed and that is what we are here > for. If they figure it is important then let them post the response. Someone > was in dire need of an answer and it was given. Enough said. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, February 18, 2012 5:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > And there lies the rub: why keep your responses private? As for me, I try to > answer whatever I can, and although I am trying to master C#, I still keep > one large foot in Access, and try to answer what questions I can. > Those I can't, I leave to those who can. > A. > > I am not the only person who uses his computer mainly for the purpose of > diddling with his computer. > > -Dave Barry > > > On Sat, Feb 18, 2012 at 7:51 PM, Tony Septav wrote: > >> Hey Gary >> "I don't keep track but how many do YOU answer? ?Ha ha. >> >> No offense, I appreciate the levity, many times I do answer a question >> by contacting the individual "off line", rather than on the list. >> >> Tony Septav >> Nanaimo, BC >> Canada >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From stuart at lexacorp.com.pg Sat Feb 18 20:10:53 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Feb 2012 12:10:53 +1000 Subject: [AccessD] My Comments In-Reply-To: <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav>, , <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> Message-ID: <4F405A2D.8875.FD46FA6@stuart.lexacorp.com.pg> Tony, I think you miss the point of a list. If everyone sends their rely to the OP: 1. No one else learns from it so the same thing would be asked again and again 2. The OP gets lots of messages all saying the same thing. 3. You would never see any alternatives to expand your viewpoint. 4. There are lots of "lurkers" on any list, who never post questions or answers but learn a lot from everything posted. Just think of how many times youe see several alternative methods to solve a query on the list and how many times you see someone say something like: "your answer only works if...., but if you do this...., it also works for...." or "this is an easier/clearer/faster way than X's solution....." and also "I like X's solution much better than the way I have solved this in the past" Over the years I have leanrt a lot from people's answers to questions. I have seen a lot of solutions to problems that I didn't have at that time, but which I was later able to apply. -- Stuart On 18 Feb 2012 at 17:50, Tony Septav wrote: > Hey Arthur > And there lies the rub: why keep your responses private? > > Why clutter up the list, when it is more efficient just to respond to a > question from a member. It was being addressed and that is what we are here > for. If they figure it is important then let them post the response. Someone > was in dire need of an answer and it was given. Enough said. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, February 18, 2012 5:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > And there lies the rub: why keep your responses private? As for me, I try to > answer whatever I can, and although I am trying to master C#, I still keep > one large foot in Access, and try to answer what questions I can. > Those I can't, I leave to those who can. > A. > > I am not the only person who uses his computer mainly for the purpose of > diddling with his computer. > > -Dave Barry > > > On Sat, Feb 18, 2012 at 7:51 PM, Tony Septav wrote: > > > Hey Gary > > "I don't keep track but how many do YOU answer? Ha ha. > > > > No offense, I appreciate the levity, many times I do answer a question > > by contacting the individual "off line", rather than on the list. > > > > Tony Septav > > Nanaimo, BC > > Canada > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sat Feb 18 20:16:46 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 18 Feb 2012 21:16:46 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: OK, Tony, point taken. But IMO any question worth posting may have been at least mentally asked by 1000 other listers, and therefore the answer ought to be available to them. Just my $2 (accounting for inflation). A. Only two businesses refer to their clientele as users: drug dealing and software development. -- Arthur Fuller From TSeptav at uniserve.com Sat Feb 18 20:50:54 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 18 Feb 2012 18:50:54 -0800 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: Hey Arthur, Stuart and Gary I apologize, points well taken. As I have said there are many individuals on this list that give their 2 cents worth on a problem whether they have a solution or not. And that is very valuable, it makes one stop and think about, "Okay how do I use this information I have gotten to solve this problem". When I said I respond "off line" it has usually been to individuals (mostly newbies) who do not seem to be receiving a response from the members on the list (and most of them eventually disappear). And that is what makes mad and why I call this list an "old boys/girls club". Many times these individuals were looking for an answer and basically they were ignored while the "club" was discussing some esoteric concept (Oh! I will get flamed for that comment). Sorry if I have offended any one's feelings. This is first and foremost an MSAccess user group, if it is no longer that then change the name. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, February 18, 2012 6:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments OK, Tony, point taken. But IMO any question worth posting may have been at least mentally asked by 1000 other listers, and therefore the answer ought to be available to them. Just my $2 (accounting for inflation). A. Only two businesses refer to their clientele as users: drug dealing and software development. -- Arthur Fuller -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 From Benson at ge.com Sat Feb 18 21:15:41 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 19 Feb 2012 03:15:41 +0000 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD80571@CINMLDGCNA01.e2k.ad.ge.com> I agree with your intentions, Tony. One idea for freshening up membership and content... go over to some other Access lists and read a few posts there, taking note of posters who evidence (1) Clarity. Even if their questions are not challenging, how well do they describe their issues (2) Courtesy. Do they thank those who respond to them (those kinds are always welcome!) If you see someone whose style you like, and they seem to be actively in the game, you can drop a hint that they may get a response and a warm welcome here, and give them this site's address. I didn't know how helpful this list was until Darryl mentioned... From stuart at lexacorp.com.pg Sat Feb 18 21:32:15 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Feb 2012 13:32:15 +1000 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav>, , Message-ID: <4F406D3F.31292.101EEE48@stuart.lexacorp.com.pg> One little quibble: The name of the list "Access Developers", not "Access Users" :-) I know lots of Access users, but this and Linked In are the only places I get to have discussions with other Developers. -- Stuart On 18 Feb 2012 at 18:50, Tony Septav wrote: > while the "club" was discussing some esoteric concept (Oh! I will get flamed > for that comment). Sorry if I have offended any one's feelings. This is > first and foremost an MSAccess user group, if it is no longer that then > change the name. > > Tony Septav > Nanaimo, BC > Canada > From rockysmolin at bchacc.com Sat Feb 18 22:21:54 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 20:21:54 -0800 Subject: [AccessD] Freeze panes In-Reply-To: <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> Message-ID: <4873E8A1A44C46AE9847FBD6B67BC181@HAL9007> Really? Exactly what I was looking for. Thank you. Rocky P.S. This list isn't as useful to me as it used to be. You all used to save my bacon 5 times a day. I'd say now not more than once a day. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, February 18, 2012 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes Set the display mode to Datasheet mode. Select the columns, shift+ right click and select "Freeze columns" Save the Form. If you want to make sure it is always that way: Private Sub Form_Load() personname.SetFocus DoCmd.RunCommand acCmdFreezeColumn companyname.SetFocus DoCmd.RunCommand acCmdFreezeColumn End Sub -- Stuart On 18 Feb 2012 at 8:49, Rocky Smolin wrote: > Dear List: > > I have a client who wants a list of persons and companies on a form, > and following the person name and company, wants several other fields. > All the fields won't all fit on the display, so a horizontal slider > bar is OK to see the fields hidden off to the right off the screen. > > However, he would like the person name and company name not to slide > off to the left as he slides to the right - similar to the Freeze > Panes function in Excel. > > I haven't really thought about a technique to do this, but maybe > there's some standard way to do this - yet another Access function > that I don't know about? Or someone like Lebans has already done it? > Has anyone done this before? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Feb 18 22:22:56 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 20:22:56 -0800 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: How do you keep the two lists synchronized? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, February 18, 2012 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes I did this once, but I cheated. I have two sets of text boxes with the 'frozen' data, one set at the left end of the screen and one just out of sight past the right edge of the screen. I don't give the user a horizontal scrollbar. When the user tabs or arrows off the right hand end of the 'first' screen, I force the focus to a tiny field at the right hand end of the current row. This automatically makes the second set of 'frozen' text boxes jump to the left hand side of the screen, with the text boxes for the 'second' screen showing. The reverse happens when the user Shift-Tabs or left arrows to the left of the first 'unfrozen' text box in the second screen. I also let them use the Home and End keys to switch back and forth between the two views. Doug > Dear List: >> >> I have a client who wants a list of persons and companies on a form, >> and following the person name and company, wants several other >> fields. All the fields won't all fit on the display, so a horizontal >> slider bar is OK to see the fields hidden off to the right off the >> screen. >> >> However, he would like the person name and company name not to slide >> off to the left as he slides to the right - similar to the Freeze >> Panes function in Excel. >> >> I haven't really thought about a technique to do this, but maybe >> there's some standard way to do this - yet another Access function >> that I don't know about? Or someone like Lebans has already done it? >> Has anyone done this before? >> >> MTIA >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > Website: > http://www.databaseadvisors.**com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Sat Feb 18 22:36:38 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Sun, 19 Feb 2012 10:06:38 +0530 Subject: [AccessD] Freeze panes References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> Message-ID: <54F3D72869BE453FAC9F90EE88A690D0@personal4a8ede> Rocky, If datasheet view is considered acceptable, my sample db named Form_FreezeDataSheetColumnsAndSize (in Access 2000 file format) might be of interest to you. It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 In this sample, the user can pinpoint the columns desired to remain frozen. Such columns remain in perpetual view on left, during horizontal scrolling. In addition, forcing fixed widths for desired columns is also demonstrated. If at any stage you need to freeze certain rows in datasheet form, another sample of mine, named FreezeDatasheetRows (available at same site) would be pertinent. This sample demonstrates freezing of nominated rows in datasheet view. Any combination of rows can be selected for this purpose (not necessarily adjacent to start with). The selected rows are displayed at the top and remain in perpetual view, while navigating through the datasheet. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Sunday, February 19, 2012 03:02 Subject: Re: [AccessD] Freeze panes Possible - but since he wants to see all the fields for a record side by side I'd have to have two subforms and keep them synchronized. Tricky. Actually the data will be in a subform because there's a couple of other functions with controls that need to be on the main form. Thinking about it, instead of a horizontal scroll bar, I could have left and right arrows. Every time he hits the right arrow I could change the row source to eliminate one field and add another on the end. Of course when I change the row source, the form will requery and set the record pointer back to the first record. So that's a problem. I could, of course, save the bookmark of the current record and position the form back to that record again. I've done that trick before. However, that still makes the current record jump to the top of the form. Still...no, there's gotta be something better. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Saturday, February 18, 2012 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes What about using a subform? Only display the scrollbars for the subform. On Sat, Feb 18, 2012 at 9:27 AM, Doug Steele wrote: > I did this once, but I cheated. I have two sets of text boxes with > the 'frozen' data, one set at the left end of the screen and one just > out of sight past the right edge of the screen. I don't give the user > a horizontal scrollbar. When the user tabs or arrows off the right > hand end of the 'first' screen, I force the focus to a tiny field at > the right hand end of the current row. This automatically makes the > second set of 'frozen' text boxes jump to the left hand side of the > screen, with the text boxes for the 'second' screen showing. The > reverse happens when the user Shift-Tabs or left arrows to the left of > the first 'unfrozen' text box in the second screen. I also let them > use the Home and End keys to switch back and forth between the two views. > > Doug > > > > Dear List: > >> > >> I have a client who wants a list of persons and companies on a > >> form, and following the person name and company, wants several > >> other fields. All > the > >> fields won't all fit on the display, so a horizontal slider bar is > >> OK to see the fields hidden off to the right off the screen. > >> > >> However, he would like the person name and company name not to > >> slide off to the left as he slides to the right - similar to the > >> Freeze Panes > function > >> in > >> Excel. > >> > >> I haven't really thought about a technique to do this, but maybe > >> there's some standard way to do this - yet another Access function > >> that I don't know about? Or someone like Lebans has already done > >> it? Has anyone > done > >> this before? > >> > >> MTIA From rockysmolin at bchacc.com Sat Feb 18 22:42:54 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Feb 2012 20:42:54 -0800 Subject: [AccessD] Freeze panes In-Reply-To: <54F3D72869BE453FAC9F90EE88A690D0@personal4a8ede> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> <54F3D72869BE453FAC9F90EE88A690D0@personal4a8ede> Message-ID: <6B20601C7D014B019156039ACE330106@HAL9007> Thank you A.D. Look like exactly what I need. I didn't ask the client about datasheet view but I can't see why that wouldn't work. Particularly if I can force widths. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D. Tejpal Sent: Saturday, February 18, 2012 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes Rocky, If datasheet view is considered acceptable, my sample db named Form_FreezeDataSheetColumnsAndSize (in Access 2000 file format) might be of interest to you. It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 In this sample, the user can pinpoint the columns desired to remain frozen. Such columns remain in perpetual view on left, during horizontal scrolling. In addition, forcing fixed widths for desired columns is also demonstrated. If at any stage you need to freeze certain rows in datasheet form, another sample of mine, named FreezeDatasheetRows (available at same site) would be pertinent. This sample demonstrates freezing of nominated rows in datasheet view. Any combination of rows can be selected for this purpose (not necessarily adjacent to start with). The selected rows are displayed at the top and remain in perpetual view, while navigating through the datasheet. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Sunday, February 19, 2012 03:02 Subject: Re: [AccessD] Freeze panes Possible - but since he wants to see all the fields for a record side by side I'd have to have two subforms and keep them synchronized. Tricky. Actually the data will be in a subform because there's a couple of other functions with controls that need to be on the main form. Thinking about it, instead of a horizontal scroll bar, I could have left and right arrows. Every time he hits the right arrow I could change the row source to eliminate one field and add another on the end. Of course when I change the row source, the form will requery and set the record pointer back to the first record. So that's a problem. I could, of course, save the bookmark of the current record and position the form back to that record again. I've done that trick before. However, that still makes the current record jump to the top of the form. Still...no, there's gotta be something better. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Saturday, February 18, 2012 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freeze panes What about using a subform? Only display the scrollbars for the subform. On Sat, Feb 18, 2012 at 9:27 AM, Doug Steele wrote: > I did this once, but I cheated. I have two sets of text boxes with > the 'frozen' data, one set at the left end of the screen and one just > out of sight past the right edge of the screen. I don't give the user > a horizontal scrollbar. When the user tabs or arrows off the right > hand end of the 'first' screen, I force the focus to a tiny field at > the right hand end of the current row. This automatically makes the > second set of 'frozen' text boxes jump to the left hand side of the > screen, with the text boxes for the 'second' screen showing. The > reverse happens when the user Shift-Tabs or left arrows to the left of > the first 'unfrozen' text box in the second screen. I also let them > use the Home and End keys to switch back and forth between the two views. > > Doug > > > > Dear List: > >> > >> I have a client who wants a list of persons and companies on a > >> form, and following the person name and company, wants several > >> other fields. All > the > >> fields won't all fit on the display, so a horizontal slider bar is > >> OK to see the fields hidden off to the right off the screen. > >> > >> However, he would like the person name and company name not to > >> slide off to the left as he slides to the right - similar to the > >> Freeze Panes > function > >> in > >> Excel. > >> > >> I haven't really thought about a technique to do this, but maybe > >> there's some standard way to do this - yet another Access function > >> that I don't know about? Or someone like Lebans has already done > >> it? Has anyone > done > >> this before? > >> > >> MTIA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Feb 19 05:13:41 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 19 Feb 2012 06:13:41 -0500 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: <008101ccee52$901ab4a0$b0501de0$@net> References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> <008101ccee52$901ab4a0$b0501de0$@net> Message-ID: I didn't say it had to be a workbook they even know about. It can be one your access version copies over from a network like an xlam which opens invisibly. Just saying it is easier to code excel stuff and manipulation of excel objects using excel. On Feb 18, 2012 10:34 AM, "Mark Simms" wrote: > Re: " you can leave your code in an excel workbook" > That's a bit tricky. In the user world of Excel, they love to create > multiple versions via "save as". > Then, you have the problem of "code all over the place" to deal with. > If you have to change that Excel code, GOOD LUCK in finding the latest > "version". > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Feb 19 07:09:43 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 08:09:43 -0500 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> <008101ccee52$901ab4a0$b0501de0$@net> Message-ID: I agree with you, William. I have done this sort of work by opening a template file, then doing what I need, and finally giving the user "Save as..." with a default folder. It is much easier to code VBA natively in Excel, especially since it can all live in the template. When it needs fixes or enhancements, you only have to edit one file. A. On Sun, Feb 19, 2012 at 6:13 AM, William Benson wrote: > I didn't say it had to be a workbook they even know about. It can be one > your access version copies over from a network like an xlam which opens > invisibly. Just saying it is easier to code excel stuff and manipulation of > excel objects using excel. > On Feb 18, 2012 10:34 AM, "Mark Simms" wrote: > > From ssharkins at gmail.com Sun Feb 19 09:36:13 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 19 Feb 2012 10:36:13 -0500 Subject: [AccessD] My Comments References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> Gary, I'm in a similar situation -- not working with Access much anymore. I haven't moved on to something else, I'm just working less. The dh is retired and I'm partially so... I read messages sometimes, but by the time I see them, someone else has usually answered them. To be honest, a lot of threads get deleted unread. I don't think Access is dead by any means, but I think the industry is using it very differently. :( I run polls frequently on my Office blog and Access is the least used application and nobody really wants to read about it. I still do write about it, just not very often -- once a month maybe. Susan H. I really wonder how many people we have reading the messages on a timely basis. I'm looking at my inbox about every hour during the work day. Maybe once a day on weekends though. But I really only open messages that have a subject that either interests me or I think I might have input on. I do skip entire threads if it seems it's nothing I can help with. So much to do, so little time. From TSeptav at uniserve.com Sun Feb 19 10:07:00 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 19 Feb 2012 08:07:00 -0800 Subject: [AccessD] My Comments Message-ID: Hey Guys I do hate to say it, but I love Access. In my years of developing applications for clients I have not been stumped. Now I will admit I am not developing heavy duty factory applications or dealing with integrating electronics or developing for a company with 500 employees. But some applications I consider pretty exotic, touch screens integrated with another companies recording devices, integration with ESRI GIS data and maps, split screens etc. (not tooting my horn here). I just picked up a small update job for a client and I must admit it does feel good to be back in the swing of things (it has been so terribly darn slow lately). It is kind of fun looking at some of the work you did a year ago and thinking "Hey I can make that way cooler". In fact the other day I discovered Access has a InstrRev() function (go figure, how long has that been there). Just my 2 cents worth. Tony Septav Nanaimo, BC Canada From fuller.artful at gmail.com Sun Feb 19 11:32:43 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 12:32:43 -0500 Subject: [AccessD] My Comments In-Reply-To: <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> Message-ID: Recently a client of mine, for whom I delivered an Access app about 5 years ago, called me out of the blue and asked if I were free to do a couple of enhancements. Having nothing else on the plate other than trying to learn C#, I said yes. There were so many apps done between then and now, not to mention software and hardware upgrades, that I had to create a VM and install WinXP and Office XP, just to match her environment.. There wasn't a lot of money involved, and I didn't bill for the setup hours, and it was nice to chat with her again after such a spell. That's all over and done with, and I even finally figured out how to clone a VM with the essentials installed (this on Oracle VirtualBox), so I can reactivate everything in one swoop, should she call again someday. The up-side is that I haven't received a single bug report or support call in five years -- just this recent request for some enhancements. This call also afforded me the chance to use GoToMyPC, which until recently I have never had occasion to use. It seems to work well. Back to my C# training regimen. And of course, to schedule the 500th episode of The Simpsons tonight, starring Julian Assange, founder of WikiLeaks. Should be fun! A. From fuller.artful at gmail.com Sun Feb 19 11:54:08 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 12:54:08 -0500 Subject: [AccessD] Office 2010 vs. Office 2007 Message-ID: I recently installed 2010 60-day trial in a VM so I could explore it. So far the only significant difference is the loss of the big button in the upper left corner, and the re-emergence of the (sort of) classic menu. Oh, and I noticed that a couple of the template samples were Web-oriented. I'm about to Google to discern other differences I haven't noticed yet. Has anyone on this list developed and deployed an app in Access 2010? (This would exclude migrating an older app to 2010.) If so, please enlighten us with your experiences. Thanks! -- Arthur Cell: 647.710.1314 [T]he first page of Thucydides is, in my opinion, the commencement of real history. All preceding narrations are so intermixed with fable, that philosophers ought to abandon them to the embellishments of poets and orators. ("Of the Populousness of Ancient Nations", 1742) -- David Hume Upon rereading Thucydides, I think I would go further. His stuff ranks with Sun Tzu and of course much later, von Clausewitz. From marksimms at verizon.net Sun Feb 19 12:06:33 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Feb 2012 13:06:33 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: <006301ccef31$36e3da80$a4ab8f80$@net> Below may be the understatement of the century. Just To get bug confirmations for 2010 has been a huge effort. > Well some questions don't have answers. Many of our members who used > to do Access full time now have moved on to other work and so don't > know the answers to current version things. From marksimms at verizon.net Sun Feb 19 12:08:02 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Feb 2012 13:08:02 -0500 Subject: [AccessD] Freeze panes In-Reply-To: <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> Message-ID: <006401ccef31$6c0cdcc0$44269640$@net> Thanks for that Stuart. That command never worked for me....Now I see why !! I didn't SETFOCUS !! > companyname.SetFocus > DoCmd.RunCommand acCmdFreezeColumn From marksimms at verizon.net Sun Feb 19 12:09:16 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Feb 2012 13:09:16 -0500 Subject: [AccessD] How to Change an Access 2007 Chart with VBA Code In-Reply-To: References: <4F3ED592.25469.9E6657A@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF372AD80301@CINMLDGCNA01.e2k.ad.ge.com> <008101ccee52$901ab4a0$b0501de0$@net> Message-ID: <006501ccef31$98fa2cb0$caee8610$@net> A Perfect implementation via XLAM. > > I didn't say it had to be a workbook they even know about. It can be > one > your access version copies over from a network like an xlam which opens > invisibly. Just saying it is easier to code excel stuff and > manipulation of > excel objects using excel. From fuller.artful at gmail.com Sun Feb 19 12:13:05 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 13:13:05 -0500 Subject: [AccessD] Freeze panes In-Reply-To: <006401ccef31$6c0cdcc0$44269640$@net> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007> <4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> <006401ccef31$6c0cdcc0$44269640$@net> Message-ID: Now if only I could set focus to my life, rather than a mere Access app! On Sun, Feb 19, 2012 at 1:08 PM, Mark Simms wrote: > Thanks for that Stuart. That command never worked for me....Now I see why > !! > I didn't SETFOCUS !! > > companyname.SetFocus > > DoCmd.RunCommand acCmdFreezeColumn > > > From marksimms at verizon.net Sun Feb 19 12:17:50 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Feb 2012 13:17:50 -0500 Subject: [AccessD] My Comments In-Reply-To: References: Message-ID: <006601ccef32$ca9be780$5fd3b680$@net> Re: "it has been so terribly darn slow lately" Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much as Excel ;) The problem is: the above statement should read: Re: "it will be so terribly darn slow in the foreseeable future" I have never seen so few requirements for Access developers....ever. And when an opening pops-up....it's gone within 48 HOURS. Obviously, Everyone is starving !! On top of that, agencies.consulting firms know this and are TAKING ADVANTAGE OF IT (more on that later). The trend towards web 2.0-based apps and cloud computing has made Access an antique. Had MSFT made a VBA to Web Macro conversion facility, we'd all be working like mad....moving our client's apps to the cloud under Office 365 Alas, they did not. In fact, they even disabled Office 365 from having Access services. That's right: You cannot run a 2007/2010 access web app within Microsoft's own new cloud service. How's THAT for a kick in the teeth to Access developers. That's all "Balmer" for you. Never liked the guy, never will. This is all reason to get out of this business. From marksimms at verizon.net Sun Feb 19 12:40:26 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 19 Feb 2012 13:40:26 -0500 Subject: [AccessD] Office 2010 vs. Office 2007 In-Reply-To: References: Message-ID: <007501ccef35$f2ddd070$d8997150$@net> I just rolled one out last week. Users were impressed. It's been good. Could have been GREAT. The good stuff: 1) split forms - all of the major bugs have been fixed. It's "da bomb" as far as user interface goes. Having the ability to scroll data via filter and sort is just so convenient. 2) triggers - absolutely excellent to allow users to see "what changed when" across the entire database...NICE ! 3) ribbon enhancements - excellent. Any tab now VBA activatable.(what took so long ?) 4) computed columns - definitely neat and easily VBA controlled. An alternative to modifying queries. 5) form search facility- STILL SUCKS HUGELY. Users HATE IT. VERY SLOW. So I developed my own search using Rogers Access lib as a starting point. Now, they're all happy - combined with the split form filter ability, users can get to any data to modify almost instantly. The bad stuff: 1) VBA7 buggy. I have to DECOMPILE on each and every edit session. 2) SP2 still not delivered....gotta be hundreds of outstanding little bugs out there still not resolved ! > Has anyone on this list developed and deployed an app in Access 2010? > (This would exclude migrating an older app to 2010.) If so, please enlighten > us with your experiences. From ssharkins at gmail.com Sun Feb 19 12:40:26 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 19 Feb 2012 13:40:26 -0500 Subject: [AccessD] My Comments References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <006301ccef31$36e3da80$a4ab8f80$@net> Message-ID: <686B09A2EF0444E49B15EAFA44A51361@SusanHarkins> It's seriously true for me -- having done no development work in the ribbon version, at all. I'm familiar with it, can tell you how to "use it" -- but I'm not actually using it myself. Makes a big difference in your ability to answer questions. Susan H. > Below may be the understatement of the century. > Just To get bug confirmations for 2010 has been a huge effort. > >> Well some questions don't have answers. Many of our members who used >> to do Access full time now have moved on to other work and so don't >> know the answers to current version things. > From fuller.artful at gmail.com Sun Feb 19 12:58:16 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 13:58:16 -0500 Subject: [AccessD] My Comments In-Reply-To: <686B09A2EF0444E49B15EAFA44A51361@SusanHarkins> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <006301ccef31$36e3da80$a4ab8f80$@net> <686B09A2EF0444E49B15EAFA44A51361@SusanHarkins> Message-ID: I downloaded a free app called Office Ribbon Editor, and have begun to toy with it, but thus far have not come up with any convincing excuse to replace the default ribbons. Everything my apps need to do can be done within the app frame, leaving the default ribbon untouched. Or to put it another way, leaving the user to use whichever ribbon-buttons she wants within the context of my app. A. On Sun, Feb 19, 2012 at 1:40 PM, Susan Harkins wrote: > It's seriously true for me -- having done no development work in the > ribbon version, at all. I'm familiar with it, can tell you how to "use it" > -- but I'm not actually using it myself. Makes a big difference in your > ability to answer questions. > > Susan H. > > From jwcolby at colbyconsulting.com Sun Feb 19 14:30:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 19 Feb 2012 15:30:55 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> Message-ID: <4F415BFF.6030901@colbyconsulting.com> LOL, and if you are answering off line, how do you know that there haven't been a hundred answers, all off line. That is the entire point of the list, that everyone gets to see every answer. I know that I don't answer many questions any more. When I joined the list somewhere around 97 or so, I was trying to "make a name" and so I answered a lot, and I was also learning a lot. Now I tend to send answers to my own questions where I have had to research obscure things. Others who have less time on the list can answer the "how do I" questions that I have already answered a hundred times in the last 15 years. Now if you want to know how to do classes, or handle events, or build a framework, start a thread and I will be there. Or bind an Access FE to a SQL Server database over the internet using Hamachi. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/18/2012 9:50 PM, Tony Septav wrote: > Hey Arthur, Stuart and Gary > I apologize, points well taken. As I have said there are many individuals on > this list that give their 2 cents worth on a problem whether they have a > solution or not. And that is very valuable, it makes one stop and think > about, "Okay how do I use this information I have gotten to solve this > problem". When I said I respond "off line" it has usually been to > individuals (mostly newbies) who do not seem to be receiving a response from > the members on the list (and most of them eventually disappear). And that is > what makes mad and why I call this list an "old boys/girls club". Many times > these individuals were looking for an answer and basically they were ignored > while the "club" was discussing some esoteric concept (Oh! I will get flamed > for that comment). Sorry if I have offended any one's feelings. This is > first and foremost an MSAccess user group, if it is no longer that then > change the name. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, February 18, 2012 6:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > OK, Tony, point taken. But IMO any question worth posting may have been at > least mentally asked by 1000 other listers, and therefore the answer ought > to be available to them. Just my $2 (accounting for inflation). > > A. > > Only two businesses refer to their clientele as users: drug dealing and > software development. > > -- Arthur Fuller > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > From TSeptav at uniserve.com Sun Feb 19 14:32:45 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 19 Feb 2012 12:32:45 -0800 Subject: [AccessD] Good Old Days Message-ID: Hey Mark Ahhhhhhhhhhh for the good old days, when we were foot loose and fancy free and continuously complaining about how there wasn't enough time in the day to keep up with all the demands coming in from our clients. And please no cheese with that. "A clever person solves a problem. A wise person avoids it." Albert Einstein Tony Septav Nanaimo. BC Canada From stuart at lexacorp.com.pg Sun Feb 19 14:59:01 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Feb 2012 06:59:01 +1000 Subject: [AccessD] My Comments In-Reply-To: References: Message-ID: <4F416295.16848.13DD47E0@stuart.lexacorp.com.pg> 12 years :-) On 19 Feb 2012 at 8:07, Tony Septav wrote: > cooler". In fact the other day I discovered Access has a InstrRev() function > (go figure, how long has that been there). > From TSeptav at uniserve.com Sun Feb 19 15:06:55 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 19 Feb 2012 13:06:55 -0800 Subject: [AccessD] My Comments In-Reply-To: <4F415BFF.6030901@colbyconsulting.com> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <4F415BFF.6030901@colbyconsulting.com> Message-ID: <9041B9581427408DBE5505D94C7E2B77@TonySeptav> Hey John Over the years you haven't changed. LOL. An answer to a question is better than nothing.............. Someone needed help and they got a response that wasn't forth coming. For heavens sake lets not mix apples and oranges I am not responding to everyone "off-line". This list is terrific, with individuals that absolutely "blow me away" in their knowledge of Access (and I know this response will p... you off, I have seen it so many times in the past). You are a generous person in providing your views and solutions, but sometimes you just miss the point. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, February 19, 2012 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments LOL, and if you are answering off line, how do you know that there haven't been a hundred answers, all off line. That is the entire point of the list, that everyone gets to see every answer. I know that I don't answer many questions any more. When I joined the list somewhere around 97 or so, I was trying to "make a name" and so I answered a lot, and I was also learning a lot. Now I tend to send answers to my own questions where I have had to research obscure things. Others who have less time on the list can answer the "how do I" questions that I have already answered a hundred times in the last 15 years. Now if you want to know how to do classes, or handle events, or build a framework, start a thread and I will be there. Or bind an Access FE to a SQL Server database over the internet using Hamachi. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/18/2012 9:50 PM, Tony Septav wrote: > Hey Arthur, Stuart and Gary > I apologize, points well taken. As I have said there are many > individuals on this list that give their 2 cents worth on a problem > whether they have a solution or not. And that is very valuable, it > makes one stop and think about, "Okay how do I use this information I > have gotten to solve this problem". When I said I respond "off line" > it has usually been to individuals (mostly newbies) who do not seem to > be receiving a response from the members on the list (and most of them > eventually disappear). And that is what makes mad and why I call this > list an "old boys/girls club". Many times these individuals were > looking for an answer and basically they were ignored while the "club" > was discussing some esoteric concept (Oh! I will get flamed for that > comment). Sorry if I have offended any one's feelings. This is first > and foremost an MSAccess user group, if it is no longer that then change the name. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Saturday, February 18, 2012 6:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > OK, Tony, point taken. But IMO any question worth posting may have > been at least mentally asked by 1000 other listers, and therefore the > answer ought to be available to them. Just my $2 (accounting for inflation). > > A. > > Only two businesses refer to their clientele as users: drug dealing > and software development. > > -- Arthur Fuller > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: > 02/18/12 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4819 - Release Date: 02/19/12 From TSeptav at uniserve.com Sun Feb 19 15:08:31 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 19 Feb 2012 13:08:31 -0800 Subject: [AccessD] My Comments In-Reply-To: <4F416295.16848.13DD47E0@stuart.lexacorp.com.pg> References: <4F416295.16848.13DD47E0@stuart.lexacorp.com.pg> Message-ID: <5E13351FC35D4557A0972A76A54A215D@TonySeptav> Hey Stuart Thanks Stuart/ It was a joke on myself, it was there but I never saw it. If you cannot laugh at yourself then who can you laugh at. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, February 19, 2012 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments 12 years :-) On 19 Feb 2012 at 8:07, Tony Septav wrote: > cooler". In fact the other day I discovered Access has a InstrRev() > function (go figure, how long has that been there). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2112/4819 - Release Date: 02/19/12 From rockysmolin at bchacc.com Sun Feb 19 15:42:09 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 19 Feb 2012 13:42:09 -0800 Subject: [AccessD] Freeze panes In-Reply-To: <006401ccef31$6c0cdcc0$44269640$@net> References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007><4F4015B5.28396.EC8F978@stuart.lexacorp.com.pg> <006401ccef31$6c0cdcc0$44269640$@net> Message-ID: I get an error - that command is not available now. I'm putting it in the _Open event but go the same problem in the _Load event. But I'm using A2003. Any idea why it won't let me run that command? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, February 19, 2012 10:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freeze panes Thanks for that Stuart. That command never worked for me....Now I see why !! I didn't SETFOCUS !! > companyname.SetFocus > DoCmd.RunCommand acCmdFreezeColumn -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Feb 19 16:12:17 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 19 Feb 2012 14:12:17 -0800 Subject: [AccessD] My Comments In-Reply-To: <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> Message-ID: Tony, One of the points of the list was to provide answers to questions people haven't yet needed to ask. That's why the archives exist. If you answer off list, then the answer(s) never make it into the archives. When the OP stops asking, we just assume they no longer need help. Charlotte Foust On Sat, Feb 18, 2012 at 5:50 PM, Tony Septav wrote: > Hey Arthur > And there lies the rub: why keep your responses private? > > Why clutter up the list, when it is more efficient just to respond to a > question from a member. It was being addressed and that is what we are here > for. If they figure it is important then let them post the response. > Someone > was in dire need of an answer and it was given. Enough said. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, February 18, 2012 5:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > And there lies the rub: why keep your responses private? As for me, I try > to > answer whatever I can, and although I am trying to master C#, I still keep > one large foot in Access, and try to answer what questions I can. > Those I can't, I leave to those who can. > A. > > I am not the only person who uses his computer mainly for the purpose of > diddling with his computer. > > -Dave Barry > > > > > On Sat, Feb 18, 2012 at 7:51 PM, Tony Septav wrote: > > > Hey Gary > > "I don't keep track but how many do YOU answer? Ha ha. > > > > No offense, I appreciate the levity, many times I do answer a question > > by contacting the individual "off line", rather than on the list. > > > > Tony Septav > > Nanaimo, BC > > Canada > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > > > Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: 02/18/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Sun Feb 19 16:18:07 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 17:18:07 -0500 Subject: [AccessD] My Comments In-Reply-To: <006601ccef32$ca9be780$5fd3b680$@net> References: <006601ccef32$ca9be780$5fd3b680$@net> Message-ID: I sympathize with you on this, and agree whole-heartedly. Here in Ontario, almost no one is requesting new Access apps; rather the few that are requesting want some existing app migrated to some newer version of Office/Access/Excel, and to ensure that it works when they pull the plug on winXP and replace it with win7. The up-side, if there is any, is that you can double your rates by delivering a C# app instead. Thank the Lord that many companies poo-poo Access and even VB.NET; for some ignorance-based reason, which we might be thankful for: there exist several translators that inhale VB.NET code and exhale C#.NET code, so even if you don't know much about C# but do know something about VB.NET, then you can write in your language and translate it to upscale clients. This is not the ideal path, but it will enable you to get comfortable with the changes in syntax. That said, there are several significant areas in C# that have no VB equivalents, so if you need them, you're on your own. But the converse is untrue: everything that can be done in VB.NET can be done in C#. What is sadly lacking, from the POV of Access developers looking to graduate, is Step By Step tutorials that guide one into the transition. The Northwind.NET initiative, whose primary contributors are the esteemed Shamil and Gustav, falls seriously short of this requirement. That is most emphatically NOT to slam their initiative, but rather to say that it goes too far too quickly, and leaves the novice in the dust: so many assemblies, so few instructions or guidelines justifying their existence or necessity. As I plod through this stuff, I am simultaneously writing a tut that with luck will elucidate the path that an Access developer should take into this new world. This tut will involve every mis-step I made along the way, and with luck, will provide a path from a simple two-table app to a 200-table app. As for cloud, I remain in the Nay Nay Nay camp, until proven otherwise, for several reasons, the most significant of which is performance depending upon one's connection/speed. I have a slow connection and remain to stay that way, so I can test the bottom-end, and let me say, the Bottom End sucks! Maybe it's nice on the top end, I wouldn't know. A. From stuart at lexacorp.com.pg Sun Feb 19 16:18:33 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Feb 2012 08:18:33 +1000 Subject: [AccessD] Freeze panes In-Reply-To: References: <0C5B30CA1DEF4A2BBDCEF28D18D76785@HAL9007>, <006401ccef31$6c0cdcc0$44269640$@net>, Message-ID: <4F417539.102.14261924@stuart.lexacorp.com.pg> I still do all of my primary development in A2003. It works for me. I've tried it on a main form, a subform and a form embedded in a tab control and it works everytime in the On_Open. Are you sure the Default View of the form is Datasheet. You will get that error if it is set to anything else. -- Stuart On 19 Feb 2012 at 13:42, Rocky Smolin wrote: > I get an error - that command is not available now. I'm putting it in the > _Open event but go the same problem in the _Load event. But I'm using > A2003. > > Any idea why it won't let me run that command? > > TIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Sunday, February 19, 2012 10:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freeze panes > > Thanks for that Stuart. That command never worked for me....Now I see why !! > I didn't SETFOCUS !! > > companyname.SetFocus > > DoCmd.RunCommand acCmdFreezeColumn > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Feb 19 16:31:39 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 19 Feb 2012 17:31:39 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <0BF57D0FEBC94502BB4C1C3492EAFAEB@TonySeptav> Message-ID: I made the mistake of installing the trial version of Office 2010 atop my solid 2007 installation. DO NOT DO THIS! If you want to test out this stuff, do so inside a VM and leave your native installation clean and free of the brown-shirt preferences of MS; otherwise suffer numerous reboots to try and return to where you were previous to said installation. Microsoft, you suck! I wasted over three hours today attempting to recover from your inanities. NEVER AGAIN! From now on, every new MS software I install shall be inside a VM that I can blow away in an instant! Thanks for wasting my Sunday, MS! Thanks, thanks, thanks! If only I could bill you for time wasted! Maybe the best response is a class-action suit, and that has possibilities! I'm back to my plan of a month or two back: 1. Never install any version of Windows as the native boot. 2. Install Ubuntu as the native boot, and then install a VM manager (mine happens to be Oracle's VirtualBox). 3. Install every instance of various Windows versions as VMs that I can blow away whenever I wish. I've had it with MS and its rapacious claims on my box. Fork this! From now on, MS, you are destined to be a VM on my boxes, so I can instantly nuke your bad plays. Consider yourself a baseball player this team has decided to trade. See ya! -- Arthur Cell: 647.710.1314 The fancy that extraterrestrial life is by definition of a higher order than our own is one that soothes all children, and many writers. -- Joan Didion From darryl at whittleconsulting.com.au Sun Feb 19 16:46:15 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 19 Feb 2012 22:46:15 +0000 Subject: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF372AD801A4@CINMLDGCNA01.e2k.ad.ge.com> <007901ccedb7$9940a350$cbc1e9f0$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B563C89A@SINPRD0402MB099.apcprd04.prod.outlook.com> Consider rechargeable batteries. They cost about $5 times more upfront (at least they do in Australia - but many things here are expensive!), but they can be re-used 100's of times with minimal performance loss. I use Sony rechargeable batteries and they have been excellent - both AA and AAA sizes. Much more economical than even the cheapest throw away ones, and with better performance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, 18 February 2012 8:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HIJACKED THREAD - MOUSE DBL-CLICK (Was RE: How to detect if Hourglass is true) Logitech is sending me a new keyboard and mouse combo. As to the battery once a month or so. I remember when as a kid willing to replace 4 batteries every week if I liked a certain video game. A mouse makes me $50 or more per hour or helps me click on a web page that delivers me a free video... I am not gonna get mad about a battery every several weeks. AAA batteries in bulk are cheap. But when it doesn't succeed at its most basic function I do get mad. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Feb 19 18:00:33 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 20 Feb 2012 13:00:33 +1300 Subject: [AccessD] DataGrid control Message-ID: Something's happened to my DataGrid Control on a customer site. Worked perfectly in a db in Access 2000 format. Still in Access2000 format but some upgrade by the IT people seems to have broken it. It gives me a run-time 'error 438 Object does not support this Property or Method'. The syntax is: Set Me.DataGridSpecificJobObservations.DataSource = rs (where rs is an ADODB.Recordset) So I look on msdn.microsoft.com and and confused whether ItemsSource has replaced DataSource. I tried ItemsSource instead of DataSource but same error. Is this enough info for someone to help? Stephen Bond From stephen at bondsoftware.co.nz Sun Feb 19 18:03:30 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 20 Feb 2012 13:03:30 +1300 Subject: [AccessD] DataGrid control (cont.) In-Reply-To: <95651D410D3D41F292E91BE9DAA0F9F6@BondSoftware.local> Message-ID: Here's the whole Sub if that helps: ================================================ Sub FillGridSpecificJobObservations(ByVal pk) Dim strSQL As String Set rs = New ADOdb.Recordset Set rs.ActiveConnection = CurrentProject.Connection rs.CursorType = adOpenStatic rs.LockType = adLockReadOnly rs.CursorLocation = adUseClient strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & _ "qryEquipmentRegisterRHS.ObserverName AS ObservName, " & _ "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, " & _ "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & _ "qryEquipmentRegisterRHS.Shift, " & _ "qryEquipmentRegisterRHS.Id" strSQL = strSQL & " FROM qryEquipmentRegisterRHS " strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" rs.Open strSQL rs.Sort = "ObsId Asc" SortAsc = True Set Me.DataGridSpecificJobObservations.DataSource = rs ' <--- runtime error on this line Me.DataGridSpecificJobObservations.Refresh Set dg = Me.DataGridSpecificJobObservations dg.Font.Size = 8 dg.RecordSelectors = False dg.Columns(0).Width = 0 ' JobId dg.Columns(1).Width = 500 ' ObservationId dg.Columns(2).Width = 1800 ' Name dg.Columns(3).Width = 1000 ' Date dg.Columns(4).Width = 800 ' Time dg.Columns(5).Width = 450 ' Shift (was S or U) dg.Columns(6).Width = 0 ' Id ' dg.Columns(5).NumberFormat = "currency" dg.Columns(3).NumberFormat = "dd/mm/yyyy" dg.Columns(4).NumberFormat = "hh:nn" dg.Columns(3).Alignment = 2 dg.Columns(4).Alignment = 2 dg.Columns(5).Alignment = 2 dg.MarqueeStyle = 3 If rs.RecordCount = 0 Then ' Me.Toolbar1.Buttons("Edit").Enabled = False Else ' Me.Toolbar1.Buttons("Edit").Enabled = True End If End Sub ================================= From stuart at lexacorp.com.pg Sun Feb 19 18:23:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Feb 2012 10:23:09 +1000 Subject: [AccessD] DataGrid control (cont.) In-Reply-To: References: <95651D410D3D41F292E91BE9DAA0F9F6@BondSoftware.local>, Message-ID: <4F41926D.1884.14982B30@stuart.lexacorp.com.pg> Can't help with your query. But out of curiosity, why are you using a datagrid in preference to a subform in datasheet view? -- Stuart On 20 Feb 2012 at 13:03, Stephen Bond wrote: > Here's the whole Sub if that helps: > ================================================ > Sub FillGridSpecificJobObservations(ByVal pk) > Dim strSQL As String > Set rs = New ADOdb.Recordset > Set rs.ActiveConnection = CurrentProject.Connection > rs.CursorType = adOpenStatic > rs.LockType = adLockReadOnly > rs.CursorLocation = adUseClient > strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ > "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & > _ > "qryEquipmentRegisterRHS.ObserverName AS ObservName, > " & _ > "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, > " & _ > "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & > _ > "qryEquipmentRegisterRHS.Shift, " & _ > "qryEquipmentRegisterRHS.Id" > strSQL = strSQL & " FROM qryEquipmentRegisterRHS " > strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" > rs.Open strSQL > rs.Sort = "ObsId Asc" > SortAsc = True > Set Me.DataGridSpecificJobObservations.DataSource = rs ' <--- > runtime error on this line > > Me.DataGridSpecificJobObservations.Refresh > > Set dg = Me.DataGridSpecificJobObservations > dg.Font.Size = 8 > dg.RecordSelectors = False > dg.Columns(0).Width = 0 ' JobId > dg.Columns(1).Width = 500 ' ObservationId > dg.Columns(2).Width = 1800 ' Name > dg.Columns(3).Width = 1000 ' Date > dg.Columns(4).Width = 800 ' Time > dg.Columns(5).Width = 450 ' Shift (was S or U) > dg.Columns(6).Width = 0 ' Id > ' dg.Columns(5).NumberFormat = "currency" > dg.Columns(3).NumberFormat = "dd/mm/yyyy" > dg.Columns(4).NumberFormat = "hh:nn" > dg.Columns(3).Alignment = 2 > dg.Columns(4).Alignment = 2 > dg.Columns(5).Alignment = 2 > dg.MarqueeStyle = 3 > If rs.RecordCount = 0 Then > ' Me.Toolbar1.Buttons("Edit").Enabled = False > Else > ' Me.Toolbar1.Buttons("Edit").Enabled = True > End If > End Sub > > ================================= > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Feb 19 19:13:31 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 19 Feb 2012 20:13:31 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <006601ccef32$ca9be780$5fd3b680$@net> Message-ID: >>, I am ... writing a tut that ... will elucidate the path that an Access developer should take into [C Sharp] world Arthur, I am willing to learn, but I don't know what I could develop in C Sharp that large clients are going to pay me for, or that their IT departments will consider me worth the risk to contract with, given their existing relationships and established DPMM beaurocracies. The client I see most often contracts mainly with large low cost country vendors, with most of the resources being "off-shore". Yes, those resources are hard to deal with, however they have integrated themselves very well with the Multiglom Corp. and they talk the language of "cheap" very well, which is all Multiglom wants to pay. The software is not very good in my unqualified estimation, but no doubt there are surprises. I will never compete with these vendors, so shouldn't I just be sticking with Excel and Access, where I can get very close to the data that my clients are fighting with, building small and nimble systems? I cannot possibly compete with hungry programmers in India/China/Ireland/Afghanistan/YouNamitstan) From garykjos at gmail.com Sun Feb 19 19:23:39 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 19 Feb 2012 19:23:39 -0600 Subject: [AccessD] My Comments In-Reply-To: <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> Message-ID: Susan, I have offered to show people at my shop how to do queries in Access but nobody takes me up on it. Things that I can whip out in a few moments take hours to do using straight SQL on an Oracle Database unless they are very simple. Anything involving 3 or 4 tables I will have done far faster than they will. I love the query builder in Access. We have a couple important Access databases at our company, all created by an outside contractor who is no longer available to do repairs on when something gets broken. That isn't often but when it happens, I get the call and it's always an emergency. All those apps will eventually be rewritten in another tool and I would guess that they will take hundreds of man hours to do them in those tools. Most of my Access work is to query Oracle tables I connect to via ODBC, extract and summarize data and spit out Excel for Finance, Accounting, Legal and other departments. Those users come to me for solutions because I can turn their requests around in a few minutes or maybe a few hours if it's complicated and I can customize things to their needs like reassigning product groupings in ways that the source system doesn't even know about and give them exactly what they ask for 98% of the time. The stuff I do in those minutes or maybe hours would take days or maybe weeks to do in the standard Oracle development tools. There was one report I did in Access that I did in maybe an hour. I tweaked it a couple times as the requirements changed over the course of a couple months, spending probably another couple hours for 4 or so variations. I'm not allowed to deploy my Access creations to the users so I have to run them when they need them to be run though. My boss doesn't care for that and wants things developed in tools that users can run things themselves. This one would take me about 5 minutes to run each time they needed it to be run. So they used my query results as the specifications for the Oracle Reports based solution and the guy who did it took two solid weeks to get the first draft done and then needed another week to fine tune it before the user would sign off that it gave her what she needed. She really didn't like the end result but it did give her the numbers she needed and she could run it herself and she did like that. I use other tools now - Informatica ETL tool to move data around and load Data Warehouse tables. Business Objects for reporting. So I have solutions that I can do the same things I do with Access and they do work. But they are quite a lot more difficult to achieve the same results as I do with a little dragging and dropping in the Access windows. GK On Sun, Feb 19, 2012 at 9:36 AM, Susan Harkins wrote: > Gary, I'm in a similar situation -- not working with Access much anymore. I > haven't moved on to something else, I'm just working less. The dh is retired > and I'm partially so... I read messages sometimes, but by the time I see > them, someone else has usually answered them. To be honest, a lot of threads > get deleted unread. I don't think Access is dead by any means, but I think > the industry is using it very differently. :( I run polls frequently on my > Office blog and Access is the least used application and nobody really wants > to read about it. I still do write about it, just not very often -- once a > month maybe. > > Susan H. > > > > > I really wonder how many people we have reading the messages on a > timely basis. I'm looking at my inbox about every hour during the work > day. Maybe once a day on weekends though. But I really only open > messages that have a subject that either interests me or I think I > might have input on. I do skip entire threads if it seems it's nothing > I can help with. So much to do, so little time. > > -- > 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 darryl at whittleconsulting.com.au Sun Feb 19 19:37:09 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 20 Feb 2012 01:37:09 +0000 Subject: [AccessD] My Comments In-Reply-To: References: <006601ccef32$ca9be780$5fd3b680$@net> Message-ID: <56653D383CB80341995245C537A9E7B563CB05@SINPRD0402MB099.apcprd04.prod.outlook.com> Bill, I have found there are many companies that value personal services, professional attitude, local knowledge and local language skills and an ability to be fast and flexible over any pure cost metric. I never try to be the cheapest, and I never say I am the best (because there is no way I can honestly achieve either) but I can offer my skills and services in a way that provides excellent value for the client and allows me to make a decent enough income. Given I have had some of my clients for over 10 years now it is an approach that seems to work, at least for me and them in this part of the world. Of course everyone's situation is different - I know our US and Euro friends are having a very hard time of it right now - The economy is Australia is still doing ok for most of us. FWIIW, I have had plenty of roles over the years where my position has been outsourced to a 3rd party supplier from another country (usually somewhere in India or Asia). I don't get upset about it, hell, those folks need jobs and income too, and they have a family just like I do. I just move on and play my strengths. I sure can compete in ways and places that these organisations cannot. There is also a bigger picture here. Frankly the idea of an unstable India or Pakistan scares me. Both have nuclear weapons and having a large and unhappy population who can't get jobs or feed their kids isn't something I want to see. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 20 February 2012 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments >>, I am ... writing a tut that ... will elucidate the path that an >>Access developer should take into [C Sharp] world Arthur, I am willing to learn, but I don't know what I could develop in C Sharp that large clients are going to pay me for, or that their IT departments will consider me worth the risk to contract with, given their existing relationships and established DPMM beaurocracies. The client I see most often contracts mainly with large low cost country vendors, with most of the resources being "off-shore". Yes, those resources are hard to deal with, however they have integrated themselves very well with the Multiglom Corp. and they talk the language of "cheap" very well, which is all Multiglom wants to pay. The software is not very good in my unqualified estimation, but no doubt there are surprises. I will never compete with these vendors, so shouldn't I just be sticking with Excel and Access, where I can get very close to the data that my clients are fighting with, building small and nimble systems? I cannot possibly compete with hungry programmers in India/China/Ireland/Afghanistan/YouNamitstan) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Mon Feb 20 00:33:04 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 20 Feb 2012 19:33:04 +1300 Subject: [AccessD] DataGrid control (cont.) In-Reply-To: <3148C10CB8E3427193D5B057037EA4DB@BondSoftware.local> References: <95651D410D3D41F292E91BE9DAA0F9F6@BondSoftware.local> <3148C10CB8E3427193D5B057037EA4DB@BondSoftware.local> Message-ID: Good question Stuart. Like you, I've eschewed the Microsoft 'latest fad' over the years, usually. In this case I was experimenting (years ago) with ADO and DataGrids in A2K, and it just kinda stayed on in the app. Bad choice, huh? I've been trying a few things in the past few days from various MS sources (mostly contradictory). Looks like the quickest solution will be to go back to vanilla. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 20 February 2012 1:31 p.m. To: Stephen Subject: Re: [AccessD] DataGrid control (cont.) Can't help with your query. But out of curiosity, why are you using a datagrid in preference to a subform in datasheet view? -- Stuart On 20 Feb 2012 at 13:03, Stephen Bond wrote: > Here's the whole Sub if that helps: > ================================================ > Sub FillGridSpecificJobObservations(ByVal pk) > Dim strSQL As String > Set rs = New ADOdb.Recordset > Set rs.ActiveConnection = CurrentProject.Connection > rs.CursorType = adOpenStatic > rs.LockType = adLockReadOnly > rs.CursorLocation = adUseClient > strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ > "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & > _ > "qryEquipmentRegisterRHS.ObserverName AS ObservName, > " & _ > "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, > " & _ > "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & > _ > "qryEquipmentRegisterRHS.Shift, " & _ > "qryEquipmentRegisterRHS.Id" > strSQL = strSQL & " FROM qryEquipmentRegisterRHS " > strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" > rs.Open strSQL > rs.Sort = "ObsId Asc" > SortAsc = True > Set Me.DataGridSpecificJobObservations.DataSource = rs ' <--- > runtime error on this line > > Me.DataGridSpecificJobObservations.Refresh > > Set dg = Me.DataGridSpecificJobObservations > dg.Font.Size = 8 > dg.RecordSelectors = False > dg.Columns(0).Width = 0 ' JobId > dg.Columns(1).Width = 500 ' ObservationId > dg.Columns(2).Width = 1800 ' Name > dg.Columns(3).Width = 1000 ' Date > dg.Columns(4).Width = 800 ' Time > dg.Columns(5).Width = 450 ' Shift (was S or U) > dg.Columns(6).Width = 0 ' Id > ' dg.Columns(5).NumberFormat = "currency" > dg.Columns(3).NumberFormat = "dd/mm/yyyy" > dg.Columns(4).NumberFormat = "hh:nn" > dg.Columns(3).Alignment = 2 > dg.Columns(4).Alignment = 2 > dg.Columns(5).Alignment = 2 > dg.MarqueeStyle = 3 > If rs.RecordCount = 0 Then > ' Me.Toolbar1.Buttons("Edit").Enabled = False > Else > ' Me.Toolbar1.Buttons("Edit").Enabled = True > End If > 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 Gustav at cactus.dk Mon Feb 20 01:04:30 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Feb 2012 08:04:30 +0100 Subject: [AccessD] My Comments Message-ID: Hi Arthur Another issue is simply cost. Amazon has some offerings for free for limited use and Azure has a three-month free trial, but for any other (real) situation you have to pay even for test and development. That's a show stopper here. /gustav >>> fuller.artful at gmail.com 19-02-2012 23:18 >>> As for cloud, I remain in the Nay Nay Nay camp, until proven otherwise, for several reasons, the most significant of which is performance depending upon one's connection/speed. I have a slow connection and remain to stay that way, so I can test the bottom-end, and let me say, the Bottom End sucks! Maybe it's nice on the top end, I wouldn't know. A. From jimdettman at verizon.net Mon Feb 20 04:17:19 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Feb 2012 05:17:19 -0500 Subject: [AccessD] My Comments In-Reply-To: <006601ccef32$ca9be780$5fd3b680$@net> References: <006601ccef32$ca9be780$5fd3b680$@net> Message-ID: <9DFBBD37AA424AA3BDADF7730617DA92@XPS> <> I just found out recently that this is not the case. You just need to buy a higher level of service. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, February 19, 2012 01:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Comments Re: "it has been so terribly darn slow lately" Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much as Excel ;) The problem is: the above statement should read: Re: "it will be so terribly darn slow in the foreseeable future" I have never seen so few requirements for Access developers....ever. And when an opening pops-up....it's gone within 48 HOURS. Obviously, Everyone is starving !! On top of that, agencies.consulting firms know this and are TAKING ADVANTAGE OF IT (more on that later). The trend towards web 2.0-based apps and cloud computing has made Access an antique. Had MSFT made a VBA to Web Macro conversion facility, we'd all be working like mad....moving our client's apps to the cloud under Office 365 Alas, they did not. In fact, they even disabled Office 365 from having Access services. That's right: You cannot run a 2007/2010 access web app within Microsoft's own new cloud service. How's THAT for a kick in the teeth to Access developers. That's all "Balmer" for you. Never liked the guy, never will. This is all reason to get out of this business. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Mon Feb 20 04:51:06 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 20 Feb 2012 14:51:06 +0400 Subject: [AccessD] =?utf-8?q?My_Comments?= In-Reply-To: <9DFBBD37AA424AA3BDADF7730617DA92@XPS> References: <006601ccef32$ca9be780$5fd3b680$@net> <9DFBBD37AA424AA3BDADF7730617DA92@XPS> Message-ID: Hi Jim -- Do you mean using Office 365 with MS Access 2010? e.g: http://blogs.office.com/b/microsoft-access/archive/2011/05/12/office-365-helps-you-take-care-of-your-data.aspx Thank you. -- Shamil 20 ??????? 2012, 14:18 ?? "Jim Dettman" : > < own new cloud service.>> > > I just found out recently that this is not the case. You just need to buy > a higher level of service. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Sunday, February 19, 2012 01:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Comments > > Re: "it has been so terribly darn slow lately" > Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much as > Excel ;) > > The problem is: the above statement should read: > Re: "it will be so terribly darn slow in the foreseeable future" > I have never seen so few requirements for Access developers....ever. > And when an opening pops-up....it's gone within 48 HOURS. Obviously, > Everyone is starving !! > On top of that, agencies.consulting firms know this and are TAKING ADVANTAGE > OF IT (more on that later). > > The trend towards web 2.0-based apps and cloud computing has made Access an > antique. > Had MSFT made a VBA to Web Macro conversion facility, we'd all be working > like mad....moving our client's apps to the cloud under Office 365 > Alas, they did not. In fact, they even disabled Office 365 from having > Access services. > That's right: You cannot run a 2007/2010 access web app within Microsoft's > own new cloud service. > How's THAT for a kick in the teeth to Access developers. > That's all "Balmer" for you. Never liked the guy, never will. > > This is all reason to get out of this business. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Feb 20 05:22:26 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Feb 2012 12:22:26 +0100 Subject: [AccessD] My Comments Message-ID: Hi Jim Seems like shared SharePoint lists and some browser support using macros: http://office.microsoft.com/en-us/sharepoint-online-enterprise-help/build-and-publish-an-access-database-to-sharepoint-HA102435342.aspx?CTT=5&origin=HA102610172 /gustav >>> mcp2004 at mail.ru 20-02-2012 11:51 >>> Hi Jim -- Do you mean using Office 365 with MS Access 2010? e.g: http://blogs.office.com/b/microsoft-access/archive/2011/05/12/office-365-helps-you-take-care-of-your-data.aspx Thank you. -- Shamil 20 ??????? 2012, 14:18 ?? "Jim Dettman" : > < own new cloud service.>> > > I just found out recently that this is not the case. You just need to buy > a higher level of service. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Sunday, February 19, 2012 01:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Comments > > Re: "it has been so terribly darn slow lately" > Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much as > Excel ;) > > The problem is: the above statement should read: > Re: "it will be so terribly darn slow in the foreseeable future" > I have never seen so few requirements for Access developers....ever. > And when an opening pops-up....it's gone within 48 HOURS. Obviously, > Everyone is starving !! > On top of that, agencies.consulting firms know this and are TAKING ADVANTAGE > OF IT (more on that later). > > The trend towards web 2.0-based apps and cloud computing has made Access an > antique. > Had MSFT made a VBA to Web Macro conversion facility, we'd all be working > like mad....moving our client's apps to the cloud under Office 365 > Alas, they did not. In fact, they even disabled Office 365 from having > Access services. > That's right: You cannot run a 2007/2010 access web app within Microsoft's > own new cloud service. > How's THAT for a kick in the teeth to Access developers. > That's all "Balmer" for you. Never liked the guy, never will. > > This is all reason to get out of this business. From jimdettman at verizon.net Mon Feb 20 06:50:36 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Feb 2012 07:50:36 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <006601ccef32$ca9be780$5fd3b680$@net> <9DFBBD37AA424AA3BDADF7730617DA92@XPS> Message-ID: Shamil, No, I was talking about this: http://www.microsoft.com/en-us/office365/enterprise-solutions/enterprise-pla ns.aspx#fbid=jnfG16mzWb6 You need a E3 or E4 plan to use Access Sevices with Office 365, which would allow you to host Access web databases under SharePoint. Personally I hardly thing it worth it, given these folks: www.eqldata.com Where you can run virtually any Access app on the web and don't have to live with any of the SharePoint/Access Web database restrictions. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, February 20, 2012 05:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Hi Jim -- Do you mean using Office 365 with MS Access 2010? e.g: http://blogs.office.com/b/microsoft-access/archive/2011/05/12/office-365-hel ps-you-take-care-of-your-data.aspx Thank you. -- Shamil 20 ??????? 2012, 14:18 ?? "Jim Dettman" : > < own new cloud service.>> > > I just found out recently that this is not the case. You just need to buy > a higher level of service. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Sunday, February 19, 2012 01:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Comments > > Re: "it has been so terribly darn slow lately" > Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much as > Excel ;) > > The problem is: the above statement should read: > Re: "it will be so terribly darn slow in the foreseeable future" > I have never seen so few requirements for Access developers....ever. > And when an opening pops-up....it's gone within 48 HOURS. Obviously, > Everyone is starving !! > On top of that, agencies.consulting firms know this and are TAKING ADVANTAGE > OF IT (more on that later). > > The trend towards web 2.0-based apps and cloud computing has made Access an > antique. > Had MSFT made a VBA to Web Macro conversion facility, we'd all be working > like mad....moving our client's apps to the cloud under Office 365 > Alas, they did not. In fact, they even disabled Office 365 from having > Access services. > That's right: You cannot run a 2007/2010 access web app within Microsoft's > own new cloud service. > How's THAT for a kick in the teeth to Access developers. > That's all "Balmer" for you. Never liked the guy, never will. > > This is all reason to get out of this business. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Feb 20 07:29:41 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 08:29:41 -0500 Subject: [AccessD] My Comments In-Reply-To: <9041B9581427408DBE5505D94C7E2B77@TonySeptav> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav><6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <4F415BFF.6030901@colbyconsulting.com> <9041B9581427408DBE5505D94C7E2B77@TonySeptav> Message-ID: <4F424AC5.4070508@colbyconsulting.com> LOL, I think you have been answered many times by many people saying it is best to keep the answers on list. It is not just my opinion. If you have a specific reason for answering off list, to answer a personal question or something, then fine. This list is terrific, and I keep hanging around for that very reason. But I am (luckily) very busy. From what I am seeing there are many who aren't. I scan threads that I could answer and just hit delete. Someone else can answer. I see very few where there is no answer at all. As I said, if there is a thread where I have unique knowledge then I am there, fire away, I will pipe up. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/19/2012 4:06 PM, Tony Septav wrote: > Hey John > Over the years you haven't changed. > LOL. An answer to a question is better than nothing.............. > Someone needed help and they got a response that wasn't forth coming. > For heavens sake lets not mix apples and oranges I am not responding to > everyone "off-line". This list is terrific, with individuals that absolutely > "blow me away" in their knowledge of Access (and I know this response will > p... you off, I have seen it so many times in the past). You are a generous > person in providing your views and solutions, but sometimes you just miss > the point. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, February 19, 2012 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > LOL, and if you are answering off line, how do you know that there haven't > been a hundred answers, all off line. > > That is the entire point of the list, that everyone gets to see every > answer. > > I know that I don't answer many questions any more. When I joined the list > somewhere around 97 or so, I was trying to "make a name" and so I answered a > lot, and I was also learning a lot. Now I tend to send answers to my own > questions where I have had to research obscure things. Others who have less > time on the list can answer the "how do I" questions that I have already > answered a hundred times in the last 15 years. > > Now if you want to know how to do classes, or handle events, or build a > framework, start a thread and I will be there. Or bind an Access FE to a > SQL Server database over the internet using Hamachi. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/18/2012 9:50 PM, Tony Septav wrote: >> Hey Arthur, Stuart and Gary >> I apologize, points well taken. As I have said there are many >> individuals on this list that give their 2 cents worth on a problem >> whether they have a solution or not. And that is very valuable, it >> makes one stop and think about, "Okay how do I use this information I >> have gotten to solve this problem". When I said I respond "off line" >> it has usually been to individuals (mostly newbies) who do not seem to >> be receiving a response from the members on the list (and most of them >> eventually disappear). And that is what makes mad and why I call this >> list an "old boys/girls club". Many times these individuals were >> looking for an answer and basically they were ignored while the "club" >> was discussing some esoteric concept (Oh! I will get flamed for that >> comment). Sorry if I have offended any one's feelings. This is first >> and foremost an MSAccess user group, if it is no longer that then change > the name. >> >> Tony Septav >> Nanaimo, BC >> Canada >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur >> Fuller >> Sent: Saturday, February 18, 2012 6:17 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] My Comments >> >> OK, Tony, point taken. But IMO any question worth posting may have >> been at least mentally asked by 1000 other listers, and therefore the >> answer ought to be available to them. Just my $2 (accounting for > inflation). >> >> A. >> >> Only two businesses refer to their clientele as users: drug dealing >> and software development. >> >> -- Arthur Fuller >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.1913 / Virus Database: 2112/4817 - Release Date: >> 02/18/12 >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2112/4819 - Release Date: 02/19/12 > From mcp2004 at mail.ru Mon Feb 20 07:50:56 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 20 Feb 2012 17:50:56 +0400 Subject: [AccessD] =?utf-8?q?My_Comments?= In-Reply-To: References: Message-ID: Hi Jim -- Thank you for your link. AFAIS they (EQLData/com) run MS Access runtimes on server side and then use "VNC over RFB" + Flash to communicate with that MS Access application running on server side. They also use some proprietary data (I guess that is mainly based on .SavedAsText/.LoadAsText) to synch local and server side versions of an application... .But MS Windows native desktop virtualization promise to come true and relatively inexpensive real soon? Thank you. -- Shamil 20 ??????? 2012, 16:51 ?? "Jim Dettman" : > Shamil, > > No, I was talking about this: > > http://www.microsoft.com/en-us/office365/enterprise-solutions/enterprise-pla > ns.aspx#fbid=jnfG16mzWb6 > > You need a E3 or E4 plan to use Access Sevices with Office 365, which > would allow you to host Access web databases under SharePoint. > > Personally I hardly thing it worth it, given these folks: > > www.eqldata.com > > Where you can run virtually any Access app on the web and don't have to > live with any of the SharePoint/Access Web database restrictions. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Monday, February 20, 2012 05:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My Comments > > Hi Jim -- > > Do you mean using Office 365 with MS Access 2010? > > e.g: > http://blogs.office.com/b/microsoft-access/archive/2011/05/12/office-365-hel > ps-you-take-care-of-your-data.aspx > > Thank you. > > -- Shamil > > 20 ??????? 2012, 14:18 ?? "Jim Dettman" : > > < Microsoft's > > own new cloud service.>> > > > > I just found out recently that this is not the case. You just need to > buy > > a higher level of service. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > > Sent: Sunday, February 19, 2012 01:18 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] My Comments > > > > Re: "it has been so terribly darn slow lately" > > Tony, I'm "with you" and I love Access as dearly....OK, maybe not as much > as > > Excel ;) > > > > The problem is: the above statement should read: > > Re: "it will be so terribly darn slow in the foreseeable future" > > I have never seen so few requirements for Access developers....ever. > > And when an opening pops-up....it's gone within 48 HOURS. Obviously, > > Everyone is starving !! > > On top of that, agencies.consulting firms know this and are TAKING > ADVANTAGE > > OF IT (more on that later). > > > > The trend towards web 2.0-based apps and cloud computing has made Access > an > > antique. > > Had MSFT made a VBA to Web Macro conversion facility, we'd all be working > > like mad....moving our client's apps to the cloud under Office 365 > > Alas, they did not. In fact, they even disabled Office 365 from having > > Access services. > > That's right: You cannot run a 2007/2010 access web app within Microsoft's > > own new cloud service. > > How's THAT for a kick in the teeth to Access developers. > > That's all "Balmer" for you. Never liked the guy, never will. > > > > This is all reason to get out of this business. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Mon Feb 20 08:15:39 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Feb 2012 09:15:39 -0500 Subject: [AccessD] My Comments In-Reply-To: References: Message-ID: <76870AFB43674C618F44B7F656E640E6@XPS> Shamil, <> I know they run it server side, but I am not sure what technology they use to access it through a web browser window. << They also use some proprietary data (I guess that is mainly based on .SavedAsText/.LoadAsText) to synch local and server side versions of an application...>> I have not used them myself or had a client that has used them, but someone asking a question on Experts-Exchange decided to give them a try and was very happy with them. It was not quite as transparent as they thought it would be however. They had some issues with local printing and the fact that the app was running on the server (i.e. import/export of files), but you would have those issues in Citrix/Terminal Services environment regardless. However they said that eqldata tech support was very supportive and they had their issues cleaned up quickly. Overall, they were quite pleased with the service and the operation of the DB. As for how they "sync" the local DB to the copy running on their server I have no idea. They do mention a "plug-in" that needs to be added to the DB, so they may be doing the .SavedAsText/.LoadAsText thing to get the forms and reports. Not sure. But for all intents and purposes, you can run an application virtually un-modified from the way you developed it. However with SharePoint and Access services, you need to develop from the start as a "web enabled" database, which restricts you on the forms and controls that you can use. Also no VBA code allowed; everything needs to be done via macros and if you have not used the current 2010 macro editor, then you have missed a good lesson in patience. Current consensus is that for everything but the simplest DB's, it is not worth it. <<.But MS Windows native desktop virtualization promise to come true and relatively inexpensive real soon?>> One can only hope. I was shocked the other day to find out how much work Microsoft actually did in 2008 with remote desktop services. You can now run a VOIP application client side when using RDS, which up until now was impossible. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, February 20, 2012 08:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Hi Jim -- Thank you for your link. <> From TSeptav at uniserve.com Mon Feb 20 08:28:11 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Mon, 20 Feb 2012 06:28:11 -0800 Subject: [AccessD] Back to Web Browser ActiveX Message-ID: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> Hey All If there is anyone wanting to allow their client to view PDF files in a form in an application I highly recommend using the Web Browser ActiveX control. So far I haven't run into any problems (not saying there aren't any, but....). Also as an aside I was trying to find a way to allow the client to convert a file to a PDF if they didn't own a full blown copy of Adobe. One of those problems, if not, how to solve it. I found LeadTools EPrint $99 (actual I had purchased one of the first versions of the program years ago, and forgot about it, ahhh old age). It installs on the user;'s machine as a printer driver (it converts almost anything you can print to a PDF). The thing that I really like is they have an option that let's you annotate a PDF file. Tony Septav Nanaimo, BC Canada From jimdettman at verizon.net Mon Feb 20 08:39:53 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Feb 2012 09:39:53 -0500 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> Message-ID: Tony, <> There are a number of free utilities out there that will allow for taking Post Script output from a printer driver (saved to a file) and convert it to a PDF. I use Ghost Script to do that. I've looked at LeadTools in the past and it looks like good stuff, but I have not had an opportunity to use it yet. I'm going to jump out there and look at it again. Been sometime since I looked at what they had to offer. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Monday, February 20, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Back to Web Browser ActiveX Hey All If there is anyone wanting to allow their client to view PDF files in a form in an application I highly recommend using the Web Browser ActiveX control. So far I haven't run into any problems (not saying there aren't any, but....). Also as an aside I was trying to find a way to allow the client to convert a file to a PDF if they didn't own a full blown copy of Adobe. One of those problems, if not, how to solve it. I found LeadTools EPrint $99 (actual I had purchased one of the first versions of the program years ago, and forgot about it, ahhh old age). It installs on the user;'s machine as a printer driver (it converts almost anything you can print to a PDF). The thing that I really like is they have an option that let's you annotate a PDF file. Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Feb 20 08:52:37 2012 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 20 Feb 2012 06:52:37 -0800 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> Message-ID: Off topic reply: Tony, I sent you an off-group email a few days ago to your uniserve email address. Did you get it? Thanks, Doug From marksimms at verizon.net Mon Feb 20 09:13:44 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 20 Feb 2012 10:13:44 -0500 Subject: [AccessD] My Comments In-Reply-To: References: <006601ccef32$ca9be780$5fd3b680$@net> <9DFBBD37AA424AA3BDADF7730617DA92@XPS> Message-ID: <006f01ccefe2$3db06700$b9113500$@net> Shamil - Thanks for clarifying this....I got my information from a "Sharepoint Saturday" event sponsored by Microsoft. It appears of course that specifics are still muddy. > Do you mean using Office 365 with MS Access 2010? > e.g: http://blogs.office.com/b/microsoft- > access/archive/2011/05/12/office-365-helps-you-take-care-of-your- > data.aspx > From marksimms at verizon.net Mon Feb 20 09:19:57 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 20 Feb 2012 10:19:57 -0500 Subject: [AccessD] Access Queries In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> Message-ID: <007001ccefe3$1bd1a300$5374e900$@net> Sorry Gary, I disagree. Even in Access 2010, there is still no ability to embed comments in the SQL. On top of that, any SQL formatting gets lost. And now couple that with a huge bug where AC2010 will actually CHANGE YOUR SQL without warning. That one bit me (embarrassingly so) at a client's location just last week. I now have created a procedure to store each Query's SQL in a text file...so it can be "restored". Bottomline: DO NOT USE ACCESS FOR COMPLEX QUERIES....YOU'RE GONNA GET BURNT. > I have offered to show people at my shop how to do queries in Access > but nobody takes me up on it. Things that I can whip out in a few > moments take hours to do using straight SQL on an Oracle Database > unless they are very simple. Anything involving 3 or 4 tables I will > have done far faster than they will. I love the query builder in > Access. From vbacreations at gmail.com Mon Feb 20 10:01:27 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 20 Feb 2012 11:01:27 -0500 Subject: [AccessD] Access Queries In-Reply-To: <007001ccefe3$1bd1a300$5374e900$@net> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> Message-ID: Access routinely changes complex queries as you point out. Why use text files though? Why not vba modules so you can easily see and edit them? On Feb 20, 2012 10:21 AM, "Mark Simms" wrote: > Sorry Gary, I disagree. Even in Access 2010, there is still no ability to > embed comments in the SQL. > On top of that, any SQL formatting gets lost. > And now couple that with a huge bug where AC2010 will actually CHANGE YOUR > SQL without warning. > That one bit me (embarrassingly so) at a client's location just last week. > I now have created a procedure to store each Query's SQL in a text > file...so > it can be "restored". > Bottomline: DO NOT USE ACCESS FOR COMPLEX QUERIES....YOU'RE GONNA GET > BURNT. > > > I have offered to show people at my shop how to do queries in Access > > but nobody takes me up on it. Things that I can whip out in a few > > moments take hours to do using straight SQL on an Oracle Database > > unless they are very simple. Anything involving 3 or 4 tables I will > > have done far faster than they will. I love the query builder in > > Access. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Feb 20 10:25:28 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 20 Feb 2012 11:25:28 -0500 Subject: [AccessD] Access Queries In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> Message-ID: <002701ccefec$42e0a280$c8a1e780$@net> I'm not a "string SQL" person. I've always thought this was the worst of the worst features of Access. I create canned queries and then have a procedure for string replacement ... Trying to keep everything consolidated into the query catalog. I never want to be caught saying "now where is that SQL for that query ?" "Wait ! it's somewhere here in these 10,000 lines of VBA code". > > Access routinely changes complex queries as you point out. Why use text > files though? Why not vba modules so you can easily see and edit them? From vbacreations at gmail.com Mon Feb 20 10:31:18 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 20 Feb 2012 11:31:18 -0500 Subject: [AccessD] Access Queries In-Reply-To: <002701ccefec$42e0a280$c8a1e780$@net> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> <002701ccefec$42e0a280$c8a1e780$@net> Message-ID: Ok. Most professional developers I know write inline SQL like breathing air. Not to mention dynamically. On Feb 20, 2012 11:26 AM, "Mark Simms" wrote: > I'm not a "string SQL" person. I've always thought this was the worst of > the > worst features of Access. > I create canned queries and then have a procedure for string replacement > ... > Trying to keep everything consolidated into the query catalog. > I never want to be caught saying "now where is that SQL for that query ?" > "Wait ! it's somewhere here in these 10,000 lines of VBA code". > > > > > > Access routinely changes complex queries as you point out. Why use text > > files though? Why not vba modules so you can easily see and edit them? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Feb 20 11:15:59 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 12:15:59 -0500 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> Message-ID: <4F427FCF.4040103@colbyconsulting.com> I have used the web browser activeX just recently. I spent hours trying to automate it. In the end I failed, I just use it as a control on a form. Sigh. It works but... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 9:28 AM, Tony Septav wrote: > Hey All > If there is anyone wanting to allow their client to view PDF files in a form > in an application I highly recommend using the Web Browser ActiveX control. > So far I haven't run into any problems (not saying there aren't any, > but....). > > Also as an aside I was trying to find a way to allow the client to convert a > file to a PDF if they didn't own a full blown copy of Adobe. One of those > problems, if not, how to solve it. I found LeadTools EPrint $99 (actual I > had purchased one of the first versions of the program years ago, and forgot > about it, ahhh old age). It installs on the user;'s machine as a printer > driver (it converts almost anything you can print to a PDF). The thing that > I really like is they have an option that let's you annotate a PDF file. > > Tony Septav > Nanaimo, BC > Canada From TSeptav at uniserve.com Mon Feb 20 11:30:49 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Mon, 20 Feb 2012 09:30:49 -0800 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: <4F427FCF.4040103@colbyconsulting.com> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> <4F427FCF.4040103@colbyconsulting.com> Message-ID: <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav> Hey John The only thing I use the Web Browser ActiveX for, is to quickly view the PDFs stored in my folders on the drives I have my machine. Simply Put A form, the control and a list box (lots of other stuff but..). The user scrolls through the list and the PDF file very quickly displays in the control box with the Adobe options available. I have not tried automating it for Web browsing, that is probably a whole new can of beans full of complexities. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 20, 2012 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Back to Web Browser ActiveX I have used the web browser activeX just recently. I spent hours trying to automate it. In the end I failed, I just use it as a control on a form. Sigh. It works but... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 9:28 AM, Tony Septav wrote: > Hey All > If there is anyone wanting to allow their client to view PDF files in > a form in an application I highly recommend using the Web Browser ActiveX control. > So far I haven't run into any problems (not saying there aren't any, > but....). > > Also as an aside I was trying to find a way to allow the client to > convert a file to a PDF if they didn't own a full blown copy of Adobe. > One of those problems, if not, how to solve it. I found LeadTools > EPrint $99 (actual I had purchased one of the first versions of the > program years ago, and forgot about it, ahhh old age). It installs on > the user;'s machine as a printer driver (it converts almost anything > you can print to a PDF). The thing that I really like is they have an option that let's you annotate a PDF file. > > Tony Septav > Nanaimo, BC > Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2113/4820 - Release Date: 02/19/12 From jwcolby at colbyconsulting.com Mon Feb 20 11:41:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 12:41:54 -0500 Subject: [AccessD] OT: Three routers, weird problems Message-ID: <4F4285E2.6040107@colbyconsulting.com> I have a SOHO. Yesterday the cable company came in to replace the cable modem and replaced it with an integrated modem / router / wireless. I like it! It has guest networks and so forth, very modern. I use 192.168.122.1 as that base router's IP and the range 10-100 as the addresses dished out to computers, and I set all that up, turned on encryption, set the SSID to C2Db1, all the typical setup stuff. I have a pair of wrt54gs routers / wireless. I have in the past put them on the network as access points on either end of the house to allow better wireless access around the house. I know how to turn off DHCP server in the access points, set the IP of the access point router to a fixed address, for which I use 192.168.122.2 / .3 etc. I set the SSID to unique values C2Db2 and C2Db3 so I can identify each one for connecting. So I set up two of these "access points" using two wrt54gs routers with the wan / DHCP turned off. In point of fact, now that I think of it, I do not know how to specifically "turn off" the WAN, I just don't use it, connecting all cables to the switch side of the device. So now comes the strange thing. I rebooted and my laptop's wired NIC says it is connecting to the Local Area Connection C2Db3. That should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of the WRT54GS routers which is now only a switch and wireless access point. The laptop does not connect to C2Db3 (directly) though C2Db3 is plugged into the same gigabit switch as the laptop (up in my office). The connection does work, and it gets out to the internet, it is just confusing to me. I expected that all of my computers with wired connections to switches would show C2Db1 as the network, and any wireless NECS would show the name of the wireless access point that they came in under. Just as an aside, the "show network map" fails miserably and immediately. All of my switches are dumb (unmanaged) so I was really only expecting perhaps a basic picture of the network, but nope, nothing at all except an error message. Just as an aside, I have an 8 port gigabit in my office on the second floor at one end of the house, connected to a 4 port gigabit switch in the basement at the center of the house. That 4 port is connected to the new cable modem / router to get at the internet, and is also connected to an 8 port gigabit switch at the other end of the house (relative to my office). I recently "wired the house" (myself) putting boxes in the walls of many of the rooms and running physical cables to the closest switches. It would have been nice to just have a 24 port switch and run cables all the way to that switch but that was not to be. Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of what my laptop thinks it is doing / connecting to with it's wired NIC. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Mon Feb 20 12:13:52 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 20 Feb 2012 13:13:52 -0500 Subject: [AccessD] Access Queries In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> <002701ccefec$42e0a280$c8a1e780$@net> Message-ID: I was unaware that Access 2010 had the bug described, so if and when I go there I may have to change my approach, but I almost never build up SQL strings in code, and in fact when working on an inherited app that's usually one of the first things I target for change. I find that code and build a query from it using the designer. For more complex queries, I usually break them down into several queries (which I call atomic queries), then combine the queries into a molecular query. This approach has worked well for me: 1. atomic queries (one per table) let me retrieve exactly what I want from each table. 2. they also facilitate re-use. 3. Their source is readily available. 4. The VBA code is way cleaner and more readable. In case recordset maniplation is required, I just open the named molecular query and proceed. In case I forgot or suddenly need another field, I just modify the source query. 5. Even in the case where parameters are required, they are almost invariably in the Where clause, so then I select from the named query and add a Where clause containing the parameters. There are a couple of other advantages too. 1. In the event that the BE needs to be migrated to SQL Server, it's a cinch to convert the named queries to views. 2. Although the above implies a Select statement, I use the same approach for delete and append queries: just set warnings off, execute the query, and turn warnings back on afterwards. Arthur From accessd at shaw.ca Mon Feb 20 13:19:04 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 11:19:04 -0800 Subject: [AccessD] Access Queries In-Reply-To: <002701ccefec$42e0a280$c8a1e780$@net> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> <002701ccefec$42e0a280$c8a1e780$@net> Message-ID: <45AA554FE2584AEBB80C206228552ECD@creativesystemdesigns.com> There is quite a few developers who imbedded sql code in their FE applications. If there are numerous people working on a system, the application is internal to a single small office or people are developing on "live' SQL BE database, that method may be OK. To make an application portable I would recommend building your sequel code as stored procedures and then just pass parameters. It would now not matter whether your BE is MySQL, MS SQL, Oracle, Postgres and so on particularly as the SQL is different in each database. So if you decide a new interface (FE) is needed like ASP.Net or more likely a web FE, it is just an upgrade and not rebuild. Also note that SPs run significantly faster as they are pre-optimized/compiled and commonly used SPs are stored in memory. I like the idea of keeping the FE and BE as standalone and flexible as possible. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, February 20, 2012 8:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Queries I'm not a "string SQL" person. I've always thought this was the worst of the worst features of Access. I create canned queries and then have a procedure for string replacement ... Trying to keep everything consolidated into the query catalog. I never want to be caught saying "now where is that SQL for that query ?" "Wait ! it's somewhere here in these 10,000 lines of VBA code". > > Access routinely changes complex queries as you point out. Why use text > files though? Why not vba modules so you can easily see and edit them? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Mon Feb 20 14:46:05 2012 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 20 Feb 2012 14:46:05 -0600 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F4285E2.6040107@colbyconsulting.com> References: <4F4285E2.6040107@colbyconsulting.com> Message-ID: John, You didn't mention this, but does your laptop have its wireless capability enabled? If so, then that MIGHT be overriding the wired connection. That would explain why it's connected to C2Db3. Just a WAG. Another WAG: Have you considered setting the IP address for the two access points ABOVE the base router range? That is, instead of 192.168.122.2, how about 192.168.122.250? Steve Erbach Neenah, WI On Mon, Feb 20, 2012 at 11:41 AM, jwcolby wrote: > I have a SOHO. Yesterday the cable company came in to replace the cable > modem and replaced it with an integrated modem / router / wireless. I like > it! It has guest networks and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as the > addresses dished out to computers, and I set all that up, turned on > encryption, set the SSID to C2Db1, all the typical setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put them > on the network as access points on either end of the house to allow better > wireless access around the house. I know how to turn off DHCP server in > the access points, set the IP of the access point router to a fixed > address, for which I use 192.168.122.2 / .3 etc. I set the SSID to unique > values C2Db2 and C2Db3 so I can identify each one for connecting. So I set > up two of these "access points" using two wrt54gs routers with the wan / > DHCP turned off. In point of fact, now that I think of it, I do not know > how to specifically "turn off" the WAN, I just don't use it, connecting all > cables to the switch side of the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the Local > Area Connection C2Db3. That should not be possible, since C2Db3 is not the > DHCP server. C2Db3 is one of the WRT54GS routers which is now only a > switch and wireless access point. The laptop does not connect to C2Db3 > (directly) though C2Db3 is plugged into the same gigabit switch as the > laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected that all of my computers with wired > connections to switches would show C2Db1 as the network, and any wireless > NECS would show the name of the wireless access point that they came in > under. > > Just as an aside, the "show network map" fails miserably and immediately. > All of my switches are dumb (unmanaged) so I was really only expecting > perhaps a basic picture of the network, but nope, nothing at all except an > error message. > > Just as an aside, I have an 8 port gigabit in my office on the second > floor at one end of the house, connected to a 4 port gigabit switch in the > basement at the center of the house. That 4 port is connected to the new > cable modem / router to get at the internet, and is also connected to an 8 > port gigabit switch at the other end of the house (relative to my office). > I recently "wired the house" (myself) putting boxes in the walls of many > of the rooms and running physical cables to the closest switches. It would > have been nice to just have a 24 port switch and run cables all the way to > that switch but that was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of > what my laptop thinks it is doing / connecting to with it's wired NIC. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com From jwcolby at colbyconsulting.com Mon Feb 20 15:06:29 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 16:06:29 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: References: <4F4285E2.6040107@colbyconsulting.com> Message-ID: <4F42B5D5.2020004@colbyconsulting.com> > You didn't mention this, but does your laptop have its wireless capability enabled? If so, then that MIGHT be overriding the wired connection. That would explain why it's connected to C2Db3. Just a WAG. That might be it. It was enabled until I turned it off > Another WAG: Have you considered setting the IP address for the two access points ABOVE the base router range? That is, instead of 192.168.122.2, how about 192.168.122.250? No I haven't ever done that. I always just put them hard coded, sequential to the Ip for the first router, and that just so I could identify them easily by their IP for going in to the setup. I wanted to just "know where they are". John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 3:46 PM, Steve Erbach wrote: > John, > > You didn't mention this, but does your laptop have its wireless capability > enabled? If so, then that MIGHT be overriding the wired connection. That > would explain why it's connected to C2Db3. Just a WAG. > > Another WAG: Have you considered setting the IP address for the two access > points ABOVE the base router range? That is, instead of 192.168.122.2, how > about 192.168.122.250? > > Steve Erbach > Neenah, WI > > > On Mon, Feb 20, 2012 at 11:41 AM, jwcolbywrote: > >> I have a SOHO. Yesterday the cable company came in to replace the cable >> modem and replaced it with an integrated modem / router / wireless. I like >> it! It has guest networks and so forth, very modern. >> >> I use 192.168.122.1 as that base router's IP and the range 10-100 as the >> addresses dished out to computers, and I set all that up, turned on >> encryption, set the SSID to C2Db1, all the typical setup stuff. >> >> I have a pair of wrt54gs routers / wireless. I have in the past put them >> on the network as access points on either end of the house to allow better >> wireless access around the house. I know how to turn off DHCP server in >> the access points, set the IP of the access point router to a fixed >> address, for which I use 192.168.122.2 / .3 etc. I set the SSID to unique >> values C2Db2 and C2Db3 so I can identify each one for connecting. So I set >> up two of these "access points" using two wrt54gs routers with the wan / >> DHCP turned off. In point of fact, now that I think of it, I do not know >> how to specifically "turn off" the WAN, I just don't use it, connecting all >> cables to the switch side of the device. >> >> So now comes the strange thing. >> >> I rebooted and my laptop's wired NIC says it is connecting to the Local >> Area Connection C2Db3. That should not be possible, since C2Db3 is not the >> DHCP server. C2Db3 is one of the WRT54GS routers which is now only a >> switch and wireless access point. The laptop does not connect to C2Db3 >> (directly) though C2Db3 is plugged into the same gigabit switch as the >> laptop (up in my office). >> >> The connection does work, and it gets out to the internet, it is just >> confusing to me. I expected that all of my computers with wired >> connections to switches would show C2Db1 as the network, and any wireless >> NECS would show the name of the wireless access point that they came in >> under. >> >> Just as an aside, the "show network map" fails miserably and immediately. >> All of my switches are dumb (unmanaged) so I was really only expecting >> perhaps a basic picture of the network, but nope, nothing at all except an >> error message. >> >> Just as an aside, I have an 8 port gigabit in my office on the second >> floor at one end of the house, connected to a 4 port gigabit switch in the >> basement at the center of the house. That 4 port is connected to the new >> cable modem / router to get at the internet, and is also connected to an 8 >> port gigabit switch at the other end of the house (relative to my office). >> I recently "wired the house" (myself) putting boxes in the walls of many >> of the rooms and running physical cables to the closest switches. It would >> have been nice to just have a 24 port switch and run cables all the way to >> that switch but that was not to be. >> >> Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of >> what my laptop thinks it is doing / connecting to with it's wired NIC. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > > From garykjos at gmail.com Mon Feb 20 16:04:06 2012 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 20 Feb 2012 16:04:06 -0600 Subject: [AccessD] Access Queries In-Reply-To: <007001ccefe3$1bd1a300$5374e900$@net> References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> <007001ccefe3$1bd1a300$5374e900$@net> Message-ID: Well I only use Ver 2003. So that explains it. And I am generally not looking at the SQL,so comments aren't needed. I am only looking at the query window and the end result. If I want to write SQL I would be using TOAD or another SQL tool. I was talking about the GUI drag and drop query builder and I only use V2003 for my work. And it sounds like I will continue to do so. ;-) Also using queries based on other queries works great for me. I struggle with it using Oracle SQL. I know it's doable but I just don't spend enough time working with it I guess. GK On Mon, Feb 20, 2012 at 9:19 AM, Mark Simms wrote: > Sorry Gary, I disagree. Even in Access 2010, there is still no ability to > embed comments in the SQL. > On top of that, any SQL formatting gets lost. > And now couple that with a huge bug where AC2010 will actually CHANGE YOUR > SQL without warning. > That one bit me (embarrassingly so) at a client's location just last week. > I now have created a procedure to store each Query's SQL in a text file...so > it can be "restored". > Bottomline: DO NOT USE ACCESS FOR COMPLEX QUERIES....YOU'RE GONNA GET BURNT. > >> I have offered to show people at my shop how to do queries in Access >> but nobody takes me up on it. Things that I can whip out in a few >> moments take hours to do using straight SQL on an Oracle Database >> unless they are very simple. Anything involving 3 or 4 tables I will >> have done far faster than they will. I love the query builder in >> Access. > > > -- > 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 jimdettman at verizon.net Mon Feb 20 17:05:26 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Feb 2012 18:05:26 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F4285E2.6040107@colbyconsulting.com> References: <4F4285E2.6040107@colbyconsulting.com> Message-ID: <> That's the ticket! <> It's running it's connection through the wireless instead of the wired. Turn your wireless modem off in on the laptop and it will switch to the wired connection. DHCP is separate from the connection point. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 20, 2012 12:42 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Three routers, weird problems I have a SOHO. Yesterday the cable company came in to replace the cable modem and replaced it with an integrated modem / router / wireless. I like it! It has guest networks and so forth, very modern. I use 192.168.122.1 as that base router's IP and the range 10-100 as the addresses dished out to computers, and I set all that up, turned on encryption, set the SSID to C2Db1, all the typical setup stuff. I have a pair of wrt54gs routers / wireless. I have in the past put them on the network as access points on either end of the house to allow better wireless access around the house. I know how to turn off DHCP server in the access points, set the IP of the access point router to a fixed address, for which I use 192.168.122.2 / .3 etc. I set the SSID to unique values C2Db2 and C2Db3 so I can identify each one for connecting. So I set up two of these "access points" using two wrt54gs routers with the wan / DHCP turned off. In point of fact, now that I think of it, I do not know how to specifically "turn off" the WAN, I just don't use it, connecting all cables to the switch side of the device. So now comes the strange thing. I rebooted and my laptop's wired NIC says it is connecting to the Local Area Connection C2Db3. That should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of the WRT54GS routers which is now only a switch and wireless access point. The laptop does not connect to C2Db3 (directly) though C2Db3 is plugged into the same gigabit switch as the laptop (up in my office). The connection does work, and it gets out to the internet, it is just confusing to me. I expected that all of my computers with wired connections to switches would show C2Db1 as the network, and any wireless NECS would show the name of the wireless access point that they came in under. Just as an aside, the "show network map" fails miserably and immediately. All of my switches are dumb (unmanaged) so I was really only expecting perhaps a basic picture of the network, but nope, nothing at all except an error message. Just as an aside, I have an 8 port gigabit in my office on the second floor at one end of the house, connected to a 4 port gigabit switch in the basement at the center of the house. That 4 port is connected to the new cable modem / router to get at the internet, and is also connected to an 8 port gigabit switch at the other end of the house (relative to my office). I recently "wired the house" (myself) putting boxes in the walls of many of the rooms and running physical cables to the closest switches. It would have been nice to just have a 24 port switch and run cables all the way to that switch but that was not to be. Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of what my laptop thinks it is doing / connecting to with it's wired NIC. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Mon Feb 20 17:16:33 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 21 Feb 2012 03:16:33 +0400 Subject: [AccessD] =?utf-8?q?Back_to_Web_Browser_ActiveX?= In-Reply-To: <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> <4F427FCF.4040103@colbyconsulting.com> <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav> Message-ID: Hi John and Tony -- > I have not tried automating it for Web browsing, that is probably a whole > new can of beans full of complexities. Yes, it's not trivial but you can get a stable MS Web Browser control automation solution by using C# (or VB.NET), and properly written apps will run for days/many hours till they will have to be restarted because MS Web Browser control is known to be a source of memory leakage... > I spent hours trying to > automate it. In the end I failed It requires days/a couple of weeks to get accustomed with its automation - then it becomes "your friend" ready to fulfill promptly most of your commands/tasks... The main trick is to find a way of controlling Web Browser control from a worker thread, and it's known that Web Browser control is running in the main WinForm thread. When that task of controlling Web Browser control from a worker thread solved then you can have many web browser controls instances on one WinForm (e.g. on different TabControl tabs) all running smoothly in not blocking UI mode... Thank you. -- Shamil 20 ??????? 2012, 21:32 ?? "Tony Septav" : > Hey John > The only thing I use the Web Browser ActiveX for, is to quickly view the > PDFs stored in my folders on the drives I have my machine. > Simply Put > A form, the control and a list box (lots of other stuff but..). > The user scrolls through the list and the PDF file very quickly displays in > the control box with the Adobe options available. > > I have not tried automating it for Web browsing, that is probably a whole > new can of beans full of complexities. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 20, 2012 9:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Back to Web Browser ActiveX > > I have used the web browser activeX just recently. I spent hours trying to > automate it. In the end I failed, I just use it as a control on a form. > Sigh. It works but... > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/20/2012 9:28 AM, Tony Septav wrote: > > Hey All > > If there is anyone wanting to allow their client to view PDF files in > > a form in an application I highly recommend using the Web Browser ActiveX > control. > > So far I haven't run into any problems (not saying there aren't any, > > but....). > > > > Also as an aside I was trying to find a way to allow the client to > > convert a file to a PDF if they didn't own a full blown copy of Adobe. > > One of those problems, if not, how to solve it. I found LeadTools > > EPrint $99 (actual I had purchased one of the first versions of the > > program years ago, and forgot about it, ahhh old age). It installs on > > the user;'s machine as a printer driver (it converts almost anything > > you can print to a PDF). The thing that I really like is they have an > option that let's you annotate a PDF file. > > > > Tony Septav > > Nanaimo, BC > > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2113/4820 - Release Date: 02/19/12 > > -- > 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 Feb 20 17:33:18 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Feb 2012 09:33:18 +1000 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav>, <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav>, Message-ID: <4F42D83E.17308.1990EA83@stuart.lexacorp.com.pg> Shamil, This is the Access list. Not much point in talking about Winforms and threads as a solution here :-( -- Stuart On 21 Feb 2012 at 3:16, Salakhetdinov Shamil wrote: > The main trick is to find a way of controlling Web Browser control > from a worker thread, and it's known that Web Browser control is > running in the main WinForm thread. When that task of controlling Web > Browser control from a worker thread solved then you can have many web > browser controls instances on one WinForm (e.g. on different > TabControl tabs) all running smoothly in not blocking UI mode... > From mcp2004 at mail.ru Mon Feb 20 17:59:25 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 21 Feb 2012 03:59:25 +0400 Subject: [AccessD] =?utf-8?q?Back_to_Web_Browser_ActiveX?= In-Reply-To: <4F42D83E.17308.1990EA83@stuart.lexacorp.com.pg> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav>, <4F42D83E.17308.1990EA83@stuart.lexacorp.com.pg> Message-ID: OK, Stuart -- But it should be also possible to develop C#/VB.NET COM-visible (CCW) multi-threaded DLL to be called using VBA from an MS Access form with a Web Browser control to Automate that Web Browser control as smooth as it can be done in a pure WinForms environment... Thank you. -- Shamil 21 ??????? 2012, 03:34 ?? "Stuart McLachlan" : > Shamil, > > This is the Access list. Not much point in talking about Winforms and threads as a solution > here :-( > > -- > Stuart > > On 21 Feb 2012 at 3:16, Salakhetdinov Shamil wrote: > > > The main trick is to find a way of controlling Web Browser control > > from a worker thread, and it's known that Web Browser control is > > running in the main WinForm thread. When that task of controlling Web > > Browser control from a worker thread solved then you can have many web > > browser controls instances on one WinForm (e.g. on different > > TabControl tabs) all running smoothly in not blocking UI mode... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Feb 20 20:52:35 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 18:52:35 -0800 Subject: [AccessD] My Comments In-Reply-To: References: <9213F53D6804408684FB7BB5A0BECE82@TonySeptav> <6EF426D6BAF346238FECF06E023E4E1B@TonySeptav> <3112EAF352FD49AF906ED24B0FA1BC09@SusanHarkins> Message-ID: Some sites that I support, have Oracle, I have found that it is easy to build a mockup in MS Access. Just run up a query that works in Access, cut and paste it into Toad, make the obvious corrections and then just muck around until it works in Oracle and then save as a procedure...usually nothing too complex...and I have found it is really quick. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Sunday, February 19, 2012 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Susan, I have offered to show people at my shop how to do queries in Access but nobody takes me up on it. Things that I can whip out in a few moments take hours to do using straight SQL on an Oracle Database unless they are very simple. Anything involving 3 or 4 tables I will have done far faster than they will. I love the query builder in Access. We have a couple important Access databases at our company, all created by an outside contractor who is no longer available to do repairs on when something gets broken. That isn't often but when it happens, I get the call and it's always an emergency. All those apps will eventually be rewritten in another tool and I would guess that they will take hundreds of man hours to do them in those tools. Most of my Access work is to query Oracle tables I connect to via ODBC, extract and summarize data and spit out Excel for Finance, Accounting, Legal and other departments. Those users come to me for solutions because I can turn their requests around in a few minutes or maybe a few hours if it's complicated and I can customize things to their needs like reassigning product groupings in ways that the source system doesn't even know about and give them exactly what they ask for 98% of the time. The stuff I do in those minutes or maybe hours would take days or maybe weeks to do in the standard Oracle development tools. There was one report I did in Access that I did in maybe an hour. I tweaked it a couple times as the requirements changed over the course of a couple months, spending probably another couple hours for 4 or so variations. I'm not allowed to deploy my Access creations to the users so I have to run them when they need them to be run though. My boss doesn't care for that and wants things developed in tools that users can run things themselves. This one would take me about 5 minutes to run each time they needed it to be run. So they used my query results as the specifications for the Oracle Reports based solution and the guy who did it took two solid weeks to get the first draft done and then needed another week to fine tune it before the user would sign off that it gave her what she needed. She really didn't like the end result but it did give her the numbers she needed and she could run it herself and she did like that. I use other tools now - Informatica ETL tool to move data around and load Data Warehouse tables. Business Objects for reporting. So I have solutions that I can do the same things I do with Access and they do work. But they are quite a lot more difficult to achieve the same results as I do with a little dragging and dropping in the Access windows. GK On Sun, Feb 19, 2012 at 9:36 AM, Susan Harkins wrote: > Gary, I'm in a similar situation -- not working with Access much anymore. I > haven't moved on to something else, I'm just working less. The dh is retired > and I'm partially so... I read messages sometimes, but by the time I see > them, someone else has usually answered them. To be honest, a lot of threads > get deleted unread. I don't think Access is dead by any means, but I think > the industry is using it very differently. :( I run polls frequently on my > Office blog and Access is the least used application and nobody really wants > to read about it. I still do write about it, just not very often -- once a > month maybe. > > Susan H. > > > > > I really wonder how many people we have reading the messages on a > timely basis. I'm looking at my inbox about every hour during the work > day. Maybe once a day on weekends though. But I really only open > messages that have a subject that either interests me or I think I > might have input on. I do skip entire threads if it seems it's nothing > I can help with. So much to do, so little time. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Feb 20 20:54:35 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 18:54:35 -0800 Subject: [AccessD] My Comments In-Reply-To: <56653D383CB80341995245C537A9E7B563CB05@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <006601ccef32$ca9be780$5fd3b680$@net> <56653D383CB80341995245C537A9E7B563CB05@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <3EF0945BF0374D1F94E461E15791ADD3@creativesystemdesigns.com> Good thoughts Darryl. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, February 19, 2012 5:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments Bill, I have found there are many companies that value personal services, professional attitude, local knowledge and local language skills and an ability to be fast and flexible over any pure cost metric. I never try to be the cheapest, and I never say I am the best (because there is no way I can honestly achieve either) but I can offer my skills and services in a way that provides excellent value for the client and allows me to make a decent enough income. Given I have had some of my clients for over 10 years now it is an approach that seems to work, at least for me and them in this part of the world. Of course everyone's situation is different - I know our US and Euro friends are having a very hard time of it right now - The economy is Australia is still doing ok for most of us. FWIIW, I have had plenty of roles over the years where my position has been outsourced to a 3rd party supplier from another country (usually somewhere in India or Asia). I don't get upset about it, hell, those folks need jobs and income too, and they have a family just like I do. I just move on and play my strengths. I sure can compete in ways and places that these organisations cannot. There is also a bigger picture here. Frankly the idea of an unstable India or Pakistan scares me. Both have nuclear weapons and having a large and unhappy population who can't get jobs or feed their kids isn't something I want to see. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 20 February 2012 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Comments >>, I am ... writing a tut that ... will elucidate the path that an >>Access developer should take into [C Sharp] world Arthur, I am willing to learn, but I don't know what I could develop in C Sharp that large clients are going to pay me for, or that their IT departments will consider me worth the risk to contract with, given their existing relationships and established DPMM beaurocracies. The client I see most often contracts mainly with large low cost country vendors, with most of the resources being "off-shore". Yes, those resources are hard to deal with, however they have integrated themselves very well with the Multiglom Corp. and they talk the language of "cheap" very well, which is all Multiglom wants to pay. The software is not very good in my unqualified estimation, but no doubt there are surprises. I will never compete with these vendors, so shouldn't I just be sticking with Excel and Access, where I can get very close to the data that my clients are fighting with, building small and nimble systems? I cannot possibly compete with hungry programmers in India/China/Ireland/Afghanistan/YouNamitstan) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Feb 20 21:03:33 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 19:03:33 -0800 Subject: [AccessD] DataGrid control (cont.) In-Reply-To: References: <95651D410D3D41F292E91BE9DAA0F9F6@BondSoftware.local> <3148C10CB8E3427193D5B057037EA4DB@BondSoftware.local> Message-ID: <76E4085D9061431B8A4FEA40A84A078E@creativesystemdesigns.com> Hi Steve: Does DataGrid control even work at all in the newer Access? Does it have to be "added-in"? Is the Active-X control still working in the new computer? Have you tested both DataGrid controls and the ADO.Recordsets separately? If adding in the DGC, in the modules, doesn't work try unregistering and reregistering the DGC at the command prompt. It may not solve your problem but at least you can isolate the issue. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Sunday, February 19, 2012 10:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DataGrid control (cont.) Good question Stuart. Like you, I've eschewed the Microsoft 'latest fad' over the years, usually. In this case I was experimenting (years ago) with ADO and DataGrids in A2K, and it just kinda stayed on in the app. Bad choice, huh? I've been trying a few things in the past few days from various MS sources (mostly contradictory). Looks like the quickest solution will be to go back to vanilla. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 20 February 2012 1:31 p.m. To: Stephen Subject: Re: [AccessD] DataGrid control (cont.) Can't help with your query. But out of curiosity, why are you using a datagrid in preference to a subform in datasheet view? -- Stuart On 20 Feb 2012 at 13:03, Stephen Bond wrote: > Here's the whole Sub if that helps: > ================================================ > Sub FillGridSpecificJobObservations(ByVal pk) > Dim strSQL As String > Set rs = New ADOdb.Recordset > Set rs.ActiveConnection = CurrentProject.Connection > rs.CursorType = adOpenStatic > rs.LockType = adLockReadOnly > rs.CursorLocation = adUseClient > strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ > "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & > _ > "qryEquipmentRegisterRHS.ObserverName AS ObservName, > " & _ > "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, > " & _ > "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & > _ > "qryEquipmentRegisterRHS.Shift, " & _ > "qryEquipmentRegisterRHS.Id" > strSQL = strSQL & " FROM qryEquipmentRegisterRHS " > strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" > rs.Open strSQL > rs.Sort = "ObsId Asc" > SortAsc = True > Set Me.DataGridSpecificJobObservations.DataSource = rs ' <--- > runtime error on this line > > Me.DataGridSpecificJobObservations.Refresh > > Set dg = Me.DataGridSpecificJobObservations > dg.Font.Size = 8 > dg.RecordSelectors = False > dg.Columns(0).Width = 0 ' JobId > dg.Columns(1).Width = 500 ' ObservationId > dg.Columns(2).Width = 1800 ' Name > dg.Columns(3).Width = 1000 ' Date > dg.Columns(4).Width = 800 ' Time > dg.Columns(5).Width = 450 ' Shift (was S or U) > dg.Columns(6).Width = 0 ' Id > ' dg.Columns(5).NumberFormat = "currency" > dg.Columns(3).NumberFormat = "dd/mm/yyyy" > dg.Columns(4).NumberFormat = "hh:nn" > dg.Columns(3).Alignment = 2 > dg.Columns(4).Alignment = 2 > dg.Columns(5).Alignment = 2 > dg.MarqueeStyle = 3 > If rs.RecordCount = 0 Then > ' Me.Toolbar1.Buttons("Edit").Enabled = False > Else > ' Me.Toolbar1.Buttons("Edit").Enabled = True > End If > 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 jwcolby at colbyconsulting.com Mon Feb 20 21:04:39 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 22:04:39 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: References: <4F4285E2.6040107@colbyconsulting.com> Message-ID: <4F4309C7.1090307@colbyconsulting.com> You're gonna love this one. The new router DHCP default begin ip address is 192.168.0.10 and the default end is 192.168.0.19. NINE stinking addresses available by default. All of my other routers have defaulted to 09-99. So basically I just manually set the ending address to 99 and rebooted the router and voila, at least some of my issues are gone. I was struggling for the last hour to get one of my laptops to get an IP address, it just wouldn't. Now I know why! Once I opened up the range it immediately grapped one, I didn't even have to do a release / renew. NINE STINKIN IP addresses available by default. It just never occurred to me to check that as I was setting it up. I have never in all my years seen 19 used as the last available IP. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 6:05 PM, Jim Dettman wrote: > < to specifically "turn off" the WAN, I just don't use it, connecting all > cables to the switch side of > the device.>> > > That's the ticket! > > < should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of > the WRT54GS routers > which is now only a switch and wireless access point. The laptop does not > connect to C2Db3 > (directly) though C2Db3 is plugged into the same gigabit switch as the > laptop (up in my office).>> > > It's running it's connection through the wireless instead of the wired. > Turn your wireless modem off in on the laptop and it will switch to the > wired connection. > > DHCP is separate from the connection point. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 20, 2012 12:42 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Three routers, weird problems > > I have a SOHO. Yesterday the cable company came in to replace the cable > modem and replaced it with > an integrated modem / router / wireless. I like it! It has guest networks > and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as the > addresses dished out to > computers, and I set all that up, turned on encryption, set the SSID to > C2Db1, all the typical > setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put them on > the network as access > points on either end of the house to allow better wireless access around the > house. I know how to > turn off DHCP server in the access points, set the IP of the access point > router to a fixed address, > for which I use 192.168.122.2 / .3 etc. I set the SSID to unique values > C2Db2 and C2Db3 so I can > identify each one for connecting. So I set up two of these "access points" > using two wrt54gs > routers with the wan / DHCP turned off. In point of fact, now that I think > of it, I do not know how > to specifically "turn off" the WAN, I just don't use it, connecting all > cables to the switch side of > the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the Local Area > Connection C2Db3. That > should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of > the WRT54GS routers > which is now only a switch and wireless access point. The laptop does not > connect to C2Db3 > (directly) though C2Db3 is plugged into the same gigabit switch as the > laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected > that all of my computers with wired connections to switches would show C2Db1 > as the network, and any > wireless NECS would show the name of the wireless access point that they > came in under. > > Just as an aside, the "show network map" fails miserably and immediately. > All of my switches are > dumb (unmanaged) so I was really only expecting perhaps a basic picture of > the network, but nope, > nothing at all except an error message. > > Just as an aside, I have an 8 port gigabit in my office on the second floor > at one end of the house, > connected to a 4 port gigabit switch in the basement at the center of the > house. That 4 port is > connected to the new cable modem / router to get at the internet, and is > also connected to an 8 port > gigabit switch at the other end of the house (relative to my office). I > recently "wired the house" > (myself) putting boxes in the walls of many of the rooms and running > physical cables to the closest > switches. It would have been nice to just have a 24 port switch and run > cables all the way to that > switch but that was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of > what my laptop thinks it > is doing / connecting to with it's wired NIC. > From accessd at shaw.ca Mon Feb 20 21:13:34 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 19:13:34 -0800 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: <4F42D83E.17308.1990EA83@stuart.lexacorp.com.pg> References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav> <4F42D83E.17308.1990EA83@stuart.lexacorp.com.pg> Message-ID: <3DFFFFC95C5240EC9055E9863E5CD39E@creativesystemdesigns.com> Yeah, but for how long? ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, February 20, 2012 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Back to Web Browser ActiveX Shamil, This is the Access list. Not much point in talking about Winforms and threads as a solution here :-( -- Stuart On 21 Feb 2012 at 3:16, Salakhetdinov Shamil wrote: > The main trick is to find a way of controlling Web Browser control > from a worker thread, and it's known that Web Browser control is > running in the main WinForm thread. When that task of controlling Web > Browser control from a worker thread solved then you can have many web > browser controls instances on one WinForm (e.g. on different > TabControl tabs) all running smoothly in not blocking UI mode... > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Feb 20 21:30:50 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 19:30:50 -0800 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F4309C7.1090307@colbyconsulting.com> References: <4F4285E2.6040107@colbyconsulting.com> <4F4309C7.1090307@colbyconsulting.com> Message-ID: John, you can turn your cheap router into Cisco-like fully programmable router. Here is the link: http://lifehacker.com/178132/hack-attack-turn-your-60-router-into-a-600-rout er ...and... http://lifehacker.com/344765/turn-your-60-router-into-a-user+friendly-super+ router-with-tomato Check here to see if your router is supported: http://www.dd-wrt.com/wiki/index.php/Supported_Devices If you really want to go nuts here are a list of various router upgrades: http://en.wikipedia.org/wiki/List_of_router_or_firewall_distributions Am I sure it will help you? Not sure but probably. Would have upgraded mine but it was the only DLink that could not be upgraded...Probably just as well. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 20, 2012 7:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Three routers, weird problems You're gonna love this one. The new router DHCP default begin ip address is 192.168.0.10 and the default end is 192.168.0.19. NINE stinking addresses available by default. All of my other routers have defaulted to 09-99. So basically I just manually set the ending address to 99 and rebooted the router and voila, at least some of my issues are gone. I was struggling for the last hour to get one of my laptops to get an IP address, it just wouldn't. Now I know why! Once I opened up the range it immediately grapped one, I didn't even have to do a release / renew. NINE STINKIN IP addresses available by default. It just never occurred to me to check that as I was setting it up. I have never in all my years seen 19 used as the last available IP. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 6:05 PM, Jim Dettman wrote: > < to specifically "turn off" the WAN, I just don't use it, connecting all > cables to the switch side of > the device.>> > > That's the ticket! > > < should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of > the WRT54GS routers > which is now only a switch and wireless access point. The laptop does not > connect to C2Db3 > (directly) though C2Db3 is plugged into the same gigabit switch as the > laptop (up in my office).>> > > It's running it's connection through the wireless instead of the wired. > Turn your wireless modem off in on the laptop and it will switch to the > wired connection. > > DHCP is separate from the connection point. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 20, 2012 12:42 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Three routers, weird problems > > I have a SOHO. Yesterday the cable company came in to replace the cable > modem and replaced it with > an integrated modem / router / wireless. I like it! It has guest networks > and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as the > addresses dished out to > computers, and I set all that up, turned on encryption, set the SSID to > C2Db1, all the typical > setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put them on > the network as access > points on either end of the house to allow better wireless access around the > house. I know how to > turn off DHCP server in the access points, set the IP of the access point > router to a fixed address, > for which I use 192.168.122.2 / .3 etc. I set the SSID to unique values > C2Db2 and C2Db3 so I can > identify each one for connecting. So I set up two of these "access points" > using two wrt54gs > routers with the wan / DHCP turned off. In point of fact, now that I think > of it, I do not know how > to specifically "turn off" the WAN, I just don't use it, connecting all > cables to the switch side of > the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the Local Area > Connection C2Db3. That > should not be possible, since C2Db3 is not the DHCP server. C2Db3 is one of > the WRT54GS routers > which is now only a switch and wireless access point. The laptop does not > connect to C2Db3 > (directly) though C2Db3 is plugged into the same gigabit switch as the > laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected > that all of my computers with wired connections to switches would show C2Db1 > as the network, and any > wireless NECS would show the name of the wireless access point that they > came in under. > > Just as an aside, the "show network map" fails miserably and immediately. > All of my switches are > dumb (unmanaged) so I was really only expecting perhaps a basic picture of > the network, but nope, > nothing at all except an error message. > > Just as an aside, I have an 8 port gigabit in my office on the second floor > at one end of the house, > connected to a 4 port gigabit switch in the basement at the center of the > house. That 4 port is > connected to the new cable modem / router to get at the internet, and is > also connected to an 8 port > gigabit switch at the other end of the house (relative to my office). I > recently "wired the house" > (myself) putting boxes in the walls of many of the rooms and running > physical cables to the closest > switches. It would have been nice to just have a 24 port switch and run > cables all the way to that > switch but that was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in terms of > what my laptop thinks it > is doing / connecting to with it's wired NIC. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Feb 20 22:53:36 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 20 Feb 2012 23:53:36 -0500 Subject: [AccessD] Back to Web Browser ActiveX In-Reply-To: References: <280B84335E934C30AD0C12C3CF5D3599@TonySeptav> <4F427FCF.4040103@colbyconsulting.com> <2BF5E4DAADEA4E639D603EBEF5E6CA66@TonySeptav> Message-ID: <4F432350.4050607@colbyconsulting.com> Yea, I was trying to do it in Access. Uggg. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 6:16 PM, Salakhetdinov Shamil wrote: > Hi John and Tony -- > >> I have not tried automating it for Web browsing, that is probably a whole >> new can of beans full of complexities. > Yes, it's not trivial but you can get a stable MS Web Browser control automation solution by using C# (or VB.NET), and properly written apps will run for days/many hours till they will have to be restarted because MS Web Browser control is known to be a source of memory leakage... > >> I spent hours trying to >> automate it. In the end I failed > It requires days/a couple of weeks to get accustomed with its automation - then it becomes "your friend" ready to fulfill promptly most of your commands/tasks... > > The main trick is to find a way of controlling Web Browser control from a worker thread, and it's known that Web Browser control is running in the main WinForm thread. When that task of controlling Web Browser control from a worker thread solved then you can have many web browser controls instances on one WinForm (e.g. on different TabControl tabs) all running smoothly in not blocking UI mode... > > Thank you. > > -- Shamil > > 20 ??????? 2012, 21:32 ?? "Tony Septav": >> Hey John >> The only thing I use the Web Browser ActiveX for, is to quickly view the >> PDFs stored in my folders on the drives I have my machine. >> Simply Put >> A form, the control and a list box (lots of other stuff but..). >> The user scrolls through the list and the PDF file very quickly displays in >> the control box with the Adobe options available. >> >> I have not tried automating it for Web browsing, that is probably a whole >> new can of beans full of complexities. >> >> Tony Septav >> Nanaimo, BC >> Canada >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, February 20, 2012 9:16 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Back to Web Browser ActiveX >> >> I have used the web browser activeX just recently. I spent hours trying to >> automate it. In the end I failed, I just use it as a control on a form. >> Sigh. It works but... >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/20/2012 9:28 AM, Tony Septav wrote: >>> Hey All >>> If there is anyone wanting to allow their client to view PDF files in >>> a form in an application I highly recommend using the Web Browser ActiveX >> control. >>> So far I haven't run into any problems (not saying there aren't any, >>> but....). >>> >>> Also as an aside I was trying to find a way to allow the client to >>> convert a file to a PDF if they didn't own a full blown copy of Adobe. >>> One of those problems, if not, how to solve it. I found LeadTools >>> EPrint $99 (actual I had purchased one of the first versions of the >>> program years ago, and forgot about it, ahhh old age). It installs on >>> the user;'s machine as a printer driver (it converts almost anything >>> you can print to a PDF). The thing that I really like is they have an >> option that let's you annotate a PDF file. >>> >>> Tony Septav >>> Nanaimo, BC >>> Canada >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.1913 / Virus Database: 2113/4820 - Release Date: 02/19/12 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From jwcolby at colbyconsulting.com Mon Feb 20 23:00:19 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Feb 2012 00:00:19 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: References: <4F4285E2.6040107@colbyconsulting.com> <4F4309C7.1090307@colbyconsulting.com> Message-ID: <4F4324E3.2020508@colbyconsulting.com> Unfortunately they come in all sizes of memory. I was unable to specify the precise model when I ordered from Newegg and got one of the models with too little memory to do the trick. I soooo wanted to do that. In the end they work fine as access points and they were cheap. I got them for something like $29 each refurbished and they have worked perfectly ever since. I am still using them just for the wifi / switch part for getting my laptops access all over my rather spread out house. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 10:30 PM, Jim Lawrence wrote: > John, you can turn your cheap router into Cisco-like fully programmable > router. Here is the link: > > http://lifehacker.com/178132/hack-attack-turn-your-60-router-into-a-600-rout > er > ...and... > http://lifehacker.com/344765/turn-your-60-router-into-a-user+friendly-super+ > router-with-tomato > > Check here to see if your router is supported: > http://www.dd-wrt.com/wiki/index.php/Supported_Devices > > If you really want to go nuts here are a list of various router upgrades: > http://en.wikipedia.org/wiki/List_of_router_or_firewall_distributions > > Am I sure it will help you? Not sure but probably. > > Would have upgraded mine but it was the only DLink that could not be > upgraded...Probably just as well. :-( > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 20, 2012 7:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Three routers, weird problems > > You're gonna love this one. The new router DHCP default begin ip address is > 192.168.0.10 and the > default end is 192.168.0.19. > > NINE stinking addresses available by default. All of my other routers have > defaulted to 09-99. So > basically I just manually set the ending address to 99 and rebooted the > router and voila, at least > some of my issues are gone. I was struggling for the last hour to get one > of my laptops to get an > IP address, it just wouldn't. Now I know why! Once I opened up the range > it immediately grapped > one, I didn't even have to do a release / renew. > > NINE STINKIN IP addresses available by default. It just never occurred to > me to check that as I was > setting it up. I have never in all my years seen 19 used as the last > available IP. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it From accessd at shaw.ca Tue Feb 21 00:36:09 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Feb 2012 22:36:09 -0800 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F4324E3.2020508@colbyconsulting.com> References: <4F4285E2.6040107@colbyconsulting.com> <4F4309C7.1090307@colbyconsulting.com> <4F4324E3.2020508@colbyconsulting.com> Message-ID: <3EE60424AB3946AF8CAA195155D51BC5@creativesystemdesigns.com> Well the price was right John. My router was much more expensive and I still can not adapt it...It has a bug that allows it to stop certain addresses; fortunately only a very few. A Dlink senior tech logged in and confirmed it, no fix. Also, the router has a problem with the WiFi from my Toshiba laptop which causes it to sometimes drop a connection....also a documented bug. The only recommendation from Dlink was to buy the new model and at least it would still be under full warranty; not that it would fix anything. My next router will definitely be programmable. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 20, 2012 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Three routers, weird problems Unfortunately they come in all sizes of memory. I was unable to specify the precise model when I ordered from Newegg and got one of the models with too little memory to do the trick. I soooo wanted to do that. In the end they work fine as access points and they were cheap. I got them for something like $29 each refurbished and they have worked perfectly ever since. I am still using them just for the wifi / switch part for getting my laptops access all over my rather spread out house. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/20/2012 10:30 PM, Jim Lawrence wrote: > John, you can turn your cheap router into Cisco-like fully programmable > router. Here is the link: > > http://lifehacker.com/178132/hack-attack-turn-your-60-router-into-a-600-rout > er > ...and... > http://lifehacker.com/344765/turn-your-60-router-into-a-user+friendly-super+ > router-with-tomato > > Check here to see if your router is supported: > http://www.dd-wrt.com/wiki/index.php/Supported_Devices > > If you really want to go nuts here are a list of various router upgrades: > http://en.wikipedia.org/wiki/List_of_router_or_firewall_distributions > > Am I sure it will help you? Not sure but probably. > > Would have upgraded mine but it was the only DLink that could not be > upgraded...Probably just as well. :-( > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, February 20, 2012 7:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Three routers, weird problems > > You're gonna love this one. The new router DHCP default begin ip address is > 192.168.0.10 and the > default end is 192.168.0.19. > > NINE stinking addresses available by default. All of my other routers have > defaulted to 09-99. So > basically I just manually set the ending address to 99 and rebooted the > router and voila, at least > some of my issues are gone. I was struggling for the last hour to get one > of my laptops to get an > IP address, it just wouldn't. Now I know why! Once I opened up the range > it immediately grapped > one, I didn't even have to do a release / renew. > > NINE STINKIN IP addresses available by default. It just never occurred to > me to check that as I was > setting it up. I have never in all my years seen 19 used as the last > available IP. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 21 08:26:36 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Feb 2012 09:26:36 -0500 Subject: [AccessD] Module there but completely invisible Message-ID: <4F43A99C.9010506@colbyconsulting.com> I was working on code and did something (shortcut keys, not sure exactly what) and a class module disappeared. I first discovered it when I tried to compile and my code that initialized the class complained that the object didn't exist. Sure enough, the class module in the database window did not exist. So I imported the class from a backup and it came in with a 1 at the end. Say what? I tried to take the 1 off and the editor informed me that there was already an object with that name. No such module (class) in the database window. However... suddenly my code that instantiates the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module itself by Shft-F2 on a property or method of the class. So importing the class module from the backup "repaired" the compiler's link tables but the module itself is still totally invisible in the database window. And I don't mean the visible property is set false (I checked that), I mean "she ain't there!". Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db window. I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes was changed or something but nope, nothing different there. I even deleted the contents of the module and reimported from that text and saved, still not visible. Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at if you follow a method or something but otherwise entirely invisible. Of course what it really means is that my container is corrupt and so I have to punt. Sigh. I'm wondering if I can delete it through the editor object but it has been a long time since I looked at that object. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Lambert.Heenan at chartisinsurance.com Tue Feb 21 09:05:46 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 21 Feb 2012 10:05:46 -0500 Subject: [AccessD] Module there but completely invisible In-Reply-To: <4F43A99C.9010506@colbyconsulting.com> References: <4F43A99C.9010506@colbyconsulting.com> Message-ID: Hi John, Very weird. When you 'get into the module' Via Shift-F2, is it really the original module's code you see, or it is the "1" version that you imported? Have you tried setting the visible property of the AWOL module via code with SetHiddenAttribute(ObjectType, ObjectName, fHidden ? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 21, 2012 9:27 AM To: Access Developers discussion and problem solving Subject: [AccessD] Module there but completely invisible I was working on code and did something (shortcut keys, not sure exactly what) and a class module disappeared. I first discovered it when I tried to compile and my code that initialized the class complained that the object didn't exist. Sure enough, the class module in the database window did not exist. So I imported the class from a backup and it came in with a 1 at the end. Say what? I tried to take the 1 off and the editor informed me that there was already an object with that name. No such module (class) in the database window. However... suddenly my code that instantiates the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module itself by Shft-F2 on a property or method of the class. So importing the class module from the backup "repaired" the compiler's link tables but the module itself is still totally invisible in the database window. And I don't mean the visible property is set false (I checked that), I mean "she ain't there!". Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db window. I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes was changed or something but nope, nothing different there. I even deleted the contents of the module and reimported from that text and saved, still not visible. Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at if you follow a method or something but otherwise entirely invisible. Of course what it really means is that my container is corrupt and so I have to punt. Sigh. I'm wondering if I can delete it through the editor object but it has been a long time since I looked at that object. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 21 09:15:15 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Feb 2012 10:15:15 -0500 Subject: [AccessD] Module there but completely invisible In-Reply-To: <4F43A99C.9010506@colbyconsulting.com> References: <4F43A99C.9010506@colbyconsulting.com> Message-ID: <4F43B503.9010200@colbyconsulting.com> Further to this, in the editor I clicked "View project explorer" and it could see the class. It has a "remove" right click menu item which I clicked. I then compacted / repaired and the next compile complained (correctly) that the class was missing. I then went through the "insert class / insert file" cycle to import the .cls text file, saved that and voila, my class is back and visible in the database window again. All is right with the world again. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/21/2012 9:26 AM, jwcolby wrote: > I was working on code and did something (shortcut keys, not sure exactly what) and a class module > disappeared. I first discovered it when I tried to compile and my code that initialized the class > complained that the object didn't exist. Sure enough, the class module in the database window did > not exist. > > So I imported the class from a backup and it came in with a 1 at the end. Say what? > > I tried to take the 1 off and the editor informed me that there was already an object with that > name. No such module (class) in the database window. However... suddenly my code that instantiates > the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module > itself by Shft-F2 on a property or method of the class. So importing the class module from the > backup "repaired" the compiler's link tables but the module itself is still totally invisible in the > database window. And I don't mean the visible property is set false (I checked that), I mean "she > ain't there!". > > Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db > window. > > I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes > was changed or something but nope, nothing different there. I even deleted the contents of the > module and reimported from that text and saved, still not visible. > > Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at > if you follow a method or something but otherwise entirely invisible. > > Of course what it really means is that my container is corrupt and so I have to punt. > > Sigh. > > I'm wondering if I can delete it through the editor object but it has been a long time since I > looked at that object. > From jwcolby at colbyconsulting.com Tue Feb 21 09:26:27 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Feb 2012 10:26:27 -0500 Subject: [AccessD] Module there but completely invisible In-Reply-To: References: <4F43A99C.9010506@colbyconsulting.com> Message-ID: <4F43B7A3.9040503@colbyconsulting.com> I deleted the "1" copy back out and it continues to compile, and I can get in to the AWOL module as described in the previous email. It is very strange. It seems that project explorer can still see it and can "remove" it, which I did. When I then reimported the module it was then visible. I am happy that I remembered project explorer. I don't use it all that often. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/21/2012 10:05 AM, Heenan, Lambert wrote: > Hi John, > > Very weird. When you 'get into the module' Via Shift-F2, is it really the original module's code you see, or it is the "1" version that you imported? > > Have you tried setting the visible property of the AWOL module via code with SetHiddenAttribute(ObjectType, ObjectName, fHidden ? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 21, 2012 9:27 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Module there but completely invisible > > I was working on code and did something (shortcut keys, not sure exactly what) and a class module disappeared. I first discovered it when I tried to compile and my code that initialized the class complained that the object didn't exist. Sure enough, the class module in the database window did not exist. > > So I imported the class from a backup and it came in with a 1 at the end. Say what? > > I tried to take the 1 off and the editor informed me that there was already an object with that name. No such module (class) in the database window. However... suddenly my code that instantiates the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module itself by Shft-F2 on a property or method of the class. So importing the class module from the backup "repaired" the compiler's link tables but the module itself is still totally invisible in the database window. And I don't mean the visible property is set false (I checked that), I mean "she ain't there!". > > Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db window. > > I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes was changed or something but nope, nothing different there. I even deleted the contents of the module and reimported from that text and saved, still not visible. > > Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at if you follow a method or something but otherwise entirely invisible. > > Of course what it really means is that my container is corrupt and so I have to punt. > > Sigh. > > I'm wondering if I can delete it through the editor object but it has been a long time since I looked at that object. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Tue Feb 21 09:54:45 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 21 Feb 2012 10:54:45 -0500 Subject: [AccessD] Module there but completely invisible In-Reply-To: <4F43B7A3.9040503@colbyconsulting.com> References: <4F43A99C.9010506@colbyconsulting.com> <4F43B7A3.9040503@colbyconsulting.com> Message-ID: Great that the problem has been fixed, but a pain that the cause remains unknown. Do you have a backup copy of the file with the AWOL module to check if just running that line of code fixes the problem, Might be quicker than the route you used. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 21, 2012 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Module there but completely invisible I deleted the "1" copy back out and it continues to compile, and I can get in to the AWOL module as described in the previous email. It is very strange. It seems that project explorer can still see it and can "remove" it, which I did. When I then reimported the module it was then visible. I am happy that I remembered project explorer. I don't use it all that often. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/21/2012 10:05 AM, Heenan, Lambert wrote: > Hi John, > > Very weird. When you 'get into the module' Via Shift-F2, is it really the original module's code you see, or it is the "1" version that you imported? > > Have you tried setting the visible property of the AWOL module via code with SetHiddenAttribute(ObjectType, ObjectName, fHidden ? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 21, 2012 9:27 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Module there but completely invisible > > I was working on code and did something (shortcut keys, not sure exactly what) and a class module disappeared. I first discovered it when I tried to compile and my code that initialized the class complained that the object didn't exist. Sure enough, the class module in the database window did not exist. > > So I imported the class from a backup and it came in with a 1 at the end. Say what? > > I tried to take the 1 off and the editor informed me that there was already an object with that name. No such module (class) in the database window. However... suddenly my code that instantiates the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module itself by Shft-F2 on a property or method of the class. So importing the class module from the backup "repaired" the compiler's link tables but the module itself is still totally invisible in the database window. And I don't mean the visible property is set false (I checked that), I mean "she ain't there!". > > Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db window. > > I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes was changed or something but nope, nothing different there. I even deleted the contents of the module and reimported from that text and saved, still not visible. > > Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at if you follow a method or something but otherwise entirely invisible. > > Of course what it really means is that my container is corrupt and so I have to punt. > > Sigh. > > I'm wondering if I can delete it through the editor object but it has been a long time since I looked at that object. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 21 10:37:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 21 Feb 2012 11:37:12 -0500 Subject: [AccessD] Module there but completely invisible In-Reply-To: References: <4F43A99C.9010506@colbyconsulting.com> <4F43B7A3.9040503@colbyconsulting.com> Message-ID: <4F43C838.6050705@colbyconsulting.com> I do have a copy as it happens but I think I will just take my solution and run! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/21/2012 10:54 AM, Heenan, Lambert wrote: > Great that the problem has been fixed, but a pain that the cause remains unknown. > > Do you have a backup copy of the file with the AWOL module to check if just running that line of code fixes the problem, Might be quicker than the route you used. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 21, 2012 10:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Module there but completely invisible > > I deleted the "1" copy back out and it continues to compile, and I can get in to the AWOL module as described in the previous email. > > It is very strange. It seems that project explorer can still see it and can "remove" it, which I did. When I then reimported the module it was then visible. > > I am happy that I remembered project explorer. I don't use it all that often. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/21/2012 10:05 AM, Heenan, Lambert wrote: >> Hi John, >> >> Very weird. When you 'get into the module' Via Shift-F2, is it really the original module's code you see, or it is the "1" version that you imported? >> >> Have you tried setting the visible property of the AWOL module via code with SetHiddenAttribute(ObjectType, ObjectName, fHidden ? >> >> Lambert >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, February 21, 2012 9:27 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Module there but completely invisible >> >> I was working on code and did something (shortcut keys, not sure exactly what) and a class module disappeared. I first discovered it when I tried to compile and my code that initialized the class complained that the object didn't exist. Sure enough, the class module in the database window did not exist. >> >> So I imported the class from a backup and it came in with a 1 at the end. Say what? >> >> I tried to take the 1 off and the editor informed me that there was already an object with that name. No such module (class) in the database window. However... suddenly my code that instantiates the "missing" code is no longer complaining (it compiles). Furthermore I can now get into the module itself by Shft-F2 on a property or method of the class. So importing the class module from the backup "repaired" the compiler's link tables but the module itself is still totally invisible in the database window. And I don't mean the visible property is set false (I checked that), I mean "she ain't there!". >> >> Decompile / compile / compact / repair cycle works, but the module is still not "there" in the db window. >> >> I exported the module as a text file and looked at it thinking perhaps one of the hidden attributes was changed or something but nope, nothing different there. I even deleted the contents of the module and reimported from that text and saved, still not visible. >> >> Kinda cool when you think about it, the ultimate stealth code, there somewhere and can be gotten at if you follow a method or something but otherwise entirely invisible. >> >> Of course what it really means is that my container is corrupt and so I have to punt. >> >> Sigh. >> >> I'm wondering if I can delete it through the editor object but it has been a long time since I looked at that object. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Tue Feb 21 23:47:12 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 22 Feb 2012 18:47:12 +1300 Subject: [AccessD] DataGrid control (cont.) In-Reply-To: References: <95651D410D3D41F292E91BE9DAA0F9F6@BondSoftware.local> <3148C10CB8E3427193D5B057037EA4DB@BondSoftware.local> Message-ID: Thanks Jim, I've decided to bite the bullet and redo. It's just one small sub-subform that's involved. Vanilla always was the best flavour. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, 21 February 2012 4:16 p.m. To: Stephen Subject: Re: [AccessD] DataGrid control (cont.) Hi Steve: Does DataGrid control even work at all in the newer Access? Does it have to be "added-in"? Is the Active-X control still working in the new computer? Have you tested both DataGrid controls and the ADO.Recordsets separately? If adding in the DGC, in the modules, doesn't work try unregistering and reregistering the DGC at the command prompt. It may not solve your problem but at least you can isolate the issue. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Sunday, February 19, 2012 10:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DataGrid control (cont.) Good question Stuart. Like you, I've eschewed the Microsoft 'latest fad' over the years, usually. In this case I was experimenting (years ago) with ADO and DataGrids in A2K, and it just kinda stayed on in the app. Bad choice, huh? I've been trying a few things in the past few days from various MS sources (mostly contradictory). Looks like the quickest solution will be to go back to vanilla. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 20 February 2012 1:31 p.m. To: Stephen Subject: Re: [AccessD] DataGrid control (cont.) Can't help with your query. But out of curiosity, why are you using a datagrid in preference to a subform in datasheet view? -- Stuart On 20 Feb 2012 at 13:03, Stephen Bond wrote: > Here's the whole Sub if that helps: > ================================================ > Sub FillGridSpecificJobObservations(ByVal pk) > Dim strSQL As String > Set rs = New ADOdb.Recordset > Set rs.ActiveConnection = CurrentProject.Connection > rs.CursorType = adOpenStatic > rs.LockType = adLockReadOnly > rs.CursorLocation = adUseClient > strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ > "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & > _ > "qryEquipmentRegisterRHS.ObserverName AS ObservName, > " & _ > "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, > " & _ > "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & > _ > "qryEquipmentRegisterRHS.Shift, " & _ > "qryEquipmentRegisterRHS.Id" > strSQL = strSQL & " FROM qryEquipmentRegisterRHS " > strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" > rs.Open strSQL > rs.Sort = "ObsId Asc" > SortAsc = True > Set Me.DataGridSpecificJobObservations.DataSource = rs ' <--- > runtime error on this line > > Me.DataGridSpecificJobObservations.Refresh > > Set dg = Me.DataGridSpecificJobObservations > dg.Font.Size = 8 > dg.RecordSelectors = False > dg.Columns(0).Width = 0 ' JobId > dg.Columns(1).Width = 500 ' ObservationId > dg.Columns(2).Width = 1800 ' Name > dg.Columns(3).Width = 1000 ' Date > dg.Columns(4).Width = 800 ' Time > dg.Columns(5).Width = 450 ' Shift (was S or U) > dg.Columns(6).Width = 0 ' Id > ' dg.Columns(5).NumberFormat = "currency" > dg.Columns(3).NumberFormat = "dd/mm/yyyy" > dg.Columns(4).NumberFormat = "hh:nn" > dg.Columns(3).Alignment = 2 > dg.Columns(4).Alignment = 2 > dg.Columns(5).Alignment = 2 > dg.MarqueeStyle = 3 > If rs.RecordCount = 0 Then > ' Me.Toolbar1.Buttons("Edit").Enabled = False > Else > ' Me.Toolbar1.Buttons("Edit").Enabled = True > End If > 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 tinanfields at torchlake.com Wed Feb 22 10:49:20 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 22 Feb 2012 11:49:20 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F4285E2.6040107@colbyconsulting.com> References: <4F4285E2.6040107@colbyconsulting.com> Message-ID: <4F451C90.5090000@torchlake.com> Okay, I need to know what that abbreviation means. What is SOHO? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/20/2012 12:41 PM, jwcolby wrote: > I have a SOHO. Yesterday the cable company came in to replace the > cable modem and replaced it with an integrated modem / router / > wireless. I like it! It has guest networks and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as > the addresses dished out to computers, and I set all that up, turned > on encryption, set the SSID to C2Db1, all the typical setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put > them on the network as access points on either end of the house to > allow better wireless access around the house. I know how to turn > off DHCP server in the access points, set the IP of the access point > router to a fixed address, for which I use 192.168.122.2 / .3 etc. I > set the SSID to unique values C2Db2 and C2Db3 so I can identify each > one for connecting. So I set up two of these "access points" using > two wrt54gs routers with the wan / DHCP turned off. In point of fact, > now that I think of it, I do not know how to specifically "turn off" > the WAN, I just don't use it, connecting all cables to the switch side > of the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the > Local Area Connection C2Db3. That should not be possible, since C2Db3 > is not the DHCP server. C2Db3 is one of the WRT54GS routers which is > now only a switch and wireless access point. The laptop does not > connect to C2Db3 (directly) though C2Db3 is plugged into the same > gigabit switch as the laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected that all of my computers with wired > connections to switches would show C2Db1 as the network, and any > wireless NECS would show the name of the wireless access point that > they came in under. > > Just as an aside, the "show network map" fails miserably and > immediately. All of my switches are dumb (unmanaged) so I was really > only expecting perhaps a basic picture of the network, but nope, > nothing at all except an error message. > > Just as an aside, I have an 8 port gigabit in my office on the second > floor at one end of the house, connected to a 4 port gigabit switch in > the basement at the center of the house. That 4 port is connected to > the new cable modem / router to get at the internet, and is also > connected to an 8 port gigabit switch at the other end of the house > (relative to my office). I recently "wired the house" (myself) > putting boxes in the walls of many of the rooms and running physical > cables to the closest switches. It would have been nice to just have > a 24 port switch and run cables all the way to that switch but that > was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in > terms of what my laptop thinks it is doing / connecting to with it's > wired NIC. > From hkotsch at arcor.de Wed Feb 22 10:54:58 2012 From: hkotsch at arcor.de (Helmut Kotsch) Date: Wed, 22 Feb 2012 17:54:58 +0100 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F451C90.5090000@torchlake.com> Message-ID: I think SmallOfficeHomeOffice" Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Tina Norris Fields Gesendet: Mittwoch, 22. Februar 2012 17:49 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT: Three routers, weird problems Okay, I need to know what that abbreviation means. What is SOHO? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/20/2012 12:41 PM, jwcolby wrote: > I have a SOHO. Yesterday the cable company came in to replace the > cable modem and replaced it with an integrated modem / router / > wireless. I like it! It has guest networks and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as > the addresses dished out to computers, and I set all that up, turned > on encryption, set the SSID to C2Db1, all the typical setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put > them on the network as access points on either end of the house to > allow better wireless access around the house. I know how to turn > off DHCP server in the access points, set the IP of the access point > router to a fixed address, for which I use 192.168.122.2 / .3 etc. I > set the SSID to unique values C2Db2 and C2Db3 so I can identify each > one for connecting. So I set up two of these "access points" using > two wrt54gs routers with the wan / DHCP turned off. In point of fact, > now that I think of it, I do not know how to specifically "turn off" > the WAN, I just don't use it, connecting all cables to the switch side > of the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the > Local Area Connection C2Db3. That should not be possible, since C2Db3 > is not the DHCP server. C2Db3 is one of the WRT54GS routers which is > now only a switch and wireless access point. The laptop does not > connect to C2Db3 (directly) though C2Db3 is plugged into the same > gigabit switch as the laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected that all of my computers with wired > connections to switches would show C2Db1 as the network, and any > wireless NECS would show the name of the wireless access point that > they came in under. > > Just as an aside, the "show network map" fails miserably and > immediately. All of my switches are dumb (unmanaged) so I was really > only expecting perhaps a basic picture of the network, but nope, > nothing at all except an error message. > > Just as an aside, I have an 8 port gigabit in my office on the second > floor at one end of the house, connected to a 4 port gigabit switch in > the basement at the center of the house. That 4 port is connected to > the new cable modem / router to get at the internet, and is also > connected to an 8 port gigabit switch at the other end of the house > (relative to my office). I recently "wired the house" (myself) > putting boxes in the walls of many of the rooms and running physical > cables to the closest switches. It would have been nice to just have > a 24 port switch and run cables all the way to that switch but that > was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in > terms of what my laptop thinks it is doing / connecting to with it's > wired NIC. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rls at WeBeDb.com Wed Feb 22 11:31:16 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Wed, 22 Feb 2012 11:31:16 -0600 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: Message-ID: Small Office Home Office At 10:45 AM 2/22/2012, you wrote: >Date: Wed, 22 Feb 2012 11:49:20 -0500 >From: Tina Norris Fields >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] OT: Three routers, weird problems >Message-ID: <4F451C90.5090000 at torchlake.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Okay, I need to know what that abbreviation means. What is SOHO? >T > >Tina Norris Fields >tinanfields at torchlake.com >231-322-2787 Robert L. Stewart www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From jwcolby at colbyconsulting.com Wed Feb 22 11:34:07 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Feb 2012 12:34:07 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: References: Message-ID: <4F45270F.2000001@colbyconsulting.com> Yep. I am a sole proprietor working out of an office in my home. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/22/2012 11:54 AM, Helmut Kotsch wrote: > I think SmallOfficeHomeOffice" > > Helmut > > -----Ursprungliche Nachricht----- > Von: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Tina Norris > Fields > Gesendet: Mittwoch, 22. Februar 2012 17:49 > An: Access Developers discussion and problem solving > Betreff: Re: [AccessD] OT: Three routers, weird problems > > > Okay, I need to know what that abbreviation means. What is SOHO? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/20/2012 12:41 PM, jwcolby wrote: >> I have a SOHO. Yesterday the cable company came in to replace the >> cable modem and replaced it with an integrated modem / router / >> wireless. I like it! It has guest networks and so forth, very modern. >> >> I use 192.168.122.1 as that base router's IP and the range 10-100 as >> the addresses dished out to computers, and I set all that up, turned >> on encryption, set the SSID to C2Db1, all the typical setup stuff. >> >> I have a pair of wrt54gs routers / wireless. I have in the past put >> them on the network as access points on either end of the house to >> allow better wireless access around the house. I know how to turn >> off DHCP server in the access points, set the IP of the access point >> router to a fixed address, for which I use 192.168.122.2 / .3 etc. I >> set the SSID to unique values C2Db2 and C2Db3 so I can identify each >> one for connecting. So I set up two of these "access points" using >> two wrt54gs routers with the wan / DHCP turned off. In point of fact, >> now that I think of it, I do not know how to specifically "turn off" >> the WAN, I just don't use it, connecting all cables to the switch side >> of the device. >> >> So now comes the strange thing. >> >> I rebooted and my laptop's wired NIC says it is connecting to the >> Local Area Connection C2Db3. That should not be possible, since C2Db3 >> is not the DHCP server. C2Db3 is one of the WRT54GS routers which is >> now only a switch and wireless access point. The laptop does not >> connect to C2Db3 (directly) though C2Db3 is plugged into the same >> gigabit switch as the laptop (up in my office). >> >> The connection does work, and it gets out to the internet, it is just >> confusing to me. I expected that all of my computers with wired >> connections to switches would show C2Db1 as the network, and any >> wireless NECS would show the name of the wireless access point that >> they came in under. >> >> Just as an aside, the "show network map" fails miserably and >> immediately. All of my switches are dumb (unmanaged) so I was really >> only expecting perhaps a basic picture of the network, but nope, >> nothing at all except an error message. >> >> Just as an aside, I have an 8 port gigabit in my office on the second >> floor at one end of the house, connected to a 4 port gigabit switch in >> the basement at the center of the house. That 4 port is connected to >> the new cable modem / router to get at the internet, and is also >> connected to an 8 port gigabit switch at the other end of the house >> (relative to my office). I recently "wired the house" (myself) >> putting boxes in the walls of many of the rooms and running physical >> cables to the closest switches. It would have been nice to just have >> a 24 port switch and run cables all the way to that switch but that >> was not to be. >> >> Anyhoo, I was wondering what the heck the C2Db3 actually means in >> terms of what my laptop thinks it is doing / connecting to with it's >> wired NIC. >> From jwcolby at colbyconsulting.com Wed Feb 22 15:56:35 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Feb 2012 16:56:35 -0500 Subject: [AccessD] Expense subreport In-Reply-To: <5C4AD181C344492F98713353FC42F767@XPS> References: <4F3B3377.7000404@colbyconsulting.com> <5C4AD181C344492F98713353FC42F767@XPS> Message-ID: <4F456493.9090006@colbyconsulting.com> Thanks Jim. I am trying that and regardless of what I do it pulls the value from the first line record of the subreport. I have a text control that sums the values in the detail section, and then a text control that pulls that value down into the footer. All that works fine, IOW in the subreport it displays the sum in the footer. However when I reference that footer sum control up in the parent form it displays the value from the first detail. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/15/2012 5:35 AM, Jim Dettman wrote: > > You can use the following: > > Function AvoidError(n As Variant, varReplaceWith As Variant) as Variant > > 10 On Error GoTo AvoidError_Error > > 20 AvoidError = Nz(n, varReplaceWith) > > AvoidError_Exit: > 30 Exit Function > > AvoidError_Error: > 40 AvoidError = varReplaceWith > 50 Resume AvoidError_Exit > > End Function > > set your control source to: > > > =AvoidError(Forms![myFormName]![mySubformControlName].Form![mysubformcontrol > ],0) > > You can use this anytime you expect to have no records and possibly an > error returned. There is one small rub; in later versions of Access, there > is an optimization where in some cases, AvoidError will not be called. This > is especially true if a domain function is used as part of the expression. > If that happens, have one control like this: > > =Sum() > > And then create a second control that references the first: > > =AvoidError() > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 14, 2012 11:24 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Expense subreport > > I am adding an expense subreport to my invoice. When there is data (one or > more records) in the > subreport all is copacetic, however when there is no data, the subreport > disappears entirely and the > controls up on the main report which reference the controls in the subreport > display #Error. > > Any suggestions as to how to handle this? Do I have to "fake" data for this > case? > From darryl at whittleconsulting.com.au Wed Feb 22 16:40:27 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 22 Feb 2012 22:40:27 +0000 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F451C90.5090000@torchlake.com> References: <4F4285E2.6040107@colbyconsulting.com> <4F451C90.5090000@torchlake.com> Message-ID: <56653D383CB80341995245C537A9E7B563E002@SINPRD0402MB099.apcprd04.prod.outlook.com> Over and above the actual words behind the abbreviation, In sales speak it mean something (usually tech) that is suitable for home or small office use. So good for a few people to use at once (say 10 or so). But probably going to struggle if you up the workload on the device too much. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 23 February 2012 3:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Three routers, weird problems Okay, I need to know what that abbreviation means. What is SOHO? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/20/2012 12:41 PM, jwcolby wrote: > I have a SOHO. Yesterday the cable company came in to replace the > cable modem and replaced it with an integrated modem / router / > wireless. I like it! It has guest networks and so forth, very modern. > > I use 192.168.122.1 as that base router's IP and the range 10-100 as > the addresses dished out to computers, and I set all that up, turned > on encryption, set the SSID to C2Db1, all the typical setup stuff. > > I have a pair of wrt54gs routers / wireless. I have in the past put > them on the network as access points on either end of the house to > allow better wireless access around the house. I know how to turn > off DHCP server in the access points, set the IP of the access point > router to a fixed address, for which I use 192.168.122.2 / .3 etc. I > set the SSID to unique values C2Db2 and C2Db3 so I can identify each > one for connecting. So I set up two of these "access points" using > two wrt54gs routers with the wan / DHCP turned off. In point of fact, > now that I think of it, I do not know how to specifically "turn off" > the WAN, I just don't use it, connecting all cables to the switch side > of the device. > > So now comes the strange thing. > > I rebooted and my laptop's wired NIC says it is connecting to the > Local Area Connection C2Db3. That should not be possible, since C2Db3 > is not the DHCP server. C2Db3 is one of the WRT54GS routers which is > now only a switch and wireless access point. The laptop does not > connect to C2Db3 (directly) though C2Db3 is plugged into the same > gigabit switch as the laptop (up in my office). > > The connection does work, and it gets out to the internet, it is just > confusing to me. I expected that all of my computers with wired > connections to switches would show C2Db1 as the network, and any > wireless NECS would show the name of the wireless access point that > they came in under. > > Just as an aside, the "show network map" fails miserably and > immediately. All of my switches are dumb (unmanaged) so I was really > only expecting perhaps a basic picture of the network, but nope, > nothing at all except an error message. > > Just as an aside, I have an 8 port gigabit in my office on the second > floor at one end of the house, connected to a 4 port gigabit switch in > the basement at the center of the house. That 4 port is connected to > the new cable modem / router to get at the internet, and is also > connected to an 8 port gigabit switch at the other end of the house > (relative to my office). I recently "wired the house" (myself) > putting boxes in the walls of many of the rooms and running physical > cables to the closest switches. It would have been nice to just have > a 24 port switch and run cables all the way to that switch but that > was not to be. > > Anyhoo, I was wondering what the heck the C2Db3 actually means in > terms of what my laptop thinks it is doing / connecting to with it's > wired NIC. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Feb 22 17:17:58 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 22 Feb 2012 18:17:58 -0500 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: Message-ID: Some alternatives, beginning with the obvious and then progressing into increasingly deviant possibilities: a) Small Office Home Office b) Single Obsequious Heterosexual Official c) Squishy Ostrich Having Osteoporosis d) Smelly Octupi (octopuses if you wish) Heaving Offspring Ok I'm running out... Contributions welcome. I know this list can come up with some vastly creative stuff! I know it's not Friday but come on! A. On Wed, Feb 22, 2012 at 12:31 PM, Robert Stewart wrote: > Small Office Home Office > > From darryl at whittleconsulting.com.au Wed Feb 22 17:40:04 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 22 Feb 2012 23:40:04 +0000 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B563E177@SINPRD0402MB099.apcprd04.prod.outlook.com> Arthur, Excellent work! Keep it up. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 23 February 2012 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] hree routers, weird problems Some alternatives, beginning with the obvious and then progressing into increasingly deviant possibilities: a) Small Office Home Office b) Single Obsequious Heterosexual Official c) Squishy Ostrich Having Osteoporosis d) Smelly Octupi (octopuses if you wish) Heaving Offspring Ok I'm running out... Contributions welcome. I know this list can come up with some vastly creative stuff! I know it's not Friday but come on! A. On Wed, Feb 22, 2012 at 12:31 PM, Robert Stewart wrote: > Small Office Home Office > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Feb 22 18:33:48 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 22 Feb 2012 19:33:48 -0500 Subject: [AccessD] hree routers, weird problems In-Reply-To: <56653D383CB80341995245C537A9E7B563E177@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B563E177@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: (George) Smiley Has His Orifices (upon Downing Street) (c.f. Le Carre). I'm seriously running out of alternatives. Somebody kindly assist! LOL. -- Arthur Cell: 647.710.1314 The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence. -Jean Baudrillard From stuart at lexacorp.com.pg Wed Feb 22 19:00:24 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Feb 2012 11:00:24 +1000 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: , <56653D383CB80341995245C537A9E7B563E177@SINPRD0402MB099.apcprd04.prod.outlook.com>, Message-ID: <4F458FA8.861.8A57461@stuart.lexacorp.com.pg> It's also the name used for ESA/NASA Solar Heliospheric Observatory mission: http://www.nasa.gov/mission_pages/soho/ -- Stuart On 22 Feb 2012 at 19:33, Arthur Fuller wrote: > (George) Smiley Has His Orifices (upon Downing Street) (c.f. Le Carre). > > I'm seriously running out of alternatives. Somebody kindly assist! LOL. > > -- > Arthur > Cell: 647.710.1314 > > The sad thing about artificial intelligence is that it lacks artifice and > therefore intelligence. > > -Jean Baudrillard > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Feb 22 20:04:34 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Feb 2012 18:04:34 -0800 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: Message-ID: <6C43C41EA3F84B0A8D93D14ACFD95363@creativesystemdesigns.com> Good point... ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, February 22, 2012 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] hree routers, weird problems Some alternatives, beginning with the obvious and then progressing into increasingly deviant possibilities: a) Small Office Home Office b) Single Obsequious Heterosexual Official c) Squishy Ostrich Having Osteoporosis d) Smelly Octupi (octopuses if you wish) Heaving Offspring Ok I'm running out... Contributions welcome. I know this list can come up with some vastly creative stuff! I know it's not Friday but come on! A. On Wed, Feb 22, 2012 at 12:31 PM, Robert Stewart wrote: > Small Office Home Office > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Feb 22 23:01:47 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 23 Feb 2012 00:01:47 -0500 Subject: [AccessD] hree routers, weird problems In-Reply-To: <6C43C41EA3F84B0A8D93D14ACFD95363@creativesystemdesigns.com> References: <6C43C41EA3F84B0A8D93D14ACFD95363@creativesystemdesigns.com> Message-ID: Never would have got that one, Stuart, without your most esteemed help! Thang ya berry much. A. From Gustav at cactus.dk Thu Feb 23 06:06:08 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Feb 2012 13:06:08 +0100 Subject: [AccessD] three routers, weird problems Message-ID: Hi Arthur You better hurry back to the C# stuff - or this will evolve out of your hands! /gustav >>> fuller.artful at gmail.com 23-02-2012 00:17 >>> Some alternatives, beginning with the obvious and then progressing into increasingly deviant possibilities: a) Small Office Home Office b) Single Obsequious Heterosexual Official c) Squishy Ostrich Having Osteoporosis d) Smelly Octupi (octopuses if you wish) Heaving Offspring Ok I'm running out... Contributions welcome. I know this list can come up with some vastly creative stuff! I know it's not Friday but come on! A. On Wed, Feb 22, 2012 at 12:31 PM, Robert Stewart wrote: > Small Office Home Office From jwcolby at colbyconsulting.com Thu Feb 23 07:07:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Feb 2012 08:07:47 -0500 Subject: [AccessD] hree routers, weird problems In-Reply-To: References: Message-ID: <4F463A23.2000208@colbyconsulting.com> e) Stupid Obtuse Horrible Opportunities You know, the "we just need a small change" gig... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/22/2012 6:17 PM, Arthur Fuller wrote: > Some alternatives, beginning with the obvious and then progressing into > increasingly deviant possibilities: > > a) Small Office Home Office > b) Single Obsequious Heterosexual Official > c) Squishy Ostrich Having Osteoporosis > d) Smelly Octupi (octopuses if you wish) Heaving Offspring > > Ok I'm running out... Contributions welcome. I know this list can come up > with some vastly creative stuff! I know it's not Friday but come on! > > A. > > On Wed, Feb 22, 2012 at 12:31 PM, Robert Stewart wrote: > >> Small Office Home Office >> >> From TSeptav at uniserve.com Thu Feb 23 08:42:58 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Thu, 23 Feb 2012 06:42:58 -0800 Subject: [AccessD] Expense subreport In-Reply-To: <4F456493.9090006@colbyconsulting.com> References: <4F3B3377.7000404@colbyconsulting.com><5C4AD181C344492F98713353FC42F767@XPS> <4F456493.9090006@colbyconsulting.com> Message-ID: <899E56C6519A4CAB86ECAA93904534D3@TonySeptav> Hey John Could you not just use =IIF([Reports]![MyMain]![MySub].[Report].[HasData],[Reports]![MyMain]![MySub ].[Report]!MyTotal,0) Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, February 22, 2012 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Expense subreport Thanks Jim. I am trying that and regardless of what I do it pulls the value from the first line record of the subreport. I have a text control that sums the values in the detail section, and then a text control that pulls that value down into the footer. All that works fine, IOW in the subreport it displays the sum in the footer. However when I reference that footer sum control up in the parent form it displays the value from the first detail. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/15/2012 5:35 AM, Jim Dettman wrote: > > You can use the following: > > Function AvoidError(n As Variant, varReplaceWith As Variant) as > Variant > > 10 On Error GoTo AvoidError_Error > > 20 AvoidError = Nz(n, varReplaceWith) > > AvoidError_Exit: > 30 Exit Function > > AvoidError_Error: > 40 AvoidError = varReplaceWith > 50 Resume AvoidError_Exit > > End Function > > set your control source to: > > > =AvoidError(Forms![myFormName]![mySubformControlName].Form![mysubformc > ontrol > ],0) > > You can use this anytime you expect to have no records and possibly > an error returned. There is one small rub; in later versions of > Access, there is an optimization where in some cases, AvoidError will > not be called. This is especially true if a domain function is used as part of the expression. > If that happens, have one control like this: > > =Sum() > > And then create a second control that references the first: > > =AvoidError() > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 14, 2012 11:24 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Expense subreport > > I am adding an expense subreport to my invoice. When there is data > (one or more records) in the subreport all is copacetic, however when > there is no data, the subreport disappears entirely and the controls > up on the main report which reference the controls in the subreport > display #Error. > > Any suggestions as to how to handle this? Do I have to "fake" data > for this case? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2113/4825 - Release Date: 02/22/12 From TSeptav at uniserve.com Thu Feb 23 08:46:07 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Thu, 23 Feb 2012 06:46:07 -0800 Subject: [AccessD] Expense Report - Ooops Message-ID: Hey John Forgot a set of brackets =IIF([Reports]![MyMain]![MySub].[Report].[HasData],[Reports]![MyMain]![MySub ].[Report]![MyTotal],0) From tinanfields at torchlake.com Thu Feb 23 17:54:06 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 23 Feb 2012 18:54:06 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <56653D383CB80341995245C537A9E7B563E002@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4F4285E2.6040107@colbyconsulting.com><4F451C90.5090000@torchlake.com> <56653D383CB80341995245C537A9E7B563E002@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4F46D19E.7010100@torchlake.com> Thanks to Helmut, John, and Darryl for explaining SOHO to me. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/22/2012 5:40 PM, Darryl Collins wrote: > Over and above the actual words behind the abbreviation, In sales speak it mean something (usually tech) that is suitable for home or small office use. So good for a few people to use at once (say 10 or so). But probably going to struggle if you up the workload on the device too much. > > Cheers > Darryl. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields > Sent: Thursday, 23 February 2012 3:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Three routers, weird problems > > Okay, I need to know what that abbreviation means. What is SOHO? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/20/2012 12:41 PM, jwcolby wrote: >> I have a SOHO. Yesterday the cable company came in to replace the >> cable modem and replaced it with an integrated modem / router / >> wireless. I like it! It has guest networks and so forth, very modern. >> >> I use 192.168.122.1 as that base router's IP and the range 10-100 as >> the addresses dished out to computers, and I set all that up, turned >> on encryption, set the SSID to C2Db1, all the typical setup stuff. >> >> I have a pair of wrt54gs routers / wireless. I have in the past put >> them on the network as access points on either end of the house to >> allow better wireless access around the house. I know how to turn >> off DHCP server in the access points, set the IP of the access point >> router to a fixed address, for which I use 192.168.122.2 / .3 etc. I >> set the SSID to unique values C2Db2 and C2Db3 so I can identify each >> one for connecting. So I set up two of these "access points" using >> two wrt54gs routers with the wan / DHCP turned off. In point of fact, >> now that I think of it, I do not know how to specifically "turn off" >> the WAN, I just don't use it, connecting all cables to the switch side >> of the device. >> >> So now comes the strange thing. >> >> I rebooted and my laptop's wired NIC says it is connecting to the >> Local Area Connection C2Db3. That should not be possible, since C2Db3 >> is not the DHCP server. C2Db3 is one of the WRT54GS routers which is >> now only a switch and wireless access point. The laptop does not >> connect to C2Db3 (directly) though C2Db3 is plugged into the same >> gigabit switch as the laptop (up in my office). >> >> The connection does work, and it gets out to the internet, it is just >> confusing to me. I expected that all of my computers with wired >> connections to switches would show C2Db1 as the network, and any >> wireless NECS would show the name of the wireless access point that >> they came in under. >> >> Just as an aside, the "show network map" fails miserably and >> immediately. All of my switches are dumb (unmanaged) so I was really >> only expecting perhaps a basic picture of the network, but nope, >> nothing at all except an error message. >> >> Just as an aside, I have an 8 port gigabit in my office on the second >> floor at one end of the house, connected to a 4 port gigabit switch in >> the basement at the center of the house. That 4 port is connected to >> the new cable modem / router to get at the internet, and is also >> connected to an 8 port gigabit switch at the other end of the house >> (relative to my office). I recently "wired the house" (myself) >> putting boxes in the walls of many of the rooms and running physical >> cables to the closest switches. It would have been nice to just have >> a 24 port switch and run cables all the way to that switch but that >> was not to be. >> >> Anyhoo, I was wondering what the heck the C2Db3 actually means in >> terms of what my laptop thinks it is doing / connecting to with it's >> wired NIC. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From Gustav at cactus.dk Fri Feb 24 01:40:50 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Feb 2012 08:40:50 +0100 Subject: [AccessD] OT: Three routers, weird problems Message-ID: Hi Tina You forgot crazy Arthur who provided the true answers! /gustav >>> tinanfields at torchlake.com 24-02-2012 00:54:06 >>> Thanks to Helmut, John, and Darryl for explaining SOHO to me. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From jwcolby at colbyconsulting.com Fri Feb 24 06:47:33 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Feb 2012 07:47:33 -0500 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> Message-ID: <4F4786E5.5070107@colbyconsulting.com> Dan, Are these parallel systems physical servers, installed instances of SQL Server or databases? It sounds like you are talking about databases. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/17/2012 1:25 PM, Dan Waters wrote: > I have parallel systems: Production, Test, and Review. Test is just for me > to do usual test stuff. Review is for users when they want to look at a > change I've made so they are certain it works like they wanted it to. > > In SQL Server, prior to using either Test or Review, I make a backup and > then restore that backup as DatabaseTEST and DatabaseREVIEW. Each different > access app file has ODBC links which point to its respective database in SQL > Server. > > Each system has its own Config.mdb file, which holds the path for the table > links. If I'm done testing, I can copy the FE.mdb file from the Test folder > to the Prod folder. Part of the startup code is to check to see if the > table links in the FE.mdb match what's in the Config.mdb file. If not, then > a procedure to redefine the .Connect property of the table links is run. > > I have this same setup for each customer on their server, which I can log > onto via VPN/Remote Desktop. > > HTH! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, February 17, 2012 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Testing SQL Server linked FEs > > To this point I have always worked with MDB data stores. When I did testing > where I needed to modify data (adds/ deletes / edits) I would copy the BE > files to a local directory and then map that local directory to the X: drive > where all the links pointed to. Voila, "test mode". > > Obviously that doesn't work with links to SQL Server. I have seen code for > modifying the link info of the tabledef, storing the server / database info > in a local table in the FE. That seems like one solution. Is anyone doing > something like this? > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Feb 24 08:27:56 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 06:27:56 -0800 Subject: [AccessD] Two problems A2003 vs A2010 Message-ID: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From jimdettman at verizon.net Fri Feb 24 08:58:11 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Feb 2012 09:58:11 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> Message-ID: Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 24 09:03:07 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 07:03:07 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> Message-ID: <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 24 09:12:51 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 24 Feb 2012 09:12:51 -0600 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F4786E5.5070107@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> Message-ID: <001101ccf306$c6fe9c30$54fbd490$@comcast.net> Hi John, It's apps and databases all on one server. For example, there is an appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel systems do not work together or communicate with each other. In the PROD system, users log into an AutoUpdater file, which will upload the latest FE files to the client PC if needed. Users don't run FE apps on the server. HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, February 24, 2012 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing SQL Server linked FEs Dan, Are these parallel systems physical servers, installed instances of SQL Server or databases? It sounds like you are talking about databases. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/17/2012 1:25 PM, Dan Waters wrote: > I have parallel systems: Production, Test, and Review. Test is just > for me to do usual test stuff. Review is for users when they want to > look at a change I've made so they are certain it works like they wanted it to. > > In SQL Server, prior to using either Test or Review, I make a backup > and then restore that backup as DatabaseTEST and DatabaseREVIEW. Each > different access app file has ODBC links which point to its respective > database in SQL Server. > > Each system has its own Config.mdb file, which holds the path for the > table links. If I'm done testing, I can copy the FE.mdb file from the > Test folder to the Prod folder. Part of the startup code is to check > to see if the table links in the FE.mdb match what's in the Config.mdb > file. If not, then a procedure to redefine the .Connect property of the table links is run. > > I have this same setup for each customer on their server, which I can > log onto via VPN/Remote Desktop. > > HTH! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, February 17, 2012 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Testing SQL Server linked FEs > > To this point I have always worked with MDB data stores. When I did > testing where I needed to modify data (adds/ deletes / edits) I would > copy the BE files to a local directory and then map that local > directory to the X: drive where all the links pointed to. Voila, "test mode". > > Obviously that doesn't work with links to SQL Server. I have seen > code for modifying the link info of the tabledef, storing the server / > database info in a local table in the FE. That seems like one > solution. Is anyone doing something like this? > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Feb 24 09:29:47 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Feb 2012 10:29:47 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> Message-ID: <605E140EDCAF492C848A77C8CA005271@XPS> Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Fri Feb 24 09:51:12 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 07:51:12 -0800 Subject: [AccessD] Asterix Message-ID: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> Hey All Does anyone know how do you search for an * in a string using SQL. I have got it working for & and " but the * has got me stumped. Thanks Tony Septav Nanaimo, BC Canada From rockysmolin at bchacc.com Fri Feb 24 09:55:40 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 07:55:40 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <605E140EDCAF492C848A77C8CA005271@XPS> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007><361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> Message-ID: <28770B7135A841AFAACDDEC043B7A4BE@HAL9007> Dang! Been using the Open event for everything since A97. Guess those days are over. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 7:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 24 09:58:12 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 07:58:12 -0800 Subject: [AccessD] Asterix In-Reply-To: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> Message-ID: <9994952F869C4F999639C2532A7D8B81@HAL9007> Use the chr() function with the ASCII value of an *? Not sure that will work though - still might be interpreted as a wild card. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Asterix Hey All Does anyone know how do you search for an * in a string using SQL. I have got it working for & and " but the * has got me stumped. Thanks Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Fri Feb 24 10:05:12 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 08:05:12 -0800 Subject: [AccessD] Asterix In-Reply-To: <9994952F869C4F999639C2532A7D8B81@HAL9007> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <9994952F869C4F999639C2532A7D8B81@HAL9007> Message-ID: Hey Rocky still might be interpreted as a wild card. Yup that is what happens. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 7:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Use the chr() function with the ASCII value of an *? Not sure that will work though - still might be interpreted as a wild card. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Asterix Hey All Does anyone know how do you search for an * in a string using SQL. I have got it working for & and " but the * has got me stumped. Thanks Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: 02/23/12 From garykjos at gmail.com Fri Feb 24 10:15:15 2012 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 24 Feb 2012 10:15:15 -0600 Subject: [AccessD] Asterix In-Reply-To: References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <9994952F869C4F999639C2532A7D8B81@HAL9007> Message-ID: Enclose the asterisk in square brackets? http://office.microsoft.com/en-us/access-help/find-wildcard-characters-in-an-access-database-HA001171536.aspx GK On Fri, Feb 24, 2012 at 10:05 AM, Tony Septav wrote: > Hey Rocky > still might be interpreted as a wild card. > Yup that is what happens. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 7:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Asterix > > Use the chr() function with the ASCII value of an *? Not sure that will work > though - still might be interpreted as a wild card. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 7:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Asterix > > Hey All > Does anyone know how do you search for an * in a string using SQL. I have > got it working for & and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: 02/23/12 > > -- > 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 Chester_Kaup at kindermorgan.com Fri Feb 24 10:16:09 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 24 Feb 2012 10:16:09 -0600 Subject: [AccessD] Asterix In-Reply-To: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> In the criteria use[*]. This also works for other wild cards such as # and ? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 9:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Asterix Hey All Does anyone know how do you search for an * in a string using SQL. I have got it working for & and " but the * has got me stumped. Thanks Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Feb 24 10:16:57 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Feb 2012 11:16:57 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <28770B7135A841AFAACDDEC043B7A4BE@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007><361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <28770B7135A841AFAACDDEC043B7A4BE@HAL9007> Message-ID: <4F47B7F9.5000108@colbyconsulting.com> > Dang! Been using the Open event for everything since A97. LOL, me too. OnOpen can be canceled of something doesn't pan out, so I always did my stuff there. Something to keep in mind for sure. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/24/2012 10:55 AM, Rocky Smolin wrote: > Dang! Been using the Open event for everything since A97. Guess those days > are over. :) > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 7:30 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > It's what I call a "timing" bug. > > Because "Access" is made up of multiple components (UI, JET, and VBA), > some operations occur in different threads of execution. Where you see this > the most is with JET, which does a lot of things in the background while > "Access" proceeds with other tasks. By default, JET uses three threads of > execution to perform background tasks. > > When moving to a slower/faster machine or changing the number of > background threads for JET, this type of thing will pop up because events > can occur in a different sequence or within an event, background tasks might > not occur fast enough. > > Populating of recordsets is one, instantiation of controls is another. > > If you mess with a control in the OnOpen event, it's hit or miss whether > it will exist or not when your line of code is executed. On some machines > it may work fine and on others not. > > Many developers do something with controls in OnOpen because it's > cancelable unlike OnLoad. But OnLoad is the first point at which you can be > sure that every control has been created. > > One work around for that is to issue a Me.Repaint in the OnOpen, which > forces Access to pause until every control is created. Then do your check > and cancel if need be. > > Not sure if anything like that exists for the recordset. A Me.Refresh > might work. But since you moved the code to OnLoad and there's no impact > with that, that is the best fix. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Aha. Well I'm going to move that code to the Load event on the other forms. > Oddly it's just in the forms for the purchasing module - the others seem to > work OK but haven't thoroughly tested. > > Thanks > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 6:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > The code was in the wrong place to start with. Your just lucky it worked > in 2003. > > In On Open, the form is just being opened and the forms record set may or > may not be fully populated at any point. > > You are not guaranteed that it's fully populated until the On Load event. > > You might have had the same problem with the 2003 version with just moving > to a faster/slower PC then what you developed with. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 09:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Two problems A2003 vs A2010 > > Dear List: > > I have a simple line of code Docmd.GoToRecord , , acLast which works in > A2003 but in A2010 generates a run-time error '2046 - The command or Action > 'GoToRecord' is not available now'. The second problem is that the form > does not open maximized in 2010 but does on 2003. > > I moved the maximize and gotorecord code to the Load event from the Open > event and it now appears to work. > > Has anyone seen this? IS this a known 'eccentricity' of 2010? Any > guidelines on what is OK in Open and what must be in Load in 2010? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From garykjos at gmail.com Fri Feb 24 10:18:45 2012 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 24 Feb 2012 10:18:45 -0600 Subject: [AccessD] Asterix In-Reply-To: References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <9994952F869C4F999639C2532A7D8B81@HAL9007> Message-ID: This worked for me in a query to find values in a field with an asterisk in them Like "*[*]" On Fri, Feb 24, 2012 at 10:15 AM, Gary Kjos wrote: > Enclose the asterisk in square brackets? > > http://office.microsoft.com/en-us/access-help/find-wildcard-characters-in-an-access-database-HA001171536.aspx > > GK > > On Fri, Feb 24, 2012 at 10:05 AM, Tony Septav wrote: >> Hey Rocky >> still might be interpreted as a wild card. >> Yup that is what happens. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> Sent: Friday, February 24, 2012 7:58 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Asterix >> >> Use the chr() function with the ASCII value of an *? Not sure that will work >> though - still might be interpreted as a wild card. >> >> R >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav >> Sent: Friday, February 24, 2012 7:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Asterix >> >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I have >> got it working for & and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: 02/23/12 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Fri Feb 24 10:26:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Feb 2012 11:26:03 -0500 Subject: [AccessD] Asterix In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> Message-ID: <4F47BA1B.6030700@colbyconsulting.com> I think you have to use "like" instead of the math "equal" sign. Where MyField like "*Colby" Something like that. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/24/2012 11:16 AM, Kaup, Chester wrote: > In the criteria use[*]. This also works for other wild cards such as # and ? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 9:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Asterix > > Hey All > Does anyone know how do you search for an * in a string using SQL. I have > got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada From tinanfields at torchlake.com Fri Feb 24 10:33:30 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Feb 2012 11:33:30 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: References: Message-ID: <4F47BBDA.9030905@torchlake.com> My thanks to Arthur as well. I hadn't seen his answer until after I'd thanked the other three. Dear Arthur, thank you!!! Did you win the CBC logo contest? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 2:40 AM, Gustav Brock wrote: > Hi Tina > > You forgot crazy Arthur who provided the true answers! > > /gustav > > >>>> tinanfields at torchlake.com 24-02-2012 00:54:06>>> > Thanks to Helmut, John, and Darryl for explaining SOHO to me. :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > From TSeptav at uniserve.com Fri Feb 24 10:39:34 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 08:39:34 -0800 Subject: [AccessD] Asterix In-Reply-To: <4F47BA1B.6030700@colbyconsulting.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> <4F47BA1B.6030700@colbyconsulting.com> Message-ID: <83B1B58D2CDF4972B0F7C4C5F7DB7A46@TonySeptav> Hey John I just want to find all the records that contain an *. But using an * in the Like string with the wild card finds all the records In fact it returns "**" Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, February 24, 2012 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix I think you have to use "like" instead of the math "equal" sign. Where MyField like "*Colby" Something like that. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/24/2012 11:16 AM, Kaup, Chester wrote: > In the criteria use[*]. This also works for other wild cards such as # and ? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 9:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Asterix > > Hey All > Does anyone know how do you search for an * in a string using SQL. I > have got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 From tinanfields at torchlake.com Fri Feb 24 10:44:56 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Feb 2012 11:44:56 -0500 Subject: [AccessD] Asterix In-Reply-To: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> Message-ID: <4F47BE88.20009@torchlake.com> Hi Tony, Well, lets see, won't the escape character \ take care of that? What happens when you do that? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 10:51 AM, Tony Septav wrote: > Hey All > Does anyone know how do you search for an * in a string using SQL. I have > got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada From fuller.artful at gmail.com Fri Feb 24 10:46:30 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Feb 2012 11:46:30 -0500 Subject: [AccessD] OT: Three routers, weird problems In-Reply-To: <4F47BBDA.9030905@torchlake.com> References: <4F47BBDA.9030905@torchlake.com> Message-ID: Sadly, no I didn't win. Some loser transformed herself into a winner and got the free trip. No bitterness here. I put out a hit on her but it's just business, devoid of animosity. *S*tiff-upper-lipped *O*rangutans *H*alt *O*range-parades (c.f. William of Orange. Nothing rhymes with Orange save one huge stretch, created by Leonard Cohen, "door hinge"; as I said, a stretch). On Fri, Feb 24, 2012 at 11:33 AM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > My thanks to Arthur as well. I hadn't seen his answer until after I'd > thanked the other three. Dear Arthur, thank you!!! > Did you win the CBC logo contest? > > T > -- > Arthur Cell: 647.710.1314 I have been a soreheaded occupant of a file drawer labeled Science Fiction and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal. -- Kurt Vonnegut From TSeptav at uniserve.com Fri Feb 24 10:48:34 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 08:48:34 -0800 Subject: [AccessD] Asterix In-Reply-To: <4F47BE88.20009@torchlake.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <4F47BE88.20009@torchlake.com> Message-ID: <00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> Hey Tina Thanks Sorry but I do not understand what the escape character is that you are referring to and therefore how to use it. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, February 24, 2012 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Hi Tony, Well, lets see, won't the escape character \ take care of that? What happens when you do that? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 10:51 AM, Tony Septav wrote: > Hey All > Does anyone know how do you search for an * in a string using SQL. I > have got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 From tinanfields at torchlake.com Fri Feb 24 11:03:16 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Feb 2012 12:03:16 -0500 Subject: [AccessD] Asterix In-Reply-To: <00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><4F47BE88.20009@torchlake.com> <00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> Message-ID: <4F47C2D4.8040900@torchlake.com> Hi Tony, The escape character that I found is the backslash - \ - I think that is supposed to say "treat the immediately following character as a literal character" So, I would expect it to look like this: \* I haven't tried to do what you are trying to do, so I will be watching to see what the solution turns out to be. Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 11:48 AM, Tony Septav wrote: > Hey Tina > Thanks > Sorry but I do not understand what the escape character is that you are > referring to and therefore how to use it. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, February 24, 2012 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Hi Tony, > Well, lets see, won't the escape character \ take care of that? > What happens when you do that? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/24/2012 10:51 AM, Tony Septav wrote: >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I >> have got it working for& and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 > From Lambert.Heenan at chartisinsurance.com Fri Feb 24 10:59:36 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 24 Feb 2012 11:59:36 -0500 Subject: [AccessD] Asterix In-Reply-To: <00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <4F47BE88.20009@torchlake.com> <00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> Message-ID: Gary provided the solution... Like "*[*]" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Hey Tina Thanks Sorry but I do not understand what the escape character is that you are referring to and therefore how to use it. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, February 24, 2012 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Hi Tony, Well, lets see, won't the escape character \ take care of that? What happens when you do that? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 10:51 AM, Tony Septav wrote: > Hey All > Does anyone know how do you search for an * in a string using SQL. I > have got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 24 11:17:33 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 24 Feb 2012 11:17:33 -0600 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <605E140EDCAF492C848A77C8CA005271@XPS> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> Message-ID: <002d01ccf318$3299d9d0$97cd8d70$@comcast.net> Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Fri Feb 24 11:39:18 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 09:39:18 -0800 Subject: [AccessD] Asterix In-Reply-To: References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><4F47BE88.20009@torchlake.com><00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav> Message-ID: <0338483215E5462DA15E6F69B1AC5A71@TonySeptav> Hey Lambert Thanks kindly. Seems to be doing the trick. Last piece of the puzzle solved. Tina you were kind of on the right track. Found this (I like to understand what I am doing) [] used to escape reserved keywords used as identifiers Eg. SELECT [select] FROM test Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, February 24, 2012 9:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Gary provided the solution... Like "*[*]" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Hey Tina Thanks Sorry but I do not understand what the escape character is that you are referring to and therefore how to use it. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, February 24, 2012 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Hi Tony, Well, lets see, won't the escape character \ take care of that? What happens when you do that? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 10:51 AM, Tony Septav wrote: > Hey All > Does anyone know how do you search for an * in a string using SQL. I > have got it working for& and " but the * has got me stumped. > > Thanks > Tony Septav > Nanaimo, BC > Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 From tinanfields at torchlake.com Fri Feb 24 12:24:58 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Feb 2012 13:24:58 -0500 Subject: [AccessD] Asterix In-Reply-To: <0338483215E5462DA15E6F69B1AC5A71@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><4F47BE88.20009@torchlake.com><00F4181DD33E4BE6ABB5990A6F39EED0@TonySept av> <0338483215E5462DA15E6F69B1AC5A71@TonySeptav> Message-ID: <4F47D5FA.50408@torchlake.com> Excellent - we both learned something today. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 12:39 PM, Tony Septav wrote: > Hey Lambert > Thanks kindly. > Seems to be doing the trick. > Last piece of the puzzle solved. > > Tina you were kind of on the right track. > Found this (I like to understand what I am doing) > [] used to escape reserved keywords used as identifiers > Eg. SELECT [select] FROM test > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Friday, February 24, 2012 9:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Gary provided the solution... > > Like "*[*]" > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Asterix > > Hey Tina > Thanks > Sorry but I do not understand what the escape character is that you are > referring to and therefore how to use it. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, February 24, 2012 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Hi Tony, > Well, lets see, won't the escape character \ take care of that? > What happens when you do that? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/24/2012 10:51 AM, Tony Septav wrote: >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I >> have got it working for& and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 > From TSeptav at uniserve.com Fri Feb 24 12:40:40 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 10:40:40 -0800 Subject: [AccessD] Asterix In-Reply-To: <4F47D5FA.50408@torchlake.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><4F47BE88.20009@torchlake.com><00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav><0338483215E5462DA15E6F69B1AC5A71@TonySeptav> <4F47D5FA.50408@torchlake.com> Message-ID: <9575917E41AD474DB87D6F1240E41167@TonySeptav> Hey Tina Learned something new??????????? What a load of crap, I knew it all along but I forgot. That is what happens when you become an old fart. Just kidding. Yup, you never stop learning and that it is kind of nice. Thanks to All. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, February 24, 2012 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Excellent - we both learned something today. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 12:39 PM, Tony Septav wrote: > Hey Lambert > Thanks kindly. > Seems to be doing the trick. > Last piece of the puzzle solved. > > Tina you were kind of on the right track. > Found this (I like to understand what I am doing) [] used to escape > reserved keywords used as identifiers Eg. SELECT [select] FROM test > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Friday, February 24, 2012 9:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Gary provided the solution... > > Like "*[*]" > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Asterix > > Hey Tina > Thanks > Sorry but I do not understand what the escape character is that you > are referring to and therefore how to use it. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, February 24, 2012 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Hi Tony, > Well, lets see, won't the escape character \ take care of that? > What happens when you do that? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/24/2012 10:51 AM, Tony Septav wrote: >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I >> have got it working for& and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: > 02/24/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: > 02/24/12 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 From dw-murphy at cox.net Fri Feb 24 13:27:57 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 24 Feb 2012 11:27:57 -0800 Subject: [AccessD] Asterix In-Reply-To: <9575917E41AD474DB87D6F1240E41167@TonySeptav> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav><4F47BE88.20009@torchlake.com><00F4181DD33E4BE6ABB5990A6F39EED0@TonySeptav><0338483215E5462DA15E6F69B1AC5A71@TonySeptav> <4F47D5FA.50408@torchlake.com> <9575917E41AD474DB87D6F1240E41167@TonySeptav> Message-ID: <006901ccf32a$69b30e20$3d192a60$@cox.net> " That is what happens when you become an old fart." Know the experience. It is really frustrating to know you know something but not be able to pull it up instantly. Can't tell you how much time I spend searching my notes for things that used to be right there. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Hey Tina Learned something new??????????? What a load of crap, I knew it all along but I forgot. That is what happens when you become an old fart. Just kidding. Yup, you never stop learning and that it is kind of nice. Thanks to All. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, February 24, 2012 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix Excellent - we both learned something today. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 12:39 PM, Tony Septav wrote: > Hey Lambert > Thanks kindly. > Seems to be doing the trick. > Last piece of the puzzle solved. > > Tina you were kind of on the right track. > Found this (I like to understand what I am doing) [] used to escape > reserved keywords used as identifiers Eg. SELECT [select] FROM test > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Friday, February 24, 2012 9:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Gary provided the solution... > > Like "*[*]" > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, February 24, 2012 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Asterix > > Hey Tina > Thanks > Sorry but I do not understand what the escape character is that you > are referring to and therefore how to use it. > > Tony Septav > Nanaimo, BC > Canada > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, February 24, 2012 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > Hi Tony, > Well, lets see, won't the escape character \ take care of that? > What happens when you do that? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 2/24/2012 10:51 AM, Tony Septav wrote: >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I >> have got it working for& and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: > 02/24/12 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: > 02/24/12 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Fri Feb 24 14:26:36 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Fri, 24 Feb 2012 12:26:36 -0800 Subject: [AccessD] Asterix In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <0B2BF8524B73A248A2F1B81BA751ED3C19A02ABB39@houex1.kindermorgan.com> Message-ID: <763C20C7A3754FBFAD7098D4A97D2F14@TonySeptav> Hey All Sorry guys, Gary and Chester. For some reason I have just got your Emails. I thank both of you very much for your input Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Friday, February 24, 2012 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix In the criteria use[*]. This also works for other wild cards such as # and ? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, February 24, 2012 9:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Asterix Hey All Does anyone know how do you search for an * in a string using SQL. I have got it working for & and " but the * has got me stumped. Thanks Tony Septav Nanaimo, BC Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: 02/23/12 From rusty.hammond at cpiqpc.com Fri Feb 24 15:19:46 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 24 Feb 2012 15:19:46 -0600 Subject: [AccessD] Sharepoint integration Message-ID: <49A286ABF515E94A8505CD14DEB721701744A6B8@CPIEMAIL-EVS1.CPIQPC.NET> Has anyone used Access/VBA to post files to a document library on Sharepoint - AND - populate data on the document library page for the file? We have setup several document libraries on our Sharepoint server to save .msg files to, and created two custom columns, Original Sender and To. I can get the msg files to the library but I don't see how to add data to the Original Sender and To columns. TIA, Rusty Hammond ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From jimdettman at verizon.net Fri Feb 24 15:56:18 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Feb 2012 16:56:18 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <002d01ccf318$3299d9d0$97cd8d70$@comcast.net> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net> Message-ID: <7D026A0613A445419CB72999660E8FD7@XPS> Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Feb 24 16:10:54 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 24 Feb 2012 16:10:54 -0600 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <7D026A0613A445419CB72999660E8FD7@XPS> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net> <7D026A0613A445419CB72999660E8FD7@XPS> Message-ID: <005801ccf341$2d6ddbe0$884993a0$@comcast.net> Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Feb 24 16:46:07 2012 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 24 Feb 2012 22:46:07 +0000 Subject: [AccessD] Sharepoint integration Message-ID: <631CF83223105545BF43EFB52CB082957BB5B4FB13@EX2K7-VIRT-2.ads.qub.ac.uk> We use this product email management for outlook http://www.colligo.com/products/sharepoint/ Martin Sent from my Windows Phone ________________________________ From: Rusty Hammond Sent: 24/02/2012 21:22 To: accessd at databaseadvisors.com Subject: [AccessD] Sharepoint integration Has anyone used Access/VBA to post files to a document library on Sharepoint - AND - populate data on the document library page for the file? We have setup several document libraries on our Sharepoint server to save .msg files to, and created two custom columns, Original Sender and To. I can get the msg files to the library but I don't see how to add data to the Original Sender and To columns. TIA, Rusty Hammond ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Fri Feb 24 16:57:14 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 24 Feb 2012 22:57:14 +0000 Subject: [AccessD] Asterix In-Reply-To: References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <9994952F869C4F999639C2532A7D8B81@HAL9007> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD826FA@CINMLDGCNA01.e2k.ad.ge.com> Nope, only some of them! Like "*[*]*" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, February 24, 2012 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix This worked for me in a query to find values in a field with an asterisk in them Like "*[*]" On Fri, Feb 24, 2012 at 10:15 AM, Gary Kjos wrote: > Enclose the asterisk in square brackets? > > http://office.microsoft.com/en-us/access-help/find-wildcard-characters > -in-an-access-database-HA001171536.aspx > > GK > > On Fri, Feb 24, 2012 at 10:05 AM, Tony Septav wrote: >> Hey Rocky >> still might be interpreted as a wild card. >> Yup that is what happens. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin >> Sent: Friday, February 24, 2012 7:58 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Asterix >> >> Use the chr() function with the ASCII value of an *? Not sure that >> will work though - still might be interpreted as a wild card. >> >> R >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony >> Septav >> Sent: Friday, February 24, 2012 7:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Asterix >> >> Hey All >> Does anyone know how do you search for an * in a string using SQL. I >> have got it working for & and " but the * has got me stumped. >> >> Thanks >> Tony Septav >> Nanaimo, BC >> Canada >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: >> 02/23/12 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Feb 24 17:57:25 2012 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 24 Feb 2012 17:57:25 -0600 Subject: [AccessD] Asterix In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD826FA@CINMLDGCNA01.e2k.ad.ge.com> References: <56C7B931CDD64BB8A65BF98356CE45D4@TonySeptav> <9994952F869C4F999639C2532A7D8B81@HAL9007> <93D10F008B998B4A83BCA855A33EEF372AD826FA@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: Well it found both of mine. Granted they were 1) the only thing in the and 2) at the end of the field. You did catch me on the embedded and leading ones. ;-) GK On Fri, Feb 24, 2012 at 4:57 PM, Benson, William (GE Global Research, consultant) wrote: > Nope, only some of them! > > > Like "*[*]*" > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, February 24, 2012 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Asterix > > This worked for me in a query to find values in a field with an asterisk in them > > Like "*[*]" > > On Fri, Feb 24, 2012 at 10:15 AM, Gary Kjos wrote: >> Enclose the asterisk in square brackets? >> >> http://office.microsoft.com/en-us/access-help/find-wildcard-characters >> -in-an-access-database-HA001171536.aspx >> >> GK >> >> On Fri, Feb 24, 2012 at 10:05 AM, Tony Septav wrote: >>> Hey Rocky >>> still might be interpreted as a wild card. >>> Yup that is what happens. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>> Smolin >>> Sent: Friday, February 24, 2012 7:58 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Asterix >>> >>> Use the chr() function with the ASCII value of an *? Not sure that >>> will work though - still might be interpreted as a wild card. >>> >>> R >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony >>> Septav >>> Sent: Friday, February 24, 2012 7:51 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: [AccessD] Asterix >>> >>> Hey All >>> Does anyone know how do you search for an * in a string using SQL. I >>> have got it working for & and " but the * has got me stumped. >>> >>> Thanks >>> Tony Septav >>> Nanaimo, BC >>> Canada >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> ----- >>> No virus found in this message. >>> Checked by AVG - www.avg.com >>> Version: 2012.0.1913 / Virus Database: 2114/4828 - Release Date: >>> 02/23/12 >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Feb 24 18:23:37 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 16:23:37 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <005801ccf341$2d6ddbe0$884993a0$@comcast.net> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS> <005801ccf341$2d6ddbe0$884993a0$@comcast.net> Message-ID: <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Feb 24 18:33:53 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Feb 2012 16:33:53 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net> <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> Message-ID: <094171BFB77A42D0B20B12B432B80397@HAL9007> I can kludge a fix by putting in a Form.Move 0,0 in all the forms that are behaving badly, and that works pretty well but of course the form's not maximized but it fills the display anyway. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 4:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat Feb 25 10:49:23 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 25 Feb 2012 11:49:23 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net > <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> Message-ID: <4F491113.8050404@torchlake.com> Hi Rocky, I like the On Activate event (I think that's what it's called) for that, so that each time I get back to a form, even if it's already open, the event fires. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 7:23 PM, Rocky Smolin wrote: > Well, it turns out that moving the code from the _Open event to the Load > event did not take care of the problem of the form not Maximizing and > centering itself on the screen. > > Anyone got any ideas why? > > Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 > but no cigar). I'm using the AHD form resizing code. And end the code in > the Load module with a DoCmd.Maximize. > > MTIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Thanks Jim - Major Help! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 3:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Dan, > > Yes, put Me.repaint at the top of your OnOpen. Every control reference > after that will always be valid. > > < timing issues?>> > > No other then moving code. Timing issues are always a result of doing > something where you should not be doing it in the first place. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Jim, > > My system collects most errors. Some of them are like 'can't find control'. > As if I could solve that. > > Sounds like if I put Me.Paint in the open event of every form I might avoid > some of those. > > Do you have any additional steps on resolving the problems associated with > timing issues? > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 9:30 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > It's what I call a "timing" bug. > > Because "Access" is made up of multiple components (UI, JET, and VBA), > some operations occur in different threads of execution. Where you see this > the most is with JET, which does a lot of things in the background while > "Access" proceeds with other tasks. By default, JET uses three threads of > execution to perform background tasks. > > When moving to a slower/faster machine or changing the number of > background threads for JET, this type of thing will pop up because events > can occur in a different sequence or within an event, background tasks might > not occur fast enough. > > Populating of recordsets is one, instantiation of controls is another. > > If you mess with a control in the OnOpen event, it's hit or miss whether > it will exist or not when your line of code is executed. On some machines > it may work fine and on others not. > > Many developers do something with controls in OnOpen because it's > cancelable unlike OnLoad. But OnLoad is the first point at which you can be > sure that every control has been created. > > One work around for that is to issue a Me.Repaint in the OnOpen, which > forces Access to pause until every control is created. Then do your check > and cancel if need be. > > Not sure if anything like that exists for the recordset. A Me.Refresh > might work. But since you moved the code to OnLoad and there's no impact > with that, that is the best fix. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Aha. Well I'm going to move that code to the Load event on the other forms. > Oddly it's just in the forms for the purchasing module - the others seem to > work OK but haven't thoroughly tested. > > Thanks > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 6:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > The code was in the wrong place to start with. Your just lucky it worked > in 2003. > > In On Open, the form is just being opened and the forms record set may or > may not be fully populated at any point. > > You are not guaranteed that it's fully populated until the On Load event. > > You might have had the same problem with the 2003 version with just moving > to a faster/slower PC then what you developed with. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 09:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Two problems A2003 vs A2010 > > Dear List: > > I have a simple line of code Docmd.GoToRecord , , acLast which works in > A2003 but in A2010 generates a run-time error '2046 - The command or Action > 'GoToRecord' is not available now'. The second problem is that the form > does not open maximized in 2010 but does on 2003. > > I moved the maximize and gotorecord code to the Load event from the Open > event and it now appears to work. > > Has anyone seen this? IS this a known 'eccentricity' of 2010? Any > guidelines on what is OK in Open and what must be in Load in 2010? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Sat Feb 25 11:07:52 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sat, 25 Feb 2012 09:07:52 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net> <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> Message-ID: <6DCEDC48B7F3484D9505F0A9544876F7@TonySeptav> Hey Rocky Years ago I used the ADH resize form code in many applications. Always invoked it on the On Open event of the form, never had a problem (other than sometimes list boxes on the form had to be dealt with separately). But I never maximized the form. Don't know but maybe you are getting a conflict between the code and DoCmd.Maximize command. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 4:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 From rockysmolin at bchacc.com Sat Feb 25 11:30:33 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 09:30:33 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <6DCEDC48B7F3484D9505F0A9544876F7@TonySeptav> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net><3837B28BE23A4C21AA201B5A85A734D1@HAL9007> <6DCEDC48B7F3484D9505F0A9544876F7@TonySeptav> Message-ID: I tried commenting out all the DoCmd.Maximize lines. Also all the Form.Move 0, 0 lines. Both mdb and mde works OK in 2003 and 2010 - forms don't maximize but they fill the screen pretty well. That might be the easiest thing to do. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Saturday, February 25, 2012 9:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Hey Rocky Years ago I used the ADH resize form code in many applications. Always invoked it on the On Open event of the form, never had a problem (other than sometimes list boxes on the form had to be dealt with separately). But I never maximized the form. Don't know but maybe you are getting a conflict between the code and DoCmd.Maximize command. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 4:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4829 - Release Date: 02/24/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Feb 25 11:31:53 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 25 Feb 2012 12:31:53 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS> <005801ccf341$2d6ddbe0$884993a0$@comcast.net> <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> Message-ID: <930E4530A70E4F7C8FCFBBF58F93DB75@XPS> Rocky, Sorry, I should have been clearer earlier; moving the code was only a fix for the control reference. The maximize should work fine in either place. I would eliminate the maximize line and control it through the form properties. If your over riding the default, then place it as an argument in the open statement. Can't remember though which way that goes; open overrides the form or the form overrides the open arguments. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 07:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Feb 25 11:33:52 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 25 Feb 2012 12:33:52 -0500 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <4F491113.8050404@torchlake.com> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007> <361E0D6538D244C0AECCC7893B8EDB1E@HAL9007> <605E140EDCAF492C848A77C8CA005271@XPS> <002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net > <3837B28BE23A4C21AA201B5A85A734D1@HAL9007> <4F491113.8050404@torchlake.com> Message-ID: Tina, Good thought; that's an excellent place to put it. OnActivate is also fired when the form opens as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, February 25, 2012 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Two problems A2003 vs A2010 Hi Rocky, I like the On Activate event (I think that's what it's called) for that, so that each time I get back to a form, even if it's already open, the event fires. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 7:23 PM, Rocky Smolin wrote: > Well, it turns out that moving the code from the _Open event to the Load > event did not take care of the problem of the form not Maximizing and > centering itself on the screen. > > Anyone got any ideas why? > > Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 > but no cigar). I'm using the AHD form resizing code. And end the code in > the Load module with a DoCmd.Maximize. > > MTIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Thanks Jim - Major Help! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 3:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Dan, > > Yes, put Me.repaint at the top of your OnOpen. Every control reference > after that will always be valid. > > < timing issues?>> > > No other then moving code. Timing issues are always a result of doing > something where you should not be doing it in the first place. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Jim, > > My system collects most errors. Some of them are like 'can't find control'. > As if I could solve that. > > Sounds like if I put Me.Paint in the open event of every form I might avoid > some of those. > > Do you have any additional steps on resolving the problems associated with > timing issues? > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 9:30 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > It's what I call a "timing" bug. > > Because "Access" is made up of multiple components (UI, JET, and VBA), > some operations occur in different threads of execution. Where you see this > the most is with JET, which does a lot of things in the background while > "Access" proceeds with other tasks. By default, JET uses three threads of > execution to perform background tasks. > > When moving to a slower/faster machine or changing the number of > background threads for JET, this type of thing will pop up because events > can occur in a different sequence or within an event, background tasks might > not occur fast enough. > > Populating of recordsets is one, instantiation of controls is another. > > If you mess with a control in the OnOpen event, it's hit or miss whether > it will exist or not when your line of code is executed. On some machines > it may work fine and on others not. > > Many developers do something with controls in OnOpen because it's > cancelable unlike OnLoad. But OnLoad is the first point at which you can be > sure that every control has been created. > > One work around for that is to issue a Me.Repaint in the OnOpen, which > forces Access to pause until every control is created. Then do your check > and cancel if need be. > > Not sure if anything like that exists for the recordset. A Me.Refresh > might work. But since you moved the code to OnLoad and there's no impact > with that, that is the best fix. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Aha. Well I'm going to move that code to the Load event on the other forms. > Oddly it's just in the forms for the purchasing module - the others seem to > work OK but haven't thoroughly tested. > > Thanks > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 6:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > The code was in the wrong place to start with. Your just lucky it worked > in 2003. > > In On Open, the form is just being opened and the forms record set may or > may not be fully populated at any point. > > You are not guaranteed that it's fully populated until the On Load event. > > You might have had the same problem with the 2003 version with just moving > to a faster/slower PC then what you developed with. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, February 24, 2012 09:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Two problems A2003 vs A2010 > > Dear List: > > I have a simple line of code Docmd.GoToRecord , , acLast which works in > A2003 but in A2010 generates a run-time error '2046 - The command or Action > 'GoToRecord' is not available now'. The second problem is that the form > does not open maximized in 2010 but does on 2003. > > I moved the maximize and gotorecord code to the Load event from the Open > event and it now appears to work. > > Has anyone seen this? IS this a known 'eccentricity' of 2010? Any > guidelines on what is OK in Open and what must be in Load in 2010? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Feb 25 11:34:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 09:34:30 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: <930E4530A70E4F7C8FCFBBF58F93DB75@XPS> References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007><361E0D6538D244C0AECCC7893B8EDB1E@HAL9007><605E140EDCAF492C848A77C8CA005271@XPS><002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net><3837B28BE23A4C21AA201B5A85A734D1@HAL9007> <930E4530A70E4F7C8FCFBBF58F93DB75@XPS> Message-ID: <7952F6AE448544AB9174D07469DE10B4@HAL9007> Jim: Is there a way to open the form maximized through form properties? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, February 25, 2012 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, Sorry, I should have been clearer earlier; moving the code was only a fix for the control reference. The maximize should work fine in either place. I would eliminate the maximize line and control it through the form properties. If your over riding the default, then place it as an argument in the open statement. Can't remember though which way that goes; open overrides the form or the form overrides the open arguments. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 07:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Well, it turns out that moving the code from the _Open event to the Load event did not take care of the problem of the form not Maximizing and centering itself on the screen. Anyone got any ideas why? Again, it's an A2K3 mdb (I did convert it to accdb to try it native A2K10 but no cigar). I'm using the AHD form resizing code. And end the code in the Load module with a DoCmd.Maximize. MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Thanks Jim - Major Help! Dan :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Dan, Yes, put Me.repaint at the top of your OnOpen. Every control reference after that will always be valid. <> No other then moving code. Timing issues are always a result of doing something where you should not be doing it in the first place. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, February 24, 2012 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Jim, My system collects most errors. Some of them are like 'can't find control'. As if I could solve that. Sounds like if I put Me.Paint in the open event of every form I might avoid some of those. Do you have any additional steps on resolving the problems associated with timing issues? Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, It's what I call a "timing" bug. Because "Access" is made up of multiple components (UI, JET, and VBA), some operations occur in different threads of execution. Where you see this the most is with JET, which does a lot of things in the background while "Access" proceeds with other tasks. By default, JET uses three threads of execution to perform background tasks. When moving to a slower/faster machine or changing the number of background threads for JET, this type of thing will pop up because events can occur in a different sequence or within an event, background tasks might not occur fast enough. Populating of recordsets is one, instantiation of controls is another. If you mess with a control in the OnOpen event, it's hit or miss whether it will exist or not when your line of code is executed. On some machines it may work fine and on others not. Many developers do something with controls in OnOpen because it's cancelable unlike OnLoad. But OnLoad is the first point at which you can be sure that every control has been created. One work around for that is to issue a Me.Repaint in the OnOpen, which forces Access to pause until every control is created. Then do your check and cancel if need be. Not sure if anything like that exists for the recordset. A Me.Refresh might work. But since you moved the code to OnLoad and there's no impact with that, that is the best fix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Aha. Well I'm going to move that code to the Load event on the other forms. Oddly it's just in the forms for the purchasing module - the others seem to work OK but haven't thoroughly tested. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, February 24, 2012 6:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Rocky, The code was in the wrong place to start with. Your just lucky it worked in 2003. In On Open, the form is just being opened and the forms record set may or may not be fully populated at any point. You are not guaranteed that it's fully populated until the On Load event. You might have had the same problem with the 2003 version with just moving to a faster/slower PC then what you developed with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, February 24, 2012 09:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Two problems A2003 vs A2010 Dear List: I have a simple line of code Docmd.GoToRecord , , acLast which works in A2003 but in A2010 generates a run-time error '2046 - The command or Action 'GoToRecord' is not available now'. The second problem is that the form does not open maximized in 2010 but does on 2003. I moved the maximize and gotorecord code to the Load event from the Open event and it now appears to work. Has anyone seen this? IS this a known 'eccentricity' of 2010? Any guidelines on what is OK in Open and what must be in Load in 2010? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Feb 25 11:40:16 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 09:40:16 -0800 Subject: [AccessD] Two problems A2003 vs A2010 In-Reply-To: References: <65FA7B4A3BCF4B4286D268DC9952BFC1@HAL9007><361E0D6538D244C0AECCC7893B8EDB1E@HAL9007><605E140EDCAF492C848A77C8CA005271@XPS><002d01ccf318$3299d9d0$97cd8d70$@comcast.net><7D026A0613A445419CB72999660E8FD7@XPS><005801ccf341$2d6ddbe0$884993a0$@comcast.net ><3837B28BE23A4C21AA201B5A85A734D1@HAL9007><4F491113.8050404@torchlake.com> Message-ID: <3D5CBB5F5198422FA75C4753014E86AC@HAL9007> Just ran a quick test on one form - moving the Maximize to the Activate event seems to work. That could be the ultimate solution. Thanks all. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, February 25, 2012 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Two problems A2003 vs A2010 Tina, Good thought; that's an excellent place to put it. OnActivate is also fired when the form opens as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, February 25, 2012 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Two problems A2003 vs A2010 Hi Rocky, I like the On Activate event (I think that's what it's called) for that, so that each time I get back to a form, even if it's already open, the event fires. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 2/24/2012 7:23 PM, Rocky Smolin wrote: > Well, it turns out that moving the code from the _Open event to the > Load event did not take care of the problem of the form not Maximizing > and centering itself on the screen. > > Anyone got any ideas why? > > Again, it's an A2K3 mdb (I did convert it to accdb to try it native > A2K10 but no cigar). I'm using the AHD form resizing code. And end > the code in the Load module with a DoCmd.Maximize. > > MTIA > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Thanks Jim - Major Help! > > Dan > :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 3:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Dan, > > Yes, put Me.repaint at the top of your OnOpen. Every control > reference after that will always be valid. > > < associated with > timing issues?>> > > No other then moving code. Timing issues are always a result of > doing something where you should not be doing it in the first place. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday, February 24, 2012 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Jim, > > My system collects most errors. Some of them are like 'can't find control'. > As if I could solve that. > > Sounds like if I put Me.Paint in the open event of every form I might avoid > some of those. > > Do you have any additional steps on resolving the problems associated > with timing issues? > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 9:30 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > It's what I call a "timing" bug. > > Because "Access" is made up of multiple components (UI, JET, and > VBA), some operations occur in different threads of execution. Where > you see this > the most is with JET, which does a lot of things in the background > while "Access" proceeds with other tasks. By default, JET uses three > threads of execution to perform background tasks. > > When moving to a slower/faster machine or changing the number of > background threads for JET, this type of thing will pop up because > events can occur in a different sequence or within an event, > background tasks might > not occur fast enough. > > Populating of recordsets is one, instantiation of controls is another. > > If you mess with a control in the OnOpen event, it's hit or miss whether > it will exist or not when your line of code is executed. On some machines > it may work fine and on others not. > > Many developers do something with controls in OnOpen because it's > cancelable unlike OnLoad. But OnLoad is the first point at which you > can be > sure that every control has been created. > > One work around for that is to issue a Me.Repaint in the OnOpen, > which forces Access to pause until every control is created. Then do > your check and cancel if need be. > > Not sure if anything like that exists for the recordset. A > Me.Refresh might work. But since you moved the code to OnLoad and > there's no impact with that, that is the best fix. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, February 24, 2012 10:03 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Aha. Well I'm going to move that code to the Load event on the other forms. > Oddly it's just in the forms for the purchasing module - the others > seem to > work OK but haven't thoroughly tested. > > Thanks > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, February 24, 2012 6:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Two problems A2003 vs A2010 > > Rocky, > > The code was in the wrong place to start with. Your just lucky it worked > in 2003. > > In On Open, the form is just being opened and the forms record set > may or > may not be fully populated at any point. > > You are not guaranteed that it's fully populated until the On Load event. > > You might have had the same problem with the 2003 version with just moving > to a faster/slower PC then what you developed with. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, February 24, 2012 09:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Two problems A2003 vs A2010 > > Dear List: > > I have a simple line of code Docmd.GoToRecord , , acLast which works > in > A2003 but in A2010 generates a run-time error '2046 - The command or Action > 'GoToRecord' is not available now'. The second problem is that the > form does not open maximized in 2010 but does on 2003. > > I moved the maximize and gotorecord code to the Load event from the > Open event and it now appears to work. > > Has anyone seen this? IS this a known 'eccentricity' of 2010? Any > guidelines on what is OK in Open and what must be in Load in 2010? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Feb 25 13:45:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 11:45:30 -0800 Subject: [AccessD] Disable minimize, restore, close buttons Message-ID: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007> Dear List: Now that I think I have that problem with the maximizing and centering of forms on 2010 under control (somewhat) I think I should disable the minimize, restore, and close buttons if I'm working with an mde. I have code that checks to see if I'm working with an mde and does stuff so I could add the disables to that. However, I can't seem to find the right syntax. Does anyone know that? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From charlotte.foust at gmail.com Sat Feb 25 14:02:43 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 25 Feb 2012 12:02:43 -0800 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007> References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007> Message-ID: Off the top of my head, what about making the forms modal? Charlotte Foust On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin wrote: > Dear List: > > Now that I think I have that problem with the maximizing and centering of > forms on 2010 under control (somewhat) I think I should disable the > minimize, restore, and close buttons if I'm working with an mde. > > I have code that checks to see if I'm working with an mde and does stuff so > I could add the disables to that. However, I can't seem to find the right > syntax. Does anyone know that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Sat Feb 25 16:40:06 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 14:40:06 -0800 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007> Message-ID: I need to do it under program control. While developing I need those buttons. But when I distribute the mde I'd like them off. I can easily detect if the file's an mde but don't know the code to turn them off. The control are in the property list for Me. But don't seem to want to compile. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, February 25, 2012 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disable minimize, restore, close buttons Off the top of my head, what about making the forms modal? Charlotte Foust On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin wrote: > Dear List: > > Now that I think I have that problem with the maximizing and centering > of forms on 2010 under control (somewhat) I think I should disable the > minimize, restore, and close buttons if I'm working with an mde. > > I have code that checks to see if I'm working with an mde and does > stuff so I could add the disables to that. However, I can't seem to > find the right syntax. Does anyone know that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Feb 25 17:40:03 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Feb 2012 09:40:03 +1000 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007>, , Message-ID: <4F497153.338.8262E1C@stuart.lexacorp.com.pg> You can turn the Min/Max buttons off in form design, but I haven't yet found a way to disable/get rid of the restore button when maximized. I suspect that it is going to require API calls. I'm still playing with it :-) -- Stuart On 25 Feb 2012 at 14:40, Rocky Smolin wrote: > I need to do it under program control. While developing I need those > buttons. But when I distribute the mde I'd like them off. I can easily > detect if the file's an mde but don't know the code to turn them off. The > control are in the property list for Me. But don't seem to want to compile. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Saturday, February 25, 2012 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disable minimize, restore, close buttons > > Off the top of my head, what about making the forms modal? > > Charlotte Foust > > On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin > wrote: > > > Dear List: > > > > Now that I think I have that problem with the maximizing and centering > > of forms on 2010 under control (somewhat) I think I should disable the > > minimize, restore, and close buttons if I'm working with an mde. > > > > I have code that checks to see if I'm working with an mde and does > > stuff so I could add the disables to that. However, I can't seem to > > find the right syntax. Does anyone know that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Sat Feb 25 18:44:00 2012 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 26 Feb 2012 13:44:00 +1300 Subject: [AccessD] Snapshot Viewer Message-ID: For years an app with a print option to attach a Snapshot and e-mail has worked fine. Here is the syntax: DoCmd.SendObject _ ObjectType:=acSendReport, _ ObjectName:=fn, _ OutputFormat:=acFormatSNP, _ To:="", _ Cc:="", _ Subject:="Quote as requested", _ MessageText:="Make sure you have SnapshotViewer installed before opening this attachment", _ EditMessage:=True Now the SNP is flaky. Sometimes it matches the hard-copy, sometimes it doesn't. From rockysmolin at bchacc.com Sat Feb 25 19:01:15 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 17:01:15 -0800 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: <4F497153.338.8262E1C@stuart.lexacorp.com.pg> References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007>, , <4F497153.338.8262E1C@stuart.lexacorp.com.pg> Message-ID: <66FA6AF0C5E54657834C6DC24CA40284@HAL9007> My money's on you. But PNG's reputation as the cutting edge of technological innovation hangs in the balance, you know. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, February 25, 2012 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disable minimize, restore, close buttons You can turn the Min/Max buttons off in form design, but I haven't yet found a way to disable/get rid of the restore button when maximized. I suspect that it is going to require API calls. I'm still playing with it :-) -- Stuart On 25 Feb 2012 at 14:40, Rocky Smolin wrote: > I need to do it under program control. While developing I need those > buttons. But when I distribute the mde I'd like them off. I can > easily detect if the file's an mde but don't know the code to turn > them off. The control are in the property list for Me. But don't seem to want to compile. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Saturday, February 25, 2012 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disable minimize, restore, close buttons > > Off the top of my head, what about making the forms modal? > > Charlotte Foust > > On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin > wrote: > > > Dear List: > > > > Now that I think I have that problem with the maximizing and > > centering of forms on 2010 under control (somewhat) I think I should > > disable the minimize, restore, and close buttons if I'm working with an mde. > > > > I have code that checks to see if I'm working with an mde and does > > stuff so I could add the disables to that. However, I can't seem to > > find the right syntax. Does anyone know that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Feb 25 19:11:12 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Feb 2012 11:11:12 +1000 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007>, , Message-ID: <4F4986B0.7429.879A3C9@stuart.lexacorp.com.pg> Not truly Maximized, but a similar effect: Put the following code in a module and replace "Docmd.Maximize" in your Load/Activate event with: "MaximizeRestoredForm Me" Also set the forms "MinMax Buttons" property to None. -- Stuart '*************************** Code Start ************************ Option Compare Database Option Explicit 'This code was originally written by Terry Kreft. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. ' 'Code courtesy of 'Terry Kreft ' Type Rect x1 As Long y1 As Long x2 As Long y2 As Long End Type Declare Function IsZoomed Lib "user32" (ByVal hWnd As Long) As Long Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal _ nCmdShow As Long) As Long Declare Function MoveWindow Lib "user32" (ByVal hWnd As Long, ByVal _ X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight _ As Long, ByVal bRepaint As Long) As Long Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long 'Use following instead of GetWindowRect Declare Function GetClientRect Lib "user32" (ByVal hWnd As Long, lpRect _ As Rect) As Long Public Const SW_MAXIMIZE = 3 Public Const SW_SHOWNORMAL = 1 Sub MaximizeRestoredForm(F As Form) Dim MDIRect As Rect ' If the form is maximized, restore it. If IsZoomed(F.hWnd) <> 0 Then ShowWindow F.hWnd, SW_SHOWNORMAL End If ' Get the screen coordinates and window size of the ' MDIClient area. GetClientRect GetParent(F.hWnd), MDIRect ' Move the form to the upper left corner of the MDIClient ' window (0,0) and size it to the same size as the ' MDIClient window. MoveWindow F.hWnd, 0, 0, MDIRect.x2 - MDIRect.x1, MDIRect.y2 - MDIRect.y1, True End Sub '*************************** Code End ************************ -- Stuart On 25 Feb 2012 at 14:40, Rocky Smolin wrote: > I need to do it under program control. While developing I need those > buttons. But when I distribute the mde I'd like them off. I can easily > detect if the file's an mde but don't know the code to turn them off. The > control are in the property list for Me. But don't seem to want to compile. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Saturday, February 25, 2012 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disable minimize, restore, close buttons > > Off the top of my head, what about making the forms modal? > > Charlotte Foust > > On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin > wrote: > > > Dear List: > > > > Now that I think I have that problem with the maximizing and centering > > of forms on 2010 under control (somewhat) I think I should disable the > > minimize, restore, and close buttons if I'm working with an mde. > > > > I have code that checks to see if I'm working with an mde and does > > stuff so I could add the disables to that. However, I can't seem to > > find the right syntax. Does anyone know that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Feb 25 19:15:45 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Feb 2012 17:15:45 -0800 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: <4F4986B0.7429.879A3C9@stuart.lexacorp.com.pg> References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007>, , <4F4986B0.7429.879A3C9@stuart.lexacorp.com.pg> Message-ID: <45BA947210574715BC0CDE17C3F3ABC9@HAL9007> "Also set the forms "MinMax Buttons" property to None. " Trying to avoid that so I can have them during development. But the other looks interesting. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, February 25, 2012 5:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disable minimize, restore, close buttons Not truly Maximized, but a similar effect: Put the following code in a module and replace "Docmd.Maximize" in your Load/Activate event with: "MaximizeRestoredForm Me" Also set the forms "MinMax Buttons" property to None. -- Stuart '*************************** Code Start ************************ Option Compare Database Option Explicit 'This code was originally written by Terry Kreft. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. ' 'Code courtesy of 'Terry Kreft ' Type Rect x1 As Long y1 As Long x2 As Long y2 As Long End Type Declare Function IsZoomed Lib "user32" (ByVal hWnd As Long) As Long Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal _ nCmdShow As Long) As Long Declare Function MoveWindow Lib "user32" (ByVal hWnd As Long, ByVal _ X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight _ As Long, ByVal bRepaint As Long) As Long Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long 'Use following instead of GetWindowRect Declare Function GetClientRect Lib "user32" (ByVal hWnd As Long, lpRect _ As Rect) As Long Public Const SW_MAXIMIZE = 3 Public Const SW_SHOWNORMAL = 1 Sub MaximizeRestoredForm(F As Form) Dim MDIRect As Rect ' If the form is maximized, restore it. If IsZoomed(F.hWnd) <> 0 Then ShowWindow F.hWnd, SW_SHOWNORMAL End If ' Get the screen coordinates and window size of the ' MDIClient area. GetClientRect GetParent(F.hWnd), MDIRect ' Move the form to the upper left corner of the MDIClient ' window (0,0) and size it to the same size as the ' MDIClient window. MoveWindow F.hWnd, 0, 0, MDIRect.x2 - MDIRect.x1, MDIRect.y2 - MDIRect.y1, True End Sub '*************************** Code End ************************ -- Stuart On 25 Feb 2012 at 14:40, Rocky Smolin wrote: > I need to do it under program control. While developing I need those > buttons. But when I distribute the mde I'd like them off. I can easily > detect if the file's an mde but don't know the code to turn them off. The > control are in the property list for Me. But don't seem to want to compile. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Saturday, February 25, 2012 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disable minimize, restore, close buttons > > Off the top of my head, what about making the forms modal? > > Charlotte Foust > > On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin > wrote: > > > Dear List: > > > > Now that I think I have that problem with the maximizing and centering > > of forms on 2010 under control (somewhat) I think I should disable the > > minimize, restore, and close buttons if I'm working with an mde. > > > > I have code that checks to see if I'm working with an mde and does > > stuff so I could add the disables to that. However, I can't seem to > > find the right syntax. Does anyone know that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Feb 25 19:15:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 25 Feb 2012 20:15:28 -0500 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <001101ccf306$c6fe9c30$54fbd490$@comcast.net> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> Message-ID: <4F4987B0.5050403@colbyconsulting.com> Dan, I have written a framework in VBA for dealing with the ODBC links, basically a pair of classes and a module. I am able to load and parse all properties of the TDF connection string such as Database, Server, UID, PWD and so forth. I am able to modify any existing property (such as the database) and write the modified string back to the TDF.Connect property. I am able to create new properties (ADD a UID for example) and delete existing properties, writing the modified connection string. All that is working very well. It looks like it takes about .6 milliseconds to load and parse a single TDF connection. YMMV of course based on workstation speed. What I envision doing with all this is to allow me to swap out the database name in the connection string. I have already done a backup and a rerstore to the same db name + _Test. DISCO becomes DISCO_Test. Once I have that backup of the production database I can swap the database name from DISCO to DISCO_Test to "instantly" point to the test database, and then swap it back again to point back to production. I haven't yet decided to use a naming convention like this, or a table of records with the database production / test names in a pair of fields. A table would allow me flexibility of course, just pull the database property and look it up in the production column, then grab the test name and write that back into the connection string. Vice-versa to move from production to test. I already have a CopyAndRun system in place for copying the database from a production location to a local directory. I could just add this stuff into that to automatically relink to test if the copy is going to a test local directory or something like that. Basically a single FE could dynamically switch from production to test as it loads, based on... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/24/2012 10:12 AM, Dan Waters wrote: > Hi John, > > It's apps and databases all on one server. For example, there is an > appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an > appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel systems do > not work together or communicate with each other. > > In the PROD system, users log into an AutoUpdater file, which will upload > the latest FE files to the client PC if needed. Users don't run FE apps on > the server. > > HTH! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, February 24, 2012 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > Dan, > > Are these parallel systems physical servers, installed instances of SQL > Server or databases? It sounds like you are talking about databases. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/17/2012 1:25 PM, Dan Waters wrote: >> I have parallel systems: Production, Test, and Review. Test is just >> for me to do usual test stuff. Review is for users when they want to >> look at a change I've made so they are certain it works like they wanted > it to. >> >> In SQL Server, prior to using either Test or Review, I make a backup >> and then restore that backup as DatabaseTEST and DatabaseREVIEW. Each >> different access app file has ODBC links which point to its respective >> database in SQL Server. >> >> Each system has its own Config.mdb file, which holds the path for the >> table links. If I'm done testing, I can copy the FE.mdb file from the >> Test folder to the Prod folder. Part of the startup code is to check >> to see if the table links in the FE.mdb match what's in the Config.mdb >> file. If not, then a procedure to redefine the .Connect property of the > table links is run. >> >> I have this same setup for each customer on their server, which I can >> log onto via VPN/Remote Desktop. >> >> HTH! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Friday, February 17, 2012 11:29 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Testing SQL Server linked FEs >> >> To this point I have always worked with MDB data stores. When I did >> testing where I needed to modify data (adds/ deletes / edits) I would >> copy the BE files to a local directory and then map that local >> directory to the X: drive where all the links pointed to. Voila, "test > mode". >> >> Obviously that doesn't work with links to SQL Server. I have seen >> code for modifying the link info of the tabledef, storing the server / >> database info in a local table in the FE. That seems like one >> solution. Is anyone doing something like this? >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sat Feb 25 19:30:38 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Feb 2012 11:30:38 +1000 Subject: [AccessD] Disable minimize, restore, close buttons In-Reply-To: <45BA947210574715BC0CDE17C3F3ABC9@HAL9007> References: <8B8840CC6E2C4EBF9D69D8F851BF0ABF@HAL9007>, <4F4986B0.7429.879A3C9@stuart.lexacorp.com.pg>, <45BA947210574715BC0CDE17C3F3ABC9@HAL9007> Message-ID: <4F498B3E.22487.88B6D5F@stuart.lexacorp.com.pg> This one is simpler: Put "MaximizeForm Me" in the Resize event. MS warns: Note You need to be careful if you use a MoveSize, Maximize , Minimize, or Restore action (or the corresponding methods of the DoCmd object) in a Resize macro or event procedure. These actions can trigger a Resize event for the form, and thus cause a cascading event . But I haven't been able to cause a cascade in testing using the ShowWindow API. You also don't need to hide the Min/Max buttons. When the form is initially maximized, the buttons show, but after clicking on one of them, the form is maximized again and they no longer appear. '*************************** Code Begin ************************ Option Compare Database Option Explicit Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal _ nCmdShow As Long) As Long Public Const SW_MAXIMIZE = 3 Sub MaximizeForm(F As Form) ShowWindow F.hWnd, SW_MAXIMIZE End Sub '*************************** Code End ************************ -- Stuart On 25 Feb 2012 at 17:15, Rocky Smolin wrote: > "Also set the forms "MinMax Buttons" property to None. " Trying to avoid > that so I can have them during development. > > But the other looks interesting. > > R > From df.waters at comcast.net Sat Feb 25 21:00:21 2012 From: df.waters at comcast.net (Dan Waters) Date: Sat, 25 Feb 2012 21:00:21 -0600 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F4987B0.5050403@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> <4F4987B0.5050403@colbyconsulting.com> Message-ID: <002901ccf432$c78bc5b0$56a35110$@comcast.net> Hi John, Excellent! Each of my systems is in its own set of identically named folders (except the top folder which is Prod, Test, Review). Within the folder where the FE app file is located, I have a file named Config.mdb. During startup, I read the tdf.connect property string from a field in a table named tblParameters in Config.mdb. Once I've got that string, I compare it to the tdf.connect property for the last table in my FE app file. If they are the same, I skip the table link refreshing - if not then I initiate the table link refreshing. I initiate a progress bar to see make sure the refreshing is working when it's supposed to. The Config.mdb file is identically named and has identical table structure at all locations, so it can be used by all FE apps. Because the Config.mdb file stays in its location, it always has the correct tdf.connect string for that particular system and customer (or system on my PC). Also - one of my customers has the data tables in SQL Server, the rest use an Access file. They all use the same Library.mdb file. The Library file has a duplicate set of table links - one set is ODBC and the other is Access table links. In this file, if my system detects a 'SQL' in the tdf.connect string, and the ODBC links have 'SS_' as a prefix, then the access table links are first renamed with a 'AC_' prefix and then the 'SS_' prefix is removed from the ODBC links. It does the opposite in the opposite situation. By doing this I can use the same library file for both an Access BE and for a SQL Server BE. It's Gettin' Easier! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 25, 2012 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing SQL Server linked FEs Dan, I have written a framework in VBA for dealing with the ODBC links, basically a pair of classes and a module. I am able to load and parse all properties of the TDF connection string such as Database, Server, UID, PWD and so forth. I am able to modify any existing property (such as the database) and write the modified string back to the TDF.Connect property. I am able to create new properties (ADD a UID for example) and delete existing properties, writing the modified connection string. All that is working very well. It looks like it takes about .6 milliseconds to load and parse a single TDF connection. YMMV of course based on workstation speed. What I envision doing with all this is to allow me to swap out the database name in the connection string. I have already done a backup and a rerstore to the same db name + _Test. DISCO becomes DISCO_Test. Once I have that backup of the production database I can swap the database name from DISCO to DISCO_Test to "instantly" point to the test database, and then swap it back again to point back to production. I haven't yet decided to use a naming convention like this, or a table of records with the database production / test names in a pair of fields. A table would allow me flexibility of course, just pull the database property and look it up in the production column, then grab the test name and write that back into the connection string. Vice-versa to move from production to test. I already have a CopyAndRun system in place for copying the database from a production location to a local directory. I could just add this stuff into that to automatically relink to test if the copy is going to a test local directory or something like that. Basically a single FE could dynamically switch from production to test as it loads, based on... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/24/2012 10:12 AM, Dan Waters wrote: > Hi John, > > It's apps and databases all on one server. For example, there is an > appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an > appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel > systems do not work together or communicate with each other. > > In the PROD system, users log into an AutoUpdater file, which will > upload the latest FE files to the client PC if needed. Users don't > run FE apps on the server. > > HTH! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, February 24, 2012 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > Dan, > > Are these parallel systems physical servers, installed instances of > SQL Server or databases? It sounds like you are talking about databases. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/17/2012 1:25 PM, Dan Waters wrote: >> I have parallel systems: Production, Test, and Review. Test is just >> for me to do usual test stuff. Review is for users when they want to >> look at a change I've made so they are certain it works like they >> wanted > it to. >> >> In SQL Server, prior to using either Test or Review, I make a backup >> and then restore that backup as DatabaseTEST and DatabaseREVIEW. >> Each different access app file has ODBC links which point to its >> respective database in SQL Server. >> >> Each system has its own Config.mdb file, which holds the path for the >> table links. If I'm done testing, I can copy the FE.mdb file from >> the Test folder to the Prod folder. Part of the startup code is to >> check to see if the table links in the FE.mdb match what's in the >> Config.mdb file. If not, then a procedure to redefine the .Connect >> property of the > table links is run. >> >> I have this same setup for each customer on their server, which I can >> log onto via VPN/Remote Desktop. >> >> HTH! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Friday, February 17, 2012 11:29 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Testing SQL Server linked FEs >> >> To this point I have always worked with MDB data stores. When I did >> testing where I needed to modify data (adds/ deletes / edits) I would >> copy the BE files to a local directory and then map that local >> directory to the X: drive where all the links pointed to. Voila, >> "test > mode". >> >> Obviously that doesn't work with links to SQL Server. I have seen >> code for modifying the link info of the tabledef, storing the server >> / database info in a local table in the FE. That seems like one >> solution. Is anyone doing something like this? >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Feb 25 22:31:56 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 25 Feb 2012 23:31:56 -0500 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <002901ccf432$c78bc5b0$56a35110$@comcast.net> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> <4F4987B0.5050403@colbyconsulting.com> <002901ccf432$c78bc5b0$56a35110$@comcast.net> Message-ID: <4F49B5BC.6060208@colbyconsulting.com> So how do you feel about mdb vs sql server in your identical FE which can link to either? I have to say that using stored procedures to return data sets for reports and the like is sooooo fast. "Large" tables in Access MDBs with many users shows a night and day difference in speed. I can do a view, sorted on specific fields and load that view in a form. It is editable and way fast in SQL Server. What I haven't discovered yet is how to use dynamic filtering to subsets (all claimants with SSN beginning with 123 for example, or even the claimant with a given SSN) which are editable in Access. I keep looking for that missing piece but to this point, no joy. I can do this if I don't need to edit the records, for example return a set of records in a search form to select one of those records to open. I have tried UDFs back in SQL Server and pass through queries in Access. Just no joy so far. :( John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/25/2012 10:00 PM, Dan Waters wrote: > Hi John, > > Excellent! > > Each of my systems is in its own set of identically named folders (except > the top folder which is Prod, Test, Review). > > Within the folder where the FE app file is located, I have a file named > Config.mdb. During startup, I read the tdf.connect property string from a > field in a table named tblParameters in Config.mdb. Once I've got that > string, I compare it to the tdf.connect property for the last table in my FE > app file. If they are the same, I skip the table link refreshing - if not > then I initiate the table link refreshing. I initiate a progress bar to see > make sure the refreshing is working when it's supposed to. > > The Config.mdb file is identically named and has identical table structure > at all locations, so it can be used by all FE apps. > > Because the Config.mdb file stays in its location, it always has the correct > tdf.connect string for that particular system and customer (or system on my > PC). > > Also - one of my customers has the data tables in SQL Server, the rest use > an Access file. They all use the same Library.mdb file. The Library file > has a duplicate set of table links - one set is ODBC and the other is Access > table links. In this file, if my system detects a 'SQL' in the tdf.connect > string, and the ODBC links have 'SS_' as a prefix, then the access table > links are first renamed with a 'AC_' prefix and then the 'SS_' prefix is > removed from the ODBC links. It does the opposite in the opposite > situation. By doing this I can use the same library file for both an Access > BE and for a SQL Server BE. > > It's Gettin' Easier! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, February 25, 2012 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > Dan, > > I have written a framework in VBA for dealing with the ODBC links, basically > a pair of classes and a module. I am able to load and parse all properties > of the TDF connection string such as Database, Server, UID, PWD and so > forth. I am able to modify any existing property (such as the database) and > write the modified string back to the TDF.Connect property. I am able to > create new properties (ADD a UID for example) and delete existing > properties, writing the modified connection string. > > All that is working very well. It looks like it takes about .6 milliseconds > to load and parse a single TDF connection. YMMV of course based on > workstation speed. > > What I envision doing with all this is to allow me to swap out the database > name in the connection string. I have already done a backup and a rerstore > to the same db name + _Test. DISCO becomes DISCO_Test. Once I have that > backup of the production database I can swap the database name from DISCO to > DISCO_Test to "instantly" point to the test database, and then swap it back > again to point back to production. > > I haven't yet decided to use a naming convention like this, or a table of > records with the database production / test names in a pair of fields. A > table would allow me flexibility of course, just pull the database property > and look it up in the production column, then grab the test name and write > that back into the connection string. Vice-versa to move from production to > test. > > I already have a CopyAndRun system in place for copying the database from a > production location to a local directory. I could just add this stuff into > that to automatically relink to test if the copy is going to a test local > directory or something like that. Basically a single FE could dynamically > switch from production to test as it loads, based on... > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/24/2012 10:12 AM, Dan Waters wrote: >> Hi John, >> >> It's apps and databases all on one server. For example, there is an >> appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an >> appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel >> systems do not work together or communicate with each other. >> >> In the PROD system, users log into an AutoUpdater file, which will >> upload the latest FE files to the client PC if needed. Users don't >> run FE apps on the server. >> >> HTH! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Friday, February 24, 2012 6:48 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Testing SQL Server linked FEs >> >> Dan, >> >> Are these parallel systems physical servers, installed instances of >> SQL Server or databases? It sounds like you are talking about databases. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/17/2012 1:25 PM, Dan Waters wrote: >>> I have parallel systems: Production, Test, and Review. Test is just >>> for me to do usual test stuff. Review is for users when they want to >>> look at a change I've made so they are certain it works like they >>> wanted >> it to. >>> >>> In SQL Server, prior to using either Test or Review, I make a backup >>> and then restore that backup as DatabaseTEST and DatabaseREVIEW. >>> Each different access app file has ODBC links which point to its >>> respective database in SQL Server. >>> >>> Each system has its own Config.mdb file, which holds the path for the >>> table links. If I'm done testing, I can copy the FE.mdb file from >>> the Test folder to the Prod folder. Part of the startup code is to >>> check to see if the table links in the FE.mdb match what's in the >>> Config.mdb file. If not, then a procedure to redefine the .Connect >>> property of the >> table links is run. >>> >>> I have this same setup for each customer on their server, which I can >>> log onto via VPN/Remote Desktop. >>> >>> HTH! >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Friday, February 17, 2012 11:29 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Testing SQL Server linked FEs >>> >>> To this point I have always worked with MDB data stores. When I did >>> testing where I needed to modify data (adds/ deletes / edits) I would >>> copy the BE files to a local directory and then map that local >>> directory to the X: drive where all the links pointed to. Voila, >>> "test >> mode". >>> >>> Obviously that doesn't work with links to SQL Server. I have seen >>> code for modifying the link info of the tabledef, storing the server >>> / database info in a local table in the FE. That seems like one >>> solution. Is anyone doing something like this? >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sun Feb 26 09:05:20 2012 From: df.waters at comcast.net (Dan Waters) Date: Sun, 26 Feb 2012 09:05:20 -0600 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F49B5BC.6060208@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> <4F4987B0.5050403@colbyconsulting.com> <002901ccf432$c78bc5b0$56a35110$@comcast.net> <4F49B5BC.6060208@colbyconsulting.com> Message-ID: <000401ccf498$0f2f5bb0$2d8e1310$@comcast.net> Well - since the Library file is designed to be the same file for either Access or SQL tables, I can't use stored procedures. But, a while back I did a speed test to compare Access table links to ODBC table links. I set up loops doing just data transfers. It turned out that Access table links were 9% faster than ODBC table links for the identical data transfer. And, I got the same results at two companies. ODBC table links are not fast - OLEDB is (I think about 20X faster). For that 'missing piece' you might get a copies of these books (if you don't have them already!): http://www.amazon.com/Microsoft-Access-Developers-Guide-Server/dp/0672319446 /ref=sr_1_1?ie=UTF8&qid=1330268023&sr=8-1 http://www.amazon.com/Professional-Server-Development-Access-2000/dp/1861004 834/ref=sr_1_4?s=books&ie=UTF8&qid=1330268077&sr=1-4 http://www.amazon.com/Access-2002-Enterprise-Developers-Handbook/dp/07821401 06/ref=sr_1_2?s=books&ie=UTF8&qid=1330268164&sr=1-2 I read parts of these once when I thought I was going to get into ADO development. I was able to set up just a few procedures so you can call them with parameters to read, insert, or update data. Saves a lot of repetitive typing later on. Unfortunately I don't have those anymore. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 25, 2012 10:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing SQL Server linked FEs So how do you feel about mdb vs sql server in your identical FE which can link to either? I have to say that using stored procedures to return data sets for reports and the like is sooooo fast. "Large" tables in Access MDBs with many users shows a night and day difference in speed. I can do a view, sorted on specific fields and load that view in a form. It is editable and way fast in SQL Server. What I haven't discovered yet is how to use dynamic filtering to subsets (all claimants with SSN beginning with 123 for example, or even the claimant with a given SSN) which are editable in Access. I keep looking for that missing piece but to this point, no joy. I can do this if I don't need to edit the records, for example return a set of records in a search form to select one of those records to open. I have tried UDFs back in SQL Server and pass through queries in Access. Just no joy so far. :( John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/25/2012 10:00 PM, Dan Waters wrote: > Hi John, > > Excellent! > > Each of my systems is in its own set of identically named folders > (except the top folder which is Prod, Test, Review). > > Within the folder where the FE app file is located, I have a file > named Config.mdb. During startup, I read the tdf.connect property > string from a field in a table named tblParameters in Config.mdb. > Once I've got that string, I compare it to the tdf.connect property > for the last table in my FE app file. If they are the same, I skip > the table link refreshing - if not then I initiate the table link > refreshing. I initiate a progress bar to see make sure the refreshing is working when it's supposed to. > > The Config.mdb file is identically named and has identical table > structure at all locations, so it can be used by all FE apps. > > Because the Config.mdb file stays in its location, it always has the > correct tdf.connect string for that particular system and customer (or > system on my PC). > > Also - one of my customers has the data tables in SQL Server, the rest > use an Access file. They all use the same Library.mdb file. The > Library file has a duplicate set of table links - one set is ODBC and > the other is Access table links. In this file, if my system detects a > 'SQL' in the tdf.connect string, and the ODBC links have 'SS_' as a > prefix, then the access table links are first renamed with a 'AC_' > prefix and then the 'SS_' prefix is removed from the ODBC links. It > does the opposite in the opposite situation. By doing this I can use > the same library file for both an Access BE and for a SQL Server BE. > > It's Gettin' Easier! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, February 25, 2012 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > Dan, > > I have written a framework in VBA for dealing with the ODBC links, > basically a pair of classes and a module. I am able to load and parse > all properties of the TDF connection string such as Database, Server, > UID, PWD and so forth. I am able to modify any existing property > (such as the database) and write the modified string back to the > TDF.Connect property. I am able to create new properties (ADD a UID > for example) and delete existing properties, writing the modified connection string. > > All that is working very well. It looks like it takes about .6 > milliseconds to load and parse a single TDF connection. YMMV of > course based on workstation speed. > > What I envision doing with all this is to allow me to swap out the > database name in the connection string. I have already done a backup > and a rerstore to the same db name + _Test. DISCO becomes DISCO_Test. > Once I have that backup of the production database I can swap the > database name from DISCO to DISCO_Test to "instantly" point to the > test database, and then swap it back again to point back to production. > > I haven't yet decided to use a naming convention like this, or a table > of records with the database production / test names in a pair of > fields. A table would allow me flexibility of course, just pull the > database property and look it up in the production column, then grab > the test name and write that back into the connection string. > Vice-versa to move from production to test. > > I already have a CopyAndRun system in place for copying the database > from a production location to a local directory. I could just add > this stuff into that to automatically relink to test if the copy is > going to a test local directory or something like that. Basically a > single FE could dynamically switch from production to test as it loads, based on... > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/24/2012 10:12 AM, Dan Waters wrote: >> Hi John, >> >> It's apps and databases all on one server. For example, there is an >> appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an >> appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel >> systems do not work together or communicate with each other. >> >> In the PROD system, users log into an AutoUpdater file, which will >> upload the latest FE files to the client PC if needed. Users don't >> run FE apps on the server. >> >> HTH! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Friday, February 24, 2012 6:48 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Testing SQL Server linked FEs >> >> Dan, >> >> Are these parallel systems physical servers, installed instances of >> SQL Server or databases? It sounds like you are talking about databases. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/17/2012 1:25 PM, Dan Waters wrote: >>> I have parallel systems: Production, Test, and Review. Test is just >>> for me to do usual test stuff. Review is for users when they want >>> to look at a change I've made so they are certain it works like they >>> wanted >> it to. >>> >>> In SQL Server, prior to using either Test or Review, I make a backup >>> and then restore that backup as DatabaseTEST and DatabaseREVIEW. >>> Each different access app file has ODBC links which point to its >>> respective database in SQL Server. >>> >>> Each system has its own Config.mdb file, which holds the path for >>> the table links. If I'm done testing, I can copy the FE.mdb file >>> from the Test folder to the Prod folder. Part of the startup code >>> is to check to see if the table links in the FE.mdb match what's in >>> the Config.mdb file. If not, then a procedure to redefine the >>> .Connect property of the >> table links is run. >>> >>> I have this same setup for each customer on their server, which I >>> can log onto via VPN/Remote Desktop. >>> >>> HTH! >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Friday, February 17, 2012 11:29 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Testing SQL Server linked FEs >>> >>> To this point I have always worked with MDB data stores. When I did >>> testing where I needed to modify data (adds/ deletes / edits) I >>> would copy the BE files to a local directory and then map that local >>> directory to the X: drive where all the links pointed to. Voila, >>> "test >> mode". >>> >>> Obviously that doesn't work with links to SQL Server. I have seen >>> code for modifying the link info of the tabledef, storing the server >>> / database info in a local table in the FE. That seems like one >>> solution. Is anyone doing something like this? >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sun Feb 26 09:35:09 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 26 Feb 2012 07:35:09 -0800 Subject: [AccessD] Asterix Message-ID: <5E0089BEBE7D4BBEAD3E2AA76F7A3BD8@TonySeptav> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me! MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo From gustav at cactus.dk Sun Feb 26 10:11:38 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Feb 2012 17:11:38 +0100 Subject: [AccessD] Asterix Message-ID: Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me! MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo From TSeptav at uniserve.com Sun Feb 26 10:12:32 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 26 Feb 2012 08:12:32 -0800 Subject: [AccessD] Asterix In-Reply-To: References: Message-ID: <872DB1F5FF0A4846BF6870A90C88886F@TonySeptav> Hey Gustav Part of the famous variable string quartet Brimbo, Glimbo, Timbo and Zimbo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me! MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4832 - Release Date: 02/25/12 From gustav at cactus.dk Sun Feb 26 11:12:34 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Feb 2012 18:12:34 +0100 Subject: [AccessD] Asterix Message-ID: Hi Tony Ah,I see. We all have our favourites. /gustav >>> TSeptav at uniserve.com 26-02-12 17:12 >>> Hey Gustav Part of the famous variable string quartet Brimbo, Glimbo, Timbo and Zimbo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo From TSeptav at uniserve.com Sun Feb 26 11:12:56 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 26 Feb 2012 09:12:56 -0800 Subject: [AccessD] Asterix In-Reply-To: References: Message-ID: <5B011952E3CA4C259381E6FEE50C5BD1@TonySeptav> Hey Gustav Thanks for the morning chuckle. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 9:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Ah,I see. We all have our favourites. /gustav >>> TSeptav at uniserve.com 26-02-12 17:12 >>> Hey Gustav Part of the famous variable string quartet Brimbo, Glimbo, Timbo and Zimbo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4833 - Release Date: 02/26/12 From Benson at ge.com Sun Feb 26 13:49:37 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 26 Feb 2012 19:49:37 +0000 Subject: [AccessD] Asterix In-Reply-To: <5B011952E3CA4C259381E6FEE50C5BD1@TonySeptav> References: <5B011952E3CA4C259381E6FEE50C5BD1@TonySeptav> Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD82BC4@CINMLDGCNA01.e2k.ad.ge.com> What do they call an all-female quartet, a quartetette? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Sunday, February 26, 2012 12:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Hey Gustav Thanks for the morning chuckle. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 9:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Ah,I see. We all have our favourites. /gustav >>> TSeptav at uniserve.com 26-02-12 17:12 >>> Hey Gustav Part of the famous variable string quartet Brimbo, Glimbo, Timbo and Zimbo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4833 - Release Date: 02/26/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Sun Feb 26 15:13:25 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Sun, 26 Feb 2012 13:13:25 -0800 Subject: [AccessD] Asterix In-Reply-To: <93D10F008B998B4A83BCA855A33EEF372AD82BC4@CINMLDGCNA01.e2k.ad.ge.com> References: <5B011952E3CA4C259381E6FEE50C5BD1@TonySeptav> <93D10F008B998B4A83BCA855A33EEF372AD82BC4@CINMLDGCNA01.e2k.ad.ge.com> Message-ID: <315F0E31542944E4AAAAA4DF82C96ED9@TonySeptav> Hey William Just got in with the dog. Same reason we have Smurfs and Smurfettes Tony Septav Nanaimo,BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, February 26, 2012 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix What do they call an all-female quartet, a quartetette? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Sunday, February 26, 2012 12:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Asterix Hey Gustav Thanks for the morning chuckle. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 9:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Ah,I see. We all have our favourites. /gustav >>> TSeptav at uniserve.com 26-02-12 17:12 >>> Hey Gustav Part of the famous variable string quartet Brimbo, Glimbo, Timbo and Zimbo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, February 26, 2012 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix Hi Tony Zimbo?? /gustav >>> TSeptav at uniserve.com 26-02-12 16:35 >>> Hey All Some code that may help. Didn't want to try writing tons of code for all the reserved words, so I use this code, nothing fancy by any means but it seems to be working fine. Except for multiple asterixs. Search for everything containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a biggy because I can see the asterixs. Also I am getting tired of fooling around with this thing. If Mysearch=1 ..........Starts With If Len(Me!MyPhrase = 1 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" else .........Contains If Len(Me!MyPhrase = 1 Then Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" Else If Len(Me!MyPhrase) = 2 Then Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & right(Me!MyPhrase, 1) & "*" Else Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" End If MyWord = Zimbo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4833 - Release Date: 02/26/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4833 - Release Date: 02/26/12 From jwcolby at colbyconsulting.com Mon Feb 27 09:26:59 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Feb 2012 10:26:59 -0500 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <000401ccf498$0f2f5bb0$2d8e1310$@comcast.net> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> <4F4987B0.5050403@colbyconsulting.com> <002901ccf432$c78bc5b0$56a35110$@comcast.net> <4F49B5BC.6060208@colbyconsulting.com> <000401ccf498$0f2f5bb0$2d8e1310$@comcast.net> Message-ID: <4F4BA0C3.1080201@colbyconsulting.com> Dan, OLEDB is supposed to be faster, however I have issues using that driver with links to the SQL Server at an IP address. When I do a database that connects over the internet I use Hamachi. The table is then linked to 5.xxx.yyy.xxx,1433. Using the SQL Server driver things work as expected. Using the OLEDB native driver the links fail. If that bug is ever fixed (or figured out on my end) then I will go back to using them. It would no doubt make an enormous difference in my speed but in the meantime I am forced to use "SQL Server" as the driver property. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/26/2012 10:05 AM, Dan Waters wrote: > Well - since the Library file is designed to be the same file for either > Access or SQL tables, I can't use stored procedures. > > But, a while back I did a speed test to compare Access table links to ODBC > table links. I set up loops doing just data transfers. It turned out that > Access table links were 9% faster than ODBC table links for the identical > data transfer. And, I got the same results at two companies. ODBC table > links are not fast - OLEDB is (I think about 20X faster). > > For that 'missing piece' you might get a copies of these books (if you don't > have them already!): > > http://www.amazon.com/Microsoft-Access-Developers-Guide-Server/dp/0672319446 > /ref=sr_1_1?ie=UTF8&qid=1330268023&sr=8-1 > > http://www.amazon.com/Professional-Server-Development-Access-2000/dp/1861004 > 834/ref=sr_1_4?s=books&ie=UTF8&qid=1330268077&sr=1-4 > > http://www.amazon.com/Access-2002-Enterprise-Developers-Handbook/dp/07821401 > 06/ref=sr_1_2?s=books&ie=UTF8&qid=1330268164&sr=1-2 > > I read parts of these once when I thought I was going to get into ADO > development. I was able to set up just a few procedures so you can call > them with parameters to read, insert, or update data. Saves a lot of > repetitive typing later on. Unfortunately I don't have those anymore. > > Good Luck! > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, February 25, 2012 10:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > So how do you feel about mdb vs sql server in your identical FE which can > link to either? I have to say that using stored procedures to return data > sets for reports and the like is sooooo fast. > "Large" tables in Access MDBs with many users shows a night and day > difference in speed. I can do a view, sorted on specific fields and load > that view in a form. It is editable and way fast in SQL Server. > > What I haven't discovered yet is how to use dynamic filtering to subsets > (all claimants with SSN beginning with 123 for example, or even the claimant > with a given SSN) which are editable in Access. > I keep looking for that missing piece but to this point, no joy. I can do > this if I don't need to edit the records, for example return a set of > records in a search form to select one of those records to open. I have > tried UDFs back in SQL Server and pass through queries in Access. Just no > joy so far. > > :( > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/25/2012 10:00 PM, Dan Waters wrote: >> Hi John, >> >> Excellent! >> >> Each of my systems is in its own set of identically named folders >> (except the top folder which is Prod, Test, Review). >> >> Within the folder where the FE app file is located, I have a file >> named Config.mdb. During startup, I read the tdf.connect property >> string from a field in a table named tblParameters in Config.mdb. >> Once I've got that string, I compare it to the tdf.connect property >> for the last table in my FE app file. If they are the same, I skip >> the table link refreshing - if not then I initiate the table link >> refreshing. I initiate a progress bar to see make sure the refreshing is > working when it's supposed to. >> >> The Config.mdb file is identically named and has identical table >> structure at all locations, so it can be used by all FE apps. >> >> Because the Config.mdb file stays in its location, it always has the >> correct tdf.connect string for that particular system and customer (or >> system on my PC). >> >> Also - one of my customers has the data tables in SQL Server, the rest >> use an Access file. They all use the same Library.mdb file. The >> Library file has a duplicate set of table links - one set is ODBC and >> the other is Access table links. In this file, if my system detects a >> 'SQL' in the tdf.connect string, and the ODBC links have 'SS_' as a >> prefix, then the access table links are first renamed with a 'AC_' >> prefix and then the 'SS_' prefix is removed from the ODBC links. It >> does the opposite in the opposite situation. By doing this I can use >> the same library file for both an Access BE and for a SQL Server BE. >> >> It's Gettin' Easier! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, February 25, 2012 7:15 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Testing SQL Server linked FEs >> >> Dan, >> >> I have written a framework in VBA for dealing with the ODBC links, >> basically a pair of classes and a module. I am able to load and parse >> all properties of the TDF connection string such as Database, Server, >> UID, PWD and so forth. I am able to modify any existing property >> (such as the database) and write the modified string back to the >> TDF.Connect property. I am able to create new properties (ADD a UID >> for example) and delete existing properties, writing the modified > connection string. >> >> All that is working very well. It looks like it takes about .6 >> milliseconds to load and parse a single TDF connection. YMMV of >> course based on workstation speed. >> >> What I envision doing with all this is to allow me to swap out the >> database name in the connection string. I have already done a backup >> and a rerstore to the same db name + _Test. DISCO becomes DISCO_Test. >> Once I have that backup of the production database I can swap the >> database name from DISCO to DISCO_Test to "instantly" point to the >> test database, and then swap it back again to point back to production. >> >> I haven't yet decided to use a naming convention like this, or a table >> of records with the database production / test names in a pair of >> fields. A table would allow me flexibility of course, just pull the >> database property and look it up in the production column, then grab >> the test name and write that back into the connection string. >> Vice-versa to move from production to test. >> >> I already have a CopyAndRun system in place for copying the database >> from a production location to a local directory. I could just add >> this stuff into that to automatically relink to test if the copy is >> going to a test local directory or something like that. Basically a >> single FE could dynamically switch from production to test as it loads, > based on... >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/24/2012 10:12 AM, Dan Waters wrote: >>> Hi John, >>> >>> It's apps and databases all on one server. For example, there is an >>> appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an >>> appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel >>> systems do not work together or communicate with each other. >>> >>> In the PROD system, users log into an AutoUpdater file, which will >>> upload the latest FE files to the client PC if needed. Users don't >>> run FE apps on the server. >>> >>> HTH! >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Friday, February 24, 2012 6:48 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Testing SQL Server linked FEs >>> >>> Dan, >>> >>> Are these parallel systems physical servers, installed instances of >>> SQL Server or databases? It sounds like you are talking about databases. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 2/17/2012 1:25 PM, Dan Waters wrote: >>>> I have parallel systems: Production, Test, and Review. Test is just >>>> for me to do usual test stuff. Review is for users when they want >>>> to look at a change I've made so they are certain it works like they >>>> wanted >>> it to. >>>> >>>> In SQL Server, prior to using either Test or Review, I make a backup >>>> and then restore that backup as DatabaseTEST and DatabaseREVIEW. >>>> Each different access app file has ODBC links which point to its >>>> respective database in SQL Server. >>>> >>>> Each system has its own Config.mdb file, which holds the path for >>>> the table links. If I'm done testing, I can copy the FE.mdb file >>>> from the Test folder to the Prod folder. Part of the startup code >>>> is to check to see if the table links in the FE.mdb match what's in >>>> the Config.mdb file. If not, then a procedure to redefine the >>>> .Connect property of the >>> table links is run. >>>> >>>> I have this same setup for each customer on their server, which I >>>> can log onto via VPN/Remote Desktop. >>>> >>>> HTH! >>>> Dan >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>>> Sent: Friday, February 17, 2012 11:29 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] Testing SQL Server linked FEs >>>> >>>> To this point I have always worked with MDB data stores. When I did >>>> testing where I needed to modify data (adds/ deletes / edits) I >>>> would copy the BE files to a local directory and then map that local >>>> directory to the X: drive where all the links pointed to. Voila, >>>> "test >>> mode". >>>> >>>> Obviously that doesn't work with links to SQL Server. I have seen >>>> code for modifying the link info of the tabledef, storing the server >>>> / database info in a local table in the FE. That seems like one >>>> solution. Is anyone doing something like this? >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Feb 27 09:54:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Feb 2012 10:54:37 -0500 Subject: [AccessD] SQL Server Native Client 10.0 bug? Message-ID: <4F4BA73D.40707@colbyconsulting.com> I link tables to SQL Server 2008 from Access using an IP address so that the tables can be accessed over the internet. Using Hamachi VPN I can link to the Hamachi IP address of the machine hosting the SQL Server, i.e. instead of saying something like Server=Azul I can say something like Server=5.123.456.789,1433. Since the SQL Server machine is running Hamachi and owns that IP address, this works well whether I am coming at the SQL Server over the internal network or from outside of my network. When I try to use SQL Server Native Client 10.0 with Access 2K3 or below it just works. When I try to use Access 2010, the connection info looks correct, but if I try to open the table / view it complains that it is unable to open "SQL Server Native Client 10.5.123.456.789,1433". IOW something somewhere (probably in Access itself) appends the driver name "SQL Server Native Client 10." to the server name "5.123.456.789,1433" and ends up with a server name of that entire thing "SQL Server Native Client 10.5.123.456.789,1433". Remember that this all works fine in Access 2003. As a result of this bug, I have to use "SQL Server" as the driver (the generic ODBC driver I guess), whereupon the table links work just fine in Access 2003 or Access 2010. Sigh! As Dan mentioned, the "Native client" is supposed to be many times faster and it would be so nice to be able to use that. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Mon Feb 27 10:35:08 2012 From: df.waters at comcast.net (Dan Waters) Date: Mon, 27 Feb 2012 10:35:08 -0600 Subject: [AccessD] Testing SQL Server linked FEs In-Reply-To: <4F4BA0C3.1080201@colbyconsulting.com> References: <4F3E8E78.8000705@colbyconsulting.com> <006501cceda1$8e38b3a0$aaaa1ae0$@comcast.net> <4F4786E5.5070107@colbyconsulting.com> <001101ccf306$c6fe9c30$54fbd490$@comcast.net> <4F4987B0.5050403@colbyconsulting.com> <002901ccf432$c78bc5b0$56a35110$@comcast.net> <4F49B5BC.6060208@colbyconsulting.com> <000401ccf498$0f2f5bb0$2d8e1310$@comcast.net> <4F4BA0C3.1080201@colbyconsulting.com> Message-ID: <003a01ccf56d$c4cecf70$4e6c6e50$@comcast.net> Hi John, Well, I have little experience with either. One nice thing about a .Net app is that the linking is incredibly easy. One of my clients took my .Net app home and connected to his company's network across the internet using their VPN. His performance was almost the same as when he was in the building! Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 27, 2012 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing SQL Server linked FEs Dan, OLEDB is supposed to be faster, however I have issues using that driver with links to the SQL Server at an IP address. When I do a database that connects over the internet I use Hamachi. The table is then linked to 5.xxx.yyy.xxx,1433. Using the SQL Server driver things work as expected. Using the OLEDB native driver the links fail. If that bug is ever fixed (or figured out on my end) then I will go back to using them. It would no doubt make an enormous difference in my speed but in the meantime I am forced to use "SQL Server" as the driver property. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/26/2012 10:05 AM, Dan Waters wrote: > Well - since the Library file is designed to be the same file for > either Access or SQL tables, I can't use stored procedures. > > But, a while back I did a speed test to compare Access table links to > ODBC table links. I set up loops doing just data transfers. It > turned out that Access table links were 9% faster than ODBC table > links for the identical data transfer. And, I got the same results at > two companies. ODBC table links are not fast - OLEDB is (I think about 20X faster). > > For that 'missing piece' you might get a copies of these books (if you > don't have them already!): > > http://www.amazon.com/Microsoft-Access-Developers-Guide-Server/dp/0672 > 319446 > /ref=sr_1_1?ie=UTF8&qid=1330268023&sr=8-1 > > http://www.amazon.com/Professional-Server-Development-Access-2000/dp/1 > 861004 > 834/ref=sr_1_4?s=books&ie=UTF8&qid=1330268077&sr=1-4 > > http://www.amazon.com/Access-2002-Enterprise-Developers-Handbook/dp/07 > 821401 > 06/ref=sr_1_2?s=books&ie=UTF8&qid=1330268164&sr=1-2 > > I read parts of these once when I thought I was going to get into ADO > development. I was able to set up just a few procedures so you can > call them with parameters to read, insert, or update data. Saves a > lot of repetitive typing later on. Unfortunately I don't have those anymore. > > Good Luck! > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, February 25, 2012 10:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Testing SQL Server linked FEs > > So how do you feel about mdb vs sql server in your identical FE which > can link to either? I have to say that using stored procedures to > return data sets for reports and the like is sooooo fast. > "Large" tables in Access MDBs with many users shows a night and day > difference in speed. I can do a view, sorted on specific fields and > load that view in a form. It is editable and way fast in SQL Server. > > What I haven't discovered yet is how to use dynamic filtering to > subsets (all claimants with SSN beginning with 123 for example, or > even the claimant with a given SSN) which are editable in Access. > I keep looking for that missing piece but to this point, no joy. I > can do this if I don't need to edit the records, for example return a > set of records in a search form to select one of those records to > open. I have tried UDFs back in SQL Server and pass through queries > in Access. Just no joy so far. > > :( > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/25/2012 10:00 PM, Dan Waters wrote: >> Hi John, >> >> Excellent! >> >> Each of my systems is in its own set of identically named folders >> (except the top folder which is Prod, Test, Review). >> >> Within the folder where the FE app file is located, I have a file >> named Config.mdb. During startup, I read the tdf.connect property >> string from a field in a table named tblParameters in Config.mdb. >> Once I've got that string, I compare it to the tdf.connect property >> for the last table in my FE app file. If they are the same, I skip >> the table link refreshing - if not then I initiate the table link >> refreshing. I initiate a progress bar to see make sure the >> refreshing is > working when it's supposed to. >> >> The Config.mdb file is identically named and has identical table >> structure at all locations, so it can be used by all FE apps. >> >> Because the Config.mdb file stays in its location, it always has the >> correct tdf.connect string for that particular system and customer >> (or system on my PC). >> >> Also - one of my customers has the data tables in SQL Server, the >> rest use an Access file. They all use the same Library.mdb file. >> The Library file has a duplicate set of table links - one set is ODBC >> and the other is Access table links. In this file, if my system >> detects a 'SQL' in the tdf.connect string, and the ODBC links have >> 'SS_' as a prefix, then the access table links are first renamed with a 'AC_' >> prefix and then the 'SS_' prefix is removed from the ODBC links. It >> does the opposite in the opposite situation. By doing this I can use >> the same library file for both an Access BE and for a SQL Server BE. >> >> It's Gettin' Easier! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, February 25, 2012 7:15 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Testing SQL Server linked FEs >> >> Dan, >> >> I have written a framework in VBA for dealing with the ODBC links, >> basically a pair of classes and a module. I am able to load and >> parse all properties of the TDF connection string such as Database, >> Server, UID, PWD and so forth. I am able to modify any existing >> property (such as the database) and write the modified string back to >> the TDF.Connect property. I am able to create new properties (ADD a >> UID for example) and delete existing properties, writing the modified > connection string. >> >> All that is working very well. It looks like it takes about .6 >> milliseconds to load and parse a single TDF connection. YMMV of >> course based on workstation speed. >> >> What I envision doing with all this is to allow me to swap out the >> database name in the connection string. I have already done a backup >> and a rerstore to the same db name + _Test. DISCO becomes DISCO_Test. >> Once I have that backup of the production database I can swap the >> database name from DISCO to DISCO_Test to "instantly" point to the >> test database, and then swap it back again to point back to production. >> >> I haven't yet decided to use a naming convention like this, or a >> table of records with the database production / test names in a pair >> of fields. A table would allow me flexibility of course, just pull >> the database property and look it up in the production column, then >> grab the test name and write that back into the connection string. >> Vice-versa to move from production to test. >> >> I already have a CopyAndRun system in place for copying the database >> from a production location to a local directory. I could just add >> this stuff into that to automatically relink to test if the copy is >> going to a test local directory or something like that. Basically a >> single FE could dynamically switch from production to test as it >> loads, > based on... >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 2/24/2012 10:12 AM, Dan Waters wrote: >>> Hi John, >>> >>> It's apps and databases all on one server. For example, there is an >>> appPROD.mdb and a dataPROD.mdb (or SQL database), and there is an >>> appTEST.mdb and a dataTEST.mdb (or SQL database). The parallel >>> systems do not work together or communicate with each other. >>> >>> In the PROD system, users log into an AutoUpdater file, which will >>> upload the latest FE files to the client PC if needed. Users don't >>> run FE apps on the server. >>> >>> HTH! >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Friday, February 24, 2012 6:48 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Testing SQL Server linked FEs >>> >>> Dan, >>> >>> Are these parallel systems physical servers, installed instances of >>> SQL Server or databases? It sounds like you are talking about databases. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 2/17/2012 1:25 PM, Dan Waters wrote: >>>> I have parallel systems: Production, Test, and Review. Test is >>>> just for me to do usual test stuff. Review is for users when they >>>> want to look at a change I've made so they are certain it works >>>> like they wanted >>> it to. >>>> >>>> In SQL Server, prior to using either Test or Review, I make a >>>> backup and then restore that backup as DatabaseTEST and DatabaseREVIEW. >>>> Each different access app file has ODBC links which point to its >>>> respective database in SQL Server. >>>> >>>> Each system has its own Config.mdb file, which holds the path for >>>> the table links. If I'm done testing, I can copy the FE.mdb file >>>> from the Test folder to the Prod folder. Part of the startup code >>>> is to check to see if the table links in the FE.mdb match what's in >>>> the Config.mdb file. If not, then a procedure to redefine the >>>> .Connect property of the >>> table links is run. >>>> >>>> I have this same setup for each customer on their server, which I >>>> can log onto via VPN/Remote Desktop. >>>> >>>> HTH! >>>> Dan >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>>> Sent: Friday, February 17, 2012 11:29 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] Testing SQL Server linked FEs >>>> >>>> To this point I have always worked with MDB data stores. When I >>>> did testing where I needed to modify data (adds/ deletes / edits) I >>>> would copy the BE files to a local directory and then map that >>>> local directory to the X: drive where all the links pointed to. >>>> Voila, "test >>> mode". >>>> >>>> Obviously that doesn't work with links to SQL Server. I have seen >>>> code for modifying the link info of the tabledef, storing the >>>> server / database info in a local table in the FE. That seems like >>>> one solution. Is anyone doing something like this? >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Feb 27 10:37:16 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Feb 2012 11:37:16 -0500 Subject: [AccessD] OT: Make shares available over the internet Message-ID: <4F4BB13C.2010704@colbyconsulting.com> As I mentioned, I am doing quite a bit of Access FE linked over the internet to SQL Server. I use Hamachi to create VPNs which are private, i.e. you have to be invited to join. Once I OK your join then you can "see" the server and the SQL Server instance. Hamachi has a Browse function which allows browsing shares on the remote machine, and SQL Server answers up at the IP address so that works. I am trying to invent a way to allow running a batch file on the user workstation which would pull the FE and the frameworks over the internet from my server to the workstation. ATM getting new versions installed is a "I do it" thing. This is unworkable in the long term so I have to find an automation method. My biggest issue is security. The VPN is private of course, however I have several different networks all connecting to the same server. In order to have security between the networks I have to have some kind of username / password for each network which has rights to a shared directory. At the workstation end, that username has to be used to get at the share which it then has rights to. The problem I am running into is that while that works, the end user has to know / remember / use the password when the shared folder is accessed. I am not finding a way to allow the batch file which I would use to download specific files to pass the password to hamachi or whatever is asking for the password. Am I making any sense here? Five different Hamachi networks. Each network has its own username / password able to access its own shared directory. Each workstation has to "know" about its username / password in order to access the share over Hamachi. Much too much to expect of every user. I'm not sure where to go with this. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Mon Feb 27 11:30:53 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 27 Feb 2012 18:30:53 +0100 Subject: [AccessD] SQL Server Native Client 10.0 bug? Message-ID: Hi John I would suspect that line to read: Server=5.123.456.789:1433 or - as 1433 is the default port - simply: Server=5.123.456.789 Perhaps the comma is read as a field separator - though that normally is a semicolon. /gustav >>> jwcolby at colbyconsulting.com 27-02-2012 16:54:37 >>> I link tables to SQL Server 2008 from Access using an IP address so that the tables can be accessed over the internet. Using Hamachi VPN I can link to the Hamachi IP address of the machine hosting the SQL Server, i.e. instead of saying something like Server=Azul I can say something like Server=5.123.456.789,1433. Since the SQL Server machine is running Hamachi and owns that IP address, this works well whether I am coming at the SQL Server over the internal network or from outside of my network. When I try to use SQL Server Native Client 10.0 with Access 2K3 or below it just works. When I try to use Access 2010, the connection info looks correct, but if I try to open the table / view it complains that it is unable to open "SQL Server Native Client 10.5.123.456.789,1433". IOW something somewhere (probably in Access itself) appends the driver name "SQL Server Native Client 10." to the server name "5.123.456.789,1433" and ends up with a server name of that entire thing "SQL Server Native Client 10.5.123.456.789,1433". Remember that this all works fine in Access 2003. As a result of this bug, I have to use "SQL Server" as the driver (the generic ODBC driver I guess), whereupon the table links work just fine in Access 2003 or Access 2010. Sigh! As Dan mentioned, the "Native client" is supposed to be many times faster and it would be so nice to be able to use that. -- John W. Colby Colby Consulting From jedi at charm.net Mon Feb 27 11:24:31 2012 From: jedi at charm.net (Michael Bahr) Date: Mon, 27 Feb 2012 12:24:31 -0500 (EST) Subject: [AccessD] Asterix In-Reply-To: <5E0089BEBE7D4BBEAD3E2AA76F7A3BD8@TonySeptav> References: <5E0089BEBE7D4BBEAD3E2AA76F7A3BD8@TonySeptav> Message-ID: <2409.24.35.110.201.1330363471.squirrel@mail.expedient.net> This is painful and inflexiable as with using the left, mid, right functions. Yes they work but they are rather static and for one string pattern. Using regular-expressions would reduce this to just a few lines and be very flexiable and cover a wide range of patterns. The only problem is learning regular-expressions but then, once you learn it you will wonder why you did not do so before. :-) Mike > Hey All > Some code that may help. Didn't want to try writing tons of code for all > the > reserved words, so I use this code, nothing fancy by any means but it > seems > to be working fine. Except for multiple asterixs. Search for everything > containing *** and it returns **a, ***b, ****d, *e*, ***f*** etc. Not a > biggy because I can see the asterixs. Also I am getting tired of fooling > around with this thing. > > If Mysearch=1 ..........Starts With > If Len(Me!MyPhrase = 1 Then > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" > Else > If Len(Me!MyPhrase) = 2 Then > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & > right(Me!MyPhrase, > 1) & "*" > Else > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, > Len(Mid(Me! MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & > "]" > & "*" > else .........Contains > If Len(Me!MyPhrase = 1 Then > Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" > Else > If Len(Me!MyPhrase) = 2 Then > Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & > right(Me!MyPhrase, 1) & "*" > Else > Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, > 2, > Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" > > End If > MyWord = Zimbo > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jedi at charm.net Mon Feb 27 11:36:25 2012 From: jedi at charm.net (Michael Bahr) Date: Mon, 27 Feb 2012 12:36:25 -0500 (EST) Subject: [AccessD] OT: Make shares available over the internet In-Reply-To: <4F4BB13C.2010704@colbyconsulting.com> References: <4F4BB13C.2010704@colbyconsulting.com> Message-ID: <2418.24.35.110.201.1330364185.squirrel@mail.expedient.net> John, take a look at ACL, Access Control List. They use the credentials of the machines logged onto the network. But then again this could be a security issue because if one machine gets hacked then all machines using an ACL are vulnerable. Mike > As I mentioned, I am doing quite a bit of Access FE linked over the > internet to SQL Server. I use > Hamachi to create VPNs which are private, i.e. you have to be invited to > join. Once I OK your join > then you can "see" the server and the SQL Server instance. Hamachi has a > Browse function which > allows browsing shares on the remote machine, and SQL Server answers up at > the IP address so that works. > > I am trying to invent a way to allow running a batch file on the user > workstation which would pull > the FE and the frameworks over the internet from my server to the > workstation. ATM getting new > versions installed is a "I do it" thing. This is unworkable in the long > term so I have to find an > automation method. > > My biggest issue is security. The VPN is private of course, however I > have several different > networks all connecting to the same server. In order to have security > between the networks I have > to have some kind of username / password for each network which has rights > to a shared directory. > At the workstation end, that username has to be used to get at the share > which it then has rights > to. The problem I am running into is that while that works, the end user > has to know / remember / > use the password when the shared folder is accessed. I am not finding a > way to allow the batch file > which I would use to download specific files to pass the password to > hamachi or whatever is asking > for the password. > > Am I making any sense here? > > Five different Hamachi networks. Each network has its own username / > password able to access its > own shared directory. Each workstation has to "know" about its username / > password in order to > access the share over Hamachi. Much too much to expect of every user. > > I'm not sure where to go with this. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Mon Feb 27 12:33:11 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Mon, 27 Feb 2012 10:33:11 -0800 Subject: [AccessD] Asterix In-Reply-To: <2409.24.35.110.201.1330363471.squirrel@mail.expedient.net> References: <5E0089BEBE7D4BBEAD3E2AA76F7A3BD8@TonySeptav> <2409.24.35.110.201.1330363471.squirrel@mail.expedient.net> Message-ID: <2CFEEE7EF6134C909AC13F12240B15FB@TonySeptav> Hey Mike Then show me. As mentioned that wasn't rocket science. Always willing to learn something new. And as we all know there are many different ways to approach a problem, some much better than others. A clever person solves a problem. A wise person avoids it. Albert Einstein. Tony Septav Nanaimo, BC Canada -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Bahr Sent: Monday, February 27, 2012 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Asterix This is painful and inflexiable as with using the left, mid, right functions. Yes they work but they are rather static and for one string pattern. Using regular-expressions would reduce this to just a few lines and be very flexiable and cover a wide range of patterns. The only problem is learning regular-expressions but then, once you learn it you will wonder why you did not do so before. :-) Mike > Hey All > Some code that may help. Didn't want to try writing tons of code for > all the reserved words, so I use this code, nothing fancy by any means > but it seems to be working fine. Except for multiple asterixs. Search > for everything containing *** and it returns **a, ***b, ****d, *e*, > ***f*** etc. Not a biggy because I can see the asterixs. Also I am > getting tired of fooling around with this thing. > > If Mysearch=1 ..........Starts With > If Len(Me!MyPhrase = 1 Then > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "*" > Else > If Len(Me!MyPhrase) = 2 Then > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & "[" & > right(Me!MyPhrase, > 1) & "*" > Else > Zimbo = "[" & Left(Me!MyPhrase, 1) & "]" & Mid(Me!MyPhrase, 2, > Len(Mid(Me! MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & > "]" > & "*" > else .........Contains > If Len(Me!MyPhrase = 1 Then > Zimbo ="* & "[" & Left(Me!MyPhrase, 1) & "]" & "*" > Else > If Len(Me!MyPhrase) = 2 Then > Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & "[" & > right(Me!MyPhrase, 1) & "*" > Else > Zimbo ="*" & "[" & Left(Me!MyPhrase, 1) & "]" & > Mid(Me!MyPhrase, 2, > Len(Mid(Me!MyPhrase, 2)) - 1) & "[" & Right(Me!MyPhrase, 1) & "]" & "*" > > End If > MyWord = Zimbo > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4835 - Release Date: 02/27/12 From gustav at cactus.dk Mon Feb 27 13:20:19 2012 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 27 Feb 2012 20:20:19 +0100 Subject: [AccessD] OT: Make shares available over the internet Message-ID: Hi John One option is to set up an FTP server with a (virtual) folder for each client with individual access rights and related credentials not related to your internal Windows user rights. IIS can do this, and you can log in to the server via the standard FTP command line client native of Windows. Not fancy but it works. /gustav >>> jwcolby at colbyconsulting.com 27-02-12 17:37 >>> As I mentioned, I am doing quite a bit of Access FE linked over the internet to SQL Server. I use Hamachi to create VPNs which are private, i.e. you have to be invited to join. Once I OK your join then you can "see" the server and the SQL Server instance. Hamachi has a Browse function which allows browsing shares on the remote machine, and SQL Server answers up at the IP address so that works. I am trying to invent a way to allow running a batch file on the user workstation which would pull the FE and the frameworks over the internet from my server to the workstation. ATM getting new versions installed is a "I do it" thing. This is unworkable in the long term so I have to find an automation method. My biggest issue is security. The VPN is private of course, however I have several different networks all connecting to the same server. In order to have security between the networks I have to have some kind of username / password for each network which has rights to a shared directory. At the workstation end, that username has to be used to get at the share which it then has rights to. The problem I am running into is that while that works, the end user has to know / remember / use the password when the shared folder is accessed. I am not finding a way to allow the batch file which I would use to download specific files to pass the password to hamachi or whatever is asking for the password. Am I making any sense here? Five different Hamachi networks. Each network has its own username / password able to access its own shared directory. Each workstation has to "know" about its username / password in order to access the share over Hamachi. Much too much to expect of every user. I'm not sure where to go with this. -- John W. Colby Colby Consulting From kismert at gmail.com Mon Feb 27 14:00:09 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 27 Feb 2012 14:00:09 -0600 Subject: [AccessD] Asterix Message-ID: [From Wikipedia] Asterix ... is a series of French comic books written by Ren? Goscinny and illustrated by Albert Uderzo ... The series follows the exploits of a village of indomitable Gauls as they resist Roman occupation. They do so by means of a magic potion, brewed by their druid, which gives the recipient superhuman strength. The protagonist, the titular character Asterix, along with his friend Obelix have various adventures.... Asterisk? From marksimms at verizon.net Mon Feb 27 19:33:37 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 27 Feb 2012 20:33:37 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: <4F4BB13C.2010704@colbyconsulting.com> References: <4F4BB13C.2010704@colbyconsulting.com> Message-ID: <00af01ccf5b8$fe724130$fb56c390$@net> >From this week's issue of Bloomberg: HTML-5 coders commanding $250/hr !!! Does anyone know if any of MSFT's web dev offerings support HTML-5 ? They've got VS 2010, Web Expression, Web Matrix, etc. Which one to "go with" ? From accessd at shaw.ca Mon Feb 27 20:38:40 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 27 Feb 2012 18:38:40 -0800 Subject: [AccessD] HTML 5 coders In-Reply-To: <00af01ccf5b8$fe724130$fb56c390$@net> References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: Well, to start with IE8 provides absolutely no HTML5 support so we would have to go with IE9,Chrome,Opera,Safari and Firefox. Without further knowledge or guarantees I would go outside the MS sphere but it looks like VS2011 could be a winner as it can build total HTML5/CSS3/JavaScript with a MSSQL (...and maybe even other DB support) BE sites through its graphical interface. There is Adobe Edge (http://labs.adobe.com/technologies/edge/), their product which will assist in replacing Flash, the .Net RIA HTML5 framework (http://tinyurl.com/7tfgbz2) and then there is a HTML5Boilerplate frame work (http://html5boilerplate.com/)...excellent. That is hardly a complete list but I think the current web development leaders. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, February 27, 2012 5:34 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] HTML 5 coders >From this week's issue of Bloomberg: HTML-5 coders commanding $250/hr !!! Does anyone know if any of MSFT's web dev offerings support HTML-5 ? They've got VS 2010, Web Expression, Web Matrix, etc. Which one to "go with" ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Feb 27 21:46:34 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 28 Feb 2012 03:46:34 +0000 Subject: [AccessD] Asterix In-Reply-To: References: Message-ID: <93D10F008B998B4A83BCA855A33EEF372AD832F8@CINMLDGCNA01.e2k.ad.ge.com> I hate to be dogmatix about it, but I think that the OP has a lot of Gaul confusing the two. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Monday, February 27, 2012 3:00 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Asterix [From Wikipedia] Asterix ... is a series of French comic books written by Ren? Goscinny and illustrated by Albert Uderzo ... The series follows the exploits of a village of indomitable Gauls as they resist Roman occupation. They do so by means of a magic potion, brewed by their druid, which gives the recipient superhuman strength. The protagonist, the titular character Asterix, along with his friend Obelix have various adventures.... Asterisk? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Feb 28 02:30:53 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 Feb 2012 03:30:53 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: <00af01ccf5b8$fe724130$fb56c390$@net> References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: <28F8D28866DF4854A83605ADA8F0154D@XPS> This is the hot ticket right now with the forth coming Windows 8 and Metro style apps. It wasn't too long ago that Microsoft was hiring HTML5 developers. In fact there was a bit of a dust-up over it because come columnist spotted the local ad well before Microsoft announced anything on Windows 8 and they tipped their hand a bit by doing so. Windows 8 represents a new way of doing things and prime opportunity for a lot of folks to up sell; there's blood in the water and a lot of outfits are looking to cash in. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, February 27, 2012 08:34 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] HTML 5 coders >From this week's issue of Bloomberg: HTML-5 coders commanding $250/hr !!! Does anyone know if any of MSFT's web dev offerings support HTML-5 ? They've got VS 2010, Web Expression, Web Matrix, etc. Which one to "go with" ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 28 07:45:03 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 08:45:03 -0500 Subject: [AccessD] Access 2010 Native client mystery solved Message-ID: <4F4CDA5F.6060103@colbyconsulting.com> I just attempted to create a new DSN directly in Access 2010 on my new test VM and guess what? No "Native Client" driver selectable for Access 2010 on that machine. Yesterday I was reading that the native driver client is installed when you install SQL Server, thus it appears (if I am reading this right) that you can only use the native client driver if you have intentionally installed the driver on a given workstation. How silly would that be? One would think it would be part of the Access installation package. Anyway, AFAICT it is not safe to use native client in Access if you plan to distribute the FE to workstations (most cases?). I for one am defaulting to the "SQL Server" driver from here on out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From dw-murphy at cox.net Tue Feb 28 11:05:46 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 28 Feb 2012 09:05:46 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4CDA5F.6060103@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com> Message-ID: <003e01ccf63b$36ad9270$a408b750$@cox.net> < Anyway, AFAICT it is not safe to use native client in Access if you plan to distribute the FE to workstations (most cases?).> Is there a security issue with the Native Client? Do you have a reference? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 5:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2010 Native client mystery solved I just attempted to create a new DSN directly in Access 2010 on my new test VM and guess what? No "Native Client" driver selectable for Access 2010 on that machine. Yesterday I was reading that the native driver client is installed when you install SQL Server, thus it appears (if I am reading this right) that you can only use the native client driver if you have intentionally installed the driver on a given workstation. How silly would that be? One would think it would be part of the Access installation package. Anyway, AFAICT it is not safe to use native client in Access if you plan to distribute the FE to workstations (most cases?). I for one am defaulting to the "SQL Server" driver from here on out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Feb 28 11:16:40 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Feb 2012 03:16:40 +1000 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <003e01ccf63b$36ad9270$a408b750$@cox.net> References: <4F4CDA5F.6060103@colbyconsulting.com>, <003e01ccf63b$36ad9270$a408b750$@cox.net> Message-ID: <4F4D0BF8.1502.6CB5341@stuart.lexacorp.com.pg> I think he means it is not safe to assume that the native client is installed on all workstations. -- Stuart On 28 Feb 2012 at 9:05, Doug Murphy wrote: > < Anyway, AFAICT it is not safe to use native client in Access if you plan > to distribute the FE to workstations (most cases?).> > > Is there a security issue with the Native Client? Do you have a reference? > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 5:45 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2010 Native client mystery solved > > I just attempted to create a new DSN directly in Access 2010 on my new test > VM and guess what? No "Native Client" driver selectable for Access 2010 on > that machine. Yesterday I was reading that the native driver client is > installed when you install SQL Server, thus it appears (if I am reading this > right) that you can only use the native client driver if you have > intentionally installed the driver on a given workstation. > > How silly would that be? One would think it would be part of the Access > installation package. > > Anyway, AFAICT it is not safe to use native client in Access if you plan to > distribute the FE to workstations (most cases?). > > I for one am defaulting to the "SQL Server" driver from here on out. From accessd at shaw.ca Tue Feb 28 11:26:06 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 09:26:06 -0800 Subject: [AccessD] HTML 5 coders In-Reply-To: <28F8D28866DF4854A83605ADA8F0154D@XPS> References: <4F4BB13C.2010704@colbyconsulting.com><00af01ccf5b8$fe724130$fb56c390$@net> <28F8D28866DF4854A83605ADA8F0154D@XPS> Message-ID: HTML5 is just the tip of the learning. It is not a big curve: http://www.w3schools.com/html5/default.asp The real work is the associated JavaScript which is ugly at best and unstable at worst. A lot of people out there have not moved on, in their browser choices and they can not use the new internet standards. Some of the nuts out there still believe that JS is dangerous and that it can compromise your system. I have challenged these people for years and they have never been able to show me an example, not one or have I ever been able to find one... such are the myths around JS. Then there is CSS3 which is a really just inter-active style sheets. It takes a minute to learn but a life-time to master. Then there is the back-end part of this world. The BE universe is huge and complex. It is not just a database like MS SQL, but clusters of databases of various kinds and natures, complex security, backups, web managers like Apache and IIS and even Node.js and it goes on and on. The one big change that I have really enjoyed is to see the end of the "bound" database...it is now being assigned to the dust-bin of history and it couldn't happen soon enough. It has always been the unstable part of ever application and it is good to see it go. :-) Now the focus has moved away from the desktop, that we are so use to and to browsers which in turn are being directed towards smart phones and net pads and their realistate and functionality is quite different. So as said HTML5 is just the lid to a very big can. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, February 28, 2012 12:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML 5 coders This is the hot ticket right now with the forth coming Windows 8 and Metro style apps. It wasn't too long ago that Microsoft was hiring HTML5 developers. In fact there was a bit of a dust-up over it because come columnist spotted the local ad well before Microsoft announced anything on Windows 8 and they tipped their hand a bit by doing so. Windows 8 represents a new way of doing things and prime opportunity for a lot of folks to up sell; there's blood in the water and a lot of outfits are looking to cash in. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, February 27, 2012 08:34 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] HTML 5 coders >From this week's issue of Bloomberg: HTML-5 coders commanding $250/hr !!! Does anyone know if any of MSFT's web dev offerings support HTML-5 ? They've got VS 2010, Web Expression, Web Matrix, etc. Which one to "go with" ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Feb 28 11:39:05 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 12:39:05 -0500 Subject: [AccessD] SQL Server Native Client Message-ID: <4F4D1139.8040303@colbyconsulting.com> Wouldn't you know, I found an install package just for that SQL Server native Client driver. It has separate x32 and x64 installers. Given that most of us use x32 Office I downloaded and installed the x32 driver on the problem machine and voila, she's a wurkin. So now I have to decide whether it is worth while to (have to) remember to / have handy / install the SQL Server Native Client driver on each and every client machine. I am still trying to determine why I would do that. The professionals seem to be split. "Generally the same performance level." Nothing I am seeing indicates it is worth the hassle for the Microsoft Access arena. I wrote a timing function to set a bunch of linked tables to "Native client", time opening them, then set them back to "Sql Server" and time opening them again. The test I am doing is simply open every ODBC linked table in a DAO recordset (SELECT * FROM MyTbl) and then do a rst.MoveLast. Also at this point I don't have a bunch of tables with big data. I am getting anywhere from 6% to 25% speed increase using the "Native Client" drivers, with 7-10% speed increase being most common. That is just doing the same set of tables over and over. Not sure what the difference is, though it could be internet overhead since I am testing links to tables linked to a SQL Server via a Hamachi IP / VPN. And finally, I tested my billing database which has the most info of anything here at my office using Access and the results were truly unremarkable. This (billing) database is hosted on my big server whereas the others I was testing against were on a SQL Server on a VM. For the billing database I got results run to run literally a few ms better and a few ms worse. The nice thing is that my relink framework will allow me to instantly do this test on any database in the future. Anyway, it certainly looks to me like in general (for Access) the use of the Native Client doesn't provide significant if any speed gains. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From accessd at shaw.ca Tue Feb 28 11:40:50 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 09:40:50 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4CDA5F.6060103@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com> Message-ID: <7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com> Does ADO OLE and its associated drivers still not work with Access? (I have not progressed beyond Access2003 with my clients because of such issues.) http://www.drivermanager.com/en/download-confirmation.php?Brand=Microsoft&Lo go=microsoft Maybe you are going to have to even install the drivers on a clients computer before running your application. It should be able to be done through scripting...MS command scripting can do virtually anything to a host computer. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 5:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2010 Native client mystery solved I just attempted to create a new DSN directly in Access 2010 on my new test VM and guess what? No "Native Client" driver selectable for Access 2010 on that machine. Yesterday I was reading that the native driver client is installed when you install SQL Server, thus it appears (if I am reading this right) that you can only use the native client driver if you have intentionally installed the driver on a given workstation. How silly would that be? One would think it would be part of the Access installation package. Anyway, AFAICT it is not safe to use native client in Access if you plan to distribute the FE to workstations (most cases?). I for one am defaulting to the "SQL Server" driver from here on out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 28 11:46:23 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 12:46:23 -0500 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <003e01ccf63b$36ad9270$a408b750$@cox.net> References: <4F4CDA5F.6060103@colbyconsulting.com> <003e01ccf63b$36ad9270$a408b750$@cox.net> Message-ID: <4F4D12EF.10707@colbyconsulting.com> > Is there a security issue with the Native Client? Do you have a reference? No, what I meant is that if the Native Client driver is not installed, and it probably won't be, then the database unceremoniously pukes if there are connection strings specifying that driver. I discovered this because "it works on my system" but not on the client machines I was trying to install on. Always embarrassing, especially when at that time I hadn't a clue why it wasn't working on the client machine. The reason it "works on my machine" is that in all cases where I was testing, I had done some sort of SQL Server install, whether full, express or via Visual Studio. In order to get a better test case I build a fresh Virtual Machine and just installed Office 2010 and ... it didn't work with Native Client drivers specified in the connection string. I then went out and found, downloaded and installed a dll driver package on that VM and now it does work. But I do not want to get in the business of doing that driver install on every client machine I install a database on. You see my point. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:05 PM, Doug Murphy wrote: > < Anyway, AFAICT it is not safe to use native client in Access if you plan > to distribute the FE to workstations (most cases?).> > > Is there a security issue with the Native Client? Do you have a reference? > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 5:45 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2010 Native client mystery solved > > I just attempted to create a new DSN directly in Access 2010 on my new test > VM and guess what? No "Native Client" driver selectable for Access 2010 on > that machine. Yesterday I was reading that the native driver client is > installed when you install SQL Server, thus it appears (if I am reading this > right) that you can only use the native client driver if you have > intentionally installed the driver on a given workstation. > > How silly would that be? One would think it would be part of the Access > installation package. > > Anyway, AFAICT it is not safe to use native client in Access if you plan to > distribute the FE to workstations (most cases?). > > I for one am defaulting to the "SQL Server" driver from here on out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Feb 28 11:46:45 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 12:46:45 -0500 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4D0BF8.1502.6CB5341@stuart.lexacorp.com.pg> References: <4F4CDA5F.6060103@colbyconsulting.com>, <003e01ccf63b$36ad9270$a408b750$@cox.net> <4F4D0BF8.1502.6CB5341@stuart.lexacorp.com.pg> Message-ID: <4F4D1305.60907@colbyconsulting.com> > I think he means it is not safe to assume that the native client is installed on all workstations. Precisely. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:16 PM, Stuart McLachlan wrote: > I think he means it is not safe to assume that the native client is installed on all workstations. > From jwcolby at colbyconsulting.com Tue Feb 28 11:47:52 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 12:47:52 -0500 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com> References: <4F4CDA5F.6060103@colbyconsulting.com> <7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com> Message-ID: <4F4D1348.4000106@colbyconsulting.com> >It should be able to be done through scripting...MS command scripting can do virtually anything to a host computer. Until the Notwork guys lock down the machines... ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:40 PM, Jim Lawrence wrote: > Does ADO OLE and its associated drivers still not work with Access? (I have > not progressed beyond Access2003 with my clients because of such issues.) > > http://www.drivermanager.com/en/download-confirmation.php?Brand=Microsoft&Lo > go=microsoft > > Maybe you are going to have to even install the drivers on a clients > computer before running your application. It should be able to be done > through scripting...MS command scripting can do virtually anything to a host > computer. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 5:45 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2010 Native client mystery solved > > I just attempted to create a new DSN directly in Access 2010 on my new test > VM and guess what? No > "Native Client" driver selectable for Access 2010 on that machine. > Yesterday I was reading that the > native driver client is installed when you install SQL Server, thus it > appears (if I am reading this > right) that you can only use the native client driver if you have > intentionally installed the driver > on a given workstation. > > How silly would that be? One would think it would be part of the Access > installation package. > > Anyway, AFAICT it is not safe to use native client in Access if you plan to > distribute the FE to > workstations (most cases?). > > I for one am defaulting to the "SQL Server" driver from here on out. > From carbonnb at gmail.com Tue Feb 28 12:07:40 2012 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Feb 2012 13:07:40 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: IE 9 is the first version of IE that natively supports HTML5, but there is a JS library that will make it work in IE7&8. HTML Shiv, http://code.google.com/p/html5shiv/, is dead simple to use, and works fairly well. B On Mon, Feb 27, 2012 at 9:38 PM, Jim Lawrence wrote: > Well, to start with IE8 provides absolutely no HTML5 support so we would > have to go with IE9,Chrome,Opera,Safari and Firefox. Without further > knowledge or guarantees I would go outside the MS sphere but it looks like > VS2011 could be a winner as it can build total HTML5/CSS3/JavaScript with a > MSSQL (...and maybe even other DB support) BE sites through its graphical > interface. > > There is Adobe Edge (http://labs.adobe.com/technologies/edge/), their > product which will assist in replacing Flash, the .Net RIA HTML5 framework > (http://tinyurl.com/7tfgbz2) and then there is a HTML5Boilerplate frame work > (http://html5boilerplate.com/)...excellent. > > That is hardly a complete list but I think the current web development > leaders. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, February 27, 2012 5:34 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] HTML 5 coders > > From this week's issue of Bloomberg: > HTML-5 coders commanding $250/hr !!! > > Does anyone know if any of MSFT's web dev offerings support HTML-5 ? > They've got VS 2010, Web Expression, Web Matrix, etc. > > Which one to "go with" ? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From accessd at shaw.ca Tue Feb 28 12:33:55 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 10:33:55 -0800 Subject: [AccessD] SQL Server Native Client In-Reply-To: <4F4D1139.8040303@colbyconsulting.com> References: <4F4D1139.8040303@colbyconsulting.com> Message-ID: <312BFC3998A84283839E8B90678CFBB8@creativesystemdesigns.com> Congratulations, John. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Server Native Client Wouldn't you know, I found an install package just for that SQL Server native Client driver. It has separate x32 and x64 installers. Given that most of us use x32 Office I downloaded and installed the x32 driver on the problem machine and voila, she's a wurkin. So now I have to decide whether it is worth while to (have to) remember to / have handy / install the SQL Server Native Client driver on each and every client machine. I am still trying to determine why I would do that. The professionals seem to be split. "Generally the same performance level." Nothing I am seeing indicates it is worth the hassle for the Microsoft Access arena. I wrote a timing function to set a bunch of linked tables to "Native client", time opening them, then set them back to "Sql Server" and time opening them again. The test I am doing is simply open every ODBC linked table in a DAO recordset (SELECT * FROM MyTbl) and then do a rst.MoveLast. Also at this point I don't have a bunch of tables with big data. I am getting anywhere from 6% to 25% speed increase using the "Native Client" drivers, with 7-10% speed increase being most common. That is just doing the same set of tables over and over. Not sure what the difference is, though it could be internet overhead since I am testing links to tables linked to a SQL Server via a Hamachi IP / VPN. And finally, I tested my billing database which has the most info of anything here at my office using Access and the results were truly unremarkable. This (billing) database is hosted on my big server whereas the others I was testing against were on a SQL Server on a VM. For the billing database I got results run to run literally a few ms better and a few ms worse. The nice thing is that my relink framework will allow me to instantly do this test on any database in the future. Anyway, it certainly looks to me like in general (for Access) the use of the Native Client doesn't provide significant if any speed gains. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Feb 28 12:46:35 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 10:46:35 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4D1348.4000106@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com><7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com> <4F4D1348.4000106@colbyconsulting.com> Message-ID: <12CD925E6EB14E57BF4029A209C9FFF7@creativesystemdesigns.com> Over the years of doing system installs on various (hundreds?) clients for every franchise, I have come to understand that it only takes a few scripts and a reboot and any security is history. I hardly knew the functionality of some the scripts but as the onsite guy, doing some company's new installs, it was always a similar process. After all the changes were made, then a script was run and all the security and policies were re-introduced. Of course, no user could compromise the system but some guy like myself would break in, in moments. I guess that was why we were bonded and checked every year. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2010 Native client mystery solved >It should be able to be done through scripting...MS command scripting can do virtually anything to a host computer. Until the Notwork guys lock down the machines... ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:40 PM, Jim Lawrence wrote: > Does ADO OLE and its associated drivers still not work with Access? (I have > not progressed beyond Access2003 with my clients because of such issues.) > > http://www.drivermanager.com/en/download-confirmation.php?Brand=Microsoft&Lo > go=microsoft > > Maybe you are going to have to even install the drivers on a clients > computer before running your application. It should be able to be done > through scripting...MS command scripting can do virtually anything to a host > computer. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 5:45 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2010 Native client mystery solved > > I just attempted to create a new DSN directly in Access 2010 on my new test > VM and guess what? No > "Native Client" driver selectable for Access 2010 on that machine. > Yesterday I was reading that the > native driver client is installed when you install SQL Server, thus it > appears (if I am reading this > right) that you can only use the native client driver if you have > intentionally installed the driver > on a given workstation. > > How silly would that be? One would think it would be part of the Access > installation package. > > Anyway, AFAICT it is not safe to use native client in Access if you plan to > distribute the FE to > workstations (most cases?). > > I for one am defaulting to the "SQL Server" driver from here on out. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Tue Feb 28 12:56:14 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 28 Feb 2012 10:56:14 -0800 Subject: [AccessD] The predicted top 7 job's in Canada's technology this year. Message-ID: <98218A9138784F4C9091DE2A3A4C35D1@TonySeptav> Hey All Not trying to start a flame-up, just passing along some information. There was a magazine insert in today's Globe and Mail. Backbone (never heard of them before). One of the top jobs in the list was Web Designers Demand for HTML 5 is increasing as developers flow from Adobe's Flash technology to more standards-based development approaches.......... So it could be something you younger monkeys and some of the old farts may want to take a gander at. My apologies if this was not appropriate for the posting to the list. Tony Septav Nanaimo, BC Canada From accessd at shaw.ca Tue Feb 28 12:56:37 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 10:56:37 -0800 Subject: [AccessD] HTML 5 coders In-Reply-To: References: <4F4BB13C.2010704@colbyconsulting.com><00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: <5C6A140E4B824362B82294E26FC3FE4B@creativesystemdesigns.com> Thanks for the link, Bryan. Just check out the recommended framework on HTML5Boilerplate site for a complete package and discussion of the same. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, February 28, 2012 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML 5 coders IE 9 is the first version of IE that natively supports HTML5, but there is a JS library that will make it work in IE7&8. HTML Shiv, http://code.google.com/p/html5shiv/, is dead simple to use, and works fairly well. B On Mon, Feb 27, 2012 at 9:38 PM, Jim Lawrence wrote: > Well, to start with IE8 provides absolutely no HTML5 support so we would > have to go with IE9,Chrome,Opera,Safari and Firefox. Without further > knowledge or guarantees I would go outside the MS sphere but it looks like > VS2011 could be a winner as it can build total HTML5/CSS3/JavaScript with a > MSSQL (...and maybe even other DB support) BE sites through its graphical > interface. > > There is Adobe Edge (http://labs.adobe.com/technologies/edge/), their > product which will assist in replacing Flash, the .Net RIA HTML5 framework > (http://tinyurl.com/7tfgbz2) and then there is a HTML5Boilerplate frame work > (http://html5boilerplate.com/)...excellent. > > That is hardly a complete list but I think the current web development > leaders. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, February 27, 2012 5:34 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] HTML 5 coders > > From this week's issue of Bloomberg: > HTML-5 coders commanding $250/hr !!! > > Does anyone know if any of MSFT's web dev offerings support HTML-5 ? > They've got VS 2010, Web Expression, Web Matrix, etc. > > Which one to "go with" ? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Feb 28 13:04:01 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 14:04:01 -0500 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <12CD925E6EB14E57BF4029A209C9FFF7@creativesystemdesigns.com> References: <4F4CDA5F.6060103@colbyconsulting.com><7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com> <4F4D1348.4000106@colbyconsulting.com> <12CD925E6EB14E57BF4029A209C9FFF7@creativesystemdesigns.com> Message-ID: <4F4D2521.4090505@colbyconsulting.com> LOL. I guess. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 1:46 PM, Jim Lawrence wrote: > Over the years of doing system installs on various (hundreds?) clients for > every franchise, I have come to understand that it only takes a few scripts > and a reboot and any security is history. I hardly knew the functionality of > some the scripts but as the onsite guy, doing some company's new installs, > it was always a similar process. After all the changes were made, then a > script was run and all the security and policies were re-introduced. > > Of course, no user could compromise the system but some guy like myself > would break in, in moments. I guess that was why we were bonded and checked > every year. ;-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 9:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2010 Native client mystery solved > > >It should be able to be done through scripting...MS command scripting can > do virtually anything to > a host computer. > > Until the Notwork guys lock down the machines... ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/28/2012 12:40 PM, Jim Lawrence wrote: >> Does ADO OLE and its associated drivers still not work with Access? (I > have >> not progressed beyond Access2003 with my clients because of such issues.) >> >> > http://www.drivermanager.com/en/download-confirmation.php?Brand=Microsoft&Lo >> go=microsoft >> >> Maybe you are going to have to even install the drivers on a clients >> computer before running your application. It should be able to be done >> through scripting...MS command scripting can do virtually anything to a > host >> computer. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, February 28, 2012 5:45 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access 2010 Native client mystery solved >> >> I just attempted to create a new DSN directly in Access 2010 on my new > test >> VM and guess what? No >> "Native Client" driver selectable for Access 2010 on that machine. >> Yesterday I was reading that the >> native driver client is installed when you install SQL Server, thus it >> appears (if I am reading this >> right) that you can only use the native client driver if you have >> intentionally installed the driver >> on a given workstation. >> >> How silly would that be? One would think it would be part of the Access >> installation package. >> >> Anyway, AFAICT it is not safe to use native client in Access if you plan > to >> distribute the FE to >> workstations (most cases?). >> >> I for one am defaulting to the "SQL Server" driver from here on out. >> > From accessd at shaw.ca Tue Feb 28 13:34:13 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 11:34:13 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4D2521.4090505@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com><7886A7733757474B86FF24E1587D83D3@creativesystemdesigns.com><4F4D1348.4000106@colbyconsulting.com><12CD925E6EB14E57BF4029A209C9FFF7@creativesystemdesigns.com> <4F4D2521.4090505@colbyconsulting.com> Message-ID: This is why Windows is so wonderfully flexible and yet can be so seriously compromised. If I was the Windows development team manager, the new Windows would be built like Linux. No access to root functions unless you login; period. This would mean that there are no automatic updates and if you do not have the password, too bad...speak to the admin or who ever knows the password. Otherwise, format and install again. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 11:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2010 Native client mystery solved LOL. I guess. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 1:46 PM, Jim Lawrence wrote: > Over the years of doing system installs on various (hundreds?) clients for > every franchise, I have come to understand that it only takes a few scripts > and a reboot and any security is history. I hardly knew the functionality of > some the scripts but as the onsite guy, doing some company's new installs, > it was always a similar process. After all the changes were made, then a > script was run and all the security and policies were re-introduced. > > Of course, no user could compromise the system but some guy like myself > would break in, in moments. I guess that was why we were bonded and checked > every year. ;-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 9:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2010 Native client mystery solved > > >It should be able to be done through scripting...MS command scripting can > do virtually anything to > a host computer. > > Until the Notwork guys lock down the machines... ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 2/28/2012 12:40 PM, Jim Lawrence wrote: >> Does ADO OLE and its associated drivers still not work with Access? (I > have >> not progressed beyond Access2003 with my clients because of such issues.) >> >> > http://www.drivermanager.com/en/download-confirmation.php?Brand=Microsoft&Lo >> go=microsoft >> >> Maybe you are going to have to even install the drivers on a clients >> computer before running your application. It should be able to be done >> through scripting...MS command scripting can do virtually anything to a > host >> computer. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, February 28, 2012 5:45 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access 2010 Native client mystery solved >> >> I just attempted to create a new DSN directly in Access 2010 on my new > test >> VM and guess what? No >> "Native Client" driver selectable for Access 2010 on that machine. >> Yesterday I was reading that the >> native driver client is installed when you install SQL Server, thus it >> appears (if I am reading this >> right) that you can only use the native client driver if you have >> intentionally installed the driver >> on a given workstation. >> >> How silly would that be? One would think it would be part of the Access >> installation package. >> >> Anyway, AFAICT it is not safe to use native client in Access if you plan > to >> distribute the FE to >> workstations (most cases?). >> >> I for one am defaulting to the "SQL Server" driver from here on out. >> > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Feb 28 13:48:25 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 11:48:25 -0800 Subject: [AccessD] HTML 5 coders In-Reply-To: References: <4F4BB13C.2010704@colbyconsulting.com><00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: <96A209B6D9F74AF69353402DADD89F5A@creativesystemdesigns.com> PS Bryan: Also this piece of code in the header block can do the trick right. As this code still doesn't work in compromised IE browsers as even with the shiv it does not really fix things. Example: Another annoyance is that not every company is supporting the new OGG (http://en.wikipedia.org/wiki/Ogg). I will let you guess which browser company isn't supporting it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, February 28, 2012 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML 5 coders IE 9 is the first version of IE that natively supports HTML5, but there is a JS library that will make it work in IE7&8. HTML Shiv, http://code.google.com/p/html5shiv/, is dead simple to use, and works fairly well. B On Mon, Feb 27, 2012 at 9:38 PM, Jim Lawrence wrote: > Well, to start with IE8 provides absolutely no HTML5 support so we would > have to go with IE9,Chrome,Opera,Safari and Firefox. Without further > knowledge or guarantees I would go outside the MS sphere but it looks like > VS2011 could be a winner as it can build total HTML5/CSS3/JavaScript with a > MSSQL (...and maybe even other DB support) BE sites through its graphical > interface. > > There is Adobe Edge (http://labs.adobe.com/technologies/edge/), their > product which will assist in replacing Flash, the .Net RIA HTML5 framework > (http://tinyurl.com/7tfgbz2) and then there is a HTML5Boilerplate frame work > (http://html5boilerplate.com/)...excellent. > > That is hardly a complete list but I think the current web development > leaders. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, February 27, 2012 5:34 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] HTML 5 coders > > From this week's issue of Bloomberg: > HTML-5 coders commanding $250/hr !!! > > Does anyone know if any of MSFT's web dev offerings support HTML-5 ? > They've got VS 2010, Web Expression, Web Matrix, etc. > > Which one to "go with" ? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Feb 28 14:12:11 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 28 Feb 2012 12:12:11 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4D1305.60907@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com>, <003e01ccf63b$36ad9270$a408b750$@cox.net> <4F4D0BF8.1502.6CB5341@stuart.lexacorp.com.pg> <4F4D1305.60907@colbyconsulting.com> Message-ID: <006c01ccf655$41994ac0$c4cbe040$@cox.net> Thanks. Just wanted to make sure it wasn't security. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 9:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2010 Native client mystery solved > I think he means it is not safe to assume that the native client is installed on all workstations. Precisely. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:16 PM, Stuart McLachlan wrote: > I think he means it is not safe to assume that the native client is installed on all workstations. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Feb 28 14:17:12 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 28 Feb 2012 12:17:12 -0800 Subject: [AccessD] Access 2010 Native client mystery solved In-Reply-To: <4F4D12EF.10707@colbyconsulting.com> References: <4F4CDA5F.6060103@colbyconsulting.com> <003e01ccf63b$36ad9270$a408b750$@cox.net> <4F4D12EF.10707@colbyconsulting.com> Message-ID: <006d01ccf655$fb5b00c0$f2110240$@cox.net> Got it. Thanks John. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 9:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2010 Native client mystery solved > Is there a security issue with the Native Client? Do you have a reference? No, what I meant is that if the Native Client driver is not installed, and it probably won't be, then the database unceremoniously pukes if there are connection strings specifying that driver. I discovered this because "it works on my system" but not on the client machines I was trying to install on. Always embarrassing, especially when at that time I hadn't a clue why it wasn't working on the client machine. The reason it "works on my machine" is that in all cases where I was testing, I had done some sort of SQL Server install, whether full, express or via Visual Studio. In order to get a better test case I build a fresh Virtual Machine and just installed Office 2010 and ... it didn't work with Native Client drivers specified in the connection string. I then went out and found, downloaded and installed a dll driver package on that VM and now it does work. But I do not want to get in the business of doing that driver install on every client machine I install a database on. You see my point. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 12:05 PM, Doug Murphy wrote: > < Anyway, AFAICT it is not safe to use native client in Access if you > plan to distribute the FE to workstations (most cases?).> > > Is there a security issue with the Native Client? Do you have a reference? > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 5:45 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2010 Native client mystery solved > > I just attempted to create a new DSN directly in Access 2010 on my new > test VM and guess what? No "Native Client" driver selectable for > Access 2010 on that machine. Yesterday I was reading that the native > driver client is installed when you install SQL Server, thus it > appears (if I am reading this > right) that you can only use the native client driver if you have > intentionally installed the driver on a given workstation. > > How silly would that be? One would think it would be part of the > Access installation package. > > Anyway, AFAICT it is not safe to use native client in Access if you > plan to distribute the FE to workstations (most cases?). > > I for one am defaulting to the "SQL Server" driver from here on out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Feb 28 14:22:11 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 28 Feb 2012 15:22:11 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> Message-ID: <003601ccf656$a8689bb0$f939d310$@net> Guys - what I'm really looking for is the best IDE that supports HTML-5, CSS, and Javascript. Must have a slick interface and integrated break-point debugger. Does it exist ? Hand coding this complex stuff ? You gotta be kiddin me. That's totally nuts...back to the stone ages.... And yes, Javascript is the "biggie". If improperly coded without standards, it's quite a mess.... Similar to VBA. The good news is there are a ton of good Javascript libraries out there. JQuery being the most popular. I do know that Visual Studio 2010 is supporting it...I saw a demo. From accessd at shaw.ca Tue Feb 28 17:50:17 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 15:50:17 -0800 Subject: [AccessD] How to delete your Google Browsing History before new policy In-Reply-To: <00fd01ccf64a$686cb7f0$394627d0$@winhaven.net> References: <00da01ccf5d4$90290120$b07b0360$@net> <00fd01ccf64a$686cb7f0$394627d0$@winhaven.net> Message-ID: <7C0BB70E72374DC9B8FE08AE8E543599@creativesystemdesigns.com> To All: Anyone concerned about the changing of the privacy policies of Google have one more chance to remove their old history. http://www.digitaljournal.com/article/320137 Jim From jwcolby at colbyconsulting.com Tue Feb 28 21:58:41 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Feb 2012 22:58:41 -0500 Subject: [AccessD] Check out Wi-Fi Analytics Message-ID: <4F4DA271.9060205@colbyconsulting.com> for configuring your home wifi system. https://market.android.com/details?id=com.pinapps.amped It gives all the things I was looking for including graphing all of the currently visible signals, telling me the encryption system, SSID and channel. It gives channel collisions which allowed me to see that everyone and their brother was on 1 and 11, someone was on 10 but 8, 3 and 5 were wide open. I put it on my kindle Fire and also on my phone. Very convenient for walking around the house to see what the signal levels are. I have my main wi-fi in the center of the house and a hot spot at either end. With Analytics I now have moved my hot-spots off onto unused channels to minimize the interference with the neighbors. Nice app. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From accessd at shaw.ca Tue Feb 28 22:17:11 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Feb 2012 20:17:11 -0800 Subject: [AccessD] Check out Wi-Fi Analytics In-Reply-To: <4F4DA271.9060205@colbyconsulting.com> References: <4F4DA271.9060205@colbyconsulting.com> Message-ID: Now that is cool. :-) Thanks for sharing John. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, February 28, 2012 7:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Check out Wi-Fi Analytics for configuring your home wifi system. https://market.android.com/details?id=com.pinapps.amped It gives all the things I was looking for including graphing all of the currently visible signals, telling me the encryption system, SSID and channel. It gives channel collisions which allowed me to see that everyone and their brother was on 1 and 11, someone was on 10 but 8, 3 and 5 were wide open. I put it on my kindle Fire and also on my phone. Very convenient for walking around the house to see what the signal levels are. I have my main wi-fi in the center of the house and a hot spot at either end. With Analytics I now have moved my hot-spots off onto unused channels to minimize the interference with the neighbors. Nice app. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Feb 28 22:57:37 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Feb 2012 14:57:37 +1000 Subject: [AccessD] Check out Wi-Fi Analytics In-Reply-To: References: <4F4DA271.9060205@colbyconsulting.com>, Message-ID: <4F4DB041.27899.94D1258@stuart.lexacorp.com.pg> Same sort of thing for a Windows laptop/netbook - I use it a lot inSSIDer Freeware from http://www.metageek.net/products/inssider/ On 28 Feb 2012 at 20:17, Jim Lawrence wrote: > Now that is cool. :-) > > Thanks for sharing John. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, February 28, 2012 7:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Check out Wi-Fi Analytics > > for configuring your home wifi system. > > https://market.android.com/details?id=com.pinapps.amped > > It gives all the things I was looking for including graphing all of the > currently visible signals, > telling me the encryption system, SSID and channel. It gives channel > collisions which allowed me to > see that everyone and their brother was on 1 and 11, someone was on 10 but > 8, 3 and 5 were wide open. > > I put it on my kindle Fire and also on my phone. Very convenient for > walking around the house to > see what the signal levels are. I have my main wi-fi in the center of the > house and a hot spot at > either end. With Analytics I now have moved my hot-spots off onto unused > channels to minimize the > interference with the neighbors. > > Nice app. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michaeljrobertson at gmail.com Wed Feb 29 00:51:03 2012 From: michaeljrobertson at gmail.com (Michael) Date: Wed, 29 Feb 2012 16:51:03 +1000 Subject: [AccessD] HTML 5 coders In-Reply-To: <003601ccf656$a8689bb0$f939d310$@net> References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> <003601ccf656$a8689bb0$f939d310$@net> Message-ID: <004001ccf6ae$83e4e3e0$8baeaba0$@gmail.com> Mark, Here are paid and free IDEs available to do what you want - perhaps! The perhaps refers to any need for drag and drop development (such as MS Frontpage where you drag HTML elements onto a design surface). There are drag and drop features in most IDEs but they are pretty limited these days. I haven't used Dreamweaver for many years so I don't know if it still has wide ranging DnD features. I have tried most IDEs and keep coming back to Netbeans IDE for PHP (I do all of my server side programming in PHP). You can find it at http://www.netbeans.org. It's free, supports intellisense for javascript, jQuery, HTML, CSS and PHP (plus other languages I don't use). Database support for the major players but generally optimised for MySQL. It has an integrated debugger for PHP. If you want debugging facilities for Javascript etc then the browser developer tools are the way to go (Firebug for Firefox, Dev tools for Chrome, IE and Safari plus whatever Opera et al provide. It's worth a look. Regards, Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, 29 February 2012 6:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML 5 coders Guys - what I'm really looking for is the best IDE that supports HTML-5, CSS, and Javascript. Must have a slick interface and integrated break-point debugger. Does it exist ? Hand coding this complex stuff ? You gotta be kiddin me. That's totally nuts...back to the stone ages.... And yes, Javascript is the "biggie". If improperly coded without standards, it's quite a mess.... Similar to VBA. The good news is there are a ton of good Javascript libraries out there. JQuery being the most popular. I do know that Visual Studio 2010 is supporting it...I saw a demo. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Feb 29 06:30:13 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 29 Feb 2012 07:30:13 -0500 Subject: [AccessD] Check out Wi-Fi Analytics In-Reply-To: <4F4DB041.27899.94D1258@stuart.lexacorp.com.pg> References: <4F4DA271.9060205@colbyconsulting.com>, <4F4DB041.27899.94D1258@stuart.lexacorp.com.pg> Message-ID: <4F4E1A55.6090701@colbyconsulting.com> I used something like this back in the days of XP. When Vista came along it no longer worked. It's good to see these are back for the Windows laptop. Thanks Stuart. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/28/2012 11:57 PM, Stuart McLachlan wrote: > Same sort of thing for a Windows laptop/netbook - I use it a lot > > inSSIDer > > Freeware from http://www.metageek.net/products/inssider/ > > > > On 28 Feb 2012 at 20:17, Jim Lawrence wrote: > >> Now that is cool. :-) >> >> Thanks for sharing John. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, February 28, 2012 7:59 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Check out Wi-Fi Analytics >> >> for configuring your home wifi system. >> >> https://market.android.com/details?id=com.pinapps.amped >> >> It gives all the things I was looking for including graphing all of the >> currently visible signals, >> telling me the encryption system, SSID and channel. It gives channel >> collisions which allowed me to >> see that everyone and their brother was on 1 and 11, someone was on 10 but >> 8, 3 and 5 were wide open. >> >> I put it on my kindle Fire and also on my phone. Very convenient for >> walking around the house to >> see what the signal levels are. I have my main wi-fi in the center of the >> house and a hot spot at >> either end. With Analytics I now have moved my hot-spots off onto unused >> channels to minimize the >> interference with the neighbors. >> >> Nice app. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From carbonnb at gmail.com Wed Feb 29 07:06:28 2012 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 29 Feb 2012 08:06:28 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: <003601ccf656$a8689bb0$f939d310$@net> References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> <003601ccf656$a8689bb0$f939d310$@net> Message-ID: These days I use Eclipse, Aptana and Mac's XCode. Eclipse and Aptana are free and available cross-platform. Obviously XCode is Mac only. I don't know if they have Javascript breakpoint debugging. I haven't gone looking for it, so I'm not sure. B On Tue, Feb 28, 2012 at 3:22 PM, Mark Simms wrote: > Guys ?- what I'm really looking for is the best IDE that supports HTML-5, > CSS, and Javascript. > Must have a slick interface and integrated break-point debugger. > Does it exist ? > Hand coding this complex stuff ? You gotta be kiddin me. That's totally > nuts...back to the stone ages.... > > And yes, Javascript is the "biggie". If improperly coded without standards, > it's quite a mess.... > Similar to VBA. The good news is there are a ton of good Javascript > libraries out there. JQuery being the most popular. > I do know that Visual Studio 2010 is supporting it...I saw a demo. > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Chester_Kaup at kindermorgan.com Wed Feb 29 09:34:09 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 29 Feb 2012 09:34:09 -0600 Subject: [AccessD] Developer Toolbar Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C19A02AC22B@houex1.kindermorgan.com> I was thinking I had turned this on the Access 2007 but cannot find it now. Am I imagining that I turned it on? 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 jwcolby at colbyconsulting.com Wed Feb 29 10:11:17 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 29 Feb 2012 11:11:17 -0500 Subject: [AccessD] Where is the PK info stored? Message-ID: <4F4E4E25.8010803@colbyconsulting.com> When I link to a view in SQL Server it stops and asks what field is the PK. If you go into the "table definition" in the database window, that field is set as the PK. Having a PK is required to allow the "table" (linked view) to be editable. Somehow (not sure yet how) I have managed to strip out that information, and suddently editable things become uneditable. I relink the view, telling it which field is the PK and it is back editable again. I am trying to determine how I am mangling this thing but knowing where Access places this info would help me in understanding the issue. Does anyone know where Access hides this PK field info? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jimdettman at verizon.net Wed Feb 29 11:46:53 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Feb 2012 12:46:53 -0500 Subject: [AccessD] Where is the PK info stored? In-Reply-To: <4F4E4E25.8010803@colbyconsulting.com> References: <4F4E4E25.8010803@colbyconsulting.com> Message-ID: <1091F29BFEEE479DBF1A433BF8460146@XPS> <> It stores it as an index as part of the tabledef. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, February 29, 2012 11:11 AM To: Access Developers discussion and problem solving Subject: [AccessD] Where is the PK info stored? When I link to a view in SQL Server it stops and asks what field is the PK. If you go into the "table definition" in the database window, that field is set as the PK. Having a PK is required to allow the "table" (linked view) to be editable. Somehow (not sure yet how) I have managed to strip out that information, and suddently editable things become uneditable. I relink the view, telling it which field is the PK and it is back editable again. I am trying to determine how I am mangling this thing but knowing where Access places this info would help me in understanding the issue. Does anyone know where Access hides this PK field info? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Wed Feb 29 12:02:27 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 29 Feb 2012 13:02:27 -0500 Subject: [AccessD] Where is the PK info stored? In-Reply-To: <1091F29BFEEE479DBF1A433BF8460146@XPS> References: <4F4E4E25.8010803@colbyconsulting.com> <1091F29BFEEE479DBF1A433BF8460146@XPS> Message-ID: Right. The index on the table has a 'Primary' property that is true or false Here's a sample function that returns *one* primary key field. You'll to modify it for tables with compound primary keys. Lambert Function GetPKName(strTable As String) As String Dim db As DAO.Database Dim curTbl As TableDef Dim cntKey As Integer Dim curIdx As Index Dim cntIdx As Long Dim curIdxFld As Field Dim curFld As Field Dim cntFlds As Long Set db = CurrentDb Set curTbl = db.TableDefs(strTable) For cntFlds = 0 To curTbl.Fields.Count - 1 For cntKey = 0 To curTbl.Indexes.Count - 1 Set curIdx = curTbl.Indexes(cntKey) '** Loop though all the fields in the current index For cntIdx = 0 To curIdx.Fields.Count - 1 Set curFld = curTbl.Fields(cntFlds) Set curIdxFld = curIdx.Fields(cntIdx) '* is the current field part of the primary key? If (curFld.Name = curIdxFld.Name) And (curIdx.Primary = True) Then GetPKName = curIdxFld.Name End If Next cntIdx ' move to next field in the current index Next cntKey ' move to next index in current table Next cntFlds End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, February 29, 2012 12:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where is the PK info stored? <> It stores it as an index as part of the tabledef. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, February 29, 2012 11:11 AM To: Access Developers discussion and problem solving Subject: [AccessD] Where is the PK info stored? When I link to a view in SQL Server it stops and asks what field is the PK. If you go into the "table definition" in the database window, that field is set as the PK. Having a PK is required to allow the "table" (linked view) to be editable. Somehow (not sure yet how) I have managed to strip out that information, and suddently editable things become uneditable. I relink the view, telling it which field is the PK and it is back editable again. I am trying to determine how I am mangling this thing but knowing where Access places this info would help me in understanding the issue. Does anyone know where Access hides this PK field info? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Feb 29 13:17:26 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 29 Feb 2012 14:17:26 -0500 Subject: [AccessD] Where is the PK info stored? In-Reply-To: References: <4F4E4E25.8010803@colbyconsulting.com> <1091F29BFEEE479DBF1A433BF8460146@XPS> Message-ID: <4F4E79C6.5030400@colbyconsulting.com> Jim, Lambert, And so why does this index get stripped off when I modify the connect property of the tabledef? It looks to be readonly, i.e. once stripped off I cannot rebuild it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/29/2012 1:02 PM, Heenan, Lambert wrote: > Right. The index on the table has a 'Primary' property that is true or false > > Here's a sample function that returns *one* primary key field. You'll to modify it for tables with compound primary keys. > > Lambert > > Function GetPKName(strTable As String) As String > Dim db As DAO.Database > Dim curTbl As TableDef > Dim cntKey As Integer > Dim curIdx As Index > Dim cntIdx As Long > Dim curIdxFld As Field > Dim curFld As Field > Dim cntFlds As Long > > Set db = CurrentDb > Set curTbl = db.TableDefs(strTable) > For cntFlds = 0 To curTbl.Fields.Count - 1 > For cntKey = 0 To curTbl.Indexes.Count - 1 > Set curIdx = curTbl.Indexes(cntKey) > '** Loop though all the fields in the current index > For cntIdx = 0 To curIdx.Fields.Count - 1 > Set curFld = curTbl.Fields(cntFlds) > Set curIdxFld = curIdx.Fields(cntIdx) > '* is the current field part of the primary key? > If (curFld.Name = curIdxFld.Name) And (curIdx.Primary = True) Then > GetPKName = curIdxFld.Name > End If > Next cntIdx ' move to next field in the current index > Next cntKey ' move to next index in current table > Next cntFlds > End Function > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, February 29, 2012 12:47 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Where is the PK info stored? > > > <> > > It stores it as an index as part of the tabledef. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, February 29, 2012 11:11 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Where is the PK info stored? > > When I link to a view in SQL Server it stops and asks what field is the PK. > If you go into the > "table definition" in the database window, that field is set as the PK. > Having a PK is required to > allow the "table" (linked view) to be editable. Somehow (not sure yet how) I have managed to strip out that information, and suddently editable things become uneditable. I relink the view, telling it which field is the PK and it is back editable again. > > I am trying to determine how I am mangling this thing but knowing where Access places this info would help me in understanding the issue. > > Does anyone know where Access hides this PK field info? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Wed Feb 29 13:47:20 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Feb 2012 14:47:20 -0500 Subject: [AccessD] Where is the PK info stored? In-Reply-To: <4F4E79C6.5030400@colbyconsulting.com> References: <4F4E4E25.8010803@colbyconsulting.com> <1091F29BFEEE479DBF1A433BF8460146@XPS> <4F4E79C6.5030400@colbyconsulting.com> Message-ID: Not really sure, but when you link the external table, JET tries to figure out the best way to talk with the table. I would imagine that modifying the connect property is being viewed as a new link and it goes through that process again. But why it doesn't end up the same way I can't tell you. I'm not sure what it is your doing that's causing the problem, but as part of your process after your done re-linking, maybe you should take Lambert's code, identify the PK index, Drop it, then use an Create Index command, i.e.: DROP INDEX CategoriesCategoryName ON Categories; CREATE UNIQUE INDEX LinkCategoryID ON Categories (CategoryID); To force the field(s) choice in the index. Note that this doesn't affect the table in SQL, your just modifying how the table is described on the Access side. You can do this as well too when JET makes an incorrect choice about the fields to be used for the index. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, February 29, 2012 02:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is the PK info stored? Jim, Lambert, And so why does this index get stripped off when I modify the connect property of the tabledef? It looks to be readonly, i.e. once stripped off I cannot rebuild it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 2/29/2012 1:02 PM, Heenan, Lambert wrote: > Right. The index on the table has a 'Primary' property that is true or false > > Here's a sample function that returns *one* primary key field. You'll to modify it for tables with compound primary keys. > > Lambert > > Function GetPKName(strTable As String) As String > Dim db As DAO.Database > Dim curTbl As TableDef > Dim cntKey As Integer > Dim curIdx As Index > Dim cntIdx As Long > Dim curIdxFld As Field > Dim curFld As Field > Dim cntFlds As Long > > Set db = CurrentDb > Set curTbl = db.TableDefs(strTable) > For cntFlds = 0 To curTbl.Fields.Count - 1 > For cntKey = 0 To curTbl.Indexes.Count - 1 > Set curIdx = curTbl.Indexes(cntKey) > '** Loop though all the fields in the current index > For cntIdx = 0 To curIdx.Fields.Count - 1 > Set curFld = curTbl.Fields(cntFlds) > Set curIdxFld = curIdx.Fields(cntIdx) > '* is the current field part of the primary key? > If (curFld.Name = curIdxFld.Name) And (curIdx.Primary = True) Then > GetPKName = curIdxFld.Name > End If > Next cntIdx ' move to next field in the current index > Next cntKey ' move to next index in current table > Next cntFlds > End Function > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, February 29, 2012 12:47 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Where is the PK info stored? > > > <> > > It stores it as an index as part of the tabledef. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, February 29, 2012 11:11 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Where is the PK info stored? > > When I link to a view in SQL Server it stops and asks what field is the PK. > If you go into the > "table definition" in the database window, that field is set as the PK. > Having a PK is required to > allow the "table" (linked view) to be editable. Somehow (not sure yet how) I have managed to strip out that information, and suddently editable things become uneditable. I relink the view, telling it which field is the PK and it is back editable again. > > I am trying to determine how I am mangling this thing but knowing where Access places this info would help me in understanding the issue. > > Does anyone know where Access hides this PK field info? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Feb 29 14:07:22 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 29 Feb 2012 14:07:22 -0600 Subject: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation References: <4F4E4E25.8010803@colbyconsulting.com><1091F29BFEEE479DBF1A433BF8460146@XPS><4F4E79C6.5030400@colbyconsulting.com> Message-ID: All, This is our first "adventure" of using Windows Automation with Access and Word. Here is what we are trying to accomplish... We have a purchased application that stores data in SQL Server. We cannot change how the data is stored. There is one memo field in the database that contains a long string of text. We can easily pull this field into a small test Access 2007 application. We would like to use Windows Automation to control Word from Access and add formatting such as changing some select words in the memo field to be Bold on the generated Word document. Is this possible? In other words, can we parse through a single field in Access and add formatting to the generated Word Document. An example or a link to an example on the web would be wonderful. Thanks, Brad From marksimms at verizon.net Wed Feb 29 14:19:15 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 29 Feb 2012 15:19:15 -0500 Subject: [AccessD] HTML 5 coders In-Reply-To: References: <4F4BB13C.2010704@colbyconsulting.com> <00af01ccf5b8$fe724130$fb56c390$@net> <003601ccf656$a8689bb0$f939d310$@net> Message-ID: <012c01ccf71f$695fe1c0$3c1fa540$@net> > I don't know if they have Javascript breakpoint debugging. This has always been the "rub" with these tools....no integrated debugger. From steve at goodhall.info Wed Feb 29 14:31:42 2012 From: steve at goodhall.info (Steve Goodhall) Date: Wed, 29 Feb 2012 15:31:42 -0500 Subject: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation In-Reply-To: References: <4F4E4E25.8010803@colbyconsulting.com><1091F29BFEEE479DBF1A433BF8460146@XPS><4F4E79C6.5030400@colbyconsulting.com> Message-ID: It can be done. That said, it might be easier to do it entirely in Word. You could write VBA to assess the SQL DB using ODBC and then build your Word document. Even if I were going to eventually plug the code into Access I would probably build it first in Word because I could get better Intellisense assistance and simplify the debugging. I did a bunch of this kind of thing using Access, Excel and Word for my Masters Thesis in 2002. The code is all documented in the Thesis which is on my web site but it isn't very accessible in that format. I will see what else I can dig up but it may take a few days. Steve Goodhall, MSCS, PMP -----Original message----- From: Brad Marks To: Access Developers discussion and problem solving Sent: Wed, Feb 29, 2012 20:10:01 GMT+00:00 Subject: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation All, This is our first "adventure" of using Windows Automation with Access and Word. Here is what we are trying to accomplish... We have a purchased application that stores data in SQL Server. We cannot change how the data is stored. There is one memo field in the database that contains a long string of text. We can easily pull this field into a small test Access 2007 application. We would like to use Windows Automation to control Word from Access and add formatting such as changing some select words in the memo field to be Bold on the generated Word document. Is this possible? In other words, can we parse through a single field in Access and add formatting to the generated Word Document. An example or a link to an example on the web would be wonderful. Thanks, Brad -- 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 Feb 29 15:06:37 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Mar 2012 07:06:37 +1000 Subject: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation In-Reply-To: References: <4F4E4E25.8010803@colbyconsulting.com>, Message-ID: <4F4E935D.11725.CC438CE@stuart.lexacorp.com.pg> First thing I would try is paste the text ino a Word document and then record a Word macro to do the formatting. Then create an Access function which just creates a new document in Word and dumps the text into it. Finally, copy your word macro into your access function and modify it as required. -- Stuart On 29 Feb 2012 at 14:07, Brad Marks wrote: > All, > > This is our first "adventure" of using Windows Automation with Access > and Word. > > Here is what we are trying to accomplish... > > We have a purchased application that stores data in SQL Server. We > cannot change how the data is stored. > > There is one memo field in the database that contains a long string of > text. > > We can easily pull this field into a small test Access 2007 application. > > We would like to use Windows Automation to control Word from Access and > add formatting such as changing some select words in the memo field to > be Bold on the generated Word document. > > Is this possible? > > In other words, can we parse through a single field in Access and add > formatting to the generated Word Document. > > An example or a link to an example on the web would be wonderful. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From steve at goodhall.info Wed Feb 29 15:12:43 2012 From: steve at goodhall.info (Steve Goodhall) Date: Wed, 29 Feb 2012 16:12:43 -0500 Subject: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation In-Reply-To: <4F4E935D.11725.CC438CE@stuart.lexacorp.com.pg> References: <4F4E4E25.8010803@colbyconsulting.com>, <4F4E935D.11725.CC438CE@stuart.lexacorp.com.pg> Message-ID: It's going to take more than that, mostly navigating the Word object model and identifying the pieces of text to format. Steve Goodhall, MSCS, PMP -----Original message----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wed, Feb 29, 2012 21:08:24 GMT+00:00 Subject: Re: [AccessD] Questions on Access 2007 Controlling Word with Windows Automation First thing I would try is paste the text ino a Word document and then record a Word macro to do the formatting. Then create an Access function which just creates a new document in Word and dumps the text into it. Finally, copy your word macro into your access function and modify it as required. -- Stuart On 29 Feb 2012 at 14:07, Brad Marks wrote: > All, > > This is our first "adventure" of using Windows Automation with Access > and Word. > > Here is what we are trying to accomplish... > > We have a purchased application that stores data in SQL Server. We > cannot change how the data is stored. > > There is one memo field in the database that contains a long string of > text. > > We can easily pull this field into a small test Access 2007 application. > > We would like to use Windows Automation to control Word from Access and > add formatting such as changing some select words in the memo field to > be Bold on the generated Word document. > > Is this possible? > > In other words, can we parse through a single field in Access and add > formatting to the generated Word Document. > > An example or a link to an example on the web would be wonderful. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Feb 29 19:59:13 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 Feb 2012 17:59:13 -0800 Subject: [AccessD] Developer Toolbar In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C19A02AC22B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C19A02AC22B@houex1.kindermorgan.com> Message-ID: In 2010 all the db tools are under Database Tools. Don't recall if it's the same in 2007. There's a developer toolbar in Excel, but I don't recall one in Access. Charlotte Foust On Wed, Feb 29, 2012 at 7:34 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I was thinking I had turned this on the Access 2007 but cannot find it > now. Am I imagining that I turned it on? > > > 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 > > >